ISSAI FRP 2026 · Paper summary

Tetris RL Arena: Afterstate Reinforcement Learning under Execution Noise

Erkenzhe
FRP 2026, AI Engineering track · ISSAI, Nazarbayev University
Verified public summary · 30 October 2026
PDF status: the final manuscript exists as a LaTeX package. A compiled PDF is not included in this build because no TeX engine was available on the build machine. The public-safe ZIP below contains the verified manuscript source, tables and figures, but not training code, checkpoints or logs. Compile with 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

Study 1

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%.

Study 2

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.

Reward

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.

Engineering

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

Mean lines over seeds 6000–6019. At 0% noise each agent plays one game per seed; at each positive noise rate each agent plays five noise streams per seed. Cap: 800 lines.
Agent0%5%10%20%
RulesAgent740.490.139.814.3
Lines RL · 0% training797.8165.446.013.4
Combo RL · 0% training796.6140.447.313.1
Lines RL · 10% training797.6103.938.913.4
Combo RL · 10% training765.9105.138.912.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

Fresh-seed paired differences: expected selection minus intended selection, in mean lines. Positive values favor expected selection. Intervals are 95% paired bootstrap intervals where reported.
ModelNoiseDifference95% interval
Combo RL · 0% training5%+60.2+29.0 to +91.2
Combo RL · 10% training5%+25.4+10.5 to +39.3
Lines RL · 0% training5%+25.2−21.0 to +67.7
Lines RL · 10% training5%+15.4−3.5 to +35.4
Lines RL · 10% training10%+11.9+5.4 to +18.6
Lines RL · 0% training20%−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.

Expected-minus-intended selection effect across noise rates and agents, with intervals.
Expected-minus-intended selection effect on fresh seeds. Points are paired mean differences; bars are 95% intervals. The effect is large and positive in some cells, uncertain in others, and negative for clean lines at 20%.

Limitations

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.

Download LaTeX source (ZIP) Back to project
AI-assistance disclosure: the author used an AI coding assistant (opencode with DeepSeek-V4.1-Flash) to help develop code, run experiments, compute statistics, prepare figures and draft text. The assistant is not an author. Every reported number was traced back to the final result files, and the author remains responsible for the work.