ElemedexA pocket encyclopedia of AI architectures

Glossary (TM) › Training and tuning

TM142

Self-play

Also: learning by self-play

In Spanish: Juego contra sí mismo (self-play)

A reinforcement learning method in which an agent improves by playing against copies or earlier versions of itself, generating its own training data.

In self-play, the opponent is the system itself. Every game produces new data, and since the rival improves at the same pace, difficulty adjusts itself: an automatic curriculum. It is a variant of reinforcement learning in which the reward is winning.

Lineage. Arthur Samuel's checkers program (1959) already learned by playing against itself; M. Mitchell (2019) uses it to introduce three all-important concepts: the game tree, the evaluation function, and self-play (2019, ch. 9). TD-Gammon (Tesauro, 1995) reached close to the level of the best backgammon players this way. AlphaGo combined human games with a phase of self-play against earlier versions of itself (Silver et al., 2016, pp. 485–486). AlphaGo Zero dropped human data and all knowledge of Go beyond the rules: the program "becomes its own teacher" and beat the version that had defeated Lee Sedol 100–0 (Silver et al., 2017, p. 354).

What it shows and what it does not. For Buckner (2024), the fact that a system trained only by self-play outperforms one that used human game libraries suggests that its strength comes from extracting abstract patterns from experience, not from brute force or expert knowledge (2024, p. 53). DeepMind spoke of learning tabula rasa; Gary Marcus objected to the Monte Carlo search and to the hyperparameters set in advance for Go, and Buckner finds only the latter suspect (2024, pp. 4, 20). Inefficiency remains: some 30 million games against itself, compared with the fewer than 50,000 Lee could have played in his lifetime (2024, p. 144).

The method needs a closed world: known rules, a cheap simulator, and an unambiguous criterion of victory. That is why it is hard to carry over to language, where nobody "wins" a conversation; the closest thing is the verifiable rewards in mathematics and programming used by reasoning models (Guo et al., 2025). How much of the success is due to learning, and how much to the fact that the rules were given?

Sources

  • Buckner, C. J. (2024). From deep learning to rational machines: What the history of philosophy can teach us about the future of artificial intelligence. Oxford University Press. https://doi.org/10.1093/oso/9780197653302.001.0001 §
  • Guo, D., Yang, D., Zhang, H., Song, J., Wang, P., Zhu, Q., Xu, R., Zhang, R., Ma, S., Bi, X., Zhang, X., Yu, X., Wu, Y., Wu, Z. F., Gou, Z., Shao, Z., Li, Z., Gao, Z., Liu, A., . . . Zhang, Z. (2025). DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature, 645(8081), 633–638. https://doi.org/10.1038/s41586-025-09422-z §
  • Mitchell, M. (2019). Artificial intelligence: A guide for thinking humans. Pelican Books. §
  • Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., Dieleman, S., Grewe, D., Nham, J., Kalchbrenner, N., Sutskever, I., Lillicrap, T., Leach, M., Kavukcuoglu, K., Graepel, T., & Hassabis, D. (2016). Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 484–489. https://doi.org/10.1038/nature16961 §
  • Silver, D., Schrittwieser, J., Simonyan, K., Antonoglou, I., Huang, A., Guez, A., Hubert, T., Baker, L., Lai, M., Bolton, A., Chen, Y., Lillicrap, T., Hui, F., Sifre, L., van den Driessche, G., Graepel, T., & Hassabis, D. (2017). Mastering the game of Go without human knowledge. Nature, 550(7676), 354–359. https://doi.org/10.1038/nature24270 §
  • Sutton, R. S., & Barto, A. G. (2018). Reinforcement learning: An introduction (2nd ed.). MIT Press. §