Caption-once, Frames-on-Demand: Visual-Need Routing for Budget-Aware Agentic Long Video Understanding

EMNLP 2026 · Main Conference · Long Paper

Weitong Cai1 Hang Zhang2* Yukai Huang3 Yiqiao Xie4 Shan Gao5 Jiankang Deng4 Songcen Xu5 Jifei Song5 Zhensong Zhang5*

1 Queen Mary University of London 2 Independent Researcher 3 Durham University 4 Imperial College London 5 Huawei

* Corresponding authors

Overview

CFD captions a long video once on the edge, then reasons in the cloud and retrieves raw frames only when the Visual-Need Router determines pixel-level evidence is necessary. On Video-MME, it achieves 67.5 overall with only 5.8 frames per question on average.

Three approaches to long video understanding: visual compression, textual translation, and CFD
(a) Visual compression reduces visual tokens but risks losing coverage on long videos. (b) Textual translation improves scalability but loses fine-grained visual evidence. (c) CFD separates offline narrative indexing on the edge from on-demand visual verification on the cloud.

Abstract

Long-video understanding on edge devices must reason over hours of content under tight compute and bandwidth budgets. Subsampling visual tokens loses temporal structure, while text-only video memories lose fine-grained visual attributes. We observe a visual-textual duality: language memories carry long-range temporal structure better than dense frames, while pixels remain decisive for attribute-level perception. Building on this insight, we propose Caption-once, Frames-on-Demand (CFD), a budget-aware edge-cloud agentic framework. The edge runs a single offline captioning pass that builds a dual-track narrative index, an event-level story skeleton plus a clip-level micro-log, cached and reused across queries without re-captioning. At query time, a cloud-side MLLM reasons over the index in a story-first loop centered on a lightweight Visual-Need Router: a per-query gating module that triggers bounded keyframe retrieval only for perceptual questions (appearance, on-screen text, attribute disambiguation) and keeps temporal-structural questions in language space. The router turns visual access into a first-class, query-conditioned cost, capping per-query frame consumption regardless of video length. Experiments on long-video benchmarks demonstrate strong accuracy-efficiency trade-offs while substantially reducing online visual processing.

Key Observation: Visual-Textual Duality

Language memories carry long-range temporal structure better than dense frames, while pixels remain decisive for attribute-level perception.

InputOverall (%)
Image92.32
Caption77.17
CaptionQA. Caption: Qwen2.5-VL-7B; Reasoning: Qwen3-VL-4B.
PipelineChronological UnderstandingGlobal AppearanceScene TransitionsCharacter Actions
Video48.4470.5453.9767.04
60s / Caption56.4653.4958.7353.07
InfiniBench. Qwen3-VL-32B for caption and reasoning.

Method

CFD separates offline narrative indexing on the edge from on-demand visual verification on the cloud.

01 · Edge, offline

Dual-track narrative index

One question-agnostic captioning pass builds an event-level story skeleton and a clip-level micro-log, cached and reused across queries without re-captioning.

02 · Cloud, online

Story-first reasoning loop

The agent first attempts a story-first answer from the event memory; if confidence is insufficient, it localizes a relevant unexplored event and enriches it with overlapping clip captions.

03 · Cloud, online

Visual-Need Router

A per-query gating module that triggers bounded keyframe retrieval for perceptual questions and keeps temporal-structural questions in language space.

Overview of the CFD framework
Overview of CFD. A single offline captioning pass on the edge builds a dual-track narrative index; a cloud-side MLLM reasons over it in a story-first loop and retrieves raw frames on demand only when the Visual-Need Router determines pixel-level evidence is necessary.

Three-Tier Edge-Cloud Memory

  • Event memory (global story skeleton). Semantically coherent events from a shot-boundary detector, each captioned into a structured narrative profile; always presented in full to the reasoning agent.
  • Clip memory (local temporal details). Fixed-length clips captioned one action per sentence; activated selectively for the localized event rather than fed in full.
  • Visual working memory (pixel-level evidence). A FIFO queue with a deliberately small fixed capacity that stores raw frames when pixel-level inspection is necessary.

Story-First Reasoning Loop

1 Story-first answer 2 Temporal localization 3 Clip-enriched re-answer 4 Visual-Need Router 5 On-demand frame extraction 6 Multimodal re-answer

Up to T = 5 iterations; if none yields a confident answer, a must-answer fallback commits to the best answer using all accumulated evidence.

Results

Video-MME

CFD achieves 67.5 overall with only 5.8 frames per question on average, matching or exceeding all reported agent-based baselines; with Qwen3.5 (9B + 27B) as captioner and reasoner it reaches 69.4 with only 2.5 frames. We do not aim to match dense-inference upper bounds such as Qwen3-VL-32B at 768 frames; we target the accuracy-efficiency frontier under bounded visual budgets.

Method#CaptionsRe-caption?#FramesVideo-MME
shortmediumlongoverall
Leading Open-source MLLMs
VideoChat2-7B––1648.337.033.239.5
LongVA-7B––12861.150.446.252.6
Kangaroo-7B––6466.155.346.656.0
Video-CCAM-14B––9662.250.646.753.2
VideoXL-7B––12864.053.249.255.5
Dispider-7B––1 fps–––57.2
VideoChat-Online-4B––2 fps––47.154.4
TimeChat-Online-7B––1 fps––48.462.4
Qwen3-VL-32B76882.476.369.075.9
Agent-based Systems
VideoAgent2 s✓–––46.4–
VideoTree8 s✓–67.859.954.260.6
DrVideo5 s✓–––51.7–
MemVid–✗1 fps73.963.155.064.0
VideoLucy†< 30 s✓–73.264.756.264.7
CFD (Qwen3-VL-8B + Qwen3-VL-32B)233.1 s✗5.872.266.663.667.5
CFD (InternVL3.5-8B + InternVL3.5-38B)233.1 s✗7.669.063.160.764.3
CFD (Qwen3.5-9B + Qwen3.5-27B)233.1 s✗2.573.770.464.169.4
#Captions: average temporal span covered by each caption. Re-caption?: whether a method revisits video frames at query time to (re)caption or refine its textual memory. #Frames: raw frames sent to the online answering model. † Reproduced with the authors' code.

InfiniBench

CFD achieves the best Chronological Understanding score (55.10) at only 14.8 frames per question on average, exceeding the 768-frame dense baselines, and remains competitive on Scene Transitions; it stays below the dense Qwen3-VL on Global Appearance and Character Actions.

Method#Captions#FramesChronological UnderstandingGlobal AppearanceScene TransitionsCharacter Actions
LLaVA-OneVision–12843.9137.2125.4020.11
InternVL2.5–12842.1634.8820.6321.60
Qwen2-VL–76848.4131.0123.8132.59
Qwen2.5-VL–76827.1737.9822.2222.53
InternVL3–12836.2933.3328.5723.46
Qwen3-VL–76848.4470.5453.9767.04
CFD (Ours)206 s14.855.1058.9052.4056.20
Performance comparison on InfiniBench.

LVBench

CFD achieves 52.9 overall, outperforming every agent-based system except VideoLucy (58.8), whose agent base model is the far larger DeepSeek-R1, and remaining competitive with the leading open-source MLLM AdaReTaKe-72B (53.3).

MethodEREUKIRTGReaSumOverall
Leading Open-source MLLMs
TimeMarker-8B42.839.134.938.738.248.841.3
VideoLLaMA3-7B45.842.447.835.945.836.245.3
InternVL2.5-78B43.842.042.136.851.037.943.6
Qwen2-VL-72B38.041.138.341.446.546.641.3
ReTake-7B49.846.252.945.045.827.647.8
VideoChat-Flash-7B51.146.049.038.948.534.548.2
AdaReTaKe-72B53.050.762.245.554.737.953.3
InternVL3-8B47.743.042.642.346.825.944.5
Agent-based Systems
VideoAgent28.030.328.029.328.036.429.3
VideoTree30.325.126.527.731.925.528.8
MemVid53.440.646.334.943.228.144.4
VCA43.740.737.838.046.227.341.3
VideoLucy†54.359.875.651.755.949.158.8
CFD (Ours)53.950.263.948.248.337.952.9
ER: Entity Recognition; EU: Event Understanding; KIR: Key Information Retrieval; TG: Temporal Grounding; Rea: Reasoning; Sum: Summarization; Overall: average of the six. † Uses DeepSeek-R1 (671B-parameter MoE reasoning model) as the agent base model, versus the 32B Qwen3-VL reasoner in CFD.

Analysis

Component Analysis

Text alone cannot substitute for visual evidence (Global Appearance 9.30 with event memory alone, 38.00 with all clip captions). Always-on frames bring sharp gains on appearance-centric tasks at the cost of Chronological Understanding (51.70) and long-video accuracy (62.6); the Visual-Need Router recovers them to 55.10 and 63.6, a more balanced accuracy-efficiency trade-off.

EventClipReasoning LoopFramesRouterVideo-MMEInfiniBench
shortmediumlongoverallChronological UnderstandingGlobal AppearanceScene TransitionsCharacter Actions
✓62.053.756.357.352.309.3039.7016.90
✓*68.266.462.065.555.7038.0065.1043.90
✓✓✓68.864.063.065.355.1045.0052.4053.40
✓✓✓✓72.366.762.667.251.7062.8058.7065.90
✓✓✓✓✓72.266.663.667.555.1058.9052.4056.20
Component study. (*) All clip captions in one video are used.

Clip-caption activation

CFD uses 66.3% fewer clip captions on average while outperforming the all-clip baseline overall.

MethodShortMediumLongAverage
All 30-s clip captions3.1017.6982.6634.49
CFD-activated captions1.529.2924.0511.62
Caption reduction51.2%47.5%70.9%66.3%
Clip captions per query on Video-MME.

Frame reduction and routing

Even with the Router disabled, online frame usage drops from 768 to 6.63 frames/query (99.1% fewer, about 116×); the Router further reduces it to 5.76 (−13.1%) while improving accuracy from 67.2 to 67.5. Frame savings do not imply lower wall-clock latency in every configuration, because the prompt-based Router introduces an additional LLM call. Increasing the budget from 2/4 to 8/16 improves accuracy by 0.3 points, while 32/64 yields only another 0.1 point.

Frames per event (Nfr)FIFO capacity (Nwm)Frames / queryAccuracy
241.8367.2
8165.7667.5
32648.9367.6
Visual-budget sweep on Video-MME.

Routing policy

The Router improves average accuracy by 2.2 points over no-frame reasoning and slightly exceeds always-frame inference (67.5 vs. 67.2) with 13.1% fewer online frames. In a paired diagnostic rerun, it retrieves frames for 46.2% of questions and captures 127 of 133 (95.5%) cases in which frames empirically improve the answer; routing accuracy is 68.5% on the 1,876 decidable questions.

PolicyShortMediumLongAverage
No frames68.8 / 0.0064.0 / 0.0063.0 / 0.0065.3 / 0.00
Always frames72.3 / 2.5466.7 / 6.5762.6 / 10.7867.2 / 6.63
Visual-Need Router72.2 / 2.3866.6 / 5.8163.6 / 9.0967.5 / 5.76
Routing policies on Video-MME; each cell is (accuracy / online frames per query).

Iteration budget

Long-video accuracy keeps improving from 60.4 at T = 1 to 64.0 at T = 20; we adopt T = 5, which achieves the best overall score of 67.5.

Video-MME accuracy versus the maximum iteration budget T
Video-MME accuracy versus the maximum iteration budget T.

Offline captioner model size

Scaling the captioner 2B→8B brings a substantial gain (62.6→67.5 overall), while 32B degrades long-video accuracy (61.0 vs. 63.6), which we attribute to verbosity accumulation; we adopt Qwen3-VL-8B.

Caption ModelSizeshortmediumlongoverall
Qwen3-VL2B67.761.958.162.6
8B72.266.663.667.5
32B72.467.161.066.8
Offline captioner size on Video-MME.

Qualitative Examples

Attribute perception: “What's the main color of Nuna?” (A. Gray · B. Blue · C. Green · D. Brown)

Story-first answer: abstains Temporal localization [0, 505] s Clip-enriched re-answer: still uncertain Visual-Need Router: YES Multimodal re-answer D. Brown ✓
Inference trajectory of CFD on a Video-MME example
Inference trajectory. CFD reasons over coarse event memory, narrows the relevant temporal span with clip memory, and invokes sparse visual backtracking only when textual evidence remains insufficient.

Direct answer: “What does this video document?”

Story-first answer B. Behind the scenes at the National Theatre ✓
Direct-answer mode of CFD on a Video-MME example
Direct-answer mode. The coarse event memory already provides sufficient global semantic evidence, so CFD answers at the initial story-first stage without temporal backtracking or visual evidence retrieval.

BibTeX

@misc{cai2026cfd,
      title={Caption-once, Frames-on-Demand: Visual-Need Routing for Budget-Aware Agentic Long Video Understanding},
      author={Weitong Cai and Hang Zhang and Yukai Huang and Yiqiao Xie and Shan Gao and Jiankang Deng and Songcen Xu and Jifei Song and Zhensong Zhang},
      year={2026},
      eprint={2609.11899},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2609.11899},
}