Manuscript Offprint

arXiv:2610.27417

KPHarness: Co-Evolving Knowledge and Probing for Long-Horizon Gaming Harnesses

Zhikang Chen, Yueqing Sun, Sen Cui, Ziang Ye, Yu Wang, Yan Feng2, Xierui Song, Yu Zhang, Tingting Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

A failed gaming trajectory reveals that an agent needs intervention, but not necessarily how its execution harness should change. Effective harness adaptation therefore requires gathering diagnostic evidence, rather than merely proposing alternative recovery rules. We present KPHarness, a framework that adapts the external execution harness of a frozen vision-language-action model through knowledge-probing co-evolution. Recovery knowledge supplies context-specific intervention hypotheses that guide active probing; probe outcomes reveal when these hypotheses apply and provide evidence for refining both recovery knowledge and subsequent probe selection. This reciprocal process allows the harness to improve not only which interventions it applies, but also how it investigates failures. KPHarness separates fast policy execution from a slower research loop that translates accumulated knowledge and probing evidence into bounded harness revisions. Each revision is compared with the incumbent under matched sandbox conditions and accepted only when the paired evaluation shows improvement. Recoveries supported by further validation are retained for cross-task reuse, while immediate interaction feedback and delayed episode-success credit update action- and knowledge-probing policies during adaptation. Experiments on Minecraft tasks spanning mining, combat, and crafting show improved task coverage over bare policy execution, a manually specified fixed harness, and knowledge-only harness evolution with non-adaptive probing. Evaluation on previously unseen tasks further shows improved task completion with the evolved harness, knowledge bank, and probing policies held fixed, without additional search or persistent updates. These findings support knowledge-probing co-evolution as a mechanism for turning interaction experience into transferable harness improvements without further updating the underlying actor. The project page is available at https://chenzk202212.github.io/adaptive-gaming-harnesses/.

1 INTRODUCTION

Vision-language-action (VLA) models (Brohan et al., 2023; Kim et al., 2024; Chen et al., 2025; Li et al., 2025b; Wang et al., 2026) connect visual observations and language instructions with low-level control, enabling increasingly capable agents in interactive environments. Long-horizon gaming, however, exposes limitations beyond single-step action prediction. Even a capable VLA may repeatedly execute an ineffective action, fail to recover from a stalled trajectory, or overlook experience relevant to the current failure. As interaction horizons grow, performance therefore depends not only on the capabilities encoded in model parameters, but also on the external harness that governs how the model acts, probes, remembers, and recovers.

Existing work improves long-horizon VLA execution through prompting, memory, recovery, and hierarchical control (Li et al., 2025a; Fan et al., 2025; Yang et al., 2025), but these mechanisms are often manually designed and fixed at deployment. Recent automatic harness methods instead

  1. Bare

Figure

  1. Auto Knowledge

  2. Ours

Figure 1: Knowledge-probing co-evolution around a shared frozen VLA. Auto-K proposes and validates harness modifications using accumulated knowledge, while KPHarness additionally uses probing evidence and interaction feedback to adapt probe and knowledge selection. In the illustrated sand-mining example, Bare and Auto-K fail, whereas KPHarness recovers and completes the task.

search for prompts, tools, memory, and control logic from execution feedback (Lee et al., 2026; Chen et al., 2026; Lou et al., 2026). Such methods typically evaluate harness modifications through their execution outcomes. Visual gaming introduces an additional challenge: a failed trajectory often reveals what happened but not why. For example, an unsuccessful attack may result from target loss, insufficient range, an obstacle, or insufficient persistence, each requiring different recovery knowledge. Consequently, repeatedly trying harness modifications is inefficient when the underlying failure remains ambiguous. KPHarness turns automatic harness evolution from outcome-driven search into evidence-guided evolution through knowledge-probing co-evolution: evolving recovery knowledge provides context-specific intervention hypotheses that can focus subsequent probing, while probe outcomes determine their applicability and provide evidence for refining both knowledge and future probe selection. These challenges motivate our central question:

Can transferable recovery knowledge guide what a harness should probe under ambiguous failures, while probe outcomes identify applicable knowledge and refine subsequent probing and knowledge selection?

Existing harness search proposes modifications primarily from execution outcomes. In visually ambiguous environments, however, the same failure outcome may admit multiple incompatible explanations. We therefore treat harness evolution as a sequential process of hypothesis formation, active diagnosis, and empirical verification, where transferable knowledge supplies recovery hypotheses, and probing determines which hypothesis applies. We address this question with KPHarness, a framework for test-time harness evolution around a frozen VLA. Here, test-time means that the VLA parameters remain fixed after training, while only the external harness evolves through environment interaction. At the fast timescale, the VLA executes actions under the current harness. When execution stalls, the harness selects a probe according to the task and failure context, executes it in the environment, and uses the resulting evidence to retrieve relevant recovery knowledge. At the slow timescale, a vision-language researcher converts this evidence into task-specific harness modifications. Candidates are compared with their incumbents through paired sandbox evaluation, and accepted modifications are subsequently assessed on disjoint holdout seeds. Immediate interaction utility and delayed episode-success credit are then used to update probe and knowledge selection. Thus, unlike outcome-driven harness search alone, KPHarness learns both which intervention to apply and what to probe in order to discover it.

This process creates a knowledge-probing co-evolution loop. Better probes provide clearer evidence for selecting and refining interventions, while successful interventions reveal which probes and knowledge are useful under particular task and failure contexts. Validated recoveries are distilled into transferable execution knowledge and reused on subsequent tasks, while unresolved failures and probing ambiguities are converted into targeted follow-up cases for further sandbox evaluation. As illustrated in Figure 1, Auto-K searches for harness modifications from accumulated knowledge but does not improve its probing policy from probe outcomes. In contrast, KPHarness uses subsequent interaction to update both probe and knowledge selection. Experiments on 149 Minecraft tasks show that harness evolution improves coverage over bare execution and a fixed harness, while the complete framework further improves over knowledge-only evolution without updating the underlying VLA.

Our contributions are fourfold.

  1. Evidence-guided test-time harness evolution. We identify a limitation of outcome-driven automatic harness search in visually ambiguous environments and formulate harness evolution as an evidence-guided process around a frozen VLA.

  2. Knowledge-probing co-evolution for evidence-guided search. We couple transferable recovery knowledge with active probing: knowledge provides intervention hypotheses, probes gather evidence about their applicability, and validated execution outcomes update both future knowledge and probe selection.

  3. Sandbox-grounded accumulation and transfer. Candidate harness changes are accepted only through paired environment interaction, while validated recoveries are promoted into transferable knowledge that guides subsequent tasks.

  4. Probe-driven failure-frontier expansion. We convert failure reflections and probing ambiguities into targeted follow-up cases, exposing new failure modes that guide subsequent harness evolution.

References (95)

  • Finite-time analysis of the multiarmed bandit problem
  • Qwen3-VL Technical Report
  • Video pretraining (vpt): Learning to act by watching unlabeled online videos
  • RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control
  • Minestudio: A streamlined package for minecraft ai agent development (opens arXiv in a new tab)
  • An efficient vision-language-action model for combat tasks in 3d action role-playing games
  • A composable, adaptive, and evolvable agent harness foundry (opens arXiv in a new tab)
  • Minedojo: Building open-ended embodied agents with internet-scale knowledge
  • Unleashing long-horizon capability of vision language action model for robot manipulation (opens arXiv in a new tab)
  • Promptbreeder: Self-referential self-improvement via prompt evolution (opens arXiv in a new tab)
  • Bridging prediction and deliberation in world action models (opens arXiv in a new tab)
  • Connecting large language models with evolutionary algorithms yields powerful prompt optimizers
  • Hierarchical bayesian bandits
  • Vime: Variational information maximizing exploration
  • Mineexplorer: Evaluating open-world exploration of mllm agents in minecraft (opens arXiv in a new tab)
  • Compiling declarative language model calls into self-improving pipelines (opens arXiv in a new tab)
  • OpenVLA: An Open-Source Vision-Language-Action Model
  • Meta-harness: End-to-end optimization of model harnesses (opens arXiv in a new tab)
  • Towards long-horizon vision-language-action system: Reasoning, acting and memory
  • A contextual-bandit approach to personalized news article recommendation
  • Jarvis-vla: Post-training large-scale vision language models to play visual games with keyboards and mouse
  • Steve-1: A generative model for text-to-behavior in minecraft
  • Observability-driven automatic evolution of coding-agent harnesses (opens arXiv in a new tab)
  • Transferable contextual bandit for cross-domain recommendation
  • Autoharness: improving llm agents by automatically synthesizing a code harness (opens arXiv in a new tab)
  • Optimizing instructions and demonstrations for multi-stage language model programs
  • gradient descent
  • DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
  • Unified vision-language-action model
  • Large language models as optimizers
  • Lohovla: A unified vision-language-action model for long-horizon embodied tasks (opens arXiv in a new tab)
  • differentiation (opens arXiv in a new tab)
  • Helm: Harness-enhanced long-horizon memory for vision-language-action manipulation (opens arXiv in a new tab)
  • Steering frozen vlas into reliable manipulation primitives via memory-guided agents (opens arXiv in a new tab)
  • Large Language Models Are Human-Level Prompt Engineers
  • First, we perform cold-start supervised fine-tuning (SFT) for three epochs on approximately 765K multimodal Minecraft action trajectories
  • Each task is sampled with a group of eight online trajectories
  • Each episode permits up to 100 VLA decisions and therefore up to 400 temporally dependent low-level actions
  • Each worker hosts one frozen policy instance and interacts with an independent MineStudio environment
  • Its remaining 110 failures form the Bare-failure adaptation subset
  • Accepted candidates are subsequently evaluated using a disjoint holdout seed
  • Because this replay includes tasks from the adaptation subset, it measures task coverage rather than generalization to an unseen task split
  • Its output is restricted to a structured patch over the exposed harness configuration
  • The candidate and incumbent share the same task, frozen VLA, decoding configuration, evaluation seed, and initial external state
  • It solves 28 tasks, while probing-enabled replay succeeds on 17
  • Instead, three are strict probe-only successes: one mining, one combat, and one crafting task that remain unsolved by Knowledge Search but succeed during probing-enabled replay
  • Combat failures frequently involve target loss or stalled engagement, where approaching, attacking, and re-centering provide useful corrective evidence
  • Because both search and holdout evaluation use a limited number of seeds, these results provide preliminary cross-seed evidence rather than a statistically conclusive generalization estimate
  • After each task, validated recovery knowledge and contextual-bandit statistics are written to the shared harness state and become
  • The inherited harness completes 12 tasks before task-specific search, and nine of these successful trajectories explicitly use prior-task knowledge
  • However, the inherited harness also contains updated prompts and contextual-bandit state, while decoding at temperature 0.7 remains stochastic
  • P-only denotes strict probe-only recoveries, for which Knowledge Search fails but the probing-enabled replay succeeds
  • This metric captures immediate feedback rather than the full downstream contribution of
  • >(a) Full Sandbox-mediated knowledge evolution</td></tr><tr><td>Auto-K</td><td>24/110 (21.8%)</td><td>5/30</td><td>12/31</td><td>7/49</td></tr><tr><td>KPHarness</td><td>31/110 (28.2%)</td><td>9/30</td><td>15/31</td><td>7/49</td></tr><tr><td colspan=
  • Panel (b) uses one execution rollout per task with fixed knowledge content and harness patches
  • All diagnostic variants interact with the environment, but their feedback cannot improve the bank's content
  • We use Gemini-2.5-Flash (Comanici et al., 2025) at temperature 0 as both the visual failure-attribution researcher and harness proposer
  • The action-probing context combines a coarse task family with the event that activates probing, producing contexts such as mine:stall, combat:fail, and craft:stall
  • Novelty is computed as one minus the maximum similarity between the current state–action pair and previously stored experience:
  • We set $n_t = 1$ when no previous experience is available
  • A candidate $H'$ is accepted when
  • The agent stalls while sand is visible
  • It is retained only if its paired execution improves over the incumbent according to Equation 15
  • The middleware operates in the latency-sensitive execution loop and can adjust camera motion, sustain or interrupt an action, select an inventory item, invoke recovery behavior, or verify task completion without modifying the underlying VLA
  • Probe choices receive immediate credit from progress, reward, novelty, and failure resolution, together with delayed credit from episode success
  • target-reacquisition probes are more useful for visual failures in combat, whereas approach and interaction probes are more effective for reachable-object failures in mining
  • Memory updates and probing-policy writeback are disabled during evaluation, preventing execution order from affecting the comparison
  • An accepted proposal updates the harness, while separately validated recoveries and probing statistics support subsequent tasks
  • Because the replay includes tasks encountered during adaptation, it is reported as task coverage rather than generalization to an unseen task split; disjoint holdout seeds provide a separate measure of cross-seed robustness
  • \tag {16} $$
  • Gather sand from the desert
  • Predict the next 200 ms of interaction as exactly four action steps, each lasting 50 ms
  • Persistent probing statistics are updated during learning rollouts, not during paired or holdout evaluation, where writeback is disabled
  • At decision turn 23, the context mine_block:stall_heavy selects backup_and_turn
  • Following success, backup_and_turn and reacquire_and_center receive delayed credits of 0.8 and 1.0, respectively, allowing the experience to influence probing on subsequent tasks
  • Because Auto-K and KPHarness also acquire different knowledge and task-specific prompts, this example illustrates their system-level behavior rather than isolating the causal effect of the probing policy alone
  • We derive the immediate utility and delayed credit, characterize the transfer-regularized value estimator, motivate the UCB-inspired exploration term, and analyze paired harness validation
  • A constrained local objective that motivates their combination is
  • Knowledge probing sets $w_{n} = 0$ and evaluates the progress and reward following application of the selected recovery strategy
  • We estimate local utility by regularizing toward the current cross-context value $\bar{q}_v$:
  • The unregularized sample mean has MSE $\sigma^{2}/N$
  • The context-conditioned formulation is related to contextual bandits (Li et al., 2010)
  • At zero total visits, the exploration term is zero and selection is determined by reference values and tie-breaking
  • For an evaluation condition $(g, s)$, define
  • The two-stage selection process can be written as
  • Action probing changes the evidence available to knowledge selection
  • GPU-hours are not normalized across accelerator types
  • The concentration and transfer results apply under the stated local sampling assumptions
  • Thus, no method-specific gradient update is performed during knowledge search, adaptive probing, or evaluation
  • After GRPO, the VLA is frozen
  • Knowledge search additionally produces 831 recorded proposer responses and requires at least 1,654 external request attempts, with approximately 5.76 million provider-reported tokens
  • For example, frozen transfer takes 6.94 hours on eight H800 GPUs, corresponding to 55.5 allocated GPU-hours, while its com-pleted episodes account for 48.8 summed interaction hours
  • Harness evolution is parameter-update-free but not computation-free: its cost is dominated by repeated VLA inference, sandbox interaction, candidate validation, and external proposer calls
  • We also used Gemini-2.5-Flash through an API as the vision-language researcher and harness proposer in our experiments, as described in the methodology
  • We also provide the task configurations and scripts required to reproduce the reported experiments where permitted by the corresponding environments and model APIs