InfiniteVL: A Systematic Approach to Highly-Efficient, Ultra-Long Multimodal Understanding

Hongyuan Tao, Bencheng Liao, Shaoyu Chen, haoran yin, Qian Zhang, Wenyu Liu, Xinggang WangNeurIPS 2026

TL;DR

Vision-Language Models (VLMs) choke on long videos and continuous live streams because standard Transformer attention scales poorly, quickly exhausting GPU memory. InfiniteVL solves this without training a new model from scratch—instead, it surgically retrofits an existing Transformer VLM into a snappy linear-sparse hybrid using less than 2% of standard pretraining data. The result is a model that reads fine-grained text and charts just like its parent, processes 256K-token videos 5× faster, and handles real-time streaming at 25 FPS with a flat memory footprint.

What Problem Does This Paper Address?

Watching an hour-long video is mostly an exercise in redundancy—backgrounds stay static, scenes linger—punctuated by tiny, decisive details like a street sign or a sudden gesture. Standard Transformer VLMs treat every single visual token with equal, painstaking care. Because self-attention scales quadratically during initial processing (prefilling) and requires an ever-expanding Key-Value (KV) memory cache during generation, feeding ultra-long videos or endless camera streams into a Transformer quickly triggers Out-Of-Memory (OOM) crashes.

Alternative "linear" architectures (like Mamba or linear attention) fix the memory problem by squashing history into a fixed-size state. However, that compression acts like a blurry lens, wiping out high-frequency details needed for OCR, reading charts, or spotting small objects. Furthermore, training a brand-new hybrid VLM from scratch takes astronomical compute. The authors ask: Can we take an already-smart Transformer VLM, convert it into an architecture that balances heavy compression with sharp recall, and do it on a modest academic budget?

Methods

InfiniteVL’s core philosophy is compression-recall factorization—splitting the job of "remembering the gist" and "looking up exact details" across different layers.

Overall framework of InfiniteVL showing architecture factorization, model variants, data curation, and three-stage knowledge transfer.

Starting with a pretrained Qwen2.5-VL backbone, the authors replace 75% of the dense self-attention layers with Gated DeltaNet layers (a linear recurrent module that maintains a constant-size state for long-range context) while keeping 25% of the original attention layers for high-precision visual recall (a 1:3 ratio).

Because swapping 75% of a model's brain with randomly initialized layers causes immediate chaos, they introduce a three-stage progressive knowledge transfer pipeline:

  1. Stage I (Architectural Alignment): Using distillation, each new Gated DeltaNet layer is trained to mimic the exact hidden-state outputs of the Transformer layer it replaced, followed by end-to-end logit distillation.
  2. Stage II (Capability Recovery): Supervised fine-tuning restores broad multimodal skills, while constraining the remaining attention layers to local Sliding-Window Attention (SWA) as a stepping stone.
  3. Stage III (Long-Sequence Adaptation): Depending on the target deployment, those SWA recall layers are converted into one of two specialized mechanisms:
  4. Sparse InfiniteVL (for offline long videos): Combines local window attention with top-$k$ block routing to retrieve relevant historical chunks across massive contexts.
  5. Streaming InfiniteVL (for live video): Uses a "sink-window" pattern—retaining initial prompt/anchor tokens plus a sliding window of recent frames—keeping memory strictly constant forever.

Datasets

No new benchmarks are introduced, though the authors build a custom capability-oriented data curation pipeline (normalizing, deduplicating, and balancing tasks like OCR, math, and VQA) requiring less than 2% of from-scratch VLM training data.

  • Training mixtures: Built from FineVision, LLaVA-OneVision-1.5, PixMo, The Cauldron, Docmatix, and LLaVA-Video-178K (plus VideoNSA data for specific long-video comparisons).
  • Evaluation: Tested via VLMEvalKit across foundational tasks (MME, MMStar, MMBench, SeedBench, ScienceQA, RealWorldQA, AI2D, ChartQA, TextVQA, DocVQA, OCRBench, MMMU, MathVista) and long-context/streaming benchmarks (Vstar, BLINK, HRBench4K, Video-MME, LongVideoBench, StreamingBench, and VideoNIAH).

Key Insights and Ideas

  • Pure linear models go blind on text, but a 25% lifeline fixes it: In ablations, purely linear models (0% attention) suffer on OCR and document tasks, and architectures like Mamba or GLA degrade heavily on DocVQA (scoring below 20%). Keeping just 1 attention layer for every 3 Gated DeltaNet layers jumps DocVQA to 87.8%—virtually tied with full attention (88.1%).
  • Distillation needs both micro and macro steps: Skipping Stage I alignment causes training to underperform dramatically, while stopping after Stage I leaves capabilities half-baked. Matching layer-by-layer mechanics before general fine-tuning is the secret sauce that makes sub-2%-data conversion viable.
  • Not all linear layers are created equal: Vanilla linear attention failed to converge entirely (NaNs), whereas Gated DeltaNet's gating and delta-update rules gracefully absorbed knowledge from pretrained Transformer layers.

Key Results

Performance and efficiency overview comparing InfiniteVL against leading Transformer VLMs across foundational benchmarks, streaming FPS, and ultra-long prefill speed.

Figure 1: Performance and efficiency overview. (Left) InfiniteVL-Base is competitive with leading 2B–4B Transformer VLMs on foundational multimodal tasks. (Right) In ultra-long scenarios, our variants achieve a favorable balance between efficiency and long-context understanding.
  • Foundational Parity: On general benchmarks, InfiniteVL-4B averages 75.8 (slightly beating the controlled Qwen2.5-VL baseline at 75.3) and hits 73.6 on text-rich/reasoning tasks (matching Qwen2.5-VL's 73.8).
  • Decoding & Memory: While Qwen2.5-VL-3B hits an OOM wall around 454K tokens, InfiniteVL scales smoothly to 1.5M tokens. At 450K context, InfiniteVL delivers a 1.7× per-token decoding speedup and 2.7× memory reduction.
  • Ultra-Long Video Prefill: At a 256K context length, Sparse InfiniteVL slashes Time-to-First-Token from 118.7s down to 24.7s—a 5× prefill speedup—while matching baseline accuracy (48.3) on VideoNIAH needle-in-a-haystack tests with 70.8% fewer FLOPs.
  • Real-Time Streaming: With CUDA Graph acceleration, Streaming InfiniteVL sustains ~25 FPS (a 16× speedup over the degrading Transformer baseline on long streams) with a constant memory footprint and top StreamingBench accuracy (68.0).

Limitations and Future Work

Not discussed in the paper. (While pages 1–10 do not include an explicit limitations section, the experimental tables show a natural trade-off between the two Stage III variants: Streaming InfiniteVL drops several accuracy points on offline high-resolution and long-video benchmarks compared to Sparse InfiniteVL, as its strict constant-size cache intentionally discards non-recent token-level history outside the recurrent state.)

Summary updated

Abstract

Processing ultra-long multimodal inputs efficiently remains a critical bottleneck for Vision-Language Models (VLMs). This systematic challenge is essentially three-fold: (1) \textbf{Efficient Architecture}: compressing redundant visual sequences without sacrificing fine-grained details; (2) \textbf{Knowledge Transfer}: seamlessly migrating the capabilities of strong pretrained VLMs into more efficient novel architectures; and (3) \textbf{Generalization}: maintaining robust perception and reasoning across diverse multimodal domains. To address this, we introduce \textbf{InfiniteVL}, a linear-sparse hybrid VLM framework designed for efficient long-context understanding. At its core, InfiniteVL pairs a linear architecture to compress long-range visual context with sparse attention to retrieve precise local details. To support this architecture in moderate academic resources, we developed a three-stage knowledge transfer pipeline backed by capability-oriented data construction instead of training from scratch. This ensures smooth architectural alignment, rapid capability recovery, and robust adaptation across diverse domains. Furthermore, we adapt this foundation to specific deployment scenarios, deriving Sparse InfiniteVL for long-video analysis and Streaming InfiniteVL for real-time scene perception. Extensive experiments demonstrate that InfiniteVL matches the performance of leading VLMs while achieving a 1.7$\times$ decoding speedup and a 2.7$\times$ reduction in memory. Notably, Sparse InfiniteVL accelerates prefilling by 5$\times$ at a 256K context length, while Streaming InfiniteVL delivers stable 25 FPS real-time processing with a constant memory footprint.
BibTeX
@inproceedings{tao2026infinitevl,
  author = {Hongyuan Tao and Bencheng Liao and Shaoyu Chen and haoran yin and Qian Zhang and Wenyu Liu and Xinggang Wang},
  title = {{InfiniteVL: A Systematic Approach to Highly-Efficient, Ultra-Long Multimodal Understanding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tNrFDjV59O},
}
Figure