arXiv(opens in a new tab)cs.CVSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11899

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

Weitong Cai, Hang Zhang, Yukai Huang, Yiqiao Xie, Shan Gao, Jiankang Deng, Songcen Xu, Jifei Song, Zhensong Zhang

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.

1 Introduction

Long-form video understanding underlies a growing class of multimodal applications, from interactive video assistants and on-device personal memory to wearable visual aids, each constrained by tight inference budgets imposed by either edge hardware or latency-sensitive cloud serving (Paruchuri et al., 2025; Singh and Gill, 2023). Under such constraints, long video QA becomes a joint modeling and resource-allocation problem: the system must preserve query-relevant memory over the entire video horizon, yet missing even a small but decisive event or attribute can directly cause incorrect answers (Mangalam et al., 2023).

Existing approaches can be viewed along two intertwined design axes: (i) Visual compression methods (fig. 1(a)) reduce cost by sampling fewer frames or compressing visual tokens, but may sacrifice coverage or fidelity on long videos (Qian et al., 2024; Jiang et al., 2025). (ii) Textual translation methods (fig. 1(b)) convert videos into captions, transcripts, or language memories and perform retrieval and reasoning in text space, or iteratively revisit video segments to produce updated textual memories across multiple rounds (Fan et al., 2024; Zhi et al., 2025; Zuo et al., 2025; Cai et al., 2025). These strategies improve scalability, but text-centric representations can lose fine-grained visual evidence (Wang et al., 2023; Kahatapitiya et al., 2025), while iterative revisiting often introduces query-time cost that grows with interaction rounds and is difficult to bound under strict edge budgets (Fan et al., 2024; Zhi et al., 2025).

In preliminary studies, we observe a consistent duality. For image-level referencing (Table 1), caption-only reasoning falls short of reasoning from original pixels, since fine-grained properties such as identity, color, and attribute binding are easily lost under aggressive linguistic compression (Yang et al., 2025a). In contrast, for long-horizon temporal reasoning (Table 2), language memories can sometimes be more effective than dense visual inputs for chronological understanding and event-level relations, because they provide a compact, discrete record of what happened and in what order (Wang et al., 2023; Kahatapitiya et al., 2025). This suggests that text is not merely a lossy substitute for video: it can be a stronger carrier for temporal structure, while sparse raw frames remain essential for verifiable visual evidence. The intu-

∗^{*}Corresponding authors.

Figure

Figure 1: Long video understanding. (a) Visual compression methods (frame selection or token compression) reduce visual tokens fed to an MLLM but risk losing coverage on long videos. (b) Textual translation methods convert video into language memories for LLM reasoning, improving scalability but losing fine-grained visual evidence. (c) Our approach separates offline narrative indexing on the edge from on-demand visual verification on the cloud, combining textual temporal coverage with targeted pixel-level evidence only when needed.

ition aligns with human memory: we rarely retain every pixel-level detail, but we can retain and query a concise storyline of an experience.

Motivated by this observation, we propose a Caption-once, Frames-on-Demand (CFD) paradigm (fig. 1(c)) for budget-aware long video understanding in an edge-cloud setting. The key idea is to index temporal structure once in language and reuse it across queries, while retrieving raw frames only when fine-grained visual attribution is necessary. Under this view, efficiency does not come from uniformly reducing visual computation, but from allocating visual access selectively to attribute-critical moments. We instantiate this paradigm with CFD, a budget-aware edge-cloud agentic pipeline for long video understanding. On the edge, a lightweight MLLM performs single-pass, question-agnostic indexing of the full video stream to build two complementary timestamped language memories: an event-level story skeleton derived from shot/event segmentation (Soucek and Lokoc, 2024), and a uniform clip-level microlog that preserves local temporal details between events. Both memory tracks are produced once per video and cached for reuse across subsequent queries without re-captioning the video.

At query time, a stronger cloud-side MLLM reasons over the cached narrative index in an iterative backtracking loop. It first attempts a story-first answer from the event memory. If confidence is insufficient, the agent localizes a relevant unexplored event, enriches it with overlapping clip-level captions, and re-attempts answering. A lightweight Visual-Need Router then predicts whether pixel-level inspection is required: it favors frame retrieval for perceptual queries (e.g., appearance, on-screen text) and skips it for temporally grounded questions when narrative memory is sufficient. When visual inspection is triggered, the system retrieves a bounded set of keyframes from the localized event into a fixed-capacity FIFO working memory, ensuring that per-query visual cost remains controlled regardless of video length. The agent then performs multimodal re-reasoning over textual memory and retrieved visual evidence in a unified prompt. The loop repeats until confidence is reached or the query budget is exhausted.

In summary, our contributions are threefold:

• Visual-Need Router. We introduce a per-query gating module that classifies each question as perceptual or temporal-structural and triggers raw-frame retrieval only for the former. To our knowledge, this is the first agentic video-QA design that conditions visual access on question type, converting frame retrieval from an emergent pipeline byproduct into an explicit, query-conditioned cost.

• Caption-once, Frames-on-Demand framework. Building on prior caption-once paradigms (Zhang et al., 2024a; Kahatapitiya et al., 2025), we couple a reusable dual-track narrative index (event skeleton plus clip-level micro-log) with the Visual-Need Router and a fixed-capacity FIFO working memory, exposing per-query visual cost as an explicit hyperparameter rather than an implicit consequence of interaction depth.

• Empirical study. On Video-MME and InfiniBench, CFD reaches accuracy competitive with prior agent-based methods while using roughly an order of magnitude fewer frames per question, supporting the design hypothesis that visual access can be allocated selectively rather than uniformly.

An extended discussion of related work is provided in Appendix C.

Table 1: CaptionQA (Yang et al., 2025a). Caption:Qwen2.5-VL-7B; Reasoning:Qwen3-VL-4B.

InputOverall (%)
Image92.32
Caption77.17

Table 2: InfiniBench (Ataallah et al., 2025). Use Qwen3-VL-32B for caption and reasoning. Results show captions have better performance on temporal context understanding than raw videos.

PipelineChronological UnderstandingGlobal AppearanceScene TransitionsCharacter Actions
Video48.4470.5453.9767.04
60s / Caption56.4653.4958.7353.07

References (65)