arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.14903cs.LGcs.SE
收藏

太棒了!基于可检查工具的可靠性优化大语言模型

It's LIT! Reliability-Optimized LLMs with Inspectable Tools

Department of Computer Science(计算机科学系);Duke University(杜克大学)

Ruixin Zhang, Jon Donnelly, Zhicheng Guo, Ghazal Khalighinejad, Haiyang Huang, Alina Jade Barnett, Cynthia Rudin

AI总结:

针对LLMs推理不透明、解决方案不可靠的问题,提出LIT框架,强制其优先选择外部可靠工具,通过1300个问题的基准数据集和可定制成本函数支持,在保持性能的同时提升可靠性与可排查性。

摘要:

大语言模型(LLMs)在多个领域展现出卓越能力。调用外部工具的能力进一步扩展了它们处理现实世界任务的能力。然而,LLMs通常遵循不透明的推理过程,这限制了它们在高风险领域的实用性——这些领域的解决方案需要对终端用户可信。即使存在更好的选项,LLMs也可能选择不可靠且难以排查的解决方案。我们通过在可能的情况下强制LLMs使用外部(更可靠的)工具来解决问题,以解决这一问题。我们提出一个基于现有LLMs工具调用能力的框架,使它们能够选择最可靠且易于排查的解决方案路径,这可能涉及多个顺序的工具调用。我们将此框架称为LIT(带可检查工具的LLMs)。为支持LIT,我们引入一个包含1300个问题的新且具挑战性的基准数据集,以及一组与专用工具集合相关的可定制可靠性成本函数。这些成本函数总结了每个工具的可靠性以及排查难度。例如,计算器在各领域都可靠,而线性预测模型在存在分布偏移时不可靠,但易于排查;构建随机森林的工具既不可靠也不易于排查。这些工具与哈佛USPTO专利数据集和NeurIPS 2023论文新数据集交互,以解决不同难度级别的数学、编码和建模问题。我们证明,使用我们的框架,LLMs可以在保持任务性能的同时实现更可靠且信息更充分的问题解决。

英文摘要:

Large language models (LLMs) have exhibited remarkable capabilities across various domains. The ability to call external tools further expands their capability to handle real-world tasks. However, LLMs often follow an opaque reasoning process, which limits their usefulness in high-stakes domains where solutions need to be trustworthy to end users. LLMs can choose solutions that are unreliable and difficult to troubleshoot, even if better options are available. We address this issue by forcing LLMs to use external -- more reliable -- tools to solve problems when possible. We present a framework built on the tool-calling capabilities of existing LLMs to enable them to select the most reliable and easy-to-troubleshoot solution path, which may involve multiple sequential tool calls. We refer to this framework as LIT (LLMs with Inspectable Tools). In order to support LIT, we introduce a new and challenging benchmark dataset of 1,300 questions and a customizable set of reliability cost functions associated with a collection of specialized tools. These cost functions summarize how reliable each tool is and how easy it is to troubleshoot. For instance, a calculator is reliable across domains, whereas a linear prediction model is not reliable if there is distribution shift, but it is easy to troubleshoot. A tool that constructs a random forest is neither reliable nor easy to troubleshoot. These tools interact with the Harvard USPTO Patent Dataset and a new dataset of NeurIPS 2023 papers to solve mathematical, coding, and modeling problems of varying difficulty levels. We demonstrate that LLMs can achieve more reliable and informed problem-solving while maintaining task performance using our framework.

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

↑