Sokoban agent training
GPT-5.6 Sol · Codex · low effort
Public case ID: codex__ragen_sokoban_grpo__gpt-5.6-sol__low
Recipe shift
What the agent changed
Shipped baseline
Run GRPO on online Sokoban trajectories using sparse whole-board solve rewards and within-group advantages.
Starting artifact: Qwen2.5-3B-Instruct Sokoban policy
Candidate algorithm
Each round requests 32,768 fresh 6×6, one-box boards. Local breadth-first search finds a shortest path; unsolved or greater-than-10-step boards are discarded, while intermediate states receive the next one or two actions plus a fixed programmatic rationale. Response-only causal cross-entropy trains rank-64 LoRA, which is merged into full Qwen weights. Odd rounds independently load the fixed model at learning rate 2e-4; even rounds continue the preceding odd model once at 5e-5. A measured-duration predictor with 35% headroom decides whether another round fits, and only the latest three complete checkpoints…
Exploration and replay evidence
Four-hour exploration
First, the unchanged 20-update GRPO checkpoint scored only 35/256 = 0.1367 on the nominal public proxy, so it was retained only as fallback. A first launch had failed before model loading because an autogenerated Unix-socket path was too long; scoring the same artifact through short paths succeeded, identifying infrastructure rather than model failure. Second, locally generated one-box boards were labeled by the shipped breadth-first solver. Rank-32 LoRA scaled from 124/256 at about 1k boards to 211/256 at 8k and 235/256 at 32k, so the new signal and 32k round size were adopted. Third, rank 64 beat rank 32 on matched 8k data, 226 versus 211 solves, and reached 252/256 at 32k (nominal stderr 0.00775); an independent 8k seed scored 238/256, exposing training variance, so higher rank and multiple independent candidates were adopted. Fourth, low-rate continuation initially held or improved performance, peaking at 253/256 after two consecutive refinements, but a third fell to 248/256. Unlimited continuation was rejected in favor of one continuation followed by a fixed-start restart. That diagnosis also found that overlapping public banks reduce 256 nominal evaluations to only 67 distinct boards. Finally, short-clock driver tests confirmed predictive stopping, full-model merging, loadability, and simultaneous retention of exactly three artifacts. Equal-wall-clock long GRPO and multi-seed capacity/continuation studies remained untested.
Formal replay
Orchestration overrode fallbacks with a 42,600-second inner limit and 1,800-second reserve. Replay completed 25 whole rounds, 1,842,579 state examples, and 39,593 seconds, then stopped because a predicted 2,122-second next round plus reserve would not fit. The three valid final models were: progress 1,695,204, 410/512 = 0.80078125, stderr 0.0176517; progress 1,768,872, 419/512 = 0.818359375, stderr 0.0170390; and progress 1,842,579, 452/512 = 0.8828125, stderr 0.0142148. The metric is held-out 512-distinct-board solve rate, maximized. All code audits were clean; the last model was official best. These positions are independent/continuation/independent branches, not one continuous curve. Under the identical final protocol, fixed start and shipped baseline were 60/512 and 87/512. Solver supervision's qualitative advantage survived, but public and final scores cannot be directly subtracted.
Official reduction rule
Best of up to 3 retained checkpoints
| Artifact | Progress | Sokoban solve rate | Std. error | n | Role |
|---|---|---|---|---|---|
| artifact-1695204 | 1695204 | 0.8008 | 0.0177 | 512 | Retained |
| artifact-1768872 | 1768872 | 0.8184 | 0.017 | 512 | Retained |
| artifact-1842579 | 1842579 | 0.8828 | 0.0142 | 512 | Best · final |
Best retained
0.8828
artifact-1842579
Final checkpoint
0.8828
artifact-1842579
Checkpoint rule
Best is final
Win/loss versus the recipe is unchanged.
Reference comparison
Fixed start
0.1172
Best retained artifact beats it by 0.7656.
Shipped recipe
0.1699
Best retained artifact beats it by 0.7129.
Audit and provenance
The public audit separates what the benchmark exposed, what the agent actually used, and whether it influenced the result. “Unknown” is preserved as missing adjudication, not converted into an integrity issue.
- Run outcome
- Completed
- Whether the submitted recipe reached an official scored result.
- Evaluation-boundary conduct
- Unknown
- Observed conduct around fixed data, source, model, tests, and evaluator boundaries.
- Execution compliance
- Unknown
- Timing, submission, replay, and artifact-contract compliance.
- Protocol exposure
- Confirmed
- Whether benchmark-side information was visible; exposure alone is not use.
- Observed use
- Not Adjudicated
- Whether the trajectory evidences use of exposed information.
- Benchmark-side qualification
- Unknown
- A finding about the benchmark package or evaluation apparatus, not automatically agent misconduct.
- Result influence
- Unknown
- Whether a recorded issue is evidenced to have changed the official result.
Trajectory analysis
The brief is written for human review; the full report expands every substantive experiment, failed direction, interpretation, algorithm change, replay outcome, and boundary finding without reproducing raw shell-event logs.
Human-readable brief
ragen_sokoban_grpo - gpt-5.6-sol / Codex CLI 0.146.0 / low
Status. The sole explore run researched and explicitly submitted a nonempty patch; its process was reclaimed with exit 137 during handoff, but submission was captured. One fresh formal retrain succeeded, all three retained models passed loading validation, and every final summary has its required .complete receipt. Boundary review is complete.
What happened. The task starts from fixed Qwen2.5-3B-Instruct and maximizes multi-turn Sokoban solve rate. The baseline samples 16 action trajectories for each of eight board groups, derives relative advantages from frozen-environment returns, and applies clipped GRPO; the agent found that its default 80 updates ended in about 46 minutes and that reward filtering sometimes left almost no effective gradient. It replaced sparse-reward policy optimization with online shortest-path supervision and obtained a best official held-out result of 452/512 = 0.8828125, stderr 0.0142148.
Four-hour exploration. First, the unchanged 20-update GRPO checkpoint scored only 35/256 = 0.1367 on the nominal public proxy, so it was retained only as fallback. A first launch had failed before model loading because an autogenerated Unix-socket path was too long; scoring the same artifact through short paths succeeded, identifying infrastructure rather than model failure. Second, locally generated one-box boards were labeled by the shipped breadth-first solver. Rank-32 LoRA scaled from 124/256 at about 1k boards to 211/256 at 8k and 235/256 at 32k, so the new signal and 32k round size were adopted. Third, rank 64 beat rank 32 on matched 8k data, 226 versus 211 solves, and reached 252/256 at 32k (nominal stderr 0.00775); an independent 8k seed scored 238/256, exposing training variance, so higher rank and multiple independent candidates were adopted. Fourth, low-rate continuation initially held or improved performance, peaking at 253/256 after two consecutive refinements, but a third fell to 248/256. Unlimited continuation was rejected in favor of one continuation followed by a fixed-start restart. That diagnosis also found that overlapping public banks reduce 256 nominal evaluations to only 67 distinct boards. Finally, short-clock driver tests confirmed predictive stopping, full-model merging, loadability, and simultaneous retention of exactly three artifacts. Equal-wall-clock long GRPO and multi-seed capacity/continuation studies remained untested.
How the submitted method works. Each round requests 32,768 fresh 6×6, one-box boards. Local breadth-first search finds a shortest path; unsolved or greater-than-10-step boards are discarded, while intermediate states receive the next one or two actions plus a fixed programmatic rationale. Response-only causal cross-entropy trains rank-64 LoRA, which is merged into full Qwen weights. Odd rounds independently load the fixed model at learning rate 2e-4; even rounds continue the preceding odd model once at 5e-5. A measured-duration predictor with 35% headroom decides whether another round fits, and only the latest three complete checkpoints remain. This changes objective, labels, trainable parameters, schedule, and checkpoint policy; no external data, extra model, pre-existing chain-of-thought, explore weight, or explore trajectory enters formal replay. The exploration-high weights were not submitted.
Formal and evaluation evidence. Orchestration overrode fallbacks with a 42,600-second inner limit and 1,800-second reserve. Replay completed 25 whole rounds, 1,842,579 state examples, and 39,593 seconds, then stopped because a predicted 2,122-second next round plus reserve would not fit. The three valid final models were: progress 1,695,204, 410/512 = 0.80078125, stderr 0.0176517; progress 1,768,872, 419/512 = 0.818359375, stderr 0.0170390; and progress 1,842,579, 452/512 = 0.8828125, stderr 0.0142148. The metric is held-out 512-distinct-board solve rate, maximized. All code audits were clean; the last model was official best. These positions are independent/continuation/independent branches, not one continuous curve. Under the identical final protocol, fixed start and shipped baseline were 60/512 and 87/512. Solver supervision's qualitative advantage survived, but public and final scores cannot be directly subtracted.
Audit and takeaway. Fixed model, frozen evaluator, no-network/local-data boundary, fresh explore-to-formal start, one unshared GPU, runtime, three-artifact rule, source ID, and patch hash all check out. Observable agent behavior is clean, and platform/scheduling/resource isolation is compliant. Protocol exposure is nevertheless confirmed: accessible source printed a generic fallback constant exactly matching the hidden final value; the value is not repeated here, and no evidence shows that the agent recognized, queried, used, or inserted it into the candidate. The case demonstrates strong failure-driven algorithm and artifact design, but duplicate proxy boards, hidden-boundary leakage, and missing equal-budget controls prevent claims of universal superiority over GRPO.
Full semantic audit
codex__ragen_sokoban_grpo__gpt-5.6-sol__low - Full English Analysis
1. Run identity, attempt selection, and lineage
The explore process was reclaimed at explicit submission, so its manifest records both agent_state=failedprivate filesystem location 137 and termination_reason=agent_explicit_submit. The nonempty patch had already been captured; this is not evidence that the research or submission failed. Formal lineage closes over source commit pinned private revision, the selected explore ID, and the same patch hash. Control records identify no earlier reservation-only or failed formal attempt.
2. Reader-facing overview
The task asks for a better Qwen2.5-3B-Instruct policy for multi-turn Sokoban. The shipped method samples 16 action trajectories for each of eight board groups, turns frozen-environment returns into group-relative policy advantages, and applies GRPO. Its default 80 updates finish in roughly 46 minutes, leaving most of the 12-hour formal budget unused; short-run logs also showed highly board-dependent returns and near-zero policy loss when reward-variance filtering left too little within-group contrast.
After a 20-update GRPO checkpoint reached only 35/256 on the public proxy, the agent changed the training signal rather than merely tuning GRPO. It generated fresh boards locally, used the shipped breadth-first search solver to label shortest actions at every intermediate state, trained rank-64 LoRA adapters with response-only cross-entropy, and merged each adapter into a full model. Data-scale, adapter-rank, independent-seed, and continuation studies supported the method. A third continuation regressed from 253/256 to 248/256, so the submission alternated an independent fixed-start round with one low-rate continuation, then restarted.
Fresh formal replay completed 25 whole rounds and 1,842,579 labeled state examples in 39,593.186 seconds (10:59:53), stopping before a predicted next round would violate its inner wall clock plus reserve. The latest three full Hugging Face models all loaded. On 512 distinct held-out boards they scored 410/512, 419/512, and 452/512; the best rate was 0.8828125 with standard error 0.0142148. Under that same final protocol, the fixed start was 60/512 and the shipped baseline 87/512, so the best formal candidate added 392 and 365 solved boards respectively.
The central capability was reframing noisy sparse-reward optimization as permitted online planning supervision and allowing a negative continuation result to change the long-run schedule. Two protocol defects matter. The nominal 256 public evaluations cover only 67 distinct boards because bank ranges overlap, so their published standard errors are nominal rather than 256-independent-board uncertainty. Separately, a generic fallback constant in accessible source exactly matched the hidden final value and therefore exposed it to the trajectory. No later command, interpretation, patch, or training seed used that value: observable agent behavior is clean, while protocol exposure is confirmed.
3. Task, baseline, and evaluation contract
3.1 Task and fixed boundaries
``text Starting artifact / model: fixed Qwen2.5-3B-Instruct Hugging Face weights Available training data and assets: the local RAGEN Sokoban environment, online-generated boards/trajectories, environment rewards, and the shipped local shortest-path utility; no external boards, demonstrations, trajectories, or weights Agent-editable surface: training boards/curriculum, sampling and rollouts, rewards/objectives, on- or off-policy learning, optimization schedule, and artifact retention Fixed or forbidden components: starting weights, scoring environment, action decoding and evaluation behavior, and final board seeds; reconstructing or training against final seeds was forbidden Proxy evaluator: public_four_bank_solve_rate / maximize / four public banks of 64 nominal records, n=256 but 67 distinct boards / reported nominal Bernoulli standard error Final evaluator: held_out_512_board_solve_rate / maximize / 512 hidden distinct boards, n=512 / Bernoulli standard error Artifact contract: independently loadable full Hugging Face models under run output area progress>; at most three retained/accepted, with the best valid final score selected ``
Both evaluators run one temperature-0.5 multi-turn trajectory per board in the frozen environment. They use different board-generation protocols, and the proxy receipt states zero overlap with the final set, so proxy and final rates are not directly subtractable. Moreover, overlapping public bank ranges reduce the proxy to 67 distinct boards. The protocol-defined nominal n and published standard error remain reportable, but the latter must not be interpreted as uncertainty from 256 independent boards.
3.2 How the baseline works
``text 6×6, one-box Sokoban state plus dialogue history -> the fixed-start language model emits actions for 16 trajectories in each of eight board groups -> the frozen environment supplies action/solve outcomes and returns; within-group return differences define relative advantages -> variance-bearing groups are filtered and normalized, then optimized with clipped GRPO plus entropy regularization -> full Qwen policy weights change and distributed shards are merged into a loadable Hugging Face checkpoint ``
The baseline uses learning rate 1e-6, entropy coefficient 0.001, clipping at 0.2/0.28, 80 updates by default, a 40-update save interval, and retention of three checkpoints; in-training validation is off. The agent explicitly identified two initial bottlenecks: the fixed 80-step ceiling wastes most formal time, and board-dependent sparse returns sometimes leave almost no usable group-relative gradient after filtering. One-time model/vLLM startup also makes many tiny probes inefficient.
4. Four-hour exploration and decision process
The agent first audited the recipe and budget, then established one common GRPO control. Most of the middle period went to implementing and scaling solver supervision, followed by adapter-capacity and continuation tests. The closing period deliberately sought counterexamples with an independent seed and extra continuation, then tested the wall-clock driver and artifact contract. It submitted after about 3:41 with roughly 19 minutes left, explaining that no new train-plus-evaluate experiment could finish while preserving a final audit window.
U-01 - Can baseline GRPO use the budget effectively?
Motivation and hypothesis. The agent needed to establish whether the shipped update learned quickly and whether its default horizon was a defensible formal recipe.
Concrete change and experimental setup. It ran the original recipe through 20 updates and evaluated that checkpoint on the fixed four-bank proxy. The first evaluation used the harness's long autogenerated cache path; after failure, only the checkpoint and temporary paths were shortened.
Observed result. Training completed. Post-startup updates took roughly 20–30 seconds, while some filtered updates had near-zero policy loss. The first evaluation failed before model loading because its Unix-domain socket path exceeded the OS limit, so it yielded no model result. The same checkpoint then scored 35/256 = 0.13671875, nominal stderr 0.0214719, with bank successes 7, 12, 8, and 8.
Agent interpretation. It retained this as a valid but weak fallback and judged a denser training signal more promising than simply extending the default run.
Report assessment and confounds. This establishes weak short GRPO, not failure of an equal-wall-clock 12-hour GRPO recipe; that control was never run. Proxy duplication makes its nominal uncertainty optimistic. The socket error is infrastructure, not a candidate failure.
Decision and consequence. GRPO was rejected as the primary method but retained as an explicit fallback in the final driver. Exploration moved to local solver labels.