arXiv:2506.06376cs.CLcs.AI2025-06ICML被引 8

用强化学习框架让大模型更会做长期决策

Enhancing Decision-Making of Large Language Models via Actor-Critic

  • 基于动作-评价机制,用令牌概率评估动作好坏
  • 7B/8B模型在复杂任务中超越GPT-4表现
  • 无需梯度更新,适合快速优化大模型决策

大语言模型在自然语言处理中取得显著进展,但在需要长期推理和高阶目标对齐的复杂决策场景中仍面临挑战。现有方法或依赖短期自回归动作生成,或在模拟轨迹和评估结果时存在局限,导致决策不佳。本文提出一种基于大模型的新型动作-评价框架LAC,以原则性且可扩展的方式提升模型长期动作评估能力。该方法解决两个关键问题:(1)通过正负结果相关的令牌概率计算Q值,并结合未来轨迹回溯与推理增强评估鲁棒性;(2)采用无梯度机制实现高效策略优化。在多个环境中的实验表明,该框架具有普适性且优于当前最优方法,包括高阶决策(ALFWorld)、低阶动作空间(BabyAI-Text)及大规模动作空间(WebShop)。值得注意的是,使用7B/8B参数的大模型即达成竞争力表现,甚至在复杂任务中超过使用GPT-4的基线方法。这些结果凸显将结构化策略优化与大模型内在知识结合,对提升多步环境下的决策能力具有重要潜力。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have achieved remarkable advancements in natural language processing tasks, yet they encounter challenges in complex decision-making scenarios that require long-term reasoning and alignment with high-level objectives. Existing methods either rely on short-term auto-regressive action generation or face limitations in accurately simulating rollouts and assessing outcomes, leading to sub-optimal decisions. This paper introduces a novel LLM-based Actor-Critic framework, termed LAC, that effectively improves LLM policies with long-term action evaluations in a principled and scalable way. Our approach addresses two key challenges: (1) extracting robust action evaluations by computing Q-values via token logits associated with positive/negative outcomes, enhanced by future trajectory rollouts and reasoning; and (2) enabling efficient policy improvement through a gradient-free mechanism. Experiments across diverse environments -- including high-level decision-making (ALFWorld), low-level action spaces (BabyAI-Text), and large action spaces (WebShop) -- demonstrate the framework's generality and superiority over state-of-the-art methods. Notably, our approach achieves competitive performance using 7B/8B parameter LLMs, even outperforming baseline methods employing GPT-4 in complex tasks. These results underscore the potential of integrating structured policy optimization with LLMs' intrinsic knowledge to advance decision-making capabilities in multi-step environments.

大模型决策强化学习动作评价长程推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。