ISSAI FRP 2026 · Paper summary
Tetris RL Arena: Afterstate Reinforcement Learning under Execution Noise
pdflatex, bibtex, then pdflatex twice.Abstract
We study a small afterstate reinforcement-learning (RL) agent in Tetris, asking whether it can beat a hand-written heuristic, whether training with execution noise makes it more robust to shifted placements, and whether a combo reward changes that robustness. Four agents were trained for the same 23-minute wall-clock budget: lines reward with 0% or 10% training noise, and a combo reward with 0% or 10% training noise. In a first held-out study on piece seeds 6000–6019 (1,600 games), clean RL reached the 2,000-piece cap (797.8 and 796.6 mean lines) and beat the rules agent (740.4). At 5% test noise the clean lines agent was best (165.4 lines), followed by clean combo (140.4), the two noise-trained agents (103.9 and 105.1), and rules (90.1). At 10% test noise the clean agents still led (46.0 and 47.3), rules reached 39.8, and both noise-trained agents reached 38.9. At 20% all five agents collapsed to 12.7–14.3 lines with overlapping intervals. The central hypothesis was not supported: under this budget, 10% training noise did not improve robustness.
After that benchmark we found an action-selection mismatch. The noise-trained agents learned an expected value over the left/intended/right execution outcomes, and acted on it during training, but the original evaluation selected placements using only the intended afterstate. A post-hoc diagnostic on the used seeds suggested that expected-noise selection could recover part of the 10% gap. We therefore ran a fresh confirmatory study on unused piece seeds 7100–7119 (2,560 games), evaluating both selection modes on the same games. At 0% the modes are identical by construction (maximum absolute difference 0.0). At 5% expected selection improved clean combo by 60.2 lines (95% CI 29.0–91.2) and combo with 10% training noise by 25.4 lines (10.5–39.3); at 10% it improved lines with 10% training noise by 11.9 lines (5.4–18.6); at 20% it reduced clean lines by 3.7 lines (−5.7 to −1.9). Two diagnostic positives did not replicate on the fresh seeds. The mismatch is real and can be large, so training and evaluation backups must match. It does not, however, overturn the main negative result: at 5% noise, noise-trained agents remain far behind clean agents even under expected selection. A combo reward changes the style of play but is not a robustness intervention.
What is in the paper
Five-agent held-out benchmark
RulesAgent plus four afterstate RL agents, 20 piece seeds, 1,600 games, four noise rates. Clean RL beats the heuristic; training noise does not help at 5% or 10%.
Intended vs expected selection
Fresh seeds 7100–7119, 2,560 games, no retraining. Expected selection can add tens of lines, but the effect depends on model, noise rate and mismatch.
Lines vs combo
The combo reward raises points and changes the line-clear mix without improving robustness. At 0% noise: 110,145 vs 93,980 points at similar lines.
Small and reproducible
C++ engine, four features, 4–64–64–1 value network, afterstate TD, deterministic seeds and recorded JSON replays.
Study 1 in one table
| Agent | 0% | 5% | 10% | 20% |
|---|---|---|---|---|
| RulesAgent | 740.4 | 90.1 | 39.8 | 14.3 |
| Lines RL · 0% training | 797.8 | 165.4 | 46.0 | 13.4 |
| Combo RL · 0% training | 796.6 | 140.4 | 47.3 | 13.1 |
| Lines RL · 10% training | 797.6 | 103.9 | 38.9 | 13.4 |
| Combo RL · 10% training | 765.9 | 105.1 | 38.9 | 12.7 |
The hypothesis that 10% training noise improves robustness was not supported. The noise-trained agents also trained on fewer pieces under the same wall-clock budget (about 35% fewer), so budget is a confound.
Study 2 in one table
| Model | Noise | Difference | 95% interval |
|---|---|---|---|
| Combo RL · 0% training | 5% | +60.2 | +29.0 to +91.2 |
| Combo RL · 10% training | 5% | +25.4 | +10.5 to +39.3 |
| Lines RL · 0% training | 5% | +25.2 | −21.0 to +67.7 |
| Lines RL · 10% training | 5% | +15.4 | −3.5 to +35.4 |
| Lines RL · 10% training | 10% | +11.9 | +5.4 to +18.6 |
| Lines RL · 0% training | 20% | −3.7 | −5.7 to −1.9 |
The fresh study did not reproduce every post-hoc positive. At 0% the two selection modes are identical by construction. Study 2 is a confirmatory selection study, not a full replication of Study 1, and it has no RulesAgent baseline.
Limitations
- Twenty seeds per Study 1 condition and one training run per cell. The intervals are descriptive and should not be read as a large-scale significance claim.
- One execution-noise model: horizontal shifts, with blocked shifts keeping the intended placement. Rotation errors, soft-drop errors, latency and hardware failures are not modelled.
- Study 2 evaluates the same four trained models on fresh seeds. It is not an independent retraining study and has no heuristic baseline.
- At 20% noise all agents perform similarly and poorly. The project does not claim a robust high-noise policy.
- The research repository, training code, checkpoints and raw logs are private. The public artifact contains the page, selected replays and the manuscript source.
Download and compile
The ZIP is a public-safe copy of the final Overleaf package. It contains main.tex, references.bib, the tables and all manuscript figures. It does not contain code, checkpoints or logs.