Nanjing University's VideoJev Answers Video Questions 129x Faster Without Decoding
A new family of video models skips autoregressive text generation to score time spans and answer options directly, hitting over 100x QA speedups.
Takeaways
- VideoJev replaces autoregressive decoding with a shared scoring head for temporal spans and multiple-choice options (paper).
- Reports over 100x QA inference speedup versus Thinking mode on four video QA benchmarks.
- Grounding gains of +6.7 and +10.8 mIoU over Qwen3.5-4B and Qwen3.6-35B-A3B backbones.
- Cached and Joint inference modes reuse video encoding across many queries on the same clip.
- Dense 4B and 35B-A3B MoE checkpoints released on Hugging Face with code on GitHub.
- Confidence is overestimated with 8+ point calibration error, and small-object counting remains a shared failure mode.
A video assistant may need only two timestamps for temporal grounding or one letter for multiple-choice QA, yet many multimodal large language models still decode answers one token at a time. The VideoJev project, developed by researchers from Nanjing University and collaborators, converts both tasks into candidate-scoring problems. It returns interval or option scores without an autoregressive decoding loop.
The researchers provide model weights, inference code, examples, and an accompanying paper. Their results show the largest latency gains when an agent asks several questions about the same clip, allowing VideoJev to reuse encoded video features or process a batch of queries together.
Why short answers still run long
Temporal grounding predicts when an event starts and ends within a video. Its common metric, mean intersection over union, or mIoU, measures the average overlap between predicted and reference intervals; higher values indicate closer alignment. Multiple-choice video QA selects one answer from a fixed set of textual options.
Conventional video MLLMs handle both tasks through text generation, giving them a flexible interface at the cost of sequential decoding. When the valid outputs are already constrained, every generated reasoning or answer token adds latency. The paper calls direct scoring a System One approach, borrowing Kahneman’s term for fast judgment; the concrete mechanism is a restricted output space with fixed score readouts.
One head ranks spans and answers
VideoJev retains a pretrained video MLLM as its backbone and adds a shared scoring head. For grounding, the head evaluates candidate temporal intervals against the video and query. For QA, it evaluates the supplied answer options. The highest-scoring candidate becomes the structured prediction, so downstream software receives timestamps or option scores directly.
The serving path supports two ways to handle repeated questions about one clip:
- Cached inference encodes the video once, stores its visual features, and runs one forward pass for each arriving query.
- Joint inference packs several queries into one causal forward pass. Predictions come from logits, the model’s raw scores before normalization, at fixed positions in the sequence.
Cached inference suits queries that arrive over time because it preserves the video representation between requests. Joint inference suits known batches and lets the model attend across the packed query set. The reported evaluations consistently place Joint mode above Cached mode on quality.
Two model sizes share the interface
The release includes a dense 4B model and a 35B mixture-of-experts model that activates 3B parameters for each inference step.
| Model | Backbone | Architecture | Resources |
|---|---|---|---|
| VideoJev-4B | Qwen3.5-4B | Dense, 4B parameters | 4B weights |
| VideoJev-35B-A3B | Qwen3.6-35B-A3B | Mixture of experts, 35B total and 3B active | 35B weights |
Inference code and usage examples are available in the project’s source code.
Reported gains grow with query count
Across three temporal-grounding benchmarks, the authors report higher mIoU than the corresponding backbones at both model sizes. The project’s aggregate quality results are:
| Model | Grounding mIoU | Gain over backbone | QA average |
|---|---|---|---|
| VideoJev-4B | 65.3 | +6.7 points | 74.3 |
| VideoJev-35B-A3B | 67.7 | +10.8 points | 79.5 |
Measured grounding inference speedups range from 2.8× to 3.1× relative to the backbones. On video QA, the project reports 100× to 129× speedups over Thinking mode while preserving comparable answer quality. Thinking mode is the backbone’s autoregressive reasoning path, which emits intermediate tokens before producing the final answer.
Query reuse produces larger gains in the published scaling examples. For ten grounding queries on a Charades clip, VideoJev-4B takes 0.39 seconds, compared with 5.98 seconds for the Instruct baseline, a roughly 15.3× reduction. For ten LVBench QA queries, VideoJev records 67.9% accuracy, compared with 59.8% for the Direct Joint baseline, while requiring less forward time.
These speedups are relative benchmark measurements rather than fixed production latencies. Hardware, clip length, frame sampling, precision, batch size, and video-decoding overhead will affect deployed performance.
Confidence needs recalibration
The reliability results show that both models overestimate confidence despite their reported accuracy. Mean calibration error is 8.65 points for VideoJev-4B and 8.13 points for VideoJev-35B-A3B. Calibration error measures the gap between predicted confidence and observed accuracy, so applications that gate actions with score thresholds should recalibrate on representative held-out videos.
Qualitative case studies also expose errors that aggregate scores can hide. Both sizes miscount small objects, including books in a Video-MME scene. Some LVBench clips produce divergent intent judgments, with the smaller model interpreting an interaction as courtesy and the larger model interpreting it as an arrest. These examples illustrate failure modes rather than their frequency across the full benchmarks.
Match the mode to the workload
VideoJev’s structured output contract suits systems with predefined answer choices or temporal queries, especially when several requests target the same video.
| Workload | Recommended path | Reason |
|---|---|---|
| Queries arrive over time for one clip | Cached inference | Reuses the stored video representation for each request. |
| A batch of queries is known in advance | Joint inference | Processes the query set in one forward pass and delivers the strongest reported quality. |
| Batch temporal grounding | Cached or Joint inference | Returns interval scores without decoding timestamp text. |
| Free-form answers or reasoning traces | Generative MLLM | The published VideoJev interface targets structured candidates and timestamps. |
Checks before deployment
- Measure end-to-end latency. Include video loading, frame extraction, preprocessing, cache creation, and result parsing alongside model forward time.
- Profile cache behavior. Track memory use, concurrent clips, and cache invalidation when video frames change.
- Calibrate decision thresholds. Fit and validate confidence thresholds on data that reflects the production camera, content, and query distribution.