Ocula-Qwen3-VL-4B

[ Active Sparse Perception ] [ Ocula ] - [ Project ] [ arXiv ] [ Code ] [ Weight (8B) ] [ Dataset ] [ Collection ]

Ocula-ASP/Ocula-Qwen3-VL-4B is the lightweight checkpoint release of Ocula: Active Sparse Perception Makes Better Visual Encoders, built on Qwen/Qwen3-VL-4B-Instruct. It uses the same gaze-guided foveated sampling ($\alpha = 0.43$, 64 patches / 16 LLM visual tokens per frame pair; Cauchy density profile mapped by a boundary-preserving Moser-type density flow) and two-stage training recipe as Ocula-ASP/Ocula-Qwen3-VL-8B. Acquisition is question-independent: a video representation is acquired once per clip and reused across subsequent queries.

Release Files & Identity

Both PyTorch checkpoint dictionaries (weights_only=True safe) are verified by SHA-256 against a pinned revision of Qwen/Qwen3-VL-4B-Instruct:

Artifact Size SHA-256 / Identity Digest Description
Qwen/Qwen3-VL-4B-Instruct
revision ebb281ec70b05090aa6165b016eac8ec08e71b17
12 files weights_identity:
48c311a2c12b42d5da0caa8df8f5f685860b6889178a3184902faf32e2795646
Pinned upstream 4B base model (language model, patch stem, and ViT grid positional encoding remain frozen)
vision_lora.pt 55.31 MiB ba2258f6cb6d4d1a8c0a4a9d9670af339f8d3b3b599c3d6913e6e65a7f50a0fc Stage-1 rank-32 LoRA (lora_alpha = 64) on all 27 visual blocks and DeepStack mergers (5,188 updates)
predictor.pt 9.89 MiB 105d3c26ab99316856bb9c61f42ce99958fbf9392db6b80daced4155796a5fc7 Stage-2 GazePredictor (2,587,169 params, feature_dim = 2048, ViT blocks [14, 8], pixels = 16384, alpha = 0.43, 10,000 updates)

Quick Start

Install hku-sail/Ocula (Python >= 3.11, PyTorch >= 2.8, transformers == 4.57.6):

from ocula import OculaPipeline

pipe = OculaPipeline.from_pretrained("Ocula-ASP/Ocula-Qwen3-VL-4B")
rep = pipe.observe("path/to/video.mp4")  # question-independent active sparse perception
print(pipe.ask(rep, "Describe the main action and fine-grained object interaction.").answer)
print(pipe.ask(rep, "Which label is on the box?", options=["A. FRAGILE", "B. THIS SIDE UP"]).answer)

Or from the command line with --model 4B:

python -m scripts.demo \
  --model 4B \
  --video path/to/video.mp4 \
  --question "In one short sentence, what happens in the scene?" \
  --out-gif outputs/demo_4b.gif

Results with Qwen3-VL-4B (Appendix C.4)

Video QA accuracy (%) across all 39,141 questions on 12,993 clips at the default visual budget (64 patches and 16 LLM visual tokens per frame pair at $\alpha = 0.43$, 0.6 s nominal pair interval). Uniform uses the pretrained Qwen3-VL-4B-Instruct weights; Center, Random, and Ocula share the adapted visual encoder and warp:

Method Patches Tokens HRVideoBench MME-VideoOCR Perception Test TOMATO MotionBench TempCompass NExT-QA Video-MME
Uniform 64 1Γ— 47.00 43.06 59.60 28.77 51.73 68.29 75.54 60.48
Center 64 1Γ— 47.50 43.06 65.02 32.14 56.21 67.34 78.11 60.15
Random 64 1Γ— 46.50 42.93 65.71 32.01 55.99 66.84 77.86 60.19
Ocula (Ours) 64 1Γ— 48.00 43.75 66.77 33.69 56.29 67.34 78.81 60.59

Ocula-Qwen3-VL-4B outperforms Center on 7 of 8 benchmarks (matching on TempCompass), Random on all 8 benchmarks, and Uniform on 7 of 8.

Hardware & Scope

  • Memory footprint: With roughly half the language-model parameter count of the 8B release and the same 64-patch / 16-token visual budget per frame pair, Ocula-Qwen3-VL-4B fits comfortably on 12–16 GiB GPUs under --runtime auto (CUDA Graphs) or --runtime reference.
  • Contract binding: vision_lora.pt and predictor.pt enforce SHA-256 identity checks against Qwen/Qwen3-VL-4B-Instruct @ ebb281ec70b05090aa6165b016eac8ec08e71b17.

License & Citation

Released under Apache-2.0; upstream Qwen/Qwen3-VL-4B-Instruct is distributed by the Qwen Team under Apache-2.0.

@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}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Ocula-ASP/Ocula-Qwen3-VL-4B

Adapter
(280)
this model

Dataset used to train Ocula-ASP/Ocula-Qwen3-VL-4B

Collection including Ocula-ASP/Ocula-Qwen3-VL-4B

Paper for Ocula-ASP/Ocula-Qwen3-VL-4B