论文:读取模拟器源码生成控制策略,替代 RL 训练
研究人员让编码智能体直接读模拟器源码来写控制策略,绕过了 RL 训练,在 D4RL 上拿了 154.0 分、远超 CQL 的 94.7。如果你的环境代码可读,这条路能省下大量交互成本,做 RL 或智能体开发的都该看看这篇。
一篇新论文探讨当智能体能直接读取模拟器源代码时,是否还需要强化学习训练。方法上,编码智能体读取环境源码,直接将控制策略写成一个程序,再通过在线反馈或离线数据微调,全程没有任务特定的 RL 训练。
团队在 SMAC、MPE、MiniGrid、Box2D、D4RL、BabyAI 六个环境上测试,与训练了 200 万到 1000 万环境步的 QMIX、MAPPO、DQN、PPO、DreamerV3 对比。合成策略以少得多的交互次数持平或超过这些基线:在 D4RL maze2d-umaze 上得分 154.0,而 CQL 只有 94.7。部分任务中,仅凭源码就能零试错地写出可用策略。
消融结果显示,无法访问源码时写出的策略明显变差,说明收益主要来自读取环境动态本身。这提示在环境可白盒访问的场景下,用代码合成替代 RL 训练可能大幅降低交互成本。
Intriguing paper on leveraging world models to make RL unnecessary.
Do agents still need RL when they can read the simulator's source code?
Researchers find that, in many cases, they don't.
(bookmark it)
A coding agent reads the environment's source code, writes a control policy as a program, and refines it with online feedback or offline data. There is no task-specific RL training.
They test it on SMAC, MPE, MiniGrid, Box2D, D4RL, and BabyAI, against QMIX, MAPPO, DQN, PPO, and DreamerV3 trained for 2M to 10M environment steps.
The synthesized policies match or beat those baselines with far fewer interactions. On D4RL maze2d-umaze, the agent's policy scores 154.0, against 94.7 for CQL. In some tasks, a working policy comes directly from the source code with zero trial and error.
Policies written without source access do worse, so reading the dynamics is what produces the gain.
https://arxiv.org/abs/2611.34656
Chat with Paper: https://academy.dair.ai/papers/do-we-still-need-reinforcement-learning-when-we-can-read-the-world-model-2611.34656
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include reinforcement learning, DreamerV3, D4RL, agents.
Source attribution: curated from DAIR.AI (@dair_ai).