r/cbaduk • • 19h ago

[P] Chasing the Shadow of SAI: Stabilizing Muon Optimizer & Hybrid Transformers in AlphaZero Self-Play (9x9 Go)

2 Upvotes

GitHub Repo & Full Logs: https://github.com/MAOmao000/Sayuri-TensorRT

I ran a series of 8 single-GPU experiments extending the open-source Sayuri Go engine with Muon, Hybrid ResNet-Transformer blocks, and Gumbel AlphaZero to see if a compact model (`b6xc128h32`) could match the larger `SAI b8c160` baseline in 9x9 Go.

**Key Takeaways:**

- **Result:** Reached 52.25% point win rate (+16 Elo over 200 games) against `SAI b8c160` in 310K steps (~400K self-play games) without warm restarts.

- **Head-Split Muon:** Splitting attention projections by `head_dim=32` prior to Newton-Schulz orthogonalization was critical for parameter efficiency.

- **Preventing RL Mode Collapse:** Mixing 3 distinct MCTS worker personalities (Balance, Offense, Defense) kept exploration entropy alive and prevented draw-overfitting.

- **SWA & Cosine Cycle Trap:** Terminating SWA strictly before the cosine annealing cycle reset avoided a -50 Elo drop caused by post-reset LR spikes.

- **Loss–Strength Paradox:** Lowest self-play training loss did not equal highest Elo when rule/komi distributions were narrowed.

All training configs, loss curves, and evaluation logs are documented in the repo. Feedback and thoughts on RL + Muon stability are very welcome!