atlas

Research map / Video / Video-language understanding

LongVILA: Scaling Long-Context Visual Language Models for Long Videos

ICLR 2025 · Video › Video-language understanding · approach: Long video understanding · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces LongVILA, a full-stack long-context VLM solution combining a five-stage training pipeline (including long-context LLM extension and long-video SFT) with the MM-SP sequence-parallel training/inference system, scaling VILA to 2048 frames and 2M-token training.

Problem

Long-context vision-language models for long video understanding are hard to train: long video sequences are memory- and compute-intensive, existing sequence-parallel systems handle multimodal inputs and heterogeneous networks poorly, and there is little long-video instruction data.

Approach

Co-design of a five-stage training curriculum (LLM context extension to 262K tokens plus a long-video SFT dataset) and a multi-modal sequence parallelism system that uses two-stage sharding (balanced image encoding, then token-level sharding) and 2D-attention (intra-node All-to-All plus inter-node P2P) to scale context beyond attention-head limits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train LongVILA-7B with 256 video frames (ablation)LongVILA-7B · VideoMME long videos, with subtitlesaccuracyHelped
Increase frames from 8 to 256 (ablation)LongVILA · LongVILA-Captionaverage score: 2.00 -> 3.26Helped
Use two-stage rather than one-stage sharding (ablation)MM-SP training · Video captioning datasetiteration time: 0.78 -> 0.77; 0.89 -> 0.86; 1.20 -> 1.12Helped
Enable communication overlap in Ring-style sequence parallelism (ablation)Ring-style attention kernel · 4K–32K sequence lengthsforward and backward attention kernel wall-clock time: forw. w/o 29.5 -> forw. w/ 35.0 (+18.6%); backw. w/o 77.7 -> backw. w/ 82.2 (+5.8%)Hurt
Use MM-SP rather than Ring-style sequence parallelismLong-context VLM training · 32 H100 GPUsthroughput: 2.1\times to 5.7\timesHelped
Use MM-SP rather than Megatron-LM hybrid context and tensor parallelismLong-context VLM training · 32 H100 GPUsthroughput: 1.1\times to 1.4\timesHelped
Use MM-SP rather than HuggingFace Pipeline parallelismLong-context VLM inference · 8 H100 GPUsspeedup: 8.2\timesHelped
Train with MM-SP rather than pure data parallelism (ablation)LongVILA · Shot2Story training losstraining lossNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama Shot2Story COYO-25M YouCook2 ShareGPTVideo VideoMME ActivityNet-QA EgoSchema EventBench LongVideoBench PerceptionTest MVBench

Benchmarks: ActivityNet-QA EgoSchema EventBench LongVideoBench PerceptionTest MVBench NExT-QA VNBench VideoMME Needle-in-a-Haystack (video) LongVILA-Caption VQA-v2

Metrics: accuracy throughput (iterations/s) time per iteration max sequence length caption score (0-5)

Baselines: ZigZag-RingAttn DeepSpeed-Ulysses Megatron-LM CP Megatron-LM CP+TP HuggingFace Pipeline LongVA VideoLLaMA2 Kangaroo LLaVA-OV GPT-4o Gemini-1.5-Pro

Builds on: VILA DeepSpeed-Ulysses ring attention LongVA USP LoongTrain

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy