cs.CVNov 20, 2026

VideoJSON: A Minimal Harness Beats Purpose-Built Memory for Ultra-Long Video Understanding

Authors: Wenqi Marshall Guo, Kuan-Hao Huang, Junda Chen, Hao Zhang

Organizations: University of British Columbia · University of California, San Diego · National Taichung University of Education

Abstract

Answering questions over days or weeks of video requires searching for scattered clues across long timelines. Existing video agents rely on complex memory graphs and fixed retrieval pipelines, which restrict how the agent can search. We propose VideoJSON, a minimal harness for ultra-long video understanding that keeps the memory simple and lets a coding agent write its own search programs. During indexing, a vision-language model turns each minute of video into a single JSON record containing a dense caption and structured fields such as events, entities, places, and speech transcripts. At query time, the agent writes Python or Bash programs in a sandboxed container to filter, link, and read these records over multiple steps, without task-specific training or raw video access. On four ultra-long video benchmarks, VideoJSON with DeepSeek V4.1 Flash outperforms MAGIC-Video by 7.0, 20.0, and 24.75 points on EgoLifeQA, Ego-R1-Bench, and MM-Lifelong Week, and beats the best prior EgoMemReason score by 12.6 points. Across four policy models of increasing capability, VideoJSON's average score rises by up to 11.58 points over the weakest model, compared with at most 5.50 points for MAGIC-Video. Ablations show that both agentic code search and the structured JSON records drive these gains, while adding hourly summaries, extra tools, or video access changes the average score by less than 1.5 points. In addition, fine-tuning Qwen-3.5-Flash on 64 VideoJSON trajectories from an unrelated 100-hour livestream improves its MM-Lifelong scores by up to 8.25 points. Code will be open-sourced after publication.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Keep It Simple: Multi-Key Episodic Memory Retrieval for Ultra-Long Video Understanding

    Aug 7, 2026Yeeun Choi, Youngbeom Yoo, Joon-Young Lee +2Memory-Augmented VLMsEpisodic Memory

  2. VMSA: Video Memory Skill Agent for Long Video Understanding

    Nov 20, 2026Changin Choi, Jungwon Park, Jungmin Ko +2Video Question AnsweringLong-Video Understanding

  3. Searching Ultra-Long Videos with Decision Models

    Nov 24, 2026Ce Zhang, Baiqi Li, Seongsu Ha +1Long-Video QAVideo Retrieval