纠正何时成为修复?工具使用型LLM内部干预的机制审计

·

研究论文 · 2026/10/02

在调用外部工具前,智能体LLM需在K路动作空间中选择:执行调用、寻求澄清、直接回答或拒绝。内部激活引导可改变这些执行前决策,但传统聚合指标掩盖了改变后的状态落点及其附带损害。我们提出SAKIKO审计框架,通过方向性错误发现、路由器条件干预、目的地解析验证和前瞻性冻结统计许可来形式化表征修复。在When2Call和MetaTool上的七个LLM中,通道键控干预在五个模型中诱导出方向特定的净增益;在三次密封评估中,59个预算匹配的随机方向均未达到校准目标增益。关键的是,目的地审计表明行为移动不等于修复:一个实现+55净增益的干预破坏了其触及的超过一半的基线正确决策,而Qwen3-4B和Gemma-2-9B上有前景的点估计因有限样本不确定性被正式拒绝。SAKIKO确立了在声称内部修复前进行结果解析裁决的必要性。代码:https://github.com/ruizheliUOA/mechanistic-tool-use-llm。

该研究挑战了仅凭聚合指标评估内部干预的常见做法,通过目的地审计揭示了行为改变可能伴随严重附带损害,为LLM内部修复的严谨评估提供了新框架和实证证据。

Before invoking external tools, an agentic LLM must select among a K-way action space: executing a call, seeking clarification, answering directly, or declining. While internal activation steering can alter these pre-execution decisions, conventional aggregate metrics obscure where altered states land and what collateral damage they inflict. We present SAKIKO, an auditing framework that formalizes representation repair via directional error discovery, router-conditioned intervention, destination-resolved verification, and prospectively frozen statistical licensing. Across seven LLMs on When2Call and MetaTool, channel-keyed interventions induce direction-specific net gains in five models; across three sealed evaluations, none of 59 budget-matched random directions matches calibrated target gain. Crucially, destination auditing shows that behavioral movement does not equal repair: an intervention achieving +55 net gain corrupts over half of the baseline-correct decisions it touches, and promising point estimates on Qwen3-4B and Gemma-2-9B are formally declined due to finite-sample uncertainty. SAKIKO establishes the necessity of outcome-resolved adjudication before claiming internal repair. Code: https://github.com/ruizheliUOA/mechanistic-tool-use-llm.

阅读原文

参与讨论