arXiv(opens in a new tab)cs.AINov 2021Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2111.09259

Acquisition of Chess Knowledge in AlphaZero

Thomas McGrath, Andrei Kapishnikov, Nenad Tomašev, Adam Pearce, Demis Hassabis, Been Kim, Ulrich Paquet, Vladimir Kramnik

ABSTRACT

What is learned by sophisticated neural network agents such as AlphaZero? This question is of both scientific and practical interest. If the representations of strong neural networks bear no resemblance to human concepts, our ability to understand faithful explanations of their decisions will be restricted, ultimately limiting what we can achieve with neural network interpretability. In this work we provide evidence that human knowledge is acquired by the AlphaZero neural network as it trains on the game of chess. By probing for a broad range of human chess concepts we show when and where these concepts are represented in the AlphaZero network. We also provide a behavioural analysis focusing on opening play, including qualitative analysis from chess Grandmaster Vladimir Kramnik. Finally, we carry out a preliminary investigation looking at the low-level details of AlphaZero's representations, and make the resulting behavioural and representational analyses available online.

1 Introduction

Machine learning systems are commonly believed to learn opaque, uninterpretable representations that have little in common with human understanding of the domain they are trained on. Recently, however, empirical evidence has suggested that at least in some cases neural networks learn human-understandable representations. Notable examples include single neurons in a classifier corresponding to mountain tops or snow [1], syntactic information in language models [2], surprisingly sophisticated conceptual representations in a multimodal network [3] emerging from the alignment of visual and textual data, and the wide range of findings in the growing field of “BERTology” [4]. Given these findings, it is natural to ask: do they generalise? Should we expect other capable deep learning systems to have similarly meaningful representations? If they do not, then our ability to provide explanations which reflect the computational processes of the model, rather than some alternative rationalisation, will be severely limited.

Although these examples of human-understandable activations are compelling evidence, there are reasons they may not apply more widely. Perhaps these networks only learn human-understandable representations because they are exposed solely to human-generated data, and (at least in the case of classifiers) have human concepts imposed on them via the choice of classification categories. Alternatively, their relative simplicity may make them easier to interpret – none of the examples given earlier exceed human performance. In order to further test the emergence of human-understandable concepts we need to find a domain where remarkable performance emerges without the use of human-labelled data. AlphaZero [5] meets both of these requirements: it is trained via self-play, and so has never been exposed to human data, and it performs at a superhuman level in all three domains it was trained on (Chess, Go, and Shogi) when the network is paired with Monte Carlo tree search. In this paper we investigate AlphaZero's representations, and their relation to human concepts in chess. Studying the AlphaZero network an important frontier in our understanding of strong neural networks: if we can find human-understandable concepts here, it is likely we will find them elsewhere.

The AlphaZero network provides a rare opportunity for us to study a system that performs at a superhuman level in a complex domain. The ability to interpret AI systems is particularly valuable when these systems exceed human performance [6] on the tasks they were optimized for, as the systems could uncover previously unknown patterns that could prove to be useful beyond the systems themselves. Understanding such complex systems is likely to involve a substantial amount of analytical effort, so it is desirable to first understand whether the system's representations have any correspondence with human concepts. If no such correspondence exists, then further investigations are unlikely to pay off, whereas if they can be found then a deeper investigation may well uncover more. Although the results we show in this paper are far from a complete understanding of the AlphaZero system, we believe that they show strong evidence for the existence of human-understandable concepts of surprising complexity within AlphaZero's neural network. This lays a solid foundation for further investigation of the AlphaZero network.

∗^{*}Classical World Chess Champion (2000–2006); FIDE and Undisputed World Chess Champion (2006–2007).

References (100)

Couldn't load all references. Reload the page to try again.