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

一种无训练的大语言模型框架,通过上下文相关子任务间的交互解决复杂任务

A Training-free LLM Framework with Interaction between Contextually Related Subtasks in Solving Complex Tasks

University of Science and Technology of China(中国科学技术大学)

Hongjia Liu, Jinlong Li

AI总结:

提出一种无训练的大语言模型框架,通过子任务间交互机制解决上下文相关子任务的信息丢失问题,在WebShop和HotpotQA上优于现有无训练基线。

摘要:

大语言模型(LLMs)在解决复杂任务方面展现出了卓越的能力。近期的工作探索了将此类任务分解为具有独立上下文的子任务。然而,一些上下文相关的子任务在执行过程中可能会遭遇信息丢失,导致冗余操作或执行失败。为解决这一问题,我们提出了一种带有交互机制的无训练框架,该机制允许一个子任务通过发送请求,向已完成的子任务查询特定信息或触发特定操作。为实现交互,我们引入了子任务轨迹记忆,使得已完成的子任务在收到交互请求时能够恢复执行。此外,我们在执行过程中提出了一种新动作,该动作生成子任务执行过程和结果的简洁而精确的描述,以帮助后续子任务确定交互目标和请求。我们在交互式决策任务WebShop和多跳问答任务HotpotQA上,使用GPT-3.5和GPT-4评估了我们的框架,对比结果表明,我们的框架优于最先进的无训练基线方法。

英文摘要:

Large language models (LLMs) have shown remarkable capabilities in solving complex tasks. Recent work has explored decomposing such tasks into subtasks with independent contexts. However, some contextually related subtasks may encounter information loss during execution, leading to redundant operations or execution failures. To address this issue, we propose a training-free framework with an interaction mechanism, which enables a subtask to query specific information or trigger certain actions in completed subtasks by sending requests. To implement interaction, we introduce a subtask trajectory memory to enable resumption of completed subtasks upon receiving interaction requests. Additionally, we propose a new action during execution, which generates a concise and precise description of execution process and outcomes of a subtask, to assist subsequent subtasks in determining interaction targets and requests. We evaluate our framework on interactive decision-making task WebShop and multi-hop question answering HotpotQA, with GPT-3.5 and GPT-4, and comparison results show that our framework outperforms the state-of-the-art training-free baselines.

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

↑