arXiv 2611.20595 · cs.CL · 2026-11-16
Invariant-Aware Harness Enforcement to Protect LLM Agents from Silent API Failures
Sajib Acharjee Dip, Brian Ouyang, Lala Motlhabi
Genentech
在最新榜 #580 本站收录于 2026-11-18
一句话要点
SilentGuard通过在工具调用执行阶段引入不变性检查,有效检测并阻止API沉默失败导致的错误响应,显著降低错误答案率,尤其在前沿模型上表现突出。
SilentGuard enforces API invariants during tool execution, drastically reducing erroneous outputs from silent failures without affecting correct responses.
要点
- LLM代理在调用API时可能遭遇无声失败,如请求参数错误但返回200状态,导致模型仍输出错误答案;现有方法依赖模型自我检测,效果有限。
- SilentGuard将判断权下放至执行层,通过验证API结果是否满足预设不变性条件(invariants)来识别异常,对违反条件的结果直接拒绝响应。
- 在15个公开API中发现大量沉默失败案例,错误率被放大达691倍;传统方法仍使70%以上答案错误,而SilentGuard将目标故障下的错误率从74.0%降至1.7%。
- 在新出现的故障类型上,SilentGuard仍能将错误率从61.1%降至24.5%,表明其具备泛化能力,且通过主动放弃而非修复来避免错误传播。
English overview
SilentGuard shifts fault detection from LLM reasoning to tool execution by enforcing invariants that correct API responses must satisfy. It detects silent failures during API calls, rejects invalid outputs, and significantly reduces erroneous answers without degrading performance on correct cases. The approach is effective across diverse models and fault types, demonstrating robustness against unseen failures.
只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。
阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库 项目页
相关论文
数据说明
元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。
要点由本站根据摘要自写,不转载摘要原文,请阅读原文。