November 25, 2026 · Sarah Dean
AI for mathematics has been on people's minds this week. So perhaps it is a good time to look back at an earlier and more narrow AI system: AlphaGo, which beat the professional Go player Lee Sedol over ten years ago. This week, I gave a lecture on AlphaGo in my reinforcement learning class at Cornell. AlphaGo was built from fairly standard pieces, most of which are familiar to students in my class. It is interesting to reflect on how these pieces fit together, and on what the legacy of AlphaGo has been.
We start in more innocent times: March 2016. DeepMind, a company founded to "solve intelligence" and acquired by Google in 2014, debuted their Go playing system in a high profile match. AlphaGo played a five game match against Lee Sedol, who was then one of the very top professional players. As dramatized in the documentary AlphaGo (from about 49:30), AlphaGo's "move 37" in the second game surprised the commentators, who almost unanimously said no human would play it. When the engineers looked into the algorithm, they estimated a 1 in 10,000 chance that a human would have played move 37. Lee Sedol said,
I thought AlphaGo was based on probability calculation... But when I saw this move, I changed my mind. Surely, AlphaGo is creative.
Lee Sedol took more than 12 minutes to respond, and went on to lose. AlphaGo won the match four games to one. The documentary captures a sense of melancholy at this display of superhuman ability. At the end of this clip, one of the DeepMind engineers makes a remark that I basically agree with
For us, AlphaGo is obviously just some computer program [...] really a very, very simple program.
Go is a two-player game with deterministic rules and a single reward at the end: win or lose. We know the rules of the game exactly, so we can plan over them. In principle, such a game can be solved exactly by searching the game tree, alternating between maximizing over our moves and minimizing over our opponent's. This is how simpler games fell to computers long ago. Tic-tac-toe and checkers have been solved exactly. Chess is too large to solve exactly and requires heuristics, but Deep Blue still beat the world champion Garry Kasparov in 1997.
Until 2017, Go retained a mythic air. Gameplay is sometimes understood through analogy to military strategy, professional level play carries high status, and many people saw it as uniquely human. But from a technical perspective, the only problem with Go is scale. A game lasts around 150 moves with around 250 choices at each, so search has to deal with a tree of roughly 10^360 nodes, far too many to enumerate. This is more than 10^200 times the size of the tree for chess. (For context, there are an estimated 10^80 atoms in the observable universe.)
The approach detailed in the AlphaGo paper was to combine the power of pattern recognition with limited tree search. The pattern recognition came from deep networks trained with supervised and reinforcement learning, and the search was adapted from an approach used by existing Go programs.
Pattern recognition
AlphaGo relied on two learned functions: a policy, which gives move probabilities based on the current configuration of pieces on the board (the "state"), and a value function, which scores the prospects of winning from a given state. Both were convolutional networks which took the 19 by 19 board as input, much like a small image. Convolutional networks were the tool of the moment, after their success at image classification.
The policy was first trained by imitation learning, meaning supervised classification of about 30 million human moves from strong players on an online Go server. This imitation policy is where the 1 in 10,000 estimate for move 37 comes from: it says how likely a strong human is to make each move. On its own, it won 11% of games against Pachi, an open source Go program which did not use deep learning and rarely beat the strongest amateur or professional human players.
The imitation policy was then improved through trial and error. Since Go is a game, training used "self-play": the policy played against earlier versions of itself, chosen at random. Then, the policy was updated to make it more or less likely to play the same way again, depending on whether it won or lost. This is achieved with a basic policy gradient method called REINFORCE. After over a million simulated games, the updated self-play policy won 85% of games against Pachi.
An ideal value function would score each board state by the chance of winning against the strongest possible opponent, but there is no direct way to get data for that. Instead, AlphaGo used a function representing the chance the self-play policy had of winning when it played against itself. The self-play policy played another 30 million games against itself. Then the value network was trained to predict each game's final outcome from a single sampled board state from earlier in the game, and was fit by least squares.
Thus the policy first learned the patterns in human play, and then learned patterns leading to wins in self-play. The value function learned to predict the success of this policy.
Planning
Pattern recognition alone does not lead to superhuman play. At each move, AlphaGo runs a search from the current board state, considering a limited number of moves ahead, and scoring the states that result from each path. The learned networks play two key roles: the value function scores the future board states and the imitation policy suggests moves to consider. An additional fast policy simulates games to the end from some of the states, giving a second estimate of the win probability.
This search is called Monte Carlo tree search, which had been used in Go since the 00s, and already powered the Pachi Go program. It has several clever components, like expanding only promising or under-explored moves and incorporating the outcomes of online simulation. The new idea in AlphaGo was to plug in the learned networks to leverage the power of pattern recognition.
So AlphaGo combined existing methods from supervised learning, reinforcement learning, and search, at a very large scale and with a lot of careful engineering. That is the sense in which it is a simple program.
The successors to AlphaGo removed Go-specific ingredients. AlphaGo Zero (2017) dropped the human data and learned purely from self-play. AlphaZero (2018) applied the same recipe to chess and shogi. MuZero (2020) extended the approach to Atari games, effectively using pattern recognition to learn to plan without needing to be given the rules.
DeepMind also pursued real world applications outside of games. The general MuZero approach gave about 4% better rate control for video compression at YouTube and about 4% better on-chip memory allocation. Specializing the AlphaGo recipe to particular problems led to improvements of 5-30% in varied domains: AlphaChip for chip floorplanning, AlphaTensor for matrix multiplication algorithms, AlphaDev for sorting and hashing routines, and AlphaProof for olympiad math. (Despite their names, it does not seem that AlphaFold, AlphaCode, or AlphaEvolve are conceptually inherited from AlphaGo.)
It may have faded from the collective memory, but this spring, Google Deepmind was also announcing AI solutions to open math problems. AlphaProof was one subroutine of an AI system which solved nine open Erdős problems. In the end, though, the authors noted that AlphaProof was not crucial, and a general purpose LLM-based agent could also solve the problems, albeit at a higher computational cost. Indeed, competitor LLM-first AI companies have dominated the headlines in this space. Last Friday, a mathematician employed by Anthropic shared a computationally verified proof of a very famous math problem called the Riemann hypothesis. He produced the result using a LLM-based AI system and doesn't claim to understand it. Seemingly in response, OpenAI released a handful of proofs for other famous open problems.
From my distant and perhaps uninformed vantage point, but knowing what I know about Go, it is hard for me to be surprised by the success of AI systems here. Mathematically proving a formal statement shares many properties with gameplay. Determining the next simplification or substitution is a lot like carefully selecting the next move. There are well defined rules, meaning that in principle proofs can be found by searching through a tree of possible deductions. The kicker, of course, is a matter of scale, and this time the search space is actually unbounded. Artificial intelligence researchers have long cared about automated theorem proving, historically using heuristic search algorithms.
Plugging in pattern recognition seems like a natural strategy. And modern language models encode patterns at an unrivaled scale. In the past few years, I have come to appreciate how amazingly powerful language is in its ability to represent (nearly) anything. While AlphaZero could play Go, chess, and shogi, it required separate move vocabularies and simulators for each game. Today's language models operate equally on natural language, say from math textbooks, as on programming languages, say the proof assistant Lean. Language models are first pre-trained on extremely large corpora of text and then post-trained to improve performance on downstream tasks, mirroring the two pattern recognition stages of imitation and self-play in AlphaGo.
Human Go players have not disappeared; tournaments and professional careers continue. Aspects of the roles of players, commentators, and viewers have reconfigured around widely available Go AIs, which in some sense have distributed access to "expert" judgments that were previously the exclusive purview of top players. I see a similar reconfiguration beginning to happen with mathematicians. Of course, one important difference between mathematics and a game like Go is that games have clearly defined objectives. We all agree that the goal is to win. But in math, there are an unbounded number of true statements that could be proven. Which ones are interesting? These judgments come from people, and they evolve as mathematical tools mature, applications call for new theoretical machinery, or famous people sway the fashions of the day. There is no rulebook for determining what to search for.