TL;DR
The rapid expansion of context windows in vision-language models has led to Long-Context Vision-Language Models (LCVLMs), capable of processing vast amounts of multimodal data. However, existing benchmarks fail to adequately evaluate these models across diverse tasks and input lengths. This paper introduces MMLongBench, a comprehensive benchmark designed to rigorously assess LCVLMs, revealing that current models still struggle with long-context multimodal understanding, highlighting areas for future development.
What Problem Does This Paper Address?
The field of large language models (LLMs) has seen a dramatic increase in context window sizes, enabling them to process much longer sequences of text. This trend has extended to vision-language models (VLMs), giving rise to Long-Context Vision-Language Models (LCVLMs) that can handle hundreds of images and thousands of interleaved text tokens. These LCVLMs unlock new applications like document analysis, complex visual reasoning, and instruction following in extended contexts. However, a significant gap exists in evaluating these advanced models. Current benchmarks are often limited in the types of tasks they cover, the variety of image types they include, and lack standardized methods for controlling context length. This makes it difficult to understand the true capabilities and limitations of LCVLMs, hindering progress in developing more robust and effective models.
Methods
The core contribution of this paper is the introduction of MMLongBench, a novel benchmark designed to address the shortcomings of existing evaluation methods. MMLongBench comprises 13,331 examples spanning five key categories of vision-language tasks:
- Visual Retrieval-Augmented Generation (VRAG): Evaluating the ability to locate relevant information from a large corpus.
- Needle-in-a-Haystack (NIAH): Assessing recall of specific information embedded within long, multimodal inputs.
- Many-Shot In-Context Learning (ICL): Testing the models' ability to adapt to new tasks on the fly using provided examples.
- Summarization (Summ): Evaluating the generation of concise summaries from long multimodal documents.
- Long-Document Visual Question Answering (DocVQA): Measuring the capacity to answer questions requiring reasoning over multiple images and text segments.
A key methodological innovation is the unified token counting scheme. Instead of simply counting images, MMLongBench counts both text and vision tokens. Image tokens are derived from patches produced by vision encoders, followed by a 2x2 pixel unshuffle, a method consistent with many current LVLMs. Furthermore, MMLongBench standardizes input lengths by providing each example at five distinct lengths: 8K, 16K, 32K, 64K, and 128K tokens. This allows for a thorough analysis of how model performance changes with increasing context.
Datasets
MMLongBench integrates and adapts existing datasets to create its comprehensive evaluation suite. The five task categories leverage data from:
- VRAG: InfoSeek and ViQuAE.
- NIAH: Visual Haystack (VH) and MM-NIAH.
- ICL: Stanford Cars, Food101, SUN397, and iNat2021.
- Summarization: GovReport and Multi-LexSum.
- DocVQA: MMLongBench-Doc, LongDocURL, and SlideVQA.
The benchmark is notable for its broad coverage of image types, including natural images (photos of scenes, objects, people) and synthetic images (scanned documents, web pages).
Key Insights and Ideas
- NIAH tasks are not sufficient: The paper strongly suggests that performance on Needle-in-a-Haystack (NIAH) tasks alone is not a reliable indicator of a model's overall long-context capabilities. Correlations between NIAH and other downstream tasks were found to be weak, indicating that NIAH doesn't fully capture the diverse skills required for comprehensive long-context understanding.
- DocVQA as a reliable proxy: Long-document VQA emerged as a more reliable proxy for overall long-context capabilities, showing higher average correlations with other categories and greater stability. This suggests that DocVQA can be a more efficient way to gauge a model's long-context performance.
- Reasoning improves performance: Models with stronger reasoning abilities, like Gemini-2.0-Flash-T, consistently showed improved performance across all tasks, particularly in summarization and DocVQA. This highlights the importance of reasoning capabilities for effective long-context multimodal understanding.
- Closed-source models lead, but open-source is competitive: While closed-source models generally outperform open-source ones, the gap is often less than 10 points. Notably, some open-source models like Qwen2.5-VL-32B and InternVL3-38B showed competitive performance on specific tasks, indicating the rapid progress in the open-source community.
- OCR is a bottleneck: Error analysis revealed that Optical Character Recognition (OCR) remains a bottleneck for current LCVLMs, especially in text-pure cases of DocVQA. This suggests that improving OCR capabilities is crucial for better performance on document-heavy tasks.
Key Results
- All models struggle: Across all evaluated models, performance on long-context multimodal tasks remains a significant challenge, even for state-of-the-art models like GPT-40, which achieved an average score of only 62.9 at 128K tokens.
- Gemini-2.5-Pro leads: Gemini-2.5-Pro was identified as the strongest LCVLM, outperforming open-source models by approximately 15-20 points on average.
- Generalization to longer contexts: Several models, including Qwen2-VL-72B and Ovis2-34B, demonstrated the ability to generalize to context lengths beyond their official training limits, suggesting that underlying LLM architectures play a role.
- Task-specific strengths: Models exhibit varied strengths across different tasks, underscoring the need for a comprehensive benchmark like MMLongBench. For instance, Qwen2.5-VL-32B excelled at VRAG but struggled with NIAH, while Ovis2-34B performed well on summarization but poorly on DocVQA.
Limitations and Future Work
The authors acknowledge several limitations:
- Computational resources: Evaluating larger models (over 100B parameters) at 128K tokens was not feasible due to GPU limitations.
- Summarization evaluation cost: Using GPT-4o for summarization evaluation is expensive, hindering large-scale benchmarking. The authors suggest finding more cost-effective evaluation methods.
- Model integration challenges: Some promising models could not be integrated into the benchmark due to API limitations or complex codebase requirements, leaving their evaluation for future work.
Future work suggested by the authors includes:
- Developing more efficient vision-language token encodings.
- Creating more robust position-extrapolation schemes.
- Improving multi-modal retrieval and reasoning capabilities.
- Serving MMLongBench as a standard yardstick for the community to drive research in these areas.
Summary updated