Temporal Conditioning for Human Behavioral Cloning in Chess
Organizations: IU International University of Applied Sciences, Erfurt, Germany
Abstract
Behavioral cloning models in chess typically predict human moves from board states while ignoring temporal inputs such as the remaining clock. However, time pressure is a major determinant of human decision-making quality, and temporal state is a missing dimension of human behavioral modeling. This paper introduces a time-aware transformer that extends a Chessformer-style architecture with learned temporal conditioning tokens encoding player clock state, time control, and recent tempo, together with behavioral heads for thinking time and resignation. The model is trained on large-scale online chess data and evaluated against time-agnostic baselines and the state of the art. Results show that temporal conditioning yields modest overall accuracy improvements but substantially stronger gains under time pressure. Beyond move choice, it also produces more accurate thinking-time and resignation predictions. More importantly, the model better matches human move-quality degradation in critical time regimes, reducing the systematic over-strength observed in time-agnostic behavioral cloning models. These results suggest that temporal state is a previously underutilized but important signal for human behavioral cloning in chess.
Figures & tables
| Model | Overall | Comf. | Mod. | Press. | Crit. |
|---|---|---|---|---|---|
| ( 50%) | (20–50%) | (5–20%) | ( 5%) | ||
| Time-conditioned | 56.19 | 54.76 | 59.41 | 59.60 | 59.05 |
| Time-blind | 55.46 | 54.18 | 58.60 | 58.45 | 56.61 |
| (pp) | +0.73 | +0.58 | +0.81 | +1.15 | +2.45 |
| 95% CI | [.69,.77] | [.52,.63] | [.69,.92] | [1.00,1.31] | [2.14,2.72] |
| Paired (pp) by rating band | |||||
| Head (metric) | Time-cond. | Time-blind | |
|---|---|---|---|
| Outcome, WDL accuracy (%) | 64.9 | 60.8 | |
| Thinking time, MAE (s) | 2.33 | 3.45 | |
| Thinking time, median AE (s) | 0.94 | 1.91 | |
| Resignation, P/R/F1 | .292 /.449/ .354 | .195/.497/.280 | |
| Think time by bucket | human | pred (MAE) | pred (MAE) |
| Comfortable ( 50%) | 4.5 s | 4.3 (2.55) | 5.2 (3.59) |
| Regime | n | Maia-3 | Ours | (pp) |
|---|---|---|---|---|
| Maia-3 protocol a | 515,927 | 57.46 | 57.88 | +0.42 [.35,.50] |
| Blitz, unfiltered | 721,907 | 57.04 | 57.60 | +0.56 [.50,.62] |
| Full set | 1,485,359 | 55.45 | 56.79 | +1.34 [1.29,1.39] |
| a blitz only, plies 10, positions before either clock is 30 s. | ||||
Behavior Cloning
Behavior cloning trains policies to reproduce expert actions from demonstrations for robotics, driving, and other sequential tasks.
See all 56 papers