MoHA: Model-Conditioned Harness Adaptation for Long-Video Agents
Organizations: Gaoling School of Artificial Intelligence, Renmin University of China · Zhongguancun Academy
Abstract
Long-video understanding increasingly relies on agentic systems that actively acquire evidence rather than process fixed video representations. Their execution harnesses must coordinate language-level planning with video-level observation and evidence acquisition, yet are typically fixed across model stacks. We therefore introduce MoHA, a framework for model-conditioned harness adaptation that adapts a common initial execution harness to the specific planner and observer models it hosts. MoHA treats the harness itself as a model-conditioned optimization object: under the same task distribution and initialization, different planner-observer stacks can benefit from different executable harnesses. Starting from a common initial harness, MoHA analyzes failed calibration traces to diagnose model-harness mismatches and adapts both planner-side reasoning support, such as overview, memory, and verification, and observer-side capability assignments, including OCR and ASR specialists. After structural adaptation, MoHA separately calibrates observer execution configurations for the hosted model stack. Across three frozen planner stacks, MoHA improves Video-MME Full accuracy by 6.2-27.1 percentage points and Video-Holmes accuracy by 3.1-20.1 points over the fixed initial harness. Cross-model transfer further shows that the adapted harnesses generalize only partially to other models, highlighting the harness as a model-conditioned optimization layer for long-video understanding. Code is available at https://github.com/roverx12345/MoHA.
Figures & tables
| Model | Harness | Video-MME-v1 | Video-Holmes | ||||
|---|---|---|---|---|---|---|---|
| Short | Medium | Long | Full | Frames/Q | |||
| Direct-observer baselines | |||||||
| Qwen2.5-Omni | – | 72.8 | 63.6 | 45.7 | 60.7 | 128.0 | 40.1 |
| Qwen3-Omni | – | 79.4 | 66.8 | 49.0 | 65.1 | 128.0 | 51.2 |
| Planner–observer harness comparisons | |||||||
| GPT-5.5 | Static-All | 71.0 | 66.9 | 75.7 | 71.2 | 126.2 | 42.6 |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Role | Behavior | Adaptable effect |
|---|---|---|---|
| search | Base planner operation | Retrieves candidate temporal regions | Always available |
| observe | Base planner operation | Acquires evidence from region for typed goal | Always available |
| overview | Planner support | Provides coarse global video orientation | May be activated |
| memory | Planner support | Preserves bounded information across reasoning steps | May be activated |
| verification | Planner support | Supports explicit re-examination of accumulated evidence | May be activated |
| Omni observer | Default observer | Handles general observation requests | Remains the fallback backend |
| Failure | Interpretation |
|---|---|
| Orientation | The planner fails to establish a useful region of the video before detailed evidence acquisition. |
| Retrieval | Relevant temporal candidates are not retrieved despite a plausible evidence need. |
| Candidate selection | A useful candidate is retrieved but not selected or followed up. |
| Goal specification | The selected region is plausible, but the observation request asks for insufficient or mismatched evidence. |
| Observer | The region and request are plausible, but the assigned observer does not recover evidence supporting the requested goal. |
| Evidence retention | Useful acquired evidence is no longer available to later reasoning steps. |
| Hyperparameter | Value |
| Maximum structural rounds | 6 |
| Candidate limit per round | 2 |
| Promotion margin | 0.02 |
| Calibration examples | 64 |
| Validation examples | 32 |
| Validation repeats | 2 |
| Model stack | Memory | Memory + Overview | Memory + Verification |
|---|---|---|---|
| Qwen3.5-9B | 24/64 | 28/64 (+6.25 pp) | 7/64 (-26.56 pp) |
| Qwen3.5-27B | 27/64 | 33/64 (+9.38 pp) | 24/64 (-4.69 pp) |
| Split | Calibration | Validation | Selected modules | FPS | Scale | Long accuracy |
|---|---|---|---|---|---|---|
| S0 | 64 | 32 | Overview + Memory + ASR | 2.0 | 0.75 | 50.7% |
| S1 | 64 | 32 | Overview + Memory | 2.0 | 0.75 | 50.4% |
| S2 | 64 | 32 | Memory + ASR | 0.5 | 0.5 | 46.7% |
| Original MoHA | 64 | 32 | Overview + Memory + ASR | 2.0 | 0.75 | 51.1% |
| Evaluation | Short200 | Medium200 | Long200 | Full600 |
|---|---|---|---|---|
| Original run | 80.0% | 79.5% | 88.5% | 82.67% |
| Repeat run | 81.5% | 78.5% | 89.0% | 83.00% |
| Change | +1.5 pp | -1.0 pp | +0.5 pp | +0.33 pp |
| Planner | Video-MME Long | Video-Holmes |
|---|---|---|
| Qwen3.5-27B | 135/900 | 997/1,837 |
| Qwen3.5-9B | 526/900 | 170/1,837 |
| Planner | Short | Medium | Long | Full | Video-Holmes |
|---|---|---|---|---|---|
| GPT-5.5 | 74.4 | 74.5 | 66.2 | 71.7 | 47.8 |
| Qwen3.5-27B | 73.1 | 67.4 | 57.6 | 66.0 | 28.4 |
| Qwen3.5-9B | 53.3 | 44.3 | 37.4 | 45.0 | 27.8 |
| Condition | Scope | Valid / correct | Invalid |
|---|---|---|---|
| 16-to-32 continuation | 526 originally invalid trajectories | 57 valid / 34 correct | 469 |
| Model | Termination | Evidence integration | Evidence retention | Observer | Other | Total |
|---|---|---|---|---|---|---|
| GPT-5.5 | 11 | 15 | 0 | 3 | 0 | 29 |
| Qwen3.5-27B | 22 | 13 | 0 | 1 | 2 | 38 |
| Qwen3.5-9B | 9 | 13 | 7 | 5 | 4 | 38 |
| Planner | Main calls: total / planner / observer | Audio seconds / episode |
|---|---|---|
| GPT-5.5 | 11,525 / 11,461 / 6,683 | 153.8 |
| Qwen3.5-27B | 16,661 / 16,597 / 9,822 | 152.1 |
| Qwen3.5-9B | 16,749 / 16,685 / 7,494 | 63.5 |
| Planner | Main text tokens / episode | Video tokens / episode |
|---|---|---|
| GPT-5.5 | 32.7K | 16.4K |
| Qwen3.5-27B | 43.6K | 18.8K |
| Qwen3.5-9B | 25.9K | 8.36K |
| Planner | Diagnosis judge | Specialist probe |
|---|---|---|
| GPT-5.5 | 148 calls; 62.5K tokens/call | 5 calls; 4.00K text + 1.65K video tokens/call |
| Qwen3.5-27B | 262 calls; 47.1K tokens/call | 44 calls; 3.54K text + 1.35K video tokens/call |
| Qwen3.5-9B | 279 calls; 55.1K tokens/call | 14 embedded calls; 2.90K text + 0.89K video tokens/call |
| Planner | Planner calls/Q | Observer calls/Q | Text tokens/Q | Visual tokens/Q | Audio sec/Q |
|---|---|---|---|---|---|
| GPT-5.5 | 5.87 | 4.93 | 57.47K | 6.60K | 264.90 |
| Qwen3.5-27B | 5.71 | 3.45 | 38.80K | 23.21K | 111.39 |
| Qwen3.5-9B | 4.43 | 1.97 | 21.23K | 9.51K | 22.74 |
| Model | Evaluation scope | Short | Medium | Long | Full | Video-Holmes |
|---|---|---|---|---|---|---|
| Qwen2.5-Omni | One request/question | 72.8 | 63.6 | 45.7 | 60.7 | 40.1 |
| Qwen3-Omni | One request/question | 79.4 | 66.8 | 49.0 | 65.1 | 51.2 |
| Benchmark | Mean (s) | Median (s) | Duration coverage |
|---|---|---|---|
| Video-Holmes | 185 | 190 | 99.56% 300 s |
| Video-MME-v1 Long | 2,466 | 2,423 | 897/900 30 min |
| Planner | Added module | FPS | Visual scale |
|---|---|---|---|
| Qwen3.5-9B | Memory | 2.0 | 0.5 |
| Method | Primary conditioning focus | Adapted object | Distinction relative to MoHA |
|---|---|---|---|
| MetaVideoAgent ( Cui et al., 2026 ) | Target video / task distribution | Modular video-agent design | Searches for an effective agent design for a target distribution; MoHA instead keeps the task distribution and initialization shared and asks how the harness changes with the hosted model stack. |
| VideoHarness-RSI ( Xu and Chen, 2026 ) | Frozen video-model answering interface | Executable context-construction program | Optimizes the inference program around a fixed interface; MoHA separately exposes planner support, observer assignment, and observer execution configuration and studies how these change across model stacks. |
| Self-Harness ( Zhang et al., 2026 ) | Model-specific execution traces | Localized harness modifications | Shares the model-conditioned, trace-driven perspective; MoHA extends it to long-video agents with learned perceptual backends and explicit observer-side adaptation. |
| Natural-Language Agent Harnesses / MetaHarness ( Pan et al., 2026 ; Lee et al., 2026 ) | General agent execution logic | Harness / execution program | Treats harness logic as an optimization object more broadly; MoHA uses a bounded component space to enable interpretable model-conditioned adaptation and controlled cross-model transfer analysis. |
| MoHA | Hosted planner–observer stack | Planner modules, observer assignment, and observer execution | Uses shared initialization and adaptation data across model stacks and explicitly evaluates whether adapted harnesses transfer across planners and observers. |
| Method | Long | Full |
| VideoAgent ( Wang et al., 2024 ) | 46.4 | – |
| VideoTree ( Wang et al., 2025a ) | 54.2 | 60.6 |
| VideoLucy ( Zuo et al., 2025 ) | 66.8 | 72.5 |
| AVP (Gemini 2.5 Pro) ( Wang et al., 2025b ) | 81.9 | 85.3 |
| LensWalk (o3/GPT-4.1) ( Li et al., 2026b ) | 70.0 | – |
| VideoARM (o3/GPT-4.1) ( Yin et al., 2026 ) | 75.3 | 80.1 |
Agent Harness Optimization
Agent harness optimization improves the prompts, tools, memory, workflows, and control code that shape how AI agents act.
See all 216 papers