TL;DR
Eagle 2.5 is a highly efficient 8-billion parameter Vision-Language Model (VLM) designed specifically for long-context tasks, such as analyzing hour-long videos or multi-page high-resolution documents. By utilizing a dynamic token-sampling strategy and a progressive training curriculum, this 8B model punches significantly above its weight class, matching the performance of massive 72B open-source models and GPT-4o on complex long-video benchmarks.
What Problem Does This Paper Address?
While Large Language Models (LLMs) have recently achieved massive context windows—often exceeding 1 million tokens—Vision-Language Models (VLMs) have historically lagged behind. Processing extended visual contexts, like a 45-minute instructional video or a 50-page PDF filled with high-resolution charts, requires an astronomical number of tokens.
Historically, researchers have tried to solve this by building specialized "compression" modules to shrink visual data, which often destroys fine-grained details. Alternatively, some simply force the LLM to accept longer sequences, but these models often fail to actually utilize the extra information, showing no performance improvement when given more video frames. The authors of Eagle 2.5 set out to build a native long-context VLM that actually gets smarter as you feed it more frames, without relying on lossy compression hacks.
Methods
Eagle 2.5 uses a standard, generalist architecture (a Qwen 2.5 LLM paired with a SigLIP vision encoder). The true innovation lies in its training pipeline:
- Information-First Sampling: When dealing with long videos or massive documents, data must be sampled to fit the context window. The authors introduce two techniques to do this intelligently:
- Image Area Preservation (IAP): Standard image "tiling" (breaking a high-res image into a grid of smaller images) often distorts aspect ratios or aggressively downsamples. IAP optimizes the tiling grid to preserve at least 60% of the original image area and strictly maintain the original aspect ratio.
- Automatic Degradation Sampling (ADS): A dynamic token-budgeting algorithm. Traditional VLMs often sample a fixed number of video frames, which can accidentally push the text prompt out of the context window. ADS does the opposite: it guarantees 100% of the text is preserved, calculates the remaining token budget, and dynamically degrades the visual resolution (adjusting frame rates and tile counts) to perfectly fill the remaining space.
- Progressive Mixed Post-Training: Instead of immediately training the model on massive 128K-token sequences, the authors use a curriculum. They progressively step up the maximum sequence length ($L_{max}$) during training from 32K $\rightarrow$ 64K $\rightarrow$ 128K.
Datasets
The model was trained on a massive mixture of open-source image, video, and text datasets (including SlideVQA, ActivityNet, and LLaVA-Video). However, finding high-quality, long video data is notoriously difficult.
To fix this, the authors introduce Eagle-Video-110K, a novel dataset curated for maximum visual diversity using CLIP embeddings. It features a unique dual-annotation approach:
- Top-down (Story-level): Uses human-annotated video chapters to generate dense captions, which GPT-4 then turns into long-form QA pairs about the overarching narrative.
- Bottom-up (Clip-level): Generates QA pairs for short, specific clips. To make sure these make sense when querying the entire video, they inject "anchors" (timestamps and textual context) so the model learns exactly when and where an event happened.
Key Insights and Ideas
- Context curriculum is crucial: Jumping straight into 128K-token training overwhelms the model and dilutes its ability to understand shorter contexts. Gradually stepping up the context length acts as a necessary curriculum, allowing the model to transition from easy to hard tasks.
- Text is king in multimodal budgets: The ADS strategy proves that in long-context multimodal tasks, you should never sacrifice text tokens for visual tokens. Protecting the text and dynamically lowering the visual resolution yields much better information density and learning signals.
- No "catastrophic forgetting" for images: A common fear is that training heavily on long videos will degrade a model's ability to analyze single, static images. The authors found the opposite: under their training recipe, long-context video training actually slightly improved performance on short-context image benchmarks.
Key Results
Eagle 2.5-8B delivers incredibly impressive quantitative results, proving that smart data and training recipes can overcome raw parameter count:
- Video-MME (Long Video Benchmark): Achieved 72.4% accuracy using 512 input frames. This matches the performance of GPT-4o and the massive Qwen2.5-VL-72B (a model nine times its size). Furthermore, unlike older models, Eagle 2.5's performance consistently scales up as you feed it more frames.
- General Video Understanding: Scored 74.8 on MVBench and 77.6 on MLVU, outperforming similar-sized state-of-the-art models like InternVL2.5-8B.
- Image/Document Tasks: Maintained elite performance on static tasks, scoring 94.1 on DocVQA and 869 on OCRBench.
Limitations and Future Work
The primary limitation acknowledged by the authors is the sheer computational cost required to train Eagle 2.5. The progressive training schedule and massive context windows required a cluster of 128 NVIDIA H100 GPUs. This high resource barrier limits the reproducibility of the training pipeline for smaller academic labs. Future work will need to explore more resource-efficient training strategies or architectural tweaks to reduce these extreme memory and compute requirements.
Summary updated