ToolQA: A Dataset for LLM Question Answering with External Tools
Preprint
Abstract
Large Language Models (LLMs) have demonstrated impressive performance in various NLP tasks, but they still suffer from challenges such as hallucination and weak numerical reasoning. To overcome these challenges, external tools can be used to enhance LLMs' question-answering abilities. However, current evaluation methods do not distinguish between questions that can be answered using LLMs' internal knowledge and those that require external information through tool use. To address this issue, we introduce a new dataset called ToolQA, which is designed to faithfully evaluate LLMs' ability to use external tools for question answering. Our development of ToolQA involved a scalable, automated process for dataset curation, along with 13 specialized tools designed for interaction with external knowledge in order to answer questions. Importantly, we strive to minimize the overlap between our benchmark data and LLMs' pre-training data, enabling a more precise evaluation of LLMs' tool-use reasoning abilities. We conducted an in-depth diagnosis of existing tool-use LLMs to highlight their strengths, weaknesses, and potential improvements. Our findings set a new benchmark for evaluating LLMs and suggest new directions for future advancements. Our data and code are freely available to the broader scientific community on GitHub.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- GeneGPT: augmenting large language models with domain tools for improved access to biomedical informationBioinformatics, 2024
- Weakly-Supervised Scientific Document Classification via Retrieval-Augmented Multi-Stage Training2023
- Survey of Hallucination in Natural Language GenerationACM Computing Surveys, 2023
- Limitations of Language Models in Arithmetic and Symbolic Induction2023
- When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories2023
- MathPrompter: Mathematical Reasoning using Large Language Models2023
- Time-Aware Language Models as Temporal Knowledge BasesTransactions of the Association for Computational Linguistics, 2022
- LILA: A Unified Benchmark for Mathematical Reasoning2022
- Prompt-Based Rule Discovery and Boosting for Interactive Weakly-Supervised Learning2022
- The Probabilistic Relevance Framework: BM25 and BeyondFoundations and Trends® in Information Retrieval, 2009