Searching Ultra-Long Videos with Decision Models

Ce Zhang, Baiqi Li, Seongsu Ha, Gedas BertasiusarXiv 2026

TL;DR

Finding a three-second moment inside a month-long video is the ultimate needle-in-a-haystack problem: standard embedding search is too shallow to reason about context, while generative LLMs are far too slow and expensive to read everything. This paper introduces DeLoVi, a framework that uses pretrained decision models—models that read a query and candidate together to output a direct relevance score without generating text—to bridge the gap. By letting a coding agent automatically evolve a smart search strategy around a decision model, the authors achieve state-of-the-art accuracy on ultra-long video benchmarks while running nearly 4× faster than top LLM-based methods.

What Problem Does This Paper Address?

Imagine wearing smart glasses for a week and asking your AI assistant, "Where did I leave my spare key after I used it last Tuesday?" Answering this requires sifting through dozens of hours of mundane footage—whose textual descriptions alone easily exceed a million tokens—to find a few seconds of relevant action.

Current approaches convert short video clips into text captions and search them in one of two ways, facing a painful trade-off:

  1. Similarity-based retrieval (embeddings or keyword matching) encodes the question and each video caption independently. It’s fast, and it will happily find every moment a key appears on screen, but it struggles to reason about the relationship between the query and the clip (e.g., distinguishing using the key from putting it away).
  2. Generative LLMs read the question and captions jointly, allowing deep reasoning. However, because they think out loud—generating text token-by-token over multiple rounds of search—they are prohibitively slow and expensive at week- or month-long scales.

Methods

The authors introduce DeLoVi (Decision Models for Long Video), built around pretrained decision models (like Jev). Like an LLM, a decision model processes the question and candidate caption jointly in a single context. Unlike an LLM, it does not generate autoregressive text; it simply outputs a direct scalar relevance score. It gives you joint reasoning at a fraction of the compute cost. No model training is required.

Figure 2. Overview of DeLoVi. (a) DeLoVi-S divides the video into short clips of 10 to 30 seconds and captions every clip. A decision model scores the relevance of every clip caption to the question, and an LLM answers the question from the top-K clip captions. (b) DeLoVi-E answers the question in three steps. In Step 1, the decision model searches over a memory tree and selects the most relevant 3-minute window. The clip captions of this window are the first input of Step 3. In Step 2, keyword matching (BM25 [39]) shortlists the clip captions that share words with the question, and the decision model ranks the shortlisted captions by their relevance. Each top-ranked clip is passed to Step 3 together with its neighboring clips. In Step 3, the LLM answers the question from the clips of Step 1 and reports its confidence. If the LLM is not confident, the ranked clips of Step 2 are added in order and the LLM answers again, until it is confident.

The authors present two variants:

  • DeLoVi-S (Simple): A brute-force baseline. Video is chopped into 10–30 second clips, captioned (plus speech transcripts), and the decision model scores every single caption against the question. A generative LLM reads the top-$K$ captions to answer. While surprisingly accurate, its cost grows linearly with video length.
  • DeLoVi-E (Evolved): Rather than hand-crafting a smarter search tree to avoid linear scaling, the authors treat memory construction and retrieval as executable code. Starting from a basic hierarchical tree search, a coding agent (Claude Code with Opus 5.5) inspects retrieval trajectories on a dev set over 30 iterations, rewriting both how memories are stored and searched to optimize the Pareto frontier of accuracy and token cost.

The resulting evolved policy (DeLoVi-E) builds a 4-level temporal summary tree (clips, 3-minute windows, hours, days) and executes a clever two-tier search:

  1. Fast Tree Descent: The decision model navigates down the tree to grab a single 3-minute window. The LLM attempts an answer and reports a confidence score. If confidence > 0.8, it stops immediately.
  2. Fallback Global Search: If the LLM isn't confident, BM25 (fast keyword matching) shortlists candidate clips across the whole video, the decision model re-ranks them, and neighboring clips are bundled in for temporal context. The LLM re-evaluates only as the evidence pool doubles (2, 4, 8 windows), keeping LLM calls logarithmic.

Datasets

Because DeLoVi uses frozen pretrained models, no training datasets are used for model weights. For the 30-iteration code evolution, the authors use non-overlapping development (500 questions) and validation (350 questions) splits sampled from seven existing datasets. No new benchmarks are introduced.

Evaluation spans five existing benchmarks:

  • Ultra-long videos (days to months): EgoLifeQA, EgoMemReason (week-long egocentric videos), and MM-Lifelong (181.1 hours across day, week, and month scales).
  • Long videos (hour-long): VideoMME-L and LVBench.

Key Insights and Ideas

  • Flat scoring beats complex hand-crafted agents: DeLoVi-S has no hierarchical memory, graph structure, or iterative agentic loops—yet simply scoring flat clip captions with a decision model beats intricate prior LLM-agent frameworks. Joint query-evidence scoring matters more than elaborate memory structures.
  • The longer the video, the bigger the advantage: On MM-Lifelong, as average video duration stretches from a day (23.6h) to a month (105.6h), DeLoVi-S's accuracy lead over the strongest LLM-search baseline (MERIT) jumps from -1.6% to +11.8%. Iterative LLM agents get lost in month-long haystacks; exhaustive or hybrid decision-model scoring doesn't.
Accuracy gain of DeLoVi-S over MERIT across day, week, and month video splits
  • Memory and retrieval must evolve together: When the coding agent was only allowed to evolve how memory was organized (keeping retrieval fixed), token usage was nearly 3× higher than evolving both jointly. Furthermore, the evolved code generalized seamlessly across different decision models (like Decider and Drex Max) without re-evolution.

Key Results

Accuracy vs. runtime per question on EgoLifeQA

Figure 1. Accuracy and runtime on EgoLifeQA. All methods use GPT-6 Luna as the LLM, and runtime is measured per ques- tion. DeLoVi-S achieves the highest accuracy, and DeLoVi-E is the fastest method while achieving the second-highest accuracy. Compared with MERIT [9], the strongest prior method, DeLoVi- E is 3.8× faster with 1.0% higher accuracy.
  • State-of-the-Art Accuracy: Under matched LLMs (GPT-5), DeLoVi-S outperforms the strongest prior method (MERIT) by +4.0% on EgoLifeQA (75.2% vs. 71.2%) and +7.9% on MM-Lifelong (37.1% vs. 29.2%), and beats similarity-based methods across all five benchmarks by 4.6% to 22.4%.
  • Massive Efficiency Gains: DeLoVi-E maintains accuracy within 0.2%–4.2% of DeLoVi-S while slashing input tokens by 34× on average (and up to 47× on 40+ hour videos).
  • Speed and Cost: On EgoLifeQA (using GPT-6 Luna), DeLoVi-E runs 3.8× faster (6.8s vs. 25.6s per question) and is 3.3× cheaper (0.21¢ vs. 0.70¢ per query) than MERIT, while still edging it out in accuracy (+1.0%). In 86.6% of queries, DeLoVi-E needs at most two LLM calls.

Limitations and Future Work

  • Linear scaling in DeLoVi-S: While accurate, DeLoVi-S processes over 1M tokens per query on week-long videos, making it impractical for lifelong histories without the evolved policies of DeLoVi-E.
  • Multi-segment aggregation: On EgoMemReason—where answering a single question requires piecing together evidence from ~5.1 distinct video segments on average—adaptive LLM agents like MERIT occasionally edge out DeLoVi when passing a much larger volume of clips (167 vs. 100) to the answering LLM.
  • Dependency on base capabilities & captions: Ablations with weaker decision models (OpenJev drops accuracy by 6.0%) show the framework relies heavily on the quality of the underlying pretrained decision model, as well as upfront VLM captioning (whose one-time construction cost is amortized and excluded from per-query metrics). The authors hope this work sparks broader exploration into specialized decision models for video understanding.

Summary updated

Abstract

Understanding ultra-long videos requires retrieving sparse, query-relevant evidence from extensive video histories. Existing similarity-based retrieval methods are efficient, but they encode the question and the video content independently and thus often miss evidence whose relevance requires reasoning over both. Generative large language models (LLMs) can perform such reasoning, but they typically generate text over multiple rounds of search, which makes each query slow and costly. In this work, we introduce DeLoVi (Decision Models for Long Video), a framework that leverages pretrained decision models to retrieve evidence from ultra-long videos. Like an LLM, a decision model reads the question together with the candidate evidence, so it can reason over both. Unlike an LLM, it directly outputs a relevance score without generating text, which makes it fast and inexpensive. We first present DeLoVi-S, a simple method that generates captions for short video clips and uses a decision model to rank those captions by their relevance to a question. A generative LLM then answers the question using the top-ranked captions. Despite its simplicity, DeLoVi-S achieves state-of-the-art performance on three ultra-long video understanding benchmarks, EgoLifeQA, EgoMemReason, and MM-Lifelong, and generalizes effectively to long-video understanding benchmarks, VideoMME-L and LVBench. However, DeLoVi-S scores every caption for every question, so its cost grows linearly with video length. To reduce this cost, we propose an automated policy evolution framework that iteratively refines the memory construction and retrieval policies around a fixed pretrained decision model. The resulting method, DeLoVi-E, maintains comparable performance while reducing input tokens by 34x on average compared with DeLoVi-S. It also runs over 3x faster than the best prior method on EgoLifeQA while achieving higher accuracy.
BibTeX
@misc{zhang2026searching,
  author = {Ce Zhang and Baiqi Li and Seongsu Ha and Gedas Bertasius},
  title = {{Searching Ultra-Long Videos with Decision Models}},
  year = {2026},
  eprint = {2611.33368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33368},
}
Figure