AlphaGo
AlphaGo is a computer program that plays Go, the ancient board game long considered the most complex strategic pursuit ever devised by human minds. On a March evening in 2016, inside the Four Seasons Hotel in Seoul, South Korea, a machine sat down across from Lee Sedol, one of the finest Go players alive, and won. Not just once. Four times out of five. The world paid attention. Perhaps a hundred million people worldwide watched the match unfold.
This was not supposed to happen yet. Most experts believed a program as powerful as AlphaGo was at least five years away. Some thought it would take a decade. Before the first stone was placed, most observers expected Lee to win. What changed everything was a program built in London by a company called DeepMind, and the question its victory raised has not gone away: when a machine beats humanity's best thinker at its most demanding game, what does that mean for the rest of us?
Go had held out against computers for almost two decades after IBM's Deep Blue beat world chess champion Garry Kasparov in 1997. The reason was not stubbornness but mathematics. Go's enormous branching factor makes traditional AI methods, including alpha-beta pruning, tree traversal, and heuristic search, practically useless. Its strategic and aesthetic character makes it nearly impossible to write a simple evaluation function that tells a computer whether a position is good or bad.
By 2012, the best Go programs could only match the level of an amateur 5-dan player, far below any professional. That year, the software Zen, running on a four-PC cluster, managed to beat professional Masaki Takemiya only at a five-stone handicap. In 2013, Crazy Stone beat Yoshio Ishida at a four-stone handicap. These were incremental steps, and a handicap of several stones is a very large advantage to give away. Beating a professional without any handicap at all seemed a distant dream.
According to DeepMind's David Silver, the AlphaGo research project formed around 2014 with a specific goal: test how well a neural network using deep learning could compete at Go. When AlphaGo running on a single computer was pitted against available rivals including Crazy Stone and Zen in 500 test games, it won all but one.
AlphaGo combines machine learning with a method called Monte Carlo tree search, guided by two distinct neural networks. The first is a value network, which estimates the probability of winning from any given position. The second is a policy network, which identifies the most likely strong moves. Both networks are convolutional neural networks with 12 layers, trained through reinforcement learning.
The system did not start from scratch. AlphaGo was first trained on a database of around 30 million moves drawn from recorded human games, learning to mimic expert play. Once it reached a sufficient level, it was set to play large numbers of games against copies of itself, using what it learned from each contest to improve. A small amount of game-specific preprocessing is applied before data enters the neural networks, for example to detect whether a move matches a nakade pattern, a specific tactical configuration in Go.
The program is also designed, deliberately, to resign. If its calculated probability of winning falls below 20 percent, it concedes rather than play on. DeepMind described this choice as avoiding "disrespectfully" wasting the opponent's time. In the distributed version that competed against Fan Hui in October 2015, the hardware involved 1,202 CPUs and 176 GPUs.
In October 2015, AlphaGo defeated Fan Hui, the European Go champion, by five games to zero. Fan Hui held a 2-dan professional ranking, which sits at the lower end of professional grades that run to 9-dan. It was the first time any computer program had beaten a professional human Go player on a full-sized 19x19 board without a handicap.
DeepMind chose not to announce the result immediately. The news was held back until the 27th of January 2016, timed to coincide with the publication of a paper in the journal Nature laying out the algorithms behind the program. By then, DeepMind had already arranged a far more ambitious contest.
Fan Hui, after losing to AlphaGo, did not retreat from the experience. He accepted an offer to serve as an advisor for the DeepMind team. Michael Rechtshaffen of the Los Angeles Times later described him in a review of the documentary film as "spirited" and "personable", a contrast to the introspective Lee Sedol. Fan Hui himself described the process by which DeepMind had trained AlphaGo: showing it amateur games to build foundational understanding, then setting it to play versions of itself thousands of times, a form of reinforcement learning that let the program learn the game for itself.
Lee Sedol held a 9-dan professional ranking, the highest available, and at the time of the match he had the second-highest number of Go international championship victories in the world, behind only Lee Chang-ho, who had kept the world championship title for 16 years. Lee was not specifically chosen because AlphaGo had been trained to face him. The program was not designed to target any individual human opponent.
The five games were played on the 9th, 10th, 12th, 13th, and the 15th of March 2016 at the Four Seasons Hotel in Seoul. AlphaGo ran on Google's cloud servers located in the United States, using 1,920 CPUs and 280 GPUs as reported by The Economist. Each side had two hours of thinking time plus three 60-second periods of byoyomi, the overtime system used in Go. The match used Chinese rules with a 7.5-point komi, the points awarded to white as compensation for moving second.
Lee won the first three games by resignation. Then came the fourth game, and move 78. Lee played a move that professionals immediately called the "divine move". AlphaGo's policy network had assigned that specific move such a low probability that it had not prepared a correct response. The program's computing resources were diverted and it lost the thread. Lee won by resignation at move 180, becoming the only human player to beat AlphaGo across all 74 of its official games. In June 2016, DeepMind's Aja Huang disclosed at a presentation in the Netherlands that the team had patched the logical weakness exposed by move 78. AlphaGo won the fifth and final game by resignation, taking the series four games to one.
The prize was one million US dollars. Because AlphaGo won the series, the prize was donated to charities including UNICEF. Lee Sedol received 150,000 dollars for participating in all five games and an additional 20,000 dollars for his win in game four. After game two, Lee said he felt "speechless": "From the very beginning of the match, I could never manage an upper hand for one single move. It was AlphaGo's total victory." He called his game four win "a priceless win that I would not exchange for anything."
In recognition of the victory, the Korea Baduk Association awarded AlphaGo an honorary 9-dan title for exhibiting creative skills and pushing forward the game's progress.
On the 29th of December 2016, an account appeared on the Tygem Go server under the name "Magister". It played at the pace of 10 games per day with little or no resting between sessions. Many players quickly suspected it was not human. On the 30th of December it renamed itself "Master", then moved to the FoxGo server on the 1st of January 2017. On the 4th of January, DeepMind confirmed that both accounts were an updated version of AlphaGo, called AlphaGo Master.
By the 5th of January 2017, Master's online record stood at 60 wins and 0 losses. Its opponents included world champions Ke Jie, Park Jeong-hwan, Yuta Iyama, Tuo Jiaxi, Mi Yuting, Shi Yue, Chen Yaoye, Li Qincheng, Gu Li, Chang Hao, Tang Weixing, Fan Tingyu, Zhou Ruiyang, Jiang Weijie, Chou Chun-hsun, Kim Ji-seok, Kang Dong-yun, Park Yeong-hun, and Won Seong-jin, as well as national champions and world championship runners-up including Lian Xiao, Tan Xiao, Meng Tailing, Dang Yifei, Huang Yunsong, Yang Dingxin, Gu Zihao, Shin Jinseo, Cho Han-seung, and An Sungjoon. Ke Jie had been quietly briefed in advance that Master was a version of AlphaGo. After losing, Gu Li offered a bounty of 100,000 yuan, equivalent to about 14,400 US dollars, to the first human player who could defeat it.
Almost all 60 games were fast-paced, with byo-yomi of 20 or 30 seconds. When Master played against veteran Nie Weiping, it extended the byo-yomi to one minute out of consideration for his age. After winning its 59th game, the program revealed itself in the chat window to be controlled by Aja Huang of the DeepMind team, then changed its listed nationality to the United Kingdom. Ke Jie, by then widely recognized as the world's top player, said: "After humanity spent thousands of years improving our tactics, computers tell us that humans are completely wrong. I would go as far as to say not a single human has touched the edge of the truth of Go."
In May 2017, the Future of Go Summit was held in Wuzhen. AlphaGo Master played three games against Ke Jie, who was the number one ranked player in the world at the time, and won all three. Google DeepMind offered prize money of 1.5 million dollars for the winner of that three-game match; the losing side received 300,000 dollars. Master also played two games with groups of top Chinese professionals, one pair Go game, and one game against a collaborating team of five human players.
After winning the summit, the Chinese Weiqi Association awarded AlphaGo a professional 9-dan ranking. DeepMind then retired the program and disbanded the team that had worked on it, redirecting its resources toward other areas of AI research. As a farewell to the Go community, DeepMind published 50 full-length AlphaGo versus AlphaGo matches.
Ke Jie, who had been 18 years old and considered the world's best Go player during the Lee Sedol match, had initially claimed he would beat AlphaGo, declining an earlier contest out of concern it would "copy my style". His confidence shifted as the games progressed. Toby Manning, the match referee for the Fan Hui contest, and Hajin Lee, secretary general of the International Go Federation, both reasoned after watching these events that computers would in future help Go players identify what they had done wrong and improve their skills.
AlphaGo Zero, introduced in a Nature article on the 19th of October 2017, was trained without any human game data at all. Playing only against itself, it surpassed the strength of the version that defeated Lee Sedol in three days, winning 100 games to zero. It reached the level of AlphaGo Master in 21 days and exceeded all previous versions within 40 days. AlphaGo Zero achieved a 100-0 record against the early competitive version of AlphaGo.
On the 5th of December 2017, DeepMind released a paper on arXiv introducing AlphaZero, a generalization of AlphaGo Zero's approach into a single algorithm. Within 24 hours, AlphaZero reached superhuman level in chess, shogi, and Go, defeating the world-champion programs Stockfish, Elmo, and the 3-day version of AlphaGo Zero in each case. AlphaZero was in turn succeeded by MuZero, which learns without being taught the rules of a game at all.
On the 11th of December 2017, DeepMind released an AlphaGo teaching tool on its website. The tool draws on 6,000 Go openings sourced from 230,000 human games, with each opening analyzed through 10,000,000 simulations by AlphaGo Master.
In 2017, the DeepMind AlphaGo team received the inaugural IJCAI Marvin Minsky Medal for Outstanding Achievements in AI. A 2018 paper in Nature cited AlphaGo's approach as the basis for a new method of computing potential pharmaceutical drug molecules. Murray Shanahan, a professor of cognitive robotics at Imperial College London and a senior research scientist at DeepMind, drew the connection directly: "In just the same way there are all kinds of realms of possibility within Go that have not been discovered, we could never have imagined the potential for discovering drugs and other materials."
Lee Sedol announced his retirement from professional play on the 19th of November 2019. He explained that he could no longer see himself becoming the top overall player in Go due to the increasing dominance of AI. He referred to programs like AlphaGo as "an entity that cannot be defeated."
Common questions
What is AlphaGo and who developed it?
AlphaGo is a computer program that plays the board game Go, developed by DeepMind Technologies, a London-based company that is an acquired subsidiary of Google. It uses a combination of Monte Carlo tree search and deep neural networks trained through reinforcement learning.
When did AlphaGo beat Lee Sedol and what was the final score?
AlphaGo beat Lee Sedol in a five-game match played on the 9th, 10th, 12th, 13th, and the 15th of March 2016 at the Four Seasons Hotel in Seoul, South Korea. The final score was 4 games to 1 in favour of AlphaGo; Lee Sedol won only the fourth game, making him the only human to beat AlphaGo in any of its 74 official games.
What was the "divine move" in the AlphaGo vs Lee Sedol match?
Move 78, played by Lee Sedol in game four, was dubbed the "divine move" by many professionals. AlphaGo's policy network had assigned that specific move such a low probability that the program could not make the correct response after it was played, causing it to lose the game. DeepMind's Aja Huang revealed in June 2016 that the team subsequently patched this logical weakness.
How did AlphaGo Zero differ from the original AlphaGo?
AlphaGo Zero was trained without any human game data. By playing only against itself, it surpassed the strength of the version that defeated Lee Sedol in three days, reached the level of AlphaGo Master in 21 days, and exceeded all previous versions within 40 days. It achieved a 100-0 record against the early competitive version of AlphaGo.
Why did Lee Sedol retire from professional Go?
Lee Sedol announced his retirement from professional play on the 19th of November 2019, stating that he could never become the top overall player in Go due to the increasing dominance of AI. He described programs like AlphaGo as "an entity that cannot be defeated."
What impact did AlphaGo have beyond the game of Go?
AlphaGo's victory was described in China as a "Sputnik moment" that convinced the Chinese government to dramatically increase funding for artificial intelligence. A 2018 paper in Nature cited AlphaGo's approach as the basis for a new method of computing potential pharmaceutical drug molecules. The DeepMind AlphaGo team also received the inaugural IJCAI Marvin Minsky Medal for Outstanding Achievements in AI in 2017.
All sources
104 references cited across the entry
- 1newsArtificial intelligence: Google's AlphaGo beats Go master Lee Se-dol12 March 2016
- 2webDeepMind AlphaGO
- 3webAlphaGo DeepMind
- 5webMatch 1 – Google DeepMind Challenge Match: Lee Sedol vs AlphaGo8 March 2016
- 6newsGoogle's AlphaGo gets 'divine' Go rankingstraitstimes.com — 15 March 2016
- 7webAlphaGo Movie
- 8journalFrom AI to protein folding: Our Breakthrough runners-up22 December 2016
- 9web中国围棋协会授予AlphaGo职业九段 并颁发证书Sohu.com — 27 May 2017
- 10magazineAfter Win in China, AlphaGo's Designers Explore New AICade Metz — 2017-05-27
- 11webAlphaZero Crushes Stockfish In New 1,000-Game Match17 April 2019
- 12journalA general reinforcement learning algorithm that masters chess, shogi, and Go through self-playDavid Silver et al. — 7 December 2018
- 13citationTemporal Difference Learning of Position Evaluation in the Game of GoNicol N. Schraudolph et al.
- 14webComputer scores big win against humans in ancient game of GoCNN — 28 January 2016
- 16web「アマ六段の力。天才かも」囲碁棋士、コンピューターに敗れる 初の公式戦MSN Sankei News
- 17newsAlphaGo's unusual moves prove its AI prowess, experts sayJohn Riberio — 14 March 2016
- 18newsGoogle AlphaGo AI clean sweeps European Go champion28 January 2016
- 19magazineIn Major AI Breakthrough, Google System Secretly Beats Top Player at the Ancient Game of GoCade Metz — 27 January 2016
- 20newsGoogle achieves AI 'breakthrough' by beating Go champion27 January 2016
- 21webSpecial Computer Go insert covering the AlphaGo v Fan Hui matchBritish Go Journal — 2017
- 22newsPremière défaite d'un professionnel du go contre une intelligence artificielle27 January 2016
- 23journalMastering the game of Go with deep neural networks and tree searchDavid Silver et al. — 28 January 2016
- 24newsGoogle's AI AlphaGo to take on world No 1 Lee Sedol in live broadcast5 February 2016
- 26webYouTube will livestream Google's AI playing Go superstar Lee Sedol in MarchJordan Novet — 4 February 2016
- 27newsLee Se-dol shows AlphaGo beatableYoon Sung-won — 14 March 2016
- 28news李世乭:即使Alpha Go得到升级也一样能赢23 February 2016
- 29tweetWe are using roughly same amount of compute power as in Fan Hui match: distributing search over further machines has diminishing returnsDemis Hassabis — 11 March 2016
- 30newsShowdown
- 31newsGoogle's AI machine v world champion of 'Go': everything you need to knowSteven Borowiec — 9 March 2016
- 32webRating List of 2016-01-01Rémi Coulom
- 33newsKorean Go master proves human intuition still powerful in Go14 March 2016
- 36webGoogle DeepMind AI wins final Go match for 4–1 series win15 March 2016
- 37newsHuman champion certain he'll beat AI at ancient Chinese game22 February 2016
- 38web이세돌 vs 알파고, '구글 딥마인드 챌린지 매치' 기자회견 열려Korea Baduk Association — 22 February 2016
- 41webDemis Hassabis on Twitter: "Excited to share an update on #AlphaGo!"Demis Hassabis — Demis Hassabis's Twitter account — 4 January 2017
- 42journalGoogle reveals secret test of AI bot to beat top Go playersElizabeth Gibney — 4 January 2017
- 43newsHumans Mourn Loss After Google Is Unmasked as China's Go Master5 January 2017
- 45web横扫中日韩棋手斩获59胜的Master发话:我是阿尔法狗澎湃新闻 — 4 January 2017
- 47webWorld No.1 Go player Ke Jie takes on upgraded AlphaGo in May2017-04-10
- 48webKe Jie vs. AlphaGo: 8 things you must know2017-05-27
- 49magazineRevamped AlphaGo Wins First Game Against Chinese Go GrandmasterCade Metz — 2017-05-23
- 50magazineGoogle's AlphaGo Continues Dominance With Second Win in ChinaCade Metz — 2017-05-25
- 51webFull length games for Go players to enjoyDeepmind
- 52journalMastering the game of Go without human knowledgeDavid Silver et al. — 19 October 2017
- 53webAlphaGo Zero: Learning from scratchDeepMind official website — 18 October 2017
- 54arxivMastering Chess and Shogi by Self-Play with a General Reinforcement Learning AlgorithmDavid Silver et al. — 5 December 2017
- 55webAlphaGo teaching toolDeepMind
- 56webAlphaGo教学工具上线 樊麾:使用Master版本Sina.com.cn — 11 December 2017
- 57newsGoogle Isn't Playing Games With New ChipRobert McMillan — 18 May 2016
- 58webGoogle supercharges machine learning tasks with TPU custom chipNorm Jouppi — May 18, 2016
- 59webAlphaGo官方解读让三子 对人类高手没这种优势Sina — 25 May 2017
- 60web各版alphago实力对比 master能让李世石版3子Sina — 24 May 2017
- 61webNew version of AlphaGo self-trained and much more efficientAmerican Go Association — 24 May 2017
- 62web【柯洁战败解密】AlphaGo Master最新架构和算法,谷歌云与TPU拆解Sohu — 24 May 2017
- 63newsGo Grandmaster Lee Sedol Grabs Consolation Win Against Google's AICade Metz — 13 March 2016
- 64journalGoogle AI algorithm masters ancient game of GoElizabeth Gibney — 27 January 2016
- 65journalThe Go Files: AI computer clinches victory against Go championTanguy Chouard — 12 March 2016
- 66web韩国研究新版AlphaGo:穿越而来展示未来围棋Sina.com — 11 January 2017
- 67newsAlphaGo beats human Go champ in milestone for artificial intelligenceSteven Borowiec et al. — 12 March 2016
- 68newsA computer has beaten a professional at the world's most complex board gameSteve Connor — 27 January 2016
- 69newsGoogle's AI beats human champion at Go27 January 2016
- 70newsGOOGLE'S ALPHAGO BEATS WORLD CHAMPION IN THIRD MATCH TO WIN ENTIRE SERIESDave Gershgorn — 12 March 2016
- 71newsGoogle DeepMind computer AlphaGo sweeps human champ in Go matches12 March 2016
- 72newsA Google computer victorious over the world's 'Go' championSofia Yan — 12 March 2016
- 74newsRise of the Machines: Keep an eye on AI, experts warnMariëtte Le Roux — 12 March 2016
- 75newsGame over? New AI challenge to human smarts (Update)Mariëtte Le Roux et al. — 8 March 2016
- 76newsAn AI expert says Google's Go-playing program is missing 1 key feature of human intelligenceTanya Lewis — 11 March 2016
- 77newsBeijing Wants A.I. to Be Made in China by 2030Paul Mozur — 20 July 2017
- 78newsMarvin Minsky Medal for Outstanding Achievements in AI19 October 2017
- 79newsGoogle's Computer Program Beats Lee Se-dol in Go TournamentCHOE SANG-HUN — 16 March 2016
- 80newsGoogle's AlphaGo AI program strong but not perfect, says defeated South Korean Go playerJohn Ribeiro — 12 March 2016
- 81newsHow victory for Google's Go AI is stoking fear in South KoreaMark Zastrow — 15 March 2016
- 82newsGoogle artificial intelligence program beats S. Korean Go pro with 4–1 scoreJEE HEUN KAHNG et al. — 15 March 2016
- 83newsGoogle AlphaGo 'can't beat me' says China Go grandmasterNeil Connor — 11 March 2016
- 85web...if today's performance was its true capability, then it doesn't deserve to play against me.M.hankooki.com — 2016-03-14
- 86journalGo players react to computer defeatElizabeth Gibney — 2016
- 87newsIn Seoul, Go Games Spark Interest (and Concern) About Artificial IntelligenceCHOE SANG-HUN — 15 March 2016
- 88webALPHAGO
- 89webReview: Ancient Chinese board game treated with NFL-like drama and intrigue in documentary 'AlphaGo'Michael Rechtshaffen — October 26, 2017
- 90web'AlphaGo': Film ReviewJohn Defore — September 29, 2017
- 91webFive Questions for Filmmakers: AlphaGoGreg Kohs — October 23, 2018
- 92webAlphaGo" Film Review: The Art of Capturing the EssenceHajin Lee — Apr 28, 2017
- 93webFan Hui: What I learned from losing to DeepMind's AlphaGoRhiannon Williams — October 8, 2020
- 94webHow will we face being defeated by machines?James Vincent — October 12, 2017
- 95arxivBetter Computer Go Player with Neural Network and Long-term PredictionYuandong Tian et al. — 2015
- 96newsNo Go: Facebook fails to spoil Google's big AI dayHAL 90210 — 28 January 2016
- 98newsGo master Cho wins best-of-three series against Japan-made AI24 November 2016
- 100webGo and make some drugs The Engineer3 April 2018
- 101journalPlanning chemical syntheses with deep neural networks and symbolic AIMartwin H.S. Segler et al. — March 29, 2018
- 102journalBeyond games: a systematic review of neural Monte Carlo tree search applicationsMarco Kemmerling et al. — 1 January 2024
- 103webGo Ratings
- 104webFormer Go champion beaten by DeepMind retires after declaring AI invincibleJames Vincent — 2019-11-27