用智能体自动识别并修复LLM问答中的模糊与不完整问题。
Agent-Based Detection and Resolution of Incompleteness and Ambiguity in Interactions with Large Language Models
- 设计零样本代理,分三步判断、修复、回答问题
- 减少交互次数,提升答案质量,且过程可解释
- 适合构建鲁棒问答系统的研究者和开发者
如今人们常将大语言模型当作现代智者,但问答不应仅限单轮。长对话若只为澄清上下文信息,会变得繁琐。本文探讨基于智能体的架构,增强基于LLM的问答系统推理能力。通过使用LLM驱动的代理(如GPT-3.5-Turbo和Llama-4-Scout)实现转导器,自动检测并解决提问中的不完整或模糊问题。在包含此类缺陷的多个基准数据集上测试,代理作为零样本ReAct模型,决策分为三类:分类(判断问题是否完整/模糊)、修复(尝试解决缺陷)、回答(给出修正后问题的答案)。实验表明,引入代理可缩短人机交互长度,提升答案质量,并实现缺陷可解释性修复。尽管可能增加调用次数和延迟,但在多数情况下收益大于成本,尤其当原始问题缺乏足够上下文时。结果表明,该方法有助于构建更稳健的问答系统。
原文摘要 · Abstract (English)
Many of us now treat LLMs as modern-day oracles asking it almost any kind of question. However, consulting an LLM does not have to be a single turn activity. But long multi-turn interactions can get tedious if it is simply to clarify contextual information that can be arrived at through reasoning. In this paper, we examine the use of agent-based architecture to bolster LLM-based Question-Answering systems with additional reasoning capabilities. We examine the automatic resolution of potential incompleteness or ambiguities in questions by transducers implemented using LLM-based agents. We focus on several benchmark datasets that are known to contain questions with these deficiencies to varying degrees. We equip different LLMs (GPT-3.5-Turbo and Llama-4-Scout) with agents that act as specialists in detecting and resolving deficiencies of incompleteness and ambiguity. The agents are implemented as zero-shot ReAct agents. Rather than producing an answer in a single step, the model now decides between 3 actions a) classify b) resolve c) answer. Action a) decides if the question is incomplete, ambiguous, or normal. Action b) determines if any deficiencies identified can be resolved. Action c) answers the resolved form of the question. We compare the use of LLMs with and without the use of agents with these components. Our results show benefits of agents with transducer 1) A shortening of the length of interactions with human 2) An improvement in the answer quality and 3) Explainable resolution of deficiencies in the question. On the negative side we find while it may result in additional LLM invocations and in some cases, increased latency. But on tested datasets, the benefits outweigh the costs except when questions already have sufficient context. Suggesting the agent-based approach could be a useful mechanism to harness the power of LLMs to develop more robust QA systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。