How AlphaZero developed a chess sense humans can recognize
Neutral Chess By What The Future Newsroom · December 5, 2022 · 3 min read

How AlphaZero developed a chess sense humans can recognize

A study examined how AlphaZero learned chess through self-play and found that its internal representations came to resemble concepts familiar to human players. Its development moved from discovering piece values to building and refining opening knowledge.

AlphaZero learned to play chess without access to human games or human support. A study of its training found that the system nevertheless developed representations linked to ideas human players use, including king safety and positional advantage.

“The study describes AlphaZero developing human-recognizable chess concepts through self-play, with no clear societal harm or decline in human ability.”Why it scores Neutral

The findings offer a closer look at how a chess-playing AI can arrive at recognizable strategic concepts through self-play. They also raise the possibility that researchers may find human-understandable ideas in other systems trained without direct human examples.

Testing for chess concepts inside the network

AlphaZero was demonstrated by Deepmind in 2017 as a system capable of world-class play in chess, Shogi, and Go. Its methods included self-play, reinforcement learning, and search. World chess champion Magnus Carlsen called the system an inspiration for his transformation as a player.

A new paper from Deepmind, Google, and former world chess champion Vladimir Kramnik investigates how AlphaZero learned chess. Rather than focusing only on how well it played, the researchers examined what its network appeared to represent during training.

They used linear probes to test for concepts familiar to chess players, such as “King Safety”, “Material Advantage” and “Positional Advantage”. These tests ask whether information corresponding to a concept can be found in the network’s internal activity.

The researchers also conducted a qualitative analysis of the system’s behavior in player openings. Kramnik compared AlphaZero’s learning process with human chess learning, adding a behavioral perspective to the quantitative examination.

From piece values to opening knowledge

For the study, the team drew on about 100,000 human games from the ChessBase archive. They computed concept values and AlphaZero’s activations for positions in that collection, then examined how the system’s representations and play developed over training.

The researchers describe a sequence in which the system first discovers piece value. Basic opening knowledge then expands rapidly over a short period, before the network refines its opening theory across hundreds of thousands of training steps.

This progression suggests that chess understanding did not appear all at once. Some foundations emerged first, followed by a concentrated burst of opening knowledge and a longer phase of refinement.

The study reports strong correspondences between human concepts and AlphaZero’s representations, despite those concepts not being explicitly present in the network at the start. The result is a resemblance in what the system comes to represent, even though it learned by playing itself rather than by studying human games.

Similar concepts, a different learning route

Finding recognizable concepts does not mean AlphaZero learned in the same way people do. The researchers’ comparison concerns patterns in the system’s representations and behavior; its training route was self-play, supported by reinforcement learning and search.

The speed of some changes in AlphaZero’s behavior also brings to mind reported emergent abilities or phase transitions in large language models. In both cases, the paper points to development in which certain capabilities or patterns become prominent during training. The comparison is about the shape of the change, not a claim that chess systems and language models learn identical things.

For chess, the practical implication is that a system trained without human examples can still develop internal representations that people can describe using familiar strategic language. That gives researchers a way to study the relationship between training and the concepts a network appears to use.

Why the findings may matter beyond chess

The authors suggest that further research could identify additional concepts in AlphaZero, including concepts that have not yet been recognized. The current analysis therefore offers a starting point for exploring what else may be encoded in a system trained through self-play.

More broadly, the work expands the kinds of systems in which researchers might look for existing or new human-understandable concepts. If such concepts can emerge without direct human instruction, examining a system’s internal representations may help explain how its behavior develops.

AlphaZero’s chess learning provides one example: self-play produced a progression from piece values to opening knowledge, while its internal representations came to echo ideas human players already use. The study does not erase the difference between machine and human learning, but it makes that difference more legible.

Artificial intelligenceChessMachine learning
← Back to the wire

Read next