TL;DR
CoPE-VideoLM is a novel video tokenization framework that drastically reduces the computational overhead of Video Language Models (VideoLMs) by directly processing video codec primitives (motion vectors and residuals) instead of fully decoded RGB frames. By avoiding redundant image encoding for most frames, it cuts token usage by up to 93% and accelerates time-to-first-token by up to 86% while maintaining or exceeding state-of-the-art accuracy across 14 diverse video understanding benchmarks.
What Problem Does This Paper Address?
Current Video Language Models (VideoLMs) treat videos as dense sequences of fully decoded RGB images. This approach creates a massive computational bottleneck: processing hundreds of thousands of visual tokens quickly overwhelms the context window constraints of Large Language Models (LLMs) and incurs heavy hardware costs.
To cope, standard methods aggressively downsample videos, selecting only a few sparse keyframes. However, this "keyframe sampling" strategy is a double-edged sword. It frequently misses macro-level narrative events and fine-grained micro-level details, severely limiting the model's ability to perform complex temporal reasoning. CoPE-VideoLM aims to break this trade-off between temporal coverage and computational efficiency.
Methods
Instead of reinventing the wheel to compress video data post-decoding, the authors look to standard video compression algorithms (like H.264 or MPEG-4) that have spent decades optimizing temporal redundancy.
Videos are natively organized into a Group of Pictures (GOP) structure containing:
- I-frames (Intra-coded): Full reference images.
- P-frames (Predictive): Frames containing only changes from the previous frame, split into Motion Vectors (where things moved) and Residuals (how pixels changed).
CoPE-VideoLM introduces a lightweight $\Delta$-Encoder to process these P-frame primitives directly:
- Dual-Branch Architecture: One branch processes motion vectors using a multi-layer MLP and a motion transformer; the other processes residuals via a truncated ResNet-18 and a residual transformer. Together, they compress a P-frame into just a handful of compact $\Delta$-tokens (typically 8 tokens, compared to 196 tokens for a full I-frame).
- P-frame Fusion: To flexibly trade off temporal resolution for efficiency, the framework can fuse $s$ consecutive P-frames together.
- Two-Stage Training: To ensure these sparse $\Delta$-tokens play nicely with dense RGB tokens, the authors pre-train the $\Delta$-encoder using auxiliary "reference" and "warped" transformers. It maps the codec primitives into the exact embedding space of a frozen vision encoder (like SigLIP) using a patch-wise Mean Squared Error (MSE) regression loss. Once aligned, the entire pipeline is fine-tuned end-to-end with the LLM backbone.
Datasets
- Training: The model is trained on the LLaVA-Video-178K dataset, which totals 1.39 million QA instruction-tuning samples spanning video captions, open-ended QA, and multiple-choice questions.
- Evaluation: The authors comprehensively evaluate their approach across 14 distinct benchmarks grouped into four domains:
- General Video QA: PerceptionTest, NextQA, ActivityNet-QA, VideoMME
- Temporal Reasoning: TempCompass, TOMATO, CVRR-ES, MVBench
- Long-form Understanding: LongVideoBench, LVBench, Video-TT, Video-MMMU
- Spatial Scene Understanding: ScanQA, SQA3D
Key Insights and Ideas
- Native Sparsity Wins: Video codecs have already done the heavy lifting of isolating temporal changes. By leveraging motion vectors and residuals directly, the model naturally ignores static backgrounds and focuses its token budget entirely on dynamic changes.
- Primitives Encode Better Dynamics: Counterintuitively, using highly compressed codec primitives can actually improve temporal reasoning. Because motion vectors explicitly represent optical-flow-like displacements, the model receives a cleaner inductive bias for motion than it would from parsing raw pixel arrays.
- Seamless LLM Integration: Because the $\Delta$-encoder projects its outputs directly into the standard vision embedding space, the final token stream is simply an interleaved sequence of I-frame and P-frame tokens. The downstream LLM requires absolutely zero architectural modifications to read it.
Key Results
CoPE-VideoLM achieves a massive shift in the Pareto-optimal frontier for video understanding:
- Efficiency Gains: Compared to a dense 64-frame LLaVA-Video-7B baseline, CoPE-VideoLM cuts the Time-to-First-Token (TTFT) by 86.2% and speeds up end-to-end latency by 56.1%.
- Massive Context Scaling: While standard dense RGB sampling quickly saturates memory limits, CoPE-VideoLM's token efficiency allows it to scale smoothly, enabling the processing of up to 8 hours of video (at 1 FPS) within a standard 1M token context window.
- Downstream Accuracy: On benchmarks like PerceptionTest, CoPE-VideoLM beats the baseline by +2.4% accuracy while using 80% fewer tokens. It achieved the highest accuracy among all open-source models on temporal-heavy benchmarks like TempCompass, TOMATO, and CVRR-ES.
Limitations and Future Work
- No B-Frame Support: The current framework only utilizes I-frames and P-frames. It lacks support for B-frames (bidirectional predictive frames), which introduce non-causal dependencies that complicate real-time streaming or causal autoregressive processing.
- Tensorized Primitives: The model currently operates on a tensorized version of codec primitives rather than parsing raw compressed bitstreams directly (e.g., operating directly on quantized DCT coefficients), leaving further potential efficiency gains on the table.
- Fixed Fusion Windows: The P-frame fusion window ($s$) is currently fixed, which may be suboptimal for videos with highly variable motion dynamics.
Summary updated