Integrating External Tools with Large Language Models (LLMs) to Improve Accuracy

Nripesh Niketan, Arunima Santhoshkumar, Hadj Batatia*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

This paper deals with improving querying large language models (LLMs). It is well-known that without relevant contextual information, LLMs can provide poor-quality responses or tend to hallucinate. Several initiatives have proposed integrating LLMs with external tools to provide them with up-to-date data to improve accuracy. In this paper, we propose a framework to integrate external tools to enhance the capabilities of LLMs in answering queries in educational settings. Precisely, we develop a framework that allows accessing external APIs to request additional relevant information. Integrated tools can also provide computational capabilities such as calculators or calendars. The proposed framework has been evaluated using datasets from the Multi-Modal Language Understanding (MMLU) collection. The data consists of questions on mathematical and scientific reasoning. Results compared to basic OpenAI model show that the proposed approach significantly improves performance. On mathematical questions, our framework scores 83% where basic OpenAI scores 36%. In scientific reasoning, the difference is even more significant with 88% for the proposed method as compared to 56% for the basic OpenAI model. These promising results open the way to creating complex computing ecosystems around LLMs to make their use more natural to support various tasks and activities.

Original languageEnglish
Title of host publicationProceedings of International Conference on Information Technology and Applications. ICITA 2024
EditorsAbrar Ullah, Sajid Anwar
PublisherSpringer
Pages409-421
Number of pages13
ISBN (Electronic)9789819617586
ISBN (Print)9789819617579
DOIs
Publication statusPublished - 15 Jun 2025
Event18th International Conference on Information Technology and Applications 2024 - Sydney, Australia
Duration: 17 Oct 202419 Oct 2024
https://2024.icita.world/#/

Publication series

NameLecture Notes in Networks and Systems
Volume1248
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

Conference18th International Conference on Information Technology and Applications 2024
Abbreviated titleICITA 2024
Country/TerritoryAustralia
CitySydney
Period17/10/2419/10/24
Internet address

Keywords

  • LLM
  • Precise querying
  • Tool integration

ASJC Scopus subject areas

  • Control and Systems Engineering
  • Signal Processing
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Integrating External Tools with Large Language Models (LLMs) to Improve Accuracy'. Together they form a unique fingerprint.

Cite this