TL;DR
VinQA introduces a novel dataset and evaluation framework for multimodal document question answering where generated answers explicitly interleave text with relevant visual elements (like charts, tables, and diagrams) cited directly from the source pages. The paper demonstrates that while explicit document parsing (Modality Encoding) is initially more robust, fine-tuning open-source models on VinQA allows direct full-page image processing (Page Encoding) to achieve comparable, high-quality multimodal responses.
What Problem Does This Paper Address?
When humans read complex documents like financial reports, textbooks, or user manuals, we rely heavily on a mix of text and visual aids (charts, diagrams, tables). However, most current Multimodal Large Language Models (MLLMs) evaluated on document QA tasks only generate text-only responses. Even if a model looks at a chart to find an answer, it leaves the chart out of its final explanation.
To bridge this gap, the authors tackle the challenge of Visual Elements Interleaved Long-form Answer Generation. The goal is to build and evaluate models that can generate comprehensive answers where cited visual elements are seamlessly embedded right before the text that explains them, mimicking a well-authored report or manual.
Methods
The authors investigate two primary strategies for feeding raw document pages into an MLLM and enabling visual citations:
- Page Encoding: The model ingests full-page images directly along with the bounding boxes of detected visual elements. The model must read text from raw pixels and learn to associate specific bounding box coordinates with unique visual identifiers to cite them.
- Modality Encoding: A more traditional pipeline approach where pages are pre-parsed using OCR to extract text, and visual elements are cropped into separate images. These text tokens and image crops are fed into the model independently as citable units.
To evaluate these multimodal answers, the paper introduces M-GroSE (Multimodal Grounded QA Scoring Evaluator), which uses an LLM-judge to score answers across three dimensions: relevance, completeness, and faithfulness. They also introduce Visual Source F1 to explicitly measure visual citation accuracy, and Visual G-Eval, an MLLM-based judge that evaluates whether the visual elements are placed in contextually appropriate positions.
Datasets
The authors introduce the VinQA Dataset, which consists of:
- Training set: 42,700 QA pairs
- Test set: 1,605 QA pairs
Rather than collecting documents from scratch, VinQA aggregates raw documents from six existing public document QA datasets (MMLongBench-Doc, TAT-DQA, VisDoM, SlideVQA, MMDocIR, and VisRAG) spanning seven diverse domains: guidebooks, financial reports, academic papers, presentations, research reports, web pages, and textbooks. The questions and long-form interleaved answers were generated using an advanced LLM/MLLM pipeline and subjected to rigorous textual, visual, and human verification.
Key Insights and Ideas
- Page Encoding Catches Up: Prior to fine-tuning, Modality Encoding (explicitly separating text and crops) performs significantly better on complex documents because the model doesn't have to handle layout interpretation and reading text from pixels simultaneously. However, after fine-tuning on VinQA, Page Encoding closes the gap entirely, proving that models can learn to navigate raw page layouts natively without brittle preprocessing pipelines.
- The "Complexity Wall": For both encoding methods, performance drops noticeably when the context length scales past 7.5k tokens, highlighting a remaining bottleneck in long-context multimodal reasoning.
- Empowering Open-Source: Fine-tuning the open-source
Qwen2.5-VL-7Bmodel on VinQA drastically narrows the performance gap between open weights and top-tier proprietary models like GPT-4o and Claude 3.5 Sonnet.
Key Results
- Fine-Tuning Impact: Fine-tuning
Qwen2.5-VL-7Bon VinQA led to massive performance leaps. For Page Encoding, the M-GroSE Average score jumped from 1.99 to 3.34, approaching Claude 3.5 Sonnet's score of 3.53. - Citation Accuracy: The Visual Source F1 score for
Qwen2.5-VL-7Bimproved from 0.31 to 0.55 (Page Encoding) and 0.40 to 0.58 (Modality Encoding), demonstrating a highly improved capability to cite the exact visual evidence needed.
Limitations and Future Work
- Long-Context Degradation: Models still struggle to maintain high completeness and faithfulness when documents become exceptionally long or dense (exceeding 7.5k tokens).
- Future Directions: The authors suggest integrating VinQA with test-time compute strategies (e.g., models that utilize long internal "thinking" tokens before responding) to better handle complex, multi-page reasoning chains.
Summary updated