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 ZhangarXiv 2026

TL;DR

The paper introduces Caption-once, Frames-on-Demand (CFD), a budget-aware edge-cloud framework designed for long-video understanding on resource-constrained devices. By exploiting a "visual-textual duality"—using compact text captions to track long-term temporal structure and fetching raw video frames only when fine-grained visual details are required—CFD achieves competitive accuracy on long-video benchmarks while reducing online frame processing by over 99%.

What Problem Does This Paper Address?

Reasoning over hours of video content on edge devices (like smart glasses, phones, or home assistants) is a massive challenge due to strict compute, memory, and bandwidth constraints.

Existing methods generally fall into two camps, both of which have major drawbacks:

  1. Visual Compression: Uniformly dropping frames or compressing visual tokens to fit into a model's context window, which risks losing critical, fine-grained visual details over long horizons.
  2. Textual Translation: Converting the entire video into text captions or transcripts. While highly scalable, text-only representations easily lose subtle visual attributes like color, text overlays, or precise object identities.

Furthermore, existing agentic frameworks that iteratively scan video segments at query time suffer from unpredictable, compounding costs that scale poorly under strict edge hardware budgets.

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.

Methods

The authors propose CFD, a framework that splits video understanding into a one-time offline indexing phase on the edge and an on-demand reasoning loop on the cloud.

Three-Tier Memory Architecture

  • Tier 1: Event Memory (Global Story Skeleton): Generated offline on the edge. The video is segmented into semantically coherent events, and a lightweight Multimodal Large Language Model (MLLM) creates a high-level narrative timeline.
  • Tier 2: Clip Memory (Local Temporal Details): Dense, short-interval captions (e.g., 30-second blocks) generated offline to capture micro-actions and local state changes.
  • Tier 3: Visual Working Memory: A tiny, fixed-capacity First-In-First-Out (FIFO) queue hosted on the cloud that holds raw keyframes only when explicitly requested.

The Story-First Reasoning Loop & Visual-Need Router

At query time, a powerful cloud-side MLLM acts as an Answering Agent, attempting to resolve the question using the high-level text skeleton first. If confidence is insufficient, a Localization Agent identifies the most relevant event and injects the corresponding dense Clip Memory text.

If the text memory still leaves the answer uncertain, the Visual-Need Router steps in. Acting as a gatekeeper, it classifies the query based on a perceptual-versus-temporal rubric:

  • If the question is temporal-structural (e.g., event ordering), it skips frame extraction entirely to save bandwidth.
  • If the question is perceptual (e.g., identifying a specific color or reading on-screen text), it triggers bounded keyframe retrieval from the edge into the cloud's Visual Working Memory for a final multimodal answer.
Figure 2: Overview of CFD. On the edge, a lightweight MLLM performs a single offline captioning pass to build a dual-track narrative index: an event-level story skeleton and a clip-level micro-log, both cached and reused across queries without re-captioning. At query time, a cloud-side MLLM reasons over the cached index through a story-first iterative loop, enriching targeted events with clip details and retrieving raw frames on demand only when the Visual-Need Router determines pixel-level evidence is necessary.

Datasets

The framework was evaluated on three major long-video benchmarks:

  • Video-MME: A comprehensive benchmark spanning short, medium, and long videos (up to 60 minutes) covering diverse domains.
  • InfiniBench: A large-scale dataset of long movies and TV shows. The authors focused on its four grounding-based skills: Chronological Understanding, Character Actions Tracking, Scene Transitions, and Global Appearance.
  • LVBench: A highly challenging hour-scale benchmark featuring high-quality human annotations that explicitly require visual evidence.

Key Insights and Ideas

  • The Visual-Textual Duality: Text is not merely a lossy substitute for video; it is actually a superior carrier for long-horizon chronological structure because it provides a compact, discrete record of events. Conversely, raw pixels remain absolutely essential for verifiable visual evidence (attributes, colors, text).
  • Query-Conditioned Cost: Instead of letting frame retrieval be an accidental byproduct of an agent's search depth, CFD turns visual access into an explicit, tunable hyperparameter.
  • The Danger of Verbose Captions: Scaling the offline edge captioner from an 8B model to a 32B model actually degraded long-video accuracy. The larger model produced overly verbose descriptions that compounded over long videos, saturating the cloud model's context window.

Key Results

  • Massive Frame Reduction: On Video-MME, CFD achieved an overall accuracy of 67.5% while using an average of just 5.8 frames per question. This represents a 116× reduction (~99.1% fewer frames) compared to dense processing baselines that feed 768 frames into the model.
  • Superior Chronological Reasoning: On InfiniBench's Chronological Understanding task, CFD scored 55.10, outperforming dense 768-frame baselines like Qwen3-VL (48.44) and Qwen2-VL (48.41).
  • Smart Gating: The Visual-Need Router successfully left 53.8% of queries entirely in the language space, yet it accurately captured 95.5% of the cases where raw frames were empirically proven to improve the answer.

Limitations and Future Work

  • Caption Bottleneck: The system is fundamentally limited by the quality of the initial offline captioning pass. If a critical detail is missed early on, text-based backtracking cannot recover it.
  • Segmentation Sensitivity: The framework relies heavily on the quality of upstream shot-boundary detection. Overly coarse segmentation can bury evidence, while overly fine segmentation fragments coherent episodes.
  • Coarse Routing: The router currently operates as a binary, zero-shot classifier. The authors note that a continuous, calibrated confidence score or lightweight fine-tuning would help handle complex queries that sit on the boundary between temporal and perceptual.

Summary updated

BibTeX
@misc{cai2026caption,
  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},
  title = {{Caption-once, Frames-on-Demand: Visual-Need Routing for Budget-Aware Agentic Long Video Understanding}},
  year = {2026},
  eprint = {2609.11899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.11899},
}
Figure