Harness Hub
All papers

Do We Still Need Reinforcement Learning When We Can Read the World Model?

Mingchao Zhang, Miduo Cui, Kangze He, Yuanjun Li, Dapeng Li, Ce Zhang, Chuanchen Luo, Xue Yan, Mingzhe Xing, Zhumin Chen, Hangyu Mao, Bin Zhang, + 1 more

Verdict: Weak

The body already contradicts the abstract: continuous-control averages lose, the no-source agent captures most of the discrete-task gain, and the step-to-target protocol uses the worst model-free seed, including a -99.03 bar, with means only over successful runs. What remains is a closed coding model writing scripts for programmatic simulators, which harness builders cannot reproduce or adopt.

  • Novelty

    1 out of 5
  • Rigor

    1 out of 5
  • Reproducibility

    1 out of 5
  • Relevance to harnesses

    1 out of 5

TL;DR

Codex (gpt-6-astra) writes executable controllers from simulator source and sometimes beats standard RL on discrete, combat, and maze tasks with fewer environment steps. The abstract's match-or-outperform and less-experience claims fail on the paper's own continuous-control tables, easy step-to-target rules, and no-source ablation.

Adversarial review by Harness Hub · Nov 28, 2026 · read full text (truncated) · Suggest a correction

Original abstract (authors’ text, select to expand)

Reinforcement learning has achieved remarkable success in sequential decision-making, but learning effective policies often requires substantial interaction experience. Model-based reinforcement learning alleviates this dependence by leveraging world models, which are typically used to support planning or policy optimization. In this paper, we investigate an alternative paradigm in which autonomous LLM-based coding agents directly synthesize control policies by reasoning over readable world models. By examining environment source code, these agents translate environmental knowledge into executable decision rules and iteratively refine their policies using online feedback or offline data, without task-specific RL training. Experiments across diverse decision-making benchmarks show that synthesized policies match or outperform conventional RL methods while requiring substantially less experience. Further analyses reveal interpretable decision rules and how they evolve through feedback-driven refinement. Comparisons with policies generated without source code access and experiments under challenging conditions further demonstrate the benefits of readable world models. These findings suggest that direct policy synthesis can reduce reliance on trial and error, challenging the necessity of task-specific RL training.

Authors’ note

44 pages, 10 figures, 24 tables

Filed underevaluationcoding-agentsagentsllm

Summary

PS-RWM gives Codex environment source, emits a policy program, and revises it from online rollouts or offline data with no gradient RL. Frozen programs look strong on MiniGrid, much of SMAC, Maze2D, Kitchen, and BabyAI. They lose on MuJoCo locomotion and Adroit, DreamerV3 stays ahead on BipedalWalker tasks, and the same agent without source often lands close to the with-source scores.

Key findings

  • Section 4.2: PS-RWM outperforms the matched model-free baseline in 15 of 16 online scenarios and reaches 100% success on all four MiniGrid tasks; QMIX and MBVD score higher on 8m_vs_9m, and DreamerV3 keeps the advantage on the BipedalWalker tasks.
  • Table 2 averages: Maze2D PS-RWM 176.9 vs CQL 62.0; AntMaze 71.7 vs IQL 63.0; Kitchen 90.2 vs IQL 54.4; MuJoCo locomotion 59.9 vs CQL 80.6 (down 20.7); Adroit 17.4 vs BC 34.8 (down 17.4).
  • Table 3(a): BabyAI average success 99.28% vs DT 65.33%. Table 3(b): average 100.00% at M=0 and 98.83% at M=256.
  • Table 4: DoorKey target in 1,789 steps vs DreamerV3 400,000; 8m_vs_9m target in 27,413 steps but only 2/3 runs; BipedalWalker 529,773 vs PPO 633,333. BipedalWalkerHardcore target is -99.03.
  • Section 6.1 and Table 7: source access improves the development-validation score in eight scenarios, loses in three, and ties in five. SMAC average is 42.71 model-free, 91.50 without source, and 96.17 with source. MiniGrid is 100.00 either way.

The paper at a glance

01Coding agent readsenvironment sourceas the world model02Agent emits anexecutable policyprogram03Revise from onlinerollouts or a fixedoffline dataset04Freeze the programand score it onheld-out seeds withno further LLMcalls
  1. Coding agent reads environment source as the world model
  2. Agent emits an executable policy program
  3. Revise from online rollouts or a fixed offline dataset
  4. Freeze the program and score it on held-out seeds with no further LLM calls
Fig. 1 — How the paper works, step by step (arXiv:2611.34656).
CQL80.6 normalized scoreIQL77 normalized scoreTD3+BC75.3 normalized scoreDT75.3 normalized scorePS-RWM (this paper)59.9 normalized score
Fig. 2 — D4RL normalized score, MuJoCo locomotion average (9 tasks), higher is better. Source: Table 2, arXiv:2611.34656.
Data table
D4RL normalized score, MuJoCo locomotion average (9 tasks)
Methodnormalized score
CQL80.6 normalized score
IQL77 normalized score
TD3+BC75.3 normalized score
DT75.3 normalized score
PS-RWM (this paper)59.9 normalized score

Why it matters

This is not a harness paper. It does not add memory, a tool protocol, a router, or an eval harness. The loop is an off-the-shelf coding agent (Codex on a closed gpt-6-astra checkpoint) reading a repo, writing a program, and patching it from feedback, which code-as-policies and Reflexion-style agents already do. The sample-efficiency wins are confined to code-available discrete, combat, and maze tasks, and they reverse on the continuous-control suites in Table 2. Table 7 shows the same agent often succeeds without source, so exposing simulator source is not the lever. Do not treat this as evidence that a coding harness can drop task-specific RL.

Issues (5)

  • High severity

    The abstract says synthesized policies match or outperform conventional RL while using substantially less experience. Table 2 has PS-RWM behind on MuJoCo locomotion (59.9 vs CQL 80.6, down 20.7) and Adroit (17.4 vs BC 34.8, down 17.4). Section 4.2 says DreamerV3 keeps the advantage on the BipedalWalker tasks. Table 7 has model-free RL ahead on 8m_vs_9m (94.79 ± 6.51 vs with-source 85.33 ± 18.18).

  • High severity

    Section 4.3 sets MPE and Box2D step-to-target bars to the lowest final-test mean among three model-free runs, so the bar is the weakest RL seed. BipedalWalkerHardcore's target is -99.03. Table 4 means are computed only among successful runs, so the 8m_vs_9m figure of 27,413 drops the failed run (2/3). Box2D RL attainment uses smoothed training returns (Figure 3 caption), while PS-RWM is selected from a 100-episode development validation inside the first 1,600 attempted episodes (Section 4.1). Environment steps also ignore frontier-model reasoning cost.

  • High severity

    Section 6.1 undercuts the readable-world-model claim: source access helps in eight scenarios, the no-source condition is better in three, and five tie, including 100.00 on all four MiniGrid tasks. On SMAC the no-source average is already 91.50 ± 4.18 versus model-free 42.71 ± 5.32; with source it is only 96.17 ± 4.47. LunarLander without source is higher (291.38 ± 2.19 vs 289.60 ± 1.29; 280.83 ± 2.30 vs 277.57 ± 3.74). Those Table 7 numbers are development-validation scores, not the withheld held-out protocol in Section 3.2.

  • High severity

    The comparison changes the problem. PS-RWM reads transition and reward source (Definition 1, Listing 1 hardcoded indices and thresholds 2.8 and 5.7) while RL baselines do not. Offline, that lets the agent leave the dataset support: maze2d-large is 219.2 ± 21.4 versus TD3+BC 88.6, and Section 5.1 shows the synthesized policy opposing velocity in 99.87% of in-goal states versus 28.64% of dataset actions. On halfcheetah-medium-v2 at 1% data, the controller is Matérn kernel ridge regression scoring 41.03 against a demonstration average of 40.886 (Table 5 prints 41.0), which is imitation, not a planner read from dynamics.

  • Medium severity

    Every reported run is Codex on closed gpt-6-astra at max reasoning effort, three seeds. Claude Code is named in Section 1 and never measured. No code or data URL appears in the paper text. AntMaze averages hide large run variance (antmaze-large-play 54.0 ± 37.7). Section 2.2 already cites prior coding-agent program synthesis and a study of environment source-code access, so the bake-off is not a new harness or algorithm.

Questions for the authors

  • How many controllers match public reference solutions a 2026 frontier coder would already have seen, given that the no-source condition often scores close to with-source?
  • What token and wall-clock cost does one gpt-6-astra max-effort run use versus the RL baselines' training compute?
  • If failed runs are not dropped, what is the environment-step distribution on 8m_vs_9m, where only 2/3 runs hit the target?
  • Do the 100-episode development-validation episodes used for selection share seeds with the reported held-out evaluation?

Related in the directory

Open-source projects

All reported PS-RWM runs are Codex on gpt-6-astra; the agent is this coding harness, not a new one.
Named with Codex as a coding agent that could read source and refine policies, but no Claude Code results are reported.

More tools on the same problem

Products and open-source projects in the directory closest in meaning to this paper.

RL bridge for LLM-based agent applications.
Reinforcement learning for LLMs, including coding, SWE, and search agents.
ART: open-source reinforcement learning trainer for multi-step agents.
Train agents by conversation; links an arXiv paper
Open, invite-free general-purpose agent from the MetaGPT team.
The coding agent for open models

Reasoning models become long-horizon agents through reinforcement learning or, more cheaply, through fine-tuning on a stronger teacher's trajectories, which contain the teacher's chain-of-thought as well as its actions. The standard fine-tuning approach imitates both, yet the strongest teachers are closed models whose chain-of-thought is hidden behind an API. We show that the chain-of-thought can be left out altogether and that the long-horizon policy can be distilled from the teacher's actions alone. The student is trained on these trajectories with its reasoning block left empty, while a KL loss on a replay buffer of its own generations limits drift from its initial model. Surprisingly, the policy learned from these trajectories with an empty reasoning block carries over to inference with thinking enabled, where the student reasons in its own style while acting like the teacher, an effect we call cross-format transfer. Distilling the actions of Qwen3.6-27B raises the task success of Qwen3-4B on AppWorld from 7% to 18% and that of Qwen3-32B from 12% to 25%. We further introduce CoT-proxies, short summaries of the teacher's reasoning placed after the empty reasoning block, which raise Qwen3-4B further, to 35%. Since neither actions nor CoT-proxies need the hidden chain-of-thought, the recipe applies unchanged to closed teachers. Distilling GPT-5.6 Luna from its visible outputs and the reasoning summaries its API returns raises Qwen3-4B from 7% to 48% on AppWorld and from 3% to 28% on SWE-bench Verified.

Dawid J. Kopiczko, Tijmen Blankevoort +1

Building general-purpose robots is a central goal in robotics. Agentic robotics pursues this goal with planners that control robots through tool calls. However, existing methods either rely on proprietary models accessed through APIs, which incur high costs and latency, or post-train a planner with reinforcement learning (RL) in a single domain, requiring a separate specialist for each domain with incompatible tools. In large language model (LLM) post-training, multi-teacher on-policy distillation (MOPD) has been used to consolidate domain specialists into a single generalist. Yet whether MOPD can build a generalist planner for agentic robotics, how well it performs, and how it compares with other consolidation methods remain unexplored. In this paper, we systematically study these questions: we introduce Robo-MOPD, which trains a single student on closed-loop rollouts in simulation under token-level supervision from matching frozen specialists, and compare it with weight merging, off-policy specialist supervised fine-tuning (SFT), and multi-domain online RL. Experiments on LIBERO-PRO and RoboCasa365 show that a single 9B Robo-MOPD planner reaches 72.9% and 44.8% success (58.9% average), surpassing all consolidated baselines in average success and both 9B specialists on their respective benchmarks. Robo-MOPD excels on long-horizon tasks, outperforming multi-domain online RL by 13.0 percentage points on LIBERO-10.

Xinxin Liu, Anh Dao +6

Existing approaches for robot learning in simulation often require substantial manual effort to construct scenes and specify tasks, limiting training scalability and data diversity. Meanwhile, in-the-wild robot demonstrations naturally provide diverse and realistic observations of real-world interactions. Leveraging these demonstrations for simulation requires both high-fidelity visual reconstruction and physically consistent interactions. General-purpose agents offer flexible adaptation to diverse scenarios and strong reasoning about 3D spatial relationships, while specialized generative models provide high-fidelity reconstruction of scene appearance and geometry. We introduce WorldMirror, an agentic real-to-sim framework that constructs interactive digital twins from in-the-wild robot demonstrations. Our central idea is to formulate real-to-sim construction as the iterative refinement of an executable world program. A coding agent decomposes the observed scene, plans reconstruction steps, and orchestrates specialized image and 3D generation tools, refining the program through verification feedback. A camera-pose-anchored scene representation organizes the world into static visual context, support geometry, and editable interactive assets while preserving spatial relationships among the scene, objects, and robot. The agent uses this representation to diagnose and correct reconstruction errors, enabling physically consistent interaction and trajectory replay. Experiments on DROID demonstrate that WorldMirror can reconstruct visually faithful and geometrically consistent interactive worlds while preserving the physical validity of recorded robot trajectories.

Tianling Xu, Weijie Wan +10

We tackle the challenge of building real-time interactive video worlds with user-defined behaviors. Such worlds must track object states, apply interaction rules, and render the resulting consequences as users act. Yet existing end-to-end video world models typically learn interaction dynamics within the generator, making it difficult to specify object-level rules and reason about their consequences. In this work, we introduce BoxWorld, which separates interaction reasoning from generative rendering. Given user-specified rules, a coding agent creates a Box World Engine that determines interaction outcomes and exposes the resulting object states through a lightweight interface of layout boxes, persistent object attributes, and dynamic status variables, leaving appearance and physical effects to generative rendering. A Box-State Generative Renderer then renders this evolving state stream into video autoregressively, enabling online control over object motion, state switches, and conditional events. Rendering this state stream is non-trivial: the renderer must respond to object-level state updates in real time while remaining coherent with the generated history. To this end, we introduce a three-stage training strategy that learns object grounding from open-domain videos and state transitions from gameplay videos, both annotated automatically, and finally performs rollout distillation on self-generated histories. We further propose PairedStateBench, a paired benchmark for fine-grained interaction control. BoxWorld substantially outperforms end-to-end world models and remains competitive across multiple public benchmarks. Project page: https://boxworld-web.github.io.

Zike Wu, Ahmed Hatem +5

LLM-based artificial societies exhibit rich behavior but often lack scientific grounding: personas and environments are assumed, interaction networks are synthetic, and simulators are generated as free-form code, making results difficult to tie to real populations and sensitive to the backbone model. We argue that simulated worlds should be sampled from observed data, while simulation logic should be implemented by composing operations from a shared, task-independent vocabulary. In this paper, we introduce ABSClaw, a zero-code agent that compiles natural-language requests into executable, reality-grounded social simulations. ABSClaw grounds who acts, where they act, and with whom they interact in survey and census data, geospatial sources, and real networks. It expresses state transitions through 26 atomic operations. To support an open and extensible ecosystem, ABSClaw further allows capabilities to be added as lifecycle-scoped skills without modifying its core. Furthermore, we propose ABSBench, a benchmark of 193 real-world social-simulation tasks. On ABSBench, ABSClaw achieves the best overall performance among the evaluated social simulators. Three real-world case studies show that grounding personas, environments, and interaction networks each improves agreement with observed outcomes. With one runtime skill, ABSClaw executes 13 population-scale simulations, collectively involving 25 million agents. Together, these results demonstrate ABSClaw's real-world fidelity, extensibility, and scalability.

Shaobin He, Yan Gao +5

Programmatic verifiers provide scalable reward signals for training coding agents with reinforcement learning, yet subtle harness defects and incomplete unit tests allow policies to earn full credit without solving the intended task. Existing training-time defenses intervene either by penalizing suspicious outputs or by filtering flagged tasks and rollouts. However, output penalties leave the underlying verifier exploitable, driving policies to disguise shortcuts under reasoning monitors or zeroing out valid solutions under detector false positives, whereas task and rollout filtering discards or mutes the hardest problems where shortcuts emerge earliest. Pre-training verifier hardening repairs the environment directly, but misses vulnerability classes that surface only as the policy improves during reinforcement learning. In this paper, we propose online environment repair, which leaves triggering rollout rewards unchanged to remove hiding incentives and asynchronously patches exploited environments during training. Candidate repairs triggered by execution invariants or differential fuzzing are deployed only after passing three automated validation gates that block the exploit while preserving valid solutions, canceling detector false positives and enabling structural propagation across repositories without scaffold labels or reference solutions. Across 20 controlled GRPO experiments on heterogeneous software-engineering repositories, online environment repair reduces cumulative reward hacking from 36.9% to 0.06% and improves held-out Pass@8 from 21.7% to 46.7%, consistently outperforming reward-penalty, rollout-filtering, and static-hardening baselines while eliminating zero-shot exploitation on unseen loophole classes.

Sheng Lu, Rui Mao +5

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.