arXiv:cs.AI· Haiwen Yi, Xinyuan Song·· 13 小时前
执行框架如何导致多步 LLM 智能体的信念分歧
Measuring Harness-Induced Belief Divergence in Multi-Step LLM Agents
AI 导读
研究揭示执行框架(harness)会系统性塑造 LLM 智能体对环境的信念,即使任务、环境和底层 LLM 保持不变。作者提出 belief-rollout 诊断方法追踪信念演化,并在 HIBench-Code、SWE-bench Verified 和 Terminal-Bench 上发现显著的跨框架信念分歧,这种分歧难以从终端成功率察觉,且会传播为不同的下游动作。
正文
Abstract:Software agents are becoming increasingly important in modern coding workflows, where they solve complex tasks through multi-step interaction with code repositories. A central component of these systems is the execution harness, which governs how the underlying LLM observes, acts on, and verifies its environment. We show that the harness can in turn shape the agent's evolving beliefs about the environment, even when the task, environment, and base LLM remain fixed. To reveal this effect, we introduce a belief-rollout diagnostic that traces how an agent's anticipated world state and future decisions evolve under alternative harnesses. We further separate immediate divergence introduced by the interface from divergence that develops over longer horizons. Across controlled coding tasks include HIBench-Code, SWE-bench Verified and Terminal-Bench, we find substantial cross-harness belief divergence that is often invisible from terminal success alone and can propagate into different downstream actions. Building on this observation, we introduce \textbf{Belief-Invariant World-Modeling (BIWM)}, which exposes evidence hidden or compressed by harness execution and aligns the resulting belief trajectories across different harnesses. Our findings reveal that harness design can systematically shape how software agents understand and act on their environments, providing practical guidance for building and evaluating more reliable coding agents.
| Comments: | 15 pages |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2607.04528 [cs.AI] |
| (or arXiv:2607.04528v2 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2607.04528 arXiv-issued DOI via DataCite |
Submission history
From: Haiwen Yi [view email]
[v1]
Sun, 5 Jul 2026 22:22:39 UTC (912 KB)
[v2]
Fri, 9 Oct 2026 17:59:01 UTC (3,517 KB)
来源:arXiv:cs.AI · arxiv.org