atlas

Research map / Video / Video-language understanding

World Model on Million-Length Video And Language With Blockwise RingAttention

ICLR 2025 · Video › Video-language understanding · approach: Video LLMs with fine-grained understanding · 12 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.

Trains LWM, a 7B Llama-2-based autoregressive model with 1M-token context over long text, video and image tokens (VQGAN), using progressive context extension, Blockwise RingAttention, and model-generated QA data.

Problem

Extending sequence models to million-token contexts for long text documents and hour-long videos is limited by memory/compute cost and by scarcity of long-form data and long-context chat data.

Approach

Progressively extend context from 32K to 1M by scaling RoPE theta, train with Blockwise RingAttention on books and then on mixed text-image-video tokens from a VQGAN tokenizer, and build long-context chat data by having a short-context model generate QA pairs from book chunks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add masked sequence packing corrections instead of standard independent packing (ablation)LWM · VQAv2score: 48.3 -> 55.8Helped
add masked sequence packing corrections instead of standard independent packing (ablation)LWM · SQAscore: 34.8 -> 47.7Helped
add masked sequence packing corrections instead of standard independent packing (ablation)LWM · POPEscore: 62.5 -> 75.2Helped
increase chat-data proportion from 0% to 100%, replacing QA data (ablation)LWM-Text-Chat · MT-Benchscore: 2.42 -> 5.8Helped
increase chat-data proportion from 0% to 100%, replacing QA data (ablation)LWM-Text-Chat · Needle retrievalaccuracy: 100% -> 31%Hurt
extend context from 128K to 1MLWM-Text-Chat · MT-Benchscore: 4.62 -> 4.19Hurt
use LWM (512K) instead of GPT-4o (128K)LOFT · HotPotQAscore: 0.21 -> 0.72Helped
use LWM (512K) instead of GPT-4o (128K)LOFT · Quorascore: 0.23 -> 0.38Helped
use LWM-1M instead of Gemini 1.5 ProVideo-MME · Long (30min-60min)score: 67.4 -> 60.8Hurt
use LWM instead of Video-ChatGPTVideo understanding · TGIFscore: 51.4 -> 40.9Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Books3 (The Pile) UltraChat LAION-2B-en COYO-700M WebVid10M InternVid10M ShareGPT4V Valley-Instruct-73K Video-ChatGPT-100K OpenLLaMA data

Benchmarks: ARC-Challenge HellaSwag MMLU OpenBookQA Needle In A Haystack Multi-needle retrieval LOFT (Quora, NQ, HotpotQA) Video-MME VQAv2 GQA ScienceQA MSVD

Metrics: accuracy normalized accuracy retrieval accuracy MT-Bench score

Baselines: Gemini Pro GPT-4-1106 Gemini 1.5 Pro GPT-4o Claude 3 Opus LLaVA-Video Video-LLaVA LLaVA-1.5 Qwen2.5-7B-Instruct Llama-3.1-8B-Instruct Mistral-7B-Instruct-v0.3

Builds on: Blockwise RingAttention FlashAttention Llama 2 RoPE VQGAN

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