跳到正文
arXiv cs.SE· Shiwen Shan, Yintong Huo, Zhiying Wu, Yuxin Su·· 3 小时前AI 评分58

StateMirror:在编码智能体执行前检测幻觉工具调用

StateMirror: Pre-Execution Detection of Hallucinated Tool Calls in Coding Agents

AI 导读

论文提出 StateMirror,一个在 harness 边界拦截动作的轻量执行前检测器,通过 AST 与命令分析提取状态谓词并与实时仓库做确定性校验。在 2,508 个动作上评测,检测精度 0.940、F1 0.817,比最强 LLM judge 的 F1 高 35.3%,中位检测延迟从 17.73 s 降至 1.50 ms 且不消耗 token。

来源:arXiv cs.SE · arxiv.org