OneVision-Encoder: Codec-Aligned Sparsity as a Foundational Principle for Multimodal Intelligence

Feilong Tang, Xiang An, Yunyao Yan, Yin Xie, Bin Qin, Kaicheng Yang, Yifei Shen, Yuanhan Zhang, Chunyuan Li, Shikun Feng, Changrui Chen, Huajie Tan, Ming Hu, Manyuan Zhang, Bo Li, Ziyong Feng, Ziwei Liu, Zongyuan Ge, Jiankang DengarXiv 2026

TL;DR

OneVision-Encoder (OV-Encoder) introduces a video-codec-inspired approach to vision transformers, abandoning uniform grid computation to focus exclusively on high-entropy, motion-rich patches (retaining just 3.1% to 25% of the video). By aligning its architecture with the information-theoretic principles of video compression, it achieves state-of-the-art multimodal performance while dramatically reducing token overhead.

What Problem Does This Paper Address?

Modern vision transformers (ViTs) process video frames as dense, uniform grids of pixels. While effective, this brute-force approach wastes massive amounts of compute on static backgrounds and highly redundant spatial data.

Video codecs (like H.264 and H.265/HEVC) solved this redundancy problem decades ago by splitting video streams into fully detailed anchor frames (I-frames) and sparse, motion-driven residual updates (P-frames). The authors of OV-Encoder argue that artificial general intelligence should treat visual understanding as a compression problem. By failing to align model architectures with the sparse, predictive structure of real-world video, current models expend unnecessary capacity on predictable pixels rather than focusing on the "surprise"—the motion and changes that define meaning.

Methods

OV-Encoder bridges the gap between video compression and deep learning through a method called Codec Patchification.

Overview of codec-aligned predictive compression

The pipeline consists of several key components:

  1. HEVC-Guided Patch Selection: Instead of uniformly patchifying every frame, the model extracts motion vectors and residual energy directly from the video's compressed bitstream. It aggregates these signals to compute a patch-level saliency score, dynamically selecting only the most informative regions (3.1%–25%) across predicted frames (P-frames).
  2. Codec Patchification Strategies: The framework unifies three distinct input layouts: Dense Video-Codec Patchification (for motion-centric dense video), Chunk-wise Patchification (for sparse temporal sampling), and Single-Image Spatial Patchification (for static images).
  3. 3D Rotary Position Embedding (3D RoPE): Because the selected patches form an irregular spatiotemporal layout, standard positional embeddings fail. OV-Encoder utilizes a shared 3D RoPE to jointly track relative temporal and spatial offsets, maintaining structural consistency across sparse tokens.
  4. Self-Supervised Cluster Discrimination: To enforce semantic structure without relying on massive text-caption datasets, the model is trained using an offline clustering objective against a massive global concept bank containing over one million clusters.
Overview of the OneVision-Encoder framework

Datasets

Pretraining Datasets

  • Images: LAION-400M, COYO-700M, OBELICS, Zero250M, and ImageNet-21K.
  • Videos: HowTo100M, Panda-70M, Kinetics-710, and Something-Something-V2 (SSV2).

Evaluation Benchmarks

  • Multimodal/LMM Probing: 16 benchmarks spanning image, video, and document understanding, including ChartQA, DocVQA, InfoVQA, AI2D, MMBench-EN, OCRBench (v1 & v2), MMStar, RealWorldQA, MVBench, MLVU-dev, NExT-QA, VideoMME, PerceptionTest, TOMATO, and LongVideoBench.
  • Attentive Probing: SSV2, Diving48, Perception Test, CharadesEgo, Epic-Kitchens-100 (Verb & Noun), Kinetics-400, and HMDB51.

Key Insights and Ideas

  • Efficiency and Accuracy are Positively Correlated: Traditional architectures treat sparsity as an optimization trick that trades away accuracy for speed. OV-Encoder proves that filtering out redundant background noise actually improves representation quality, especially for motion-heavy tasks.
  • Sparsity is a Signal Property: Video compression formats are not arbitrary; they reflect the information-theoretic reality of our world. Aligning a neural network's input layer with codec structures allows it to naturally capture object permanence and motion dynamics.
  • Minimal Anchors Suffice: For a 64-frame video clip, allocating full spatial tokens to just two I-frames is sufficient to establish a stable spatial context. The remaining tokens are far better spent tracking sparse, motion-driven updates across the timeline.

Key Results

When integrated into Large Multimodal Models (LMMs) built on Qwen3-4B, OV-Encoder consistently outperformed strong vision backbones like Qwen3-ViT and SigLIP2 across all 16 benchmarks.

  • Video Understanding: On video tasks, OV-Encoder achieved an average improvement of 4.1% over Qwen3-ViT, despite Qwen3-ViT being pretrained on over 2.1 trillion caption and instruction tokens (compared to OV-Encoder's ~100 billion tokens).
  • Attentive Probing: Under a strict patch budget of 2048 tokens on the motion-heavy Diving-48 dataset, OV-Encoder achieved a 17.1% Top-1 accuracy improvement over SigLIP2 and an 8.1% improvement over DINOv3.
  • Token Reduction: The codec-guided selection pipeline achieved a 75.0% to 96.9% reduction in visual tokens compared to processing the dense 64-frame baseline uniformly.

Limitations and Future Work

The authors noted a distinct spatial center bias when relying purely on codec-guided patch selection. Because cameras naturally frame subjects in the center, motion vectors and residuals are highly concentrated there. While this helps the model focus on primary actions, it can lead to insufficient coverage of peripheral background details, occasionally weakening global scene context.

Although the authors successfully mitigated this by blending in chunk-wise patchification to rebalance spatial diversity, finding the optimal, adaptive equilibrium between motion saliency and peripheral context remains an open avenue for future research.

Summary updated

BibTeX
@misc{tang2026onevision,
  author = {Feilong Tang and Xiang An and Yunyao Yan and Yin Xie and Bin Qin and Kaicheng Yang and Yifei Shen and Yuanhan Zhang and Chunyuan Li and Shikun Feng and Changrui Chen and Huajie Tan and Ming Hu and Manyuan Zhang and Bo Li and Ziyong Feng and Ziwei Liu and Zongyuan Ge and Jiankang Deng},
  title = {{OneVision-Encoder: Codec-Aligned Sparsity as a Foundational Principle for Multimodal Intelligence}},
  year = {2026},
  eprint = {2602.08683},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.08683},
}
Figure