Fewer visual FLOPs per frame pair than token pruning baselines (55.5 vs. 226.7 GFLOPs).
Ocula: Active Sparse Perception Makes Better Visual Encoders
Uniform grids waste compute.
Learned gaze reallocates detail.
Typical video encoders spread patches uniformly across every frame, trading off spatial detail, frame rate, and temporal span—and token pruning still pays the full dense vision cost before dropping tokens. Ocula allocates resolution before encoding: the encoder uses its own sparse observations to steer learned gaze on the next input, keeping fine detail near gaze and coarse coverage of the full frame under a fixed patch budget. The result is a question-independent representation, reused for every question about the clip.
Fewer input patches (64 vs. 256) and LLM visual tokens (16 vs. 64) per pair.
Within 0.52 pts of Dense Uniform (69.05%) at one quarter of the visual budget.
Controlled wins across all 8 video QA benchmarks (39,141 questions) with encoder and budget fixed.
Move the gaze.
See the resolution shift.
Ocula resamples each frame with a boundary-preserving Cauchy–Moser density flow, so every patch carries equal sampling mass. Drag across the frame or change the warp strength α to compare the effective resolution kept around the gaze against uniform sampling at the same 60-patch budget—shown undistorted, in source space.
Equal-mass cells. They shrink near the gaze and widen in the periphery—finer pixels inside the lens, coarse context everywhere else. On this 5:3 frame, the nominal 64-patch budget is fitted to a 10 × 6 grid.
One closed loop.
Question-free.
Each sparse encoder pass serves two roles at once: tapping intermediate features from blocks 8 and 14 for a 2.72M-parameter recurrent gaze predictor (0.9 ms), and emitting visual outputs Zt accumulated into a clip representation 𝒱T reused across all questions by the frozen LLM.
Equal sampling mass, adaptive spatial resolution.
A continuous sampling density ρg(p) combines a uniform background with a Cauchy profile at gaze g, compensated near frame edges to preserve unit mean and peak density. A boundary-preserving Moser flow solves for equal-mass patch footprints:
Transsaccadic memory and anchored box decoding.
Because foveated patches correspond to varying source footprints, block 8 & 14 features are augmented with source position, log width/height, and gaze-relative offset. Four time-gated memory slots accumulate context across saccades; greedy box routing + anchored logit-space decoding supports both small refinements and long jumps:
Two-stage adaptation and ranked supervision.
Stage 1 adapts Qwen3-VL's visual encoder via LoRA on foveated views while keeping the LLM frozen. Stage 2 trains the gaze predictor on reciprocal-rank weighted targets from an offline vision-language teacher, annealing teacher forcing to 0.0 so the predictor learns from its own observations.
Saccades. Local tracking. Revisits.
Without ever seeing a question.
Driven only by what it has already seen, Ocula alternates between long saccades across interacting actors, local refinements around fine structure, and timely revisits as events unfold—preserving answer-relevant detail under a fixed 64-patch budget.
Long saccade & revisit. Ocula alternates between the near player and far player across successive 0.6 s pairs—bringing each strike into fine view while retaining full court context for trajectory tracking.
Stronger accuracy.
A fraction of the vision cost.
Evaluated across 8 video QA benchmarks (12,993 clips, 39,141 questions) at the same LLM visual-token budget. Token pruning reaches that budget by encoding all 256 patches and then dropping tokens; Ocula encodes only 64.
Video QA accuracy at the same token budget
Perception Test · Visual perception · 19,140 questions
All methods share a nominal budget of 16 LLM visual tokens per frame pair. Δ is Ocula minus each method, in points. Dashed line: Dense Uniform, 256 patches and 4× tokens.
Visual compute
Per frame pair · RTX 4090 · bf16
Reallocating the budget, no retraining
Patches per pair × pair interval, varied at test time · Ocula vs. fixed Center
Default operating point. Ocula beats fixed Center on all 8 benchmarks with the same encoder, warp strength, and schedule.
BibTeX
@article{wu2026ocula,
title = {Ocula: Active Sparse Perception Makes Better Visual Encoders},
author = {Wu, Bixing and Yang, Chenghan and Yang, Lihe and
Zhang, Yujia and Wu, Xiaoyang and Zhao, Hengshuang},
journal = {arXiv preprint arXiv:2612.02359},
year = {2026},
url = {https://arxiv.org/abs/2612.02359}
}