生成器-助手逐步回滚框架用于大语言模型智能体
Generator-Assistant Stepwise Rollback Framework for Large Language Model Agent
AI总结:
针对LLM智能体逐步推理中的一次性错误传播问题,提出GA-Rollback框架,通过助手检查并回滚错误动作,在三个基准上显著提升性能,且可即插即用。
摘要:
大语言模型(LLM)智能体通常采用逐步推理框架,在该框架中,它们交替进行思考和行动的过程以完成给定任务。然而,这种范式面临着一个根深蒂固的一次性(one-pass)问题,即每个生成的中间思考无论其正确性如何都被插入到轨迹中,这可能导致不可逆的错误传播。为了解决这个问题,本文提出了一种名为生成器-助手逐步回滚(GA-Rollback)的新框架,以诱导LLM智能体做出更好的决策。具体而言,GA-Rollback利用一个生成器与环境交互,并利用一个助手检查生成器产生的每个动作,其中助手在检测到错误动作时触发回滚操作。此外,我们引入了两种针对回滚场景定制的额外策略,以进一步提高其有效性。大量实验表明,GA-Rollback在三个广泛使用的基准测试上相比多个强基线取得了显著改进。我们的分析进一步揭示,GA-Rollback可以作为一个稳健的即插即用模块,与其他方法无缝集成。
英文摘要:
Large language model (LLM) agents typically adopt a step-by-step reasoning framework, in which they interleave the processes of thinking and acting to accomplish the given task. However, this paradigm faces a deep-rooted one-pass issue whereby each generated intermediate thought is plugged into the trajectory regardless of its correctness, which can cause irreversible error propagation. To address the issue, this paper proposes a novel framework called Generator-Assistant Stepwise Rollback (GA-Rollback) to induce better decision-making for LLM agents. Particularly, GA-Rollback utilizes a generator to interact with the environment and an assistant to examine each action produced by the generator, where the assistant triggers a rollback operation upon detection of incorrect actions. Moreover, we introduce two additional strategies tailored for the rollback scenario to further improve its effectiveness. Extensive experiments show that GA-Rollback achieves significant improvements over several strong baselines on three widely used benchmarks. Our analysis further reveals that GA-Rollback can function as a robust plug-and-play module, integrating seamlessly with other methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。