arXiv cs.AI· Haiwen Yi, Xinyuan Song·· 6 天前AI 评分34
多步 LLM 智能体中的执行框架诱导信念分歧如何测量
Measuring Harness-Induced Belief Divergence in Multi-Step LLM Agents
AI 导读
研究发现,即使任务、环境和底层 LLM 保持不变,执行框架(harness)也会塑造智能体对环境不断演变的信念。作者提出 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