RLAnything: Forge Environment, Policy, and Reward Model in Completely Dynamic RL System

AK's Picks Agent Agent Planning Autonomous Workflows ML RL DREM
我们提出了 RLAnything,这是一种强化学习框架,能够通过闭环优化动态构建环境模型、策略模型与奖励模型,从而增强学习信号,并全面提升面向任意大语言模型(LLM)或智能体(agentic)场景的强化学习系统性能。具体而言,策略模型在训练过程中同时融合了逐步反馈(step-wise feedback)与最终结果反馈(outcome feedback);而奖励模型则通过一致性反馈(consistency feedback)进行联合优化,该优化过程又进一步反向提升策略训练效果。此外,受理论启发的自动环境自适应机制,利用批评模型(critic)分别对奖励模型和策略模型输出的反馈,动态调整环境设置,从而支持模型从交互经验中持续学习。实验结果表明,所引入的每一项组件均能稳定提升整体系统性能;RLAnything 在多个典型的大语言模型与智能体任务上均取得显著增益:在 OSWorld 任务中,Qwen3-VL-8B-Thinking 的性能提升达 9.1%;在 AlfWorld 和 LiveBench 任务中,Qwen2.5-7B-Instruct 分别提升 18.7% 和 11.9%。我们还发现,经优化所得的奖励模型信号,其效果优于依赖人工标注的结果评判方式。代码开源地址:https://github.com/Gen-Verse/Open-AgentRL
We propose RLAnything, a reinforcement learning framework that dynamically forges environment, policy, and reward models through closed-loop optimization, amplifying learning signals and strengthening the overall RL system for any LLM or agentic scenarios. Specifically, the policy is trained with integrated feedback from step-wise and outcome signals, while the reward model is jointly optimized via consistency feedback, which in turn further improves policy training. Moreover, our theory-motivated automatic environment adaptation improves training for both the reward and policy models by leveraging critic feedback from each, enabling learning from experience. Empirically, each added component consistently improves the overall system, and RLAnything yields substantial gains across various representative LLM and agentic tasks, boosting Qwen3-VL-8B-Thinking by 9.1% on OSWorld and Qwen2.5-7B-Instruct by 18.7% and 11.9% on AlfWorld and LiveBench, respectively. We also that optimized reward-model signals outperform outcomes that rely on human labels. Code: https://github.com/Gen-Verse/Open-AgentRL