| # exp190 β saturating soft data without starving training |
|
|
| ## Problem |
| exp186 soft cache was ~56% opening / 22% mid / 22% end. Openings label |
| faster (shallower trees) so naive HF streaming floods the dataset. Training |
| then overfits early-game priors and underperforms in middlegame/endgame β |
| exactly where Elo is decided without MCTS. |
|
|
| ## Data architecture |
| | Lever | Design | |
| |---|---| |
| | Phase quotas | 22% opening / 48% middlegame / 30% endgame (hard gate at writer) | |
| | Depth-by-phase | op 10β14, mid 12β16, eg 14β18 (full-strength SF18, no Elo limit) | |
| | Multi-source FENs | HF stream + book playouts + endgame templates + random walks | |
| | Deficit-first feed | Producer oversamples the lagging phase every cycle | |
| | Syzygy | Wired into each worker when `syzygy/*.rtbw` present | |
| | soft_cache tags | `phase` + `label_depth` tensors for stratified training | |
|
|
| ## Training efficiency (how to consume this) |
| 1. **Stratified batches** β sample 1/3 from each phase bucket every step so |
| gradients never bog on openings. |
| 2. **Depth weights** β `w = label_depth / mean_depth` (or clip 0.5β1.5) so |
| deeper MultiPV pulls harder than shallow noise. |
| 3. **Critical upweight** β boost high `cp_gap_top1_top2` / low entropy rows |
| (forcing moves teach more than quiet equals). |
| 4. **Merge, don't replace** β mix exp190 deep cache with exp186 2M shallow |
| at ~30/70 so you keep volume + add quality. |
| 5. **Round-robin curriculum** β alternate soft-deep / soft-shallow / hard-HF |
| micro-batches inside the same step (already partially done via soft_frac). |
| |
| ## Model-side advantages (no MCTS) |
| - Phase-balanced policy β fewer βopening genius / endgame idiotβ failures |
| - Deeper soft targets β better next-move calibration under legal-mask argmax |
| - Endgame + Syzygy teacher β converts tablebase-perfect moves into policy mass |
| - Compact vocab + spatial head already amortizes move representation |
| |
| ## Ops |
| - SF binary: `stockfish/stockfish-latest` β SF18 `x86-64-vnni512` (Xeon 6342) |
| - 64 workers Γ 96MB hash β 6GB; ~441GB RAM free on this box |
| - Safe alongside GPU exp189 (CPU-only) |
| - Tail: `tail -f outputs/exp190_phase_deep/run.log` |
| |