TL;DR
To answer questions about long videos, AI agents have to decide where to look, what to remember, and when to stop searching. VideoCoEvo improves these agents without touching a single model weight: it co-evolves both the agent's execution "harness" (its prompts, tools, and memory rules) and the diagnostic policy that figures out why the agent is failing. Across five long-video benchmarks, this dual evolution boosts mean accuracy to 80.28% while cutting unintended regressions by 21.7%.
What Problem Does This Paper Address?
Watching a two-hour video to answer a single question is a needle-in-a-haystack problem. Under tight observation budgets, video agents must selectively retrieve clips, inspect frames, and piece together evidence over time.
When an agent gets a question wrong, there are two main ways to help it improve:
- Joint weight evolution: Train the underlying models on targeted failure data. This is computationally expensive, requires trainable weights, and leaves bottlenecks in the surrounding code unresolved.
- Harness evolution: Keep the model weights frozen and instead edit the harness—the prompts, tool workflows, and memory mechanisms.
Harness evolution is lightweight, but it has a subtle flaw: raw failure traces rarely tell you what to fix. An agent might miss an event because it searched the wrong timestamp, inspected too few frames, or forgot what it already saw. Worse, as the harness improves, the reasons it fails shift. An early agent might fail at retrieval; a better agent might retrieve the right clip and then misinterpret it. A static diagnostic strategy will keep prescribing retrieval fixes long after retrieval stopped being the bottleneck.
Methods
VideoCoEvo treats both the Solver harness and the diagnostic policy as joint optimization targets, keeping all underlying model weights frozen (using Qwen3.7-Max and Qwen3.6-Plus for the Solver, and DeepSeek-V4-Pro for diagnosis and editing).
The framework runs in iterative rounds:
- Execution & Failure Diagnosis: The Solver runs on an evolution set, logging tool calls, observations, and costs. A Diagnostic Agent examines failed traces and attributes each error to a specific execution mechanism.
- Issue-Card Construction: Rather than handing raw traces to an editor, the Diagnostic Agent groups failures with a shared root cause into issue cards (up to five per round). Each card bundles representative traces, a mechanism hypothesis, target behavior, and editing guidance.
- Harness Editing & Paired Validation: An Editor proposes up to three candidate patches for a selected card. Each patch is tested against the current parent harness on the same held-out validation questions (up to 500, extendable to 1,000). A patch is accepted only if it delivers statistically meaningful net repairs without exceeding a $1.5\times$ inference API cost cap.
- Diagnostic Policy Co-Evolution: If harness updates stall for three consecutive rounds, a Reflector reviews recent cards, patches, and validation outcomes to propose a refined diagnostic policy—tweaking how failures are attributed, grouped, or translated into editing instructions. Candidate policies are pitted against the active policy under matched conditions, judged by the quality of the harness patches they produce.
Datasets
The authors build disjoint evolution, validation, and held-out test splits from four existing benchmarks: LongVideoBench, Video-MME, LVBench, and MLVU-Dev (containing 646, 1,938, and 3,915 QA pairs, respectively). To test generalization beyond the evolution distribution, they also evaluate on two external benchmarks excluded from evolution: MLVU-Test and MMVU. The main evaluation spans 3,269 questions across held-out LongVideoBench, Video-MME, LVBench, MLVU-Test, and MMVU.
Key Insights and Ideas
- Co-evolving the diagnostician keeps patches focused: Under a fixed diagnostic policy, issue cards grow broader and noisier over time (expanding from 46.4 to 53.4 members per card). With policy evolution, cards become sharper and more targeted, shrinking from 39.4 to 17.6 members per card and cutting question-type diversity nearly in half.
- Better-grounded attributions: An independent audit using GPT-6-Astra found that trace-grounded failure attributions rose from 48.0% to 62.0% with policy evolution, while dropping from 53.3% to 36.0% under a fixed policy.
- Learning to spend the budget on visual detail: Rather than inventing new tools, the co-evolved harness learns to reallocate its existing ones—increasing
inspect_intervalcalls to scan segments more finely (61.70 visual frames per question vs. 34.17 initially) while trimming OCR and transcript overhead.
Key Results
- Overall Accuracy: VideoCoEvo achieves 80.28% unweighted mean accuracy across the five benchmarks—outperforming its initial harness (76.48%) by 3.80 percentage points, raw-trace editing (78.23%) by 2.05 points, and evolution with a fixed diagnostic policy (78.98%) by 1.30 points.
- External Generalization: On benchmarks never seen during evolution, accuracy jumps by 6.57 points on MLVU-Test (78.09%) and 4.43 points on MMVU (89.66%). It also surpasses the hand-designed agent LensWalk (78.77%) by 1.51 points.
- Fewer Regressions: Over the first ten rounds, policy evolution achieves a similar target repair rate to a fixed policy (21.97% vs. 21.67%) while reducing the mean validation regression rate by 21.7% (6.55% vs. 8.36%).
Limitations and Future Work
The authors do not include a dedicated limitations section, though a few practical trade-offs are evident from the experiments. The evolved harness achieves higher accuracy in part by inspecting more frames and making more tool requests, raising relative nominal API cost to $1.53\times$ that of the initial harness. Additionally, the framework relies on strong frozen frontier models (such as DeepSeek-V4-Pro and Qwen3.7-Max) for diagnosis, editing, and perception, as well as a sizable held-out validation pool to reliably screen candidate patches and policies.
Summary updated