arXiv:2511.21928cs.LGcs.AI2025-11NeurIPS被引 2

用语言和数值联合优化策略,让大模型直接生成改进方案。

Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs

  • 大模型直接根据奖励和自然语言提示生成策略更新
  • 在15个任务中8个超越主流算法,有领域知识时提升显著
  • 适合需要人类理解与解释的强化学习场景

强化学习通常依赖标量奖励信号,难以利用现实任务中丰富的语义信息。人类则能结合数值反馈与语言、先验知识和常识高效学习。我们提出提示式策略搜索(ProPS),一种将数值与语言推理统一于同一框架的新型强化学习方法。与以往通过语言增强现有组件不同,ProPS将大语言模型置于策略优化的核心——直接基于奖励反馈和自然语言输入提出策略更新。我们证明大模型可在上下文中执行数值优化,并且引入目标、领域知识和策略提示等语义信号,可实现更明智的探索与样本高效的训练。ProPS在15个Gymnasium任务上评估,涵盖经典控制、Atari游戏和MuJoCo环境,对比了7种主流强化学习算法(如PPO、SAC、TRPO)。在15个任务中,有8个优于所有基线,且在提供领域知识时表现出显著提升。结果表明,语义与数值的融合具有实现透明、通用且符合人类意图的强化学习的巨大潜力。

原文摘要 · Abstract (English)

Reinforcement Learning (RL) traditionally relies on scalar reward signals, limiting its ability to leverage the rich semantic knowledge often available in real-world tasks. In contrast, humans learn efficiently by combining numerical feedback with language, prior knowledge, and common sense. We introduce Prompted Policy Search (ProPS), a novel RL method that unifies numerical and linguistic reasoning within a single framework. Unlike prior work that augment existing RL components with language, ProPS places a large language model (LLM) at the center of the policy optimization loop-directly proposing policy updates based on both reward feedback and natural language input. We show that LLMs can perform numerical optimization in-context, and that incorporating semantic signals, such as goals, domain knowledge, and strategy hints can lead to more informed exploration and sample-efficient learning. ProPS is evaluated across fifteen Gymnasium tasks, spanning classic control, Atari games, and MuJoCo environments, and compared to seven widely-adopted RL algorithms (e.g., PPO, SAC, TRPO). It outperforms all baselines on eight out of fifteen tasks and demonstrates substantial gains when provided with domain knowledge. These results highlight the potential of unifying semantics and numerics for transparent, generalizable, and human-aligned RL.

强化学习大模型语言推理策略优化

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