arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.12307cs.CL
收藏

工具增强的大语言模型能否意识到不完整条件?

Can Tool-augmented Large Language Models be Aware of Incomplete Conditions?

Seungbin Yang, ChaeHun Park, Taehee Kim, Jaegul Choo

AI总结:

本研究探讨工具增强的大语言模型能否识别信息不完整或工具不可用的场景,并决定是否弃权使用工具。作者构建了基准数据集,发现现有模型常难以识别此类条件,进而提出一种基于提示的推理策略,显著提升模型识别不完整条件的能力,促进更明智的工具使用决策。

摘要:

近年来,将大语言模型(LLMs)与工具集成的进展使得模型能够与现实世界环境进行交互。然而,当用户提供部分信息或所需工具不可用时,这些工具增强的LLMs常常遇到不完整的场景。识别和管理此类场景对于LLMs确保其可靠性至关重要,但这一探索仍研究不足。本研究考察LLMs能否识别不完整条件,并适当地决定何时弃权(不执行)使用工具。为了定量评估这种能力,我们构建了一个新的基准数据集,其中实例被系统地修改以模拟现实世界交互中常见的模糊和不完整条件。我们的实验揭示,即使是最先进的大语言模型也常常难以识别这些条件,试图在没有足够信息或正确工具不可用时使用工具。为了更好地理解这些局限性,我们进行了跨各种条件的详细行为分析,包括隐式评估和模型从先前工具调用中接收反馈的场景。基于这一分析,我们提出了一种新颖的基于提示的推理策略,明确指示模型评估信息的充分性和工具的可用性。我们提出的方法显著增强了模型识别不完整条件的能力,导致更明智和上下文适当的工具使用决策。我们相信我们的研究有助于提高LLMs的可靠性,特别是在不完整或模糊信息常见的现实世界应用中。我们的数据集可在https://huggingface.co/datasets/ddehun/ICT获取。

英文摘要:

Recent advancements in integrating large language models (LLMs) with tools have allowed the models to interact with real-world environments. However, these tool-augmented LLMs often encounter incomplete scenarios when users provide partial information or the necessary tools are unavailable. Recognizing and managing such scenarios is crucial for LLMs to ensure their reliability, but this exploration remains understudied. This study examines whether LLMs can identify incomplete conditions and appropriately determine when to refrain from using tools. To quantitatively evaluate this capability, we construct a new benchmark dataset where instances are systematically altered to simulate the ambiguous and incomplete conditions common in real-world interactions. Our experiments reveal that even state-of-the-art LLMs often struggle to identify these conditions, attempting to use tools without sufficient information or when the correct tool is unavailable. To better understand these limitations, we conduct a detailed behavioral analysis across various conditions, including implicit evaluation and scenarios where models receive feedback from previous tool invocations. Based on this analysis, we propose a novel prompting-based reasoning strategy that explicitly instructs models to assess the sufficiency of information and the availability of tools. Our proposed approach significantly enhances the models' ability to recognize incomplete conditions, resulting in more informed and contextually appropriate tool-use decisions. We believe our research contributes to advancing the reliability of LLMs, especially in real-world applications where incomplete or ambiguous information is common. Our dataset is available at https://huggingface.co/datasets/ddehun/ICT.

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

↑