谁来验证工具?被篡改的格式化工具如何误导智能体及其验证器

arXiv cs.AI 论文

摘要

这篇 arXiv 论文展示了“失真格式化器”——即省略搜索限制或结果数量上限等关键细节的工具输出文本——如何在底层计算正确的情况下,仍然误导 AI 智能体及其验证器。修复格式化器后,缺乏依据的断言大幅减少,验证器的接受结果也从 90/90 全部错误变为 90/90 全部正确。此外,一条审计提示词重新发现了作者自身系统以及 OpenClaw 和 Hermes 中仍然存在的缺陷,推动了相关修复的合并。

arXiv:2610.32110v1 Announce Type: new Abstract: Agents and verifiers often rely on the text a tool prints, and that text can misrepresent what the tool actually did, even when the tool's computation is correct. We saw this happen in a production RAG research system used by the Pilsudski Institute in New York, where tool output formatters misled an agent into giving wrong or incomplete information to users. Each tool did its job correctly, but its output omitted search limits, result caps, or identifier namespaces. We also recreated an unlabeled estimate caught in code review before release. We studied whether these formatters misled agents and verifiers and how much the repaired wording helps. We fed tool results to agents using two formatter versions: one with the key omissions and one with all missing details clearly stated. That difference alone changed what the agents claimed and what the verifiers accepted. Unsupported agent claims dropped substantially for three of the four failure types. In one test, verifiers went from accepting incorrect answers 90 out of 90 times to rejecting them 90 out of 90 times. A control showed the verifiers could catch the errors once they were given the missing facts and asked to judge correctness. We include the audit prompt we used with Codex and Claude Code in an exploratory demonstration, written with prior knowledge of our own system's defects. When pointed at an old version of our own system, it rediscovered the defects that were still live and surfaced twelve more we had not catalogued. When pointed at OpenClaw and Hermes, two of the best-known open-source agentic systems, it found warped formatters in both. We opened PRs to fix both, and the OpenClaw fix has already been merged. Practitioners can run the same prompt on their own systems today.
查看原文

相似文章