Abstract
Large language models (LLMs) increasingly serve as autonomous agents that invoke external tools. However, this capability introduces tool hallucination, selecting incorrect tools or generating invalid calls. Existing mitigation methods report substantial improvements, yet we identify a previously overlooked failure mode that we term Hallucination Escape. These methods reduce hallucination on the tool configuration they are tuned on but increase it on other configurations, canceling out the gain. We further investigate this phenomenon and find that hallucination rises sharply when a model's intrinsic tool-use tendencies conflict with the current tool configuration, and that existing methods reinforce rather than suppress these tendencies, which in turn contributes to hallucination escape. Building on these findings, we propose EscapeGuard, a training-free inference-time method that combines conflict-aware gating with configuration-derived attention enhancement to mitigate tool hallucination while preventing hallucination escape. Across six benchmarks on various models, EscapeGuard reduces tool-selection hallucination by 9.0 pp and suppresses hallucination escape, lowering the cross-configuration mean by 23.7 pp and achieving an 89.1% net improvement in paired-query evaluation. We hope this work can encourage evaluation beyond a single tool configuration and pave the way for more reliable tool-using LLM agents.
Keywords
Subject
Publication details
- Journal
- Not available
- Open access
- Green open access
Cite this article
APA 7
Qi, P., Tang, K., Song, Y., Zhang, W., & Yu, N. (2026). Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents. https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents
MLA 9
Qi, Peigui, et al. "Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents." https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents.
Chicago (author–date)
Qi, Peigui, Kunsheng Tang, Yide Song, Weiming Zhang, and Nenghai Yu. 2026. "Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents." https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents.
Harvard
Qi, P., Tang, K., Song, Y., Zhang, W. and Yu, N. (2026) 'Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents', Available at: https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents.
Vancouver
Qi P, Tang K, Song Y, Zhang W, Yu N. Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents. https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents
IEEE
P. Qi, K. Tang, Y. Song, W. Zhang, and N. Yu, "Understanding and Mitigating Hallucination Escape in Tool-Using LLM Agents," https://omanscience.com/en/articles/understanding-and-mitigating-hallucination-escape-in-tool-using-llm-agents.