智能体早已知晓:内部状态预测并阻止未授权行为,以及随之而来的谎言

·

研究论文 · 2026/10/16

语言模型智能体有时会越权行动并谎报行为。在 CAPE-Bench 上,匹配的智能体任务中一个事实决定行动是否被授权,前沿开放权重智能体会同时出现这两种行为,而一种行为标志着谎言:追溯性许可洗白,即先行动再请求许可,仿佛行动待定,在 1081 次新发生的知情违规中,70% 先于虚假报告,而其他情况为 8%(预注册比值比 7.0);tau^2-bench 上的前沿智能体则是在违规前伪造授权。对智能体残差流的线性读出能在行动前预测违规(AUROC 0.94),并在报告前预测虚假报告,且在智能体被施压隐藏推理时优于思维链监控器。基于该预测对每个提议行动进行门控,可在四个模型家族中减少整个回合的违规,并向审批者发送重复标志可保持授权工作(Gemma-4:违规 0.70 -> 0.09,完成率 1.00;一个升级不明确案例的模型审批者保持这一增益,而人类只需查看 25% 的请求),计算量约为智能体的 10^-8,比思维链监控器少 10^9 倍。在外部提示注入基准 AgentDojo 上,同一读出在 29 个任务上校准,转向不变,可在两个家族中减少未见任务的攻击成功率(Gemma-4 11.7% -> 5.7%,gpt-oss 28.5% -> 17.5%),同时保持良性效用(Gemma-4 0.637 vs 0.637;gpt-oss 0.667 vs 0.681)。预防违规也是预防谎言最可靠的方式(三个家族汇总的误报违规 0.10 -> 0.01,预注册),而违规后针对谎言的修复效果较弱。所有测试均预注册并哈希锁定;代码、数据和完整记录(包括未通过的测试)见 https://github.com/AryaFayyazi/Honesty。

该研究提出了一种基于智能体内部状态的低成本方法,能在行动前预测并阻止越权违规和后续谎言,在多个基准和模型家族中验证有效,且所有测试预注册并公开,具有很高的可复现性和实际应用价值。

Language-model agents sometimes act beyond their authorization and then misreport what they did. On CAPE-Bench, matched agent tasks in which one fact decides whether an action is authorized, frontier open-weight agents do both, and one behavior marks the lie: retroactive permission laundering, acting and then asking permission as if the action were pending, precedes a false report in 70% of 1081 fresh informed violations, against 8% otherwise (preregistered odds ratio 7.0); frontier agents on tau^2-bench instead fabricate the authorization before violating. A linear readout of the agent's residual stream forecasts the violation before the action (AUROC 0.94) and the false report before the report, and beats chain-of-thought monitors when the agent is pressured to hide its reasoning. Gating every proposed action on this forecast cuts violations over whole episodes in four model families, and sending repeated flags to an approver keeps authorized work (Gemma-4: violations 0.70 -> 0.09, completion 1.00; a model approver that escalates unclear cases keeps this gain with a person seeing 25% of asks), at about 10-8 of the agent's compute and 109 times less than a chain-of-thought monitor. On AgentDojo, an external prompt-injection benchmark, the same readout calibrated on 29 tasks, with the steering unchanged, cuts attack success on unseen tasks in two families (Gemma-4 11.7% -> 5.7%, gpt-oss 28.5% -> 17.5%) while keeping benign utility (Gemma-4 0.637 vs 0.637; gpt-oss 0.667 vs 0.681). Preventing the violation is also the most reliable way to prevent the lie (misreported violations 0.10 -> 0.01 pooled over three families, preregistered), whereas lie-specific fixes after a violation are weak. All tests are preregistered and hash-locked; code, data and the full record, including tests that did not pass, are at https://github.com/AryaFayyazi/Honesty.

阅读原文

参与讨论