arXiv:2610.01766cs.AIOct 2026

Manuscript Offprint

arXiv:2610.01766

VideoEvolve: Evolving Agent Harnesses for Video Temporal Grounding

Bingjun Luo, Yuhuan Fan, Jialin Guo, Siqi Li

ABSTRACT

Video temporal grounding aims to localize events in videos from natural-language queries. For agents built around frozen video-language models, the harness determines how queries guide temporal predictions and how those predictions are refined. Manually refining these harnesses requires diagnosing grounding failures and coordinating changes to both agent workflows and instructions. We introduce VideoEvolve, a framework that automatically evolves agent harnesses for video temporal grounding. VideoEvolve uses a Cloze-Structured Harness Representation that preserves stage interfaces while leaving agent workflows and instructions open to evolution. Branch-Guided Harness Evolution preserves promising code branches for continued refinement, using execution feedback to guide local edits and validation to determine which improvements are carried forward. Experiments demonstrate improved grounding performance across multiple benchmarks. Component analyses identify instruction refinement as a consistent source of gains, while the benefits of evolved code vary across evaluation settings. Together, these results support automated harness evolution as an effective approach to improving video temporal grounding. Code is available at https://github.com/bingjunluo/VideoEvolve.

1 INTRODUCTION

Video temporal grounding localizes the interval in a video that matches a natural-language query, connecting video understanding to temporally grounded retrieval and reasoning. Identifying the right event and its boundaries can remain difficult when similar actions recur or a query specifies relations between events (Zhang et al., 2026c;d). For example, the same action may be clearly recognizable at several points in a video, while its position before or after another event determines which occurrence matches the query. An agent may need to inspect additional evidence, revisit an initial prediction, or resolve competing interval hypotheses. How these decisions are organized affects the path from interpreting video content to selecting a temporal interval. For agents built around video-language models, this process depends on both the model and the execution procedure surrounding it.

Recent work improves temporal grounding through instruction tuning (Ren et al., 2024; Huang et al., 2024), reinforcement learning (Wang et al., 2025a), and self-evolving model training (Jung et al., 2026). Alongside these advances in model learning, agentic approaches organize query decomposition, grounding, verification, and adaptive reasoning into executable workflows (Zheng et al., 2024; Liu et al., 2026; Zhang et al., 2026d). The workflows and instructions surrounding a model form its harness (Lee et al., 2026; Zhang et al., 2026a). Improving a grounding harness requires coordinating how instructions describe an event with how code obtains and combines predictions. For example, a revised rule for distinguishing repeated events may call for changes to when a prediction is checked or which alternative interval is selected. Manually making such changes requires diagnosing failures and translating them into reusable procedures. A correction for one ambiguous query may change behavior elsewhere, so successful predictions also need to inform how the harness is re-

Figure

(a) Evolving the harness

Figure

(b) Grounding gains

Figure 1: VideoEvolve improves the harness around a frozen model. (a) Workflows and instructions evolve within stable stage interfaces, guided by execution feedback and validation (schematic). (b) Evolving the harness improves macro S on TimeLens-Bench (vertical axis starts at 30).

vised. This motivates automatically improving the harness while keeping the target video-language model frozen.

Program-based agent design already offers a foundation for this approach: ADAS and Meta-Harness search over executable agent programs (Hu et al., 2025; Lee et al., 2026), while the Darwin Gödel Machine retains historical programs as starting points for further improvement (Zhang et al., 2026b). We organize harness evolution for temporal grounding around two requirements. First, changes to hypothesis generation must remain compatible with downstream verification and selection. The representation should therefore preserve the interfaces that carry observations, interval hypotheses, and verification evidence, while leaving internal workflows and instructions open to revision. Second, an intermediate code change may require further edits before the complete harness is ready for adoption. Search should allow such programs to continue developing, while using evaluation of the complete candidate to decide which changes are inherited. A local edit must be assessed in the context of the full harness, since its effect can depend on existing instructions and downstream decision rules. Together, these requirements connect an editable grounding representation with a search procedure that separates continued exploration from acceptance.

We introduce VideoEvolve, a framework that evolves grounding harnesses using labeled development feedback while keeping the target model frozen (Figure 2). Its Cloze-Structured Harness Representation preserves stage interfaces while allowing executable workflows and instructions within them to evolve. Execution traces, grounding errors, and successful predictions from the current harness provide evidence about which decisions should be revised and which behavior should be preserved. Branch-Guided Harness Evolution uses execution feedback to guide local edits, preserves promising code branches for continued refinement, and validates complete candidates before adopting them as the basis for subsequent iterations. We evaluate the resulting harnesses on five grounding benchmarks. Figure 1 illustrates the approach and its gain over the initial harness. VideoEvolve exceeds the compared frozen-model workflows on Charades-STA and ActivityNet, and matched comparisons show gains over its seed on all five benchmarks. Component analyses identify instruction refinement as a consistent source of gains, while code contributions vary across benchmarks. This distinction motivates evaluating both grounding quality and inference usage when assessing an evolved harness.

Our contributions are threefold:

• We introduce VideoEvolve and a Cloze-Structured Harness Representation that supports evolving grounding workflows and instructions within stable stage interfaces around a frozen video-language model.

• We develop Branch-Guided Harness Evolution, connecting feedback-guided local edits and continued code-branch refinement with validation-based inheritance of complete harnesses. Development feedback guides branch retention, while validation determines which complete candidates are accepted and inherited by subsequent iterations.

• We evaluate the evolved harnesses on five grounding benchmarks, using search controls, code-instruction exchanges, and deployment-cost measurements to characterize performance, component contributions, and inference cost.