让大模型智能体在行动前自我反思,提升决策质量。
SAND: Boosting LLM Agents with Self-Taught Action Deliberation
- 引入自洽采样与执行引导批判,让模型主动比较多个动作
- 在两个任务上相比初始微调提升20%,优于当前最优方法
- 适合需要精细决策的复杂交互任务,如自动规划或推理
大型语言模型(LLM)代理通常通过基于ReAct风格专家轨迹的监督微调或成对回放的偏好优化进行训练。这些方法多聚焦于模仿特定专家行为或强化被选中的推理过程与动作。然而,缺乏对替代动作的思考与对比,导致经此类训练的模型可能因行动空间探索有限而过度倾向看似合理却次优的动作。为此,本文提出自教式行动反思(SAND)框架,使LLM代理能在做出决定前显式地权衡候选动作。针对大规模动作空间及步骤级动作评估带来的挑战,SAND结合自洽动作采样与执行引导动作批判,利用基础模型生成逐步反思内容。通过迭代方式,将反思轨迹用于微调代理自身。在两个典型交互任务上的评估表明,SAND平均比初始监督微调提升20%,并超越现有最先进的代理训练方法。
原文摘要 · Abstract (English)
Large Language Model (LLM) agents are commonly tuned with supervised finetuning on ReAct-style expert trajectories or preference optimization over pairwise rollouts. Most of these methods focus on imitating specific expert behaviors or promoting chosen reasoning thoughts and actions over rejected ones. However, without reasoning and comparing over alternatives actions, LLM agents finetuned with these methods may over-commit towards seemingly plausible but suboptimal actions due to limited action space exploration. To address this, in this paper we propose Self-taught ActioN Deliberation (SAND) framework, enabling LLM agents to explicitly deliberate over candidate actions before committing to one. To tackle the challenges of when and what to deliberate given large action space and step-level action evaluation, we incorporate self-consistency action sampling and execution-guided action critique to help synthesize step-wise action deliberation thoughts using the base model of the LLM agent. In an iterative manner, the deliberation trajectories are then used to finetune the LLM agent itself. Evaluating on two representative interactive agent tasks, SAND achieves an average 20% improvement over initial supervised finetuning and also outperforms state-of-the-art agent tuning approaches.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。