Auditing Tool Traces in Agentic LLMs: Source Localization and Counterfactual Dependence Testing
Junhao LiuTianxiao LiYongxian WuZiheng DuanRen LiJing ZhangMartin Renqiang Min
Junhao Liu
Tianxiao Li
Yongxian Wu
Ziheng Duan
Ren Li
Jing Zhang
Martin Renqiang Min
+7
Agentic LLMs can appear to make scientific predictions by grounding decisions in serialized tool results, but those traces may contain hidden label shortcuts that produce apparent success without biological reasoning. The authors introduce a two-stage audit: Per-Tool TF-IDF Decomposition (PT2D) localizes label-predictive patterns to individual tool results, avoiding dilution in the concatenated trace, and Token-Class Redaction then counterfactually tests whether the frozen LLM depends on the localized shortcut. Applied to TCR–pMHC binding, where tool augmentation substantially outperforms a no-evidence baseline, the audit overturns the apparent interpretation: PT2D localizes the strongest signal to identifiers in one tool result, and redacting them reduces performance to chance, motivating source-level audits before benchmark gains are trusted.

OpenReview ·
· September 25, 2026