arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25540cs.AIcs.CL
收藏

智能体大语言模型中的工具追踪审计:源定位与反事实依赖测试

Auditing Tool Traces in Agentic LLMs: Source Localization and Counterfactual Dependence Testing

University of California, Irvine(加利福尼亚大学欧文分校);NEC Labs America(美国NEC实验室)

Junhao Liu, Tianxiao Li, Yongxian Wu, Ziheng Duan, Ren Li, Jing Zhang, Martin Renqiang Min

AI总结:

本研究针对智能体大语言模型工具追踪中的隐藏标签捷径问题,提出两阶段审计方法,在TCR-pMHC结合任务中发现捷径导致性能提升,需开展源级审计。

摘要:

智能体大语言模型(Agentic LLMs)越来越多地通过将决策建立在外部证据基础上支持科学预测。在生物学领域,它们有望通过整合复杂的实验与计算证据,为重要问题提供准确、可解释的预测。然而,序列化的工具结果可能包含隐藏的标签捷径,例如数据集标识符或模板伪影,这些捷径会在缺乏生物学推理的情况下造成表面上的成功。为应对这一风险,我们提出了一种两阶段审计方法:第一阶段为单工具TF-IDF分解(PT2D),用于将标签预测模式定位到单个工具结果,同时避免串联工具追踪中的信号稀释;第二阶段为标记类编辑,用于反事实测试冻结的大语言模型是否依赖于定位到的捷径。我们将该审计应用于TCR-pMHC结合任务,其中工具增强的性能显著优于无证据基线。表面上看,这表明大语言模型已学会使用科学证据,但审计推翻了这一解释:PT2D将最强信号定位到某一工具结果中的标识符,编辑这些标识符后性能降至随机水平。这些发现揭示了隐藏的标签捷径如何伪装成科学推理或发现,促使在信任基准性能提升前开展源级审计。

英文摘要:

Agentic LLMs increasingly support scientific prediction by grounding decisions in external evidence. In biology, they promise accurate, interpretable predictions for important problems by integrating complex experimental and computational evidence. However, serialized tool results can contain hidden label shortcuts, such as dataset identifiers or template artifacts, that create apparent success without biological reasoning. To address this risk, we introduce a two-stage audit. Stage 1, Per-Tool TF-IDF Decomposition (PT2D), localizes label-predictive patterns to individual tool results while avoiding signal dilution in the concatenated tool trace. Stage 2, Token-Class Redaction, counterfactually tests whether the frozen LLM depends on the localized shortcut. We apply this audit to TCR-pMHC binding, where tool augmentation substantially outperforms a no-evidence baseline. At face value, this suggests that the LLM has learned to use scientific evidence. The audit overturns this interpretation: PT2D localizes the strongest signal to identifiers in one tool result, and redacting them reduces performance to chance. These findings show how hidden label shortcuts can masquerade as scientific reasoning or discovery, motivating source-level audits before benchmark gains are trusted.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑