TL;DR
Why do AI models stare equally hard at an unchanging living room wall as they do at a diver mid-somersault? OneVision-Encoder (OV-Encoder) borrows a decades-old trick from video compression (like H.265/HEVC) to ignore predictable, static backgrounds and focus compute strictly on the 3.1%–25% of video patches where motion and surprises actually happen. Under fixed compute budgets, this lets a model "watch" much denser stretches of time, boosting accuracy on fast-moving video tasks while processing up to 87.5% fewer tokens than dense video grids.
What Problem Does This Paper Address?
Natural video is overwhelmingly redundant. From one millisecond to the next, the sky stays blue and the stadium bleachers stay put; real information lives in the surprises—localized movement and lighting shifts.
Yet, standard Vision Transformers (ViTs) treat video like a flipbook of independent paintings. Because encoding every pixel of every frame blows up memory, standard pipelines sample just a few frames (say, 8 or 16) and chop each one into a uniform grid of patches. This creates a painful trade-off: you waste precious compute re-reading static backgrounds frame after frame, while completely missing rapid motion that happens between your sparsely sampled frames. Previous work tried learning auxiliary neural networks to prune or merge tokens after reading the frames, but OV-Encoder asks a simpler question: what if we let standard video codecs tell us where the action is before the Transformer even wakes up?
Methods
Video codecs like HEVC already separate video into I-frames (full reference images) and P-frames (which only store block-level motion vectors and residual errors—the pixels that couldn't be predicted from motion alone). OV-Encoder uses these exact codec signals as a free mathematical proxy for "visual surprise" inside a standard ViT architecture:
- Codec Patchification: Instead of feeding raw, dense frame grids into the ViT, OV-Encoder keeps full I-frames for stable context, and for P-frames, aggregates motion magnitude and luma residual energy to score every patch. It then cherry-picks only a fixed fraction (3.1%–25%) of the highest-scoring RGB patches. Crucially, the ViT still reads decoded RGB pixels—the codec just acts as the spotlight. To make one shared backbone handle everything, it unifies this sparse video mode with Chunk-wise Patchification (stratified frame sampling) and Single-Image Spatial Patchification.
- Shared 3D-RoPE: Dropping 75%+ of patches leaves a jagged, irregularswiss-cheese layout in space and time. To keep its bearings, the ViT uses a 3D Rotary Position Embedding (3D-RoPE) that tracks exact relative offsets $(\Delta t, \Delta x, \Delta y)$ between surviving patches—seamless whether comparing sparse P-frame patches across time or static patches on a single page.
- Million-Scale Cluster Discrimination: Rather than standard CLIP-style contrastive learning (which only pushes apart items that happen to land in the same training batch), OV-Encoder aligns embeddings against an offline global bank of over one million semantic centroids covering both static objects and video motion.
Datasets
- Training & Multimodal Adaptation: Pretrained in two stages on image, OCR, and video datasets (full mix in the paper's appendix). For Large Multimodal Model (LMM) integration, it is aligned and instruction-tuned on ~1.5M samples (740K LLaVA-Next image samples + 800K LLaVA-Next-Video samples), plus LLaVA-OV-1.5 adaptation for the language-aligned
OV-Encoder-Langvariant. No new benchmarks are introduced. - Evaluation (16 LMM Benchmarks):
- Video: MVBench, MLVU-dev, NExT-QA, VideoMME, PerceptionTest, TOMATO, LongVideoBench-Val-Video.
- Image & Document: ChartQA, DocVQA, InfoVQA, AI2D, MMBench-EN, OCRBench, OCRBench v2, MMStar, RealWorldQA.
- Evaluation (Frozen Attentive Probing): SSV2, Diving48, Perception Test, CharadesEgo, Epic-Kitchens-100 (Verb & Noun), Kinetics-400, and HMDB51.
Key Insights and Ideas
- Compression is saliency: You don't need a heavy neural router to find important tokens. Decades of signal-processing engineering inside H.265 already isolate entropy; high motion vectors and residuals naturally pinpoint where new visual evidence enters a scene.
- Spend tokens across time, not static space: Under a strict budget of 2,048 tokens, a standard ViT can only afford to look at 8 full frames ($8 \times 256$ patches). With Codec Patchification, OV-Encoder stretches that exact same 2,048-token budget across 64 frames (an 87.5% token reduction compared to dense 64-frame processing). On tasks like competitive diving, seeing the entire twist sparsely beats seeing 8 crystal-clear snapshots of the pool deck.
- Data efficiency via structural priors: When plugged into a Qwen3-4B LMM, OV-Encoder outperforms Qwen3-ViT despite being pretrained on roughly 100B vision-language tokens versus Qwen3-ViT's >2.1T tokens.
Key Results
- Motion-Sensitive Video Probing (Frozen Backbone): At a matched 2,048-patch budget, OV-Encoder (Codec) hits 60.2% average Top-1 accuracy across 8 video benchmarks, beating DINOv3 (58.0%) and SigLIP2 (53.1%). On the fine-grained motion benchmark Diving48, it reaches 67.2%—leaping +17.1 percentage points over SigLIP2 (50.1%) and +8.1 points over DINOv3 (58.6%).
- Multimodal LLM Reasoning: Paired with Qwen3-4B-Instruct, OV-Encoder achieves a 4.1-point average gain on video benchmarks over Qwen3-ViT (e.g., 53.4 vs. 47.2 on VideoMME; 75.6 vs. 70.1 on NExT-QA, rising to 54.1 and 76.1 with
OV-Encoder-Lang) while staying competitive on dense OCR and chart reading. - Extreme Sparsity Scaling: Even when squeezed down to just 512 tokens per 64-frame clip (a 96.9% patch reduction), OV-Encoder maintains 50.1% average probing accuracy, outperforming SigLIP2 by 6.7 points overall and by 18.4 points on Diving48 (46.5% vs. 28.1%).
Limitations and Future Work
Not discussed in the main text of the paper. (Note: One practical constraint visible in the method's design is that the patch sparsity ratio $r$ is held fixed throughout training and inference rather than adapting dynamically to whether a clip is a static lecture or an action movie, and extracting P-frames still requires decoding pixel patches at selected locations.)
Summary updated