mlsanityData to 26 Nov 2026

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

arXiv 2610.25540 ↗Submitted 18 Oct 2026cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Medical and scientific domain agents also fits: Tool learning and function calling

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 11 of its 19 references that are in the map. Submitted 18 Oct 2026.

Builds on

11 of 19 references.

References · 11

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2025Qwen3 Technical Reportcited by 10,000
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
  6. 2020Shortcut Learning in Deep Neural Networkscited by 2,138
  7. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,238
  8. 2023ChemCrow: Augmenting large-language models with chemistry toolscited by 715
  9. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 379
  10. 2016Understanding Neural Networks through Representation Erasurecited by 236
  11. 2023GeneGPT: Augmenting Large Language Models with Domain Tools for Improved Access to Biomedical Informationcited by 122

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Execution: Auditing Experimental Fidelity in LLM-Driven Scientific Research
  2. 2026Automata from Agent Traces: Failure and Next-Step Prediction
  3. 2026Insights Generator: Systematic Corpus-Level Trace Diagnostics for LLM Agents
  4. 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflows
  5. 2026BenchGuard: Who Guards the Benchmarks? Automated Auditing of LLM Agent Benchmarks
  6. 2026Discover, Falsify, Revise: Auditing Input-Use Claims from Source Code to Predictive Contribution in Agent-Discovered Cell Models
  7. 2026Transport-Safe Evaluation of LLM Agents: Trajectory-Dependent Judge Error and Anytime-Valid Auditing
  8. 2026Evidence-Grounded Verified Agentic Reasoning: A Path Toward Eliminating LLM Hallucination in Empirical Inference via Tool-Attested Kernel Proofs