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:
- 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).
- 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.
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:
- 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.
- 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.
- 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
- 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