DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthiness

Ahmad Mohammadshirazi,Pinaki Prasad Guha Neogi,Ser-Nam Lim,Rajiv Ramnath
2024-11-29
Abstract:Document Visual Question Answering (VQA) requires models to interpret textual information within complex visual layouts and comprehend spatial relationships to answer questions based on document images. Existing approaches often lack interpretability and fail to precisely localize answers within the document, hindering users' ability to verify responses and understand the reasoning process. Moreover, standard metrics like Average Normalized Levenshtein Similarity (ANLS) focus on text accuracy but overlook spatial correctness. We introduce DLaVA, a novel method that enhances Multimodal Large Language Models (MLLMs) with answer localization capabilities for Document VQA. Our approach integrates image annotation directly into the MLLM pipeline, improving interpretability by enabling users to trace the model's reasoning. We present both OCR-dependent and OCR-free architectures, with the OCR-free approach eliminating the need for separate text recognition components, thus reducing complexity. To the best of our knowledge, DLaVA is the first approach to introduce answer localization within multimodal QA, marking a significant step forward in enhancing user trust and reducing the risk of AI hallucinations. Our contributions include enhancing interpretability and reliability by grounding responses in spatially annotated visual content, introducing answer localization in MLLMs, proposing a streamlined pipeline that combines an MLLM with a text detection module, and conducting comprehensive evaluations using both textual and spatial accuracy metrics, including Intersection over Union (IoU). Experimental results on standard datasets demonstrate that DLaVA achieves SOTA performance, significantly enhancing model transparency and reliability. Our approach sets a new benchmark for Document VQA, highlighting the critical importance of precise answer localization and model interpretability.
Computer Vision and Pattern Recognition,Artificial Intelligence
What problem does this paper attempt to address?
This paper attempts to solve several key problems in the Document Visual Question Answering (DocVQA) task: 1. **Lack of interpretability and answer precise - location ability**: - When dealing with DocVQA, existing methods usually cannot provide sufficient interpretability and it is difficult to precisely locate the answers in the document image. This makes it difficult for users to verify the model's responses and understand its reasoning process. 2. **Limitations of standard evaluation metrics**: - Commonly used evaluation metrics such as Average Normalized Levenshtein Similarity (ANLS) only focus on text accuracy and ignore spatial correctness. Spatial evaluation metrics such as Intersection over Union (IoU) are also often overlooked. 3. **Complexity and error propagation**: - Methods relying on Optical Character Recognition (OCR) increase the complexity of the system and may lead to error propagation, affecting the overall performance. To solve these problems, the author introduced a new method - **DLaVA** (Document Language and Vision Assistant), which enhances the answer - location ability of multi - modal large language models (MLLMs) in DocVQA. Specifically, the main contributions of DLaVA include: - **Improving interpretability and reliability**: By combining responses with spatially - annotated visual content, it enhances users' trust and reduces the risk of AI hallucination. - **Introducing answer - location function**: For the first time, the answer - location function is introduced in MLLMs, filling an important gap in current DocVQA methods. - **Innovative pipeline design and model analysis**: A simplified pipeline is proposed, which combines MLLM with a text - detection module, eliminating the need for an external OCR component and reducing complexity. - **Comprehensive evaluation**: Using dual evaluation metrics of text and spatial accuracy (including IoU), the model performance is thoroughly evaluated. Through these improvements, DLaVA not only improves the transparency and reliability of the model but also shows excellent performance on multiple standard datasets, setting a new benchmark in the DocVQA field.