Qwen2.5-3B-Instruct + RAGEN PPO on Sokoban (two runs)
This repo holds two PPO runs with identical settings (different random sampling):
| Run 1 (job 9996509) | Run 2 (job lab-4215171) | |
|---|---|---|
| Where | repo root, figures/, results/ | run2_lab-4215171_peak-step80/ |
| Val success at step 0 | 0.111 | 0.111 |
| Peak val success | 0.270 at step 110 | 0.209 at step 80 |
| End of run | 0.119 at step 200 | 0.002 at step 150 (last full validation; killed by the time limit during step 152) |
| Checkpoints | step 200 only (root weights) | every 10 steps, steps 10-150 + 148 (checkpoints/actor_step_XXX) |
| Validation trajectories | none | every 10 steps (validation_rollouts/) |
Both runs learn for ~80-110 steps and then collapse: the model stops producing parseable actions.

The weights at the repo root are run 1's collapsed step-200 checkpoint, not the best model. Run 1's peak checkpoint was not saved. For the best saved model, use run 2's step 80 (
subfolder="run2_lab-4215171_peak-step80/checkpoints/actor_step_080", val success 0.209). Run 2's checkpoints before, during and after the collapse let you study how it develops.
Run 1 (job 9996509, root weights = step 200)
Training
- Framework: RAGEN on verl 0.6.1, PPO with GAE (γ = λ = 1.0)
- Actor lr 1e-6, critic lr 1e-5, entropy coeff 0.001, no KL loss, no rollout filtering
- Environment: CoordSokoban, 6×6 grid, 1 box; up to 5 turns × 2 actions; 400 tokens per turn
- Rollouts: 8 puzzles × 16 samples = 128 episodes per step, temperature 1.0
- Validation: 512 held-out puzzles, temperature 0.5 (standard error ≈ 0.018)
- 200 steps, 1× A100 80GB, 15.6 h
- Weights: actor only, bf16 safetensors, converted from the FSDP checkpoint with
verl.model_merger
Results (validation)
| Step | Success | Valid action rate |
|---|---|---|
| 0 | 0.111 | 0.967 |
| 110 (peak) | 0.270 | 0.993 |
| 140 | 0.131 | 0.475 |
| 200 | 0.119 | 0.295 |
After step ~110 the model increasingly produced responses the environment could not parse (valid action rate 0.99 → 0.29), while entropy fell to ~0.02 and KL to the reference rose.
Run 1 figures:

Full per-step metrics: sokoban-gengpu-9996509.metrics.csv.
Training configs and logs (results/)
results/config/: RAGEN configs (base.yaml,_2_sokoban.yaml,envs.yaml, ...)results/logs/sokoban_gengpu.sbatch: exact launch command and overrides for this runresults/logs/sokoban-gengpu-9996509.log: full training log, including the fully resolved configresults/logs/training_record.md: debugging history and run notes (Chinese)results/local_patches/: local fixes to RAGEN, applied on top ofbase_commit.txt
No rollout trajectories were saved for this run (validation_data_dir was unset).
Run 2 (job lab-4215171)
Same configs as run 1; see run2_lab-4215171_peak-step80/README.md for figures (combined and one metric per image, plus run 1 vs run 2 comparisons), per-step metrics, the training log, validation trajectories (output = full dialogue, score = episode return, gts = null) and all checkpoints.
| Step | Val success | Valid action rate |
|---|---|---|
| 0 | 0.111 | 0.967 |
| 80 (peak) | 0.209 | 0.930 |
| 140 | 0.027 | 0.139 |
| 150 | 0.002 | 0.021 |

Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "ceciliazhang726/qwen2.5-3b-ragen-sokoban-step200"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="bfloat16", device_map="auto") # run 1, step 200
# best saved model: run 2, step 80
sub = "run2_lab-4215171_peak-step80/checkpoints/actor_step_080"
tok = AutoTokenizer.from_pretrained(repo, subfolder=sub)
model = AutoModelForCausalLM.from_pretrained(repo, subfolder=sub, torch_dtype="bfloat16", device_map="auto")
Prompts follow RAGEN's CoordSokoban format; the model is expected to answer with
<answer>Right || Up</answer>.