Proceedings

Tool Call Dependency Graphs Enable Deep LLM Reasoning Evaluation and Better Explanations

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 562-570.

https://doi.org/10.24963/ijcai.2026/64

Abstract

Evaluation of tool-augmented Large Language Models (LLMs) has not advanced far beyond final answer accuracy, and neglects in-depth evaluation of reasoning ability despite it being a central claim of recent models. We aim to address this gap by developing a dependency graph-based evaluation to give insight into meta-level reasoning ability. We create a two-stage algorithm to construct dependency graphs from a series of LLM-generated tool calls: in the first stage creating nodes for tool calls, then in the second creating edges where tool call results are identified as being used as arguments in subsequent calls. The resulting graph facilitates the development of graph-theoretic metrics which allows deeper evaluation of the reasoning ability of LLMs over the task in question. We also use the dependency graph to assist with the generation of natural language explanations of the question-answering process. We create a baseline explanation generated from the list of tool calls, and a graph-augmented explanation which incorporates information about information provenance. A human evaluation study shows that our graph-augmented explanations are preferred across three key explainability criteria, although the extra detail contained impacts ease of understanding.

  1. [Abdin et al., 2024] Marah Abdin, Jyoti Aneja, Harkirat Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, Michael Harrison, Russell J. Hewett, Mojan Javaheripi, Piero Kauffmann, James R. Lee, Yin Tat Lee, Yuanzhi Li, Weishung Liu, Caio C. T. Mendes, Anh Nguyen, Eric Price, Gustavo de Rosa, Olli Saarikivi, Adil Salim, Shital Shah, Xin Wang, Rachel Ward, Yue Wu, Dingli Yu, Cyril Zhang, and Yi Zhang. Phi-4 Technical Report, December 2024. arXiv:2412.08905 [cs].
  2. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, Jared D Kaplan, Prafulla Dhari- wal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learn- ers. In Advances in neural information processing sys- tems, volume 33, pages 1877-1901.
  3. Curran Associates, Inc., 2020.
  4. [Bundy, 1983] Alan Bundy. The Computer Modelling of Mathematical Reasoning. Academic Press, 1983.
  5. [Chen et al., 2025] Chen Chen, Xinlong Hao, Weiwen Liu, Xu Huang, Xingshan Zeng, Shuai Yu, Dexun Li, Yue- feng Huang, Xiangcheng Liu, Wang Xinzhi, and Wu Liu. ACEBench: A Comprehensive Evaluation of LLM Tool Usage. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 12970-12998, Suzhou, China, 2025. Association for Computational Linguistics.
  6. [Cobbe et al., 2021] Karl Cobbe, Vineet Kosaraju, Moham- mad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training Verifiers to Solve Math Word Problems, November 2021.
  7. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Under- standing. In Proceedings of the 2019 Conference of the North, pages 4171-4186, Minneapolis, Minnesota, 2019. Association for Computational Linguistics.
  8. [Ferguson et al., 2026] Nick Ferguson, Alan Bundy, and Kwabena Nuamah. Exploring the Meta-level Reasoning of Large Language Models via a Tool-based Multi-hop Tab- ular Question Answering Task, January 2026.
  9. [Gao et al., 2023] Luyu Gao, Aman Madaan, Shuyan Zhou, Uri Alon, Pengfei Liu, Yiming Yang, Jamie Callan, and Graham Neubig. PAL: Program-aided language models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Ma- chine Learning Research, pages 10764-10799. PMLR, July 2023.
  10. [Gemini Team, 2025] Gemini Team. Gemini: A Family of Highly Capable Multimodal Models, May 2025.
  11. [Geva et al., 2021] Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. Did Aristo- tle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategies. Transactions of the Asso- ciation for Computational Linguistics, 9:346-361, April 2021.
  12. [Golovneva et al., 2023] Olga Golovneva, Moya Peng Chen, Spencer Poff, Martin Corredor, Luke Zettlemoyer, Maryam Fazel-Zarandi, and Asli Celikyilmaz. ROSCOE: A suite of metrics for scoring step-by-step reasoning. In The Eleventh International Conference on Learning Rep- resentations, 2023.
  13. [Guo et al., 2024] Yue Guo, Wei Qiu, Gondy Leroy, Sheng Wang, and Trevor Cohen. Retrieval augmentation of large language models for lay language generation. Journal of Biomedical Informatics, 149:104580, January 2024.
  14. [Hao et al., 2024] Shibo Hao, Yi Gu, Haotian Luo, Tianyang Liu, Xiyan Shao, Xinyuan Wang, Shuhua Xie, Haodi Ma, Adithya Samavedhi, Qiyue Gao, Zhen Wang, and Zhiting Hu. LLM reasoners: New evaluation, library, and analysis of step-by-step reasoning with large language models. In ICLR 2024 Workshop on Large Language Model (LLM) Agents, 2024.
  15. [He et al., 2024] Hangfeng He, Hongming Zhang, and Dan Roth. SocREval: Large Language Models with the So- cratic Method for Reference-free Reasoning Evaluation. In Findings of the Association for Computational Linguis- tics: NAACL 2024, pages 2736-2764, Mexico City, Mex- ico, 2024. Association for Computational Linguistics.
  16. [Hoffman et al., 2019] Robert R. Hoffman, Shane T. Mueller, Gary Klein, and Jordan Litman. Metrics for Explainable AI: Challenges and Prospects, February 2019.
  17. [Krippendorff, 2018] Klaus Krippendorff. Content Analysis: An Introduction to Its Methodology. Sage publications, 2018.
  18. [Li et al., 2022] Yujia Li, David Choi, Junyoung Chung, Nate Kushman, Julian Schrittwieser, Rémi Leblond, Tom Eccles, James Keeling, Felix Gimeno, Agustin Dal Lago, Thomas Hubert, Peter Choy, Cyprien De Mas- son d'Autume, Igor Babuschkin, Xinyun Chen, Po-Sen Huang, Johannes Welbl, Sven Gowal, Alexey Cherepanov, James Molloy, Daniel J. Mankowitz, Esme Suther- land Robson, Pushmeet Kohli, Nando De Freitas, Koray Kavukcuoglu, and Oriol Vinyals. Competition-level code generation with AlphaCode. Science, 378(6624):1092- 1097, December 2022.
  19. [Llama 3 Team, 2024] Llama 3 Team. The Llama 3 Herd of Models, August 2024. arXiv:2407.21783 [cs].
  20. [Lu et al., 2025] Jiarui Lu, Thomas Holleis, Yizhe Zhang, Bernhard Aumayer, Feng Nan, Haoping Bai, Shuang Ma, Shen Ma, Mengyu Li, Guoli Yin, Zirui Wang, and Ruom- ing Pang. ToolSandbox: A Stateful, Conversational, Inter- active Evaluation Benchmark for LLM Tool Use Capabili- ties. In Findings of the Association for Computational Lin- guistics: NAACL 2025, pages 1160-1183, Albuquerque, New Mexico, 2025. Association for Computational Lin- guistics. [Mialon et al., 2023]
  21. Grégoire Mialon, Roberto Dessi, Maria Lomeli, Christoforos Nalmpantis, Ramakanth Pasunuru, Roberta Raileanu, Baptiste Roziere, Timo Schick, Jane Dwivedi-Yu, Asli Celikyilmaz, Edouard Grave, Yann Le- Cun, and Thomas Scialom. Augmented language models: A survey. Transactions on Machine Learning Research, 2023.
  22. [Miller, 2019] Tim Miller. Explanation in artificial intelli- gence: Insights from the social sciences. Artificial Intelli- gence, 267:1-38, February 2019.
  23. [Mohseni et al., 2021] Sina Mohseni, Niloofar Zarei, and Eric D. Ragan. A Multidisciplinary Survey and Frame- work for Design and Evaluation of Explainable AI Sys- tems. ACM Transactions on Interactive Intelligent Sys- tems, 11:1-45, December 2021.
  24. [Nuamah and Bundy, 2020] Kwabena Nuamah and Alan Bundy. Explainable Inference in the FRANK Query An- swering System. In European Conference on Artificial In- telligence (ECAI), volume 325 of Frontiers in Artificial Intelligence and Applications, pages 2441-2448, Spain, 2020. IOS Press.
  25. [Parisi et al., 2022] Aaron Parisi, Yao Zhao, and Noah Fiedel. TALM: Tool Augmented Language Models, May 2022.
  26. [Patil et al., 2024] Shishir G. Patil, Tianjun Zhang, Xin Wang, and Joseph E. Gonzalez. Gorilla: Large language model connected with massive apis. In Advances in Neural Information Processing Systems, volume 37.
  27. [Patil et al., 2025] Shishir G Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. The berkeley function calling leader- board (BFCL): From tool use to agentic evaluation of large language models. In Forty-Second International Confer- ence on Machine Learning, 2025.
  28. [Prasad et al., 2023] Archiki Prasad, Swarnadeep Saha, Xi- ang Zhou, and Mohit Bansal. ReCEval: Evaluating Rea- soning Chains via Correctness and Informativeness. In Proceedings of the 2023 Conference on Empirical Meth- ods in Natural Language Processing, pages 10066-10086, Singapore, 2023. Association for Computational Linguis- tics.
  29. [Qin et al., 2024] Yujia Qin, Shihao Liang, Yining Ye, Kun- lun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xian- gru Tang, Bill Qian, Sihan Zhao, Lauren Hong, Runchu Tian, Ruobing Xie, Jie Zhou, Mark Gerstein, dahai li, Zhiyuan Liu, and Maosong Sun. ToolLLM: Facilitating large language models to master 16000+ real-world APIs. In The Twelfth International Conference on Learning Rep- resentations, 2024.
  30. [Quan et al., 2025] Xin Quan, Marco Valentino, Danilo Car- valho, Dhairya Dalal, and Andre Freitas. PEIRCE: Uni- fying Material and Formal Reasoning via LLM-Driven Neuro-Symbolic Refinement. In Proceedings of the 63rd Annual Meeting of the Association for Computational Lin- guistics (Volume 3: System Demonstrations), pages 11- 21, Vienna, Austria, 2025. Association for Computational Linguistics.
  31. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language Models are Unsupervised Multitask Learners. 2019.
  32. [Schick et al., 2023] Timo Schick, Jane Dwivedi-Yu, Roberto Dessí, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. In Proceedings of the 37th International Conference on Neural Information Processing Systems, Nips '23.
  33. [Tyen et al., 2024] Gladys Tyen, Hassan Mansoor, Victor Carbune, Peter Chen, and Tony Mak. LLMs cannot find reasoning errors, but can correct them given the error loca- tion. In Findings of the Association for Computational Lin- guistics ACL 2024, pages 13894-13908, Bangkok, Thai- land and virtual meeting, 2024. Association for Computa- tional Linguistics.
  34. [Wang et al., 2023a] Boshi Wang, Xiang Yue, and Huan Sun. Can ChatGPT Defend its Belief in Truth? Evaluating LLM Reasoning via Debate. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 11865- 11881, Singapore, 2023. Association for Computational Linguistics.
  35. [Wang et al., 2023b] Xuezhi Wang, Jason Wei, Dale Schuur- mans, Quoc V Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In The Eleventh International Conference on Learning Represen- tations, 2023.
  36. [Wei et al., 2022] Jason Wei, Xuezhi Wang, Dale Schuur- mans, Maarten Bosma, brian ichter, Fei Xia, Ed Chi, Quoc V Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, volume 35, pages 24824-24837.
  37. Curran Associates, Inc., 2022.
  38. [Yao et al., 2023] Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Tom Griffiths, Yuan Cao, and Karthik Narasimhan. Tree of thoughts: Deliberate problem solv- ing with large language models. In Advances in Neural In- formation Processing Systems, volume 36, pages 11809- 11822.
  39. Curran Associates, Inc., 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards