LongLLaVA: Scaling Multi-modal LLMs to 1000 Images Efficiently via a Hybrid Architecture
About
Expanding the long-context capabilities of Multi-modal Large Language Models~(MLLMs) is critical for advancing video understanding and high-resolution image analysis. Achieving this requires systematic improvements in model architecture, data construction, and training strategies, particularly to address challenges such as performance degradation with increasing image counts and high computational costs. In this paper, we propose a hybrid architecture that integrates Mamba and Transformer blocks, introduce data construction methods that capture both temporal and spatial dependencies, and employ a progressive training strategy. Our released model, LongLLaVA (\textbf{Long}-Context \textbf{L}arge \textbf{L}anguage \textbf{a}nd \textbf{V}ision \textbf{A}ssistant), demonstrates an effective balance between efficiency and performance. LongLLaVA achieves competitive results across various benchmarks while maintaining high throughput and low memory consumption. Notably, it can process nearly one thousand images on a single A100 80GB GPU, underscoring its potential for a wide range of multi-modal applications.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Video Question Answering | MVBench | Accuracy49.1 | 90 | |
| Video Question Answering | VideoMME wo sub | Accuracy43.7 | 51 | |
| Event Sequencing | VECTOR L2 (Ne=8) 1.0 (test) | EM (Exact Match)267 | 26 | |
| Event Sequencing | VECTOR L1 (Ne=4) 1.0 (test) | EM Score9.33 | 26 | |
| Long Video Understanding | Video-MME (full) | Overall Performance50.9 | 16 | |
| Video Question Answering | VideoMME 2024 (test) | Accuracy (Short, w/o Subtitles)61.9 | 13 | |
| Event Sequencing (Full-sequence ordering) | VECTOR L2 | Exact Match (EM)0.00e+0 | 13 | |
| Event Sequencing (Full-sequence ordering) | VECTOR L1 | Exact Match (EM)0.00e+0 | 13 | |
| Video Question Answering | MVBench 2024 (test) | Accuracy49.1 | 8 | |
| Long Video Question Answering | GLVC (test) | Score56 | 6 |