arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.08034cs.CLcs.AIcs.LG
收藏

集成外部工具与大语言模型以提升准确性

Integrating External Tools with Large Language Models to Improve Accuracy

Nripesh Niketan, Hadj Batatia

AI总结:

本文提出Athena框架,通过集成外部API和计算工具增强大语言模型在教育场景下的查询能力,在MMLU数据集上数学和科学推理准确率分别达83%和88%,显著优于GPT-4o等基线模型。

摘要:

本文探讨如何改进大语言模型(LLMs)的查询。众所周知,若缺乏相关上下文信息,LLMs可能提供低质量回复或倾向于产生幻觉。多项倡议已提出将LLMs与外部工具集成,为其提供最新数据以提升准确性。本文提出一个框架,通过集成外部工具来增强LLMs在教育场景下回答查询的能力。具体而言,我们开发了一个允许访问外部API以请求额外相关信息的框架。集成的工具还可提供计算能力,如计算器或日历。所提框架使用来自Multi-Modal Language Understanding(MMLU)集合的数据集进行了评估。该数据由数学和科学推理问题组成。与最先进语言模型相比的结果表明,所提方法显著提升了性能。我们的Athena框架在数学推理中达到83%的准确率,在科学推理中达到88%,大幅优于所有测试模型,包括GPT-4o、LLaMA-Large、Mistral-Large、Phi-Large和GPT-3.5,其中最佳基线模型(LLaMA-Large)仅分别达到67%和79%。这些有前景的结果为围绕LLMs创建复杂计算生态系统铺平了道路,使其使用更自然,以支持各类任务与活动。

英文摘要:

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 state-of-the-art language models show that the proposed approach significantly improves performance. Our Athena framework achieves 83% accuracy in mathematical reasoning and 88% in scientific reasoning, substantially outperforming all tested models including GPT-4o, LLaMA-Large, Mistral-Large, Phi-Large, and GPT-3.5, with the best baseline model (LLaMA-Large) achieving only 67% and 79% respectively. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑