# AlphaGo Zero

**AlphaGo Zero**是谷歌DeepMind开发的一款计算机围棋程序，于2017年10月公布。它完全通过自我对弈的强化学习学会下围棋，从随机落子开始，不接受任何监督，也不使用人类棋谱数据，仅以棋盘上的黑白棋子作为输入特征。<sup>[1](https://www.nature.com/articles/nature24270)</sup> 经过三天的训练，20个残差块的版本以100比0击败了AlphaGo Lee——即2016年战胜18次世界冠军[李世石](https://www.edgepedia.org/zh/lee-sedol)（Lee Sedol）的那个版本；在另一次为期40天、同样从随机行为重新开始的训练中，AlphaGo Zero超越了AlphaGo Master——即击败过世界排名第一的柯洁（Ke Jie）的那个版本。<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[2](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)</sup> 这一成果是强化学习领域的里程碑：一个除规则外别无所获的系统达到了超人水平的棋力，而作者发现，纯强化学习相比基于人类数据的方法只需多训练几个小时，却能取得好得多的渐近性能。<sup>[1](https://www.nature.com/articles/nature24270)</sup>

| 关键事实 | 详情 |
|---|---|
| 学习方法 | 从随机落子开始的自我对弈强化学习，无人类数据，无监督；输入仅为棋盘上的棋子<sup>[1](https://www.nature.com/articles/nature24270)</sup> |
| 架构 | 单一残差策略-价值网络，20或40个残差块（39或79个参数化层）<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> |
| 搜索 | 蒙特卡洛树搜索，每步1,600次模拟（约0.4秒思考时间），不使用蒙特卡洛随机推演<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[2](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)</sup> |
| 3天结果 | 490万局自我对弈；使用4块TPU对阵李世石版本的48块，以100比0获胜<sup>[1](https://www.nature.com/articles/nature24270)</sup> |
| 40天结果 | 2,900万局自我对弈；以89比11击败AlphaGo Master；Elo等级分5,185对Master的4,858<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> |
| Elo进展 | AlphaGo Fan 3,144；AlphaGo Lee 3,739；AlphaGo Master 4,858；AlphaGo Zero 5,185；仅原始网络3,055<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> |
| 泛化 | 同一方法成为AlphaZero，仅凭规则从随机对弈开始在国际象棋、将棋和围棋中均达到超人水平<sup>[4](https://www.science.org/doi/10.1126/science.aar6404)</sup> |

## 背景：AlphaGo谱系

早期的AlphaGo版本使用人类专家棋谱进行训练。AlphaGo Fan运行在176块GPU上；AlphaGo Lee是首个击败人类世界冠军围棋选手的计算机程序，<sup>[5](https://www.sciencenews.org/article/newest-alphago-mastered-game-no-human-input)</sup> 在分布式系统上使用48块TPU训练了数月。<sup>[1](https://www.nature.com/articles/nature24270)</sup> 下一代版本AlphaGo Master击败了柯洁。<sup>[2](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)</sup>

AlphaGo Zero完全移除了人类成分。DeepMind将该系统描述为自己的老师：从一个对围棋一无所知的神经网络开始，它通过将网络与强大的搜索算法结合来与自己对弈，调整网络以预测搜索改进后的着法和对局结果，然后将改进后的网络与搜索重新结合，产生更强的棋手。<sup>[2](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)</sup>

## 工作原理

**单一网络同时负责落子和评估。** 神经网络以原始棋盘局面及其历史为输入，同时输出落子概率和一个价值，\( (p, v) = f_{\theta}(s) \)，将策略和价值两种角色合并在一个带有批归一化和整流器非线性的残差架构中。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> 残差塔由单个卷积块后接19或39个残差块组成，总共39或79个参数化层；40块版本还使用了置换表。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup>

**搜索。** 搜索树中的每条边\( (s, a) \)存储一个先验概率\( P(s,a) \)、一个访问计数\( N(s,a) \)和一个动作价值\( Q(s,a) \)。落子选择最大化上置信界\( Q(s,a) + U(s,a) \)，其中\( U \)偏好先验概率\( P(s,a) \)较高、访问次数\( N(s,a) \)较少的着法，因此搜索在利用强着法和探索访问不足的着法之间取得平衡。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> 与早期的围棋程序不同，AlphaGo Zero不使用[蒙特卡洛](https://www.edgepedia.org/zh/monte-carlo)随机推演来评估局面；它依靠其高质量神经网络直接评估。<sup>[2](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)</sup> 不排除任何合法着法，甚至包括填自己眼位的着法——排除这类着法是此前所有程序都采用的标准启发式规则。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup>

**训练循环。** 搜索充当策略改进算子，自我对弈的胜者充当策略评估算子，因此整个过程是一种策略迭代：搜索概率\( \pi \)强于原始网络概率\( p \)，网络被训练来预测它们。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup>

## 训练与表现

为期3天、20块的训练生成了490万局自我对弈，每步1,600次模拟，从70万个小批量（每批2,048个局面）中更新参数。该版本以100比0击败AlphaGo Lee，且仅训练36小时就已超越AlphaGo Lee，而AlphaGo Lee本身训练了数月。<sup>[1](https://www.nature.com/articles/nature24270)</sup>

为期40天、40块的训练再次从完全随机行为开始，生成了2,900万局自我对弈，从310万个小批量（每批2,048个局面）中更新参数。在2小时时限的100局对决中，该版本以89比11击败AlphaGo Master。<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup>

算力对比是这一成果重要意义的大部分所在。AlphaGo Zero运行在单台机器4块TPU上，而AlphaGo Lee分布在多台机器48块TPU上，AlphaGo Fan使用了176块GPU。<sup>[1](https://www.nature.com/articles/nature24270)</sup> 田渊栋（Yuandong Tian）及其同事的独立复现工作以同样的方式总结了两轮训练：3天版本为490万局、20块ResNet击败AlphaGo Lee；40天版本为2,900万局、40块ResNet以89比11击败AlphaGo Master。<sup>[6](https://yuandong-tian.com/reproducibility.pdf)</sup>

## 数据一览

按照《自然》论文所用的量表，Elo等级分将谱系排列如下：AlphaGo Fan 3,144，AlphaGo Lee 3,739，AlphaGo Master 4,858，AlphaGo Zero 5,185。未经任何前瞻的原始神经网络达到3,055，表明大部分棋力来自搜索与网络的结合，而非网络本身。<sup>[1](https://www.nature.com/articles/nature24270)</sup><sup> • </sup><sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup>

## 自我对弈揭示了围棋的什么

AlphaGo Zero在训练中重新发现了许多人类围棋概念，包括布局（开局模式）、手筋（巧妙的战术着法）、死活、劫、官子（收官阶段）、先手，以及棋形、势力和实地的理念。它最终偏好人类理论中此前未知的新定式变体。与人类学习的一个不对称之处尤为突出：征子（shicho）——可能横跨整个棋盘的征吃序列，是人类最早学会的围棋知识之一——AlphaGo Zero却在训练很久之后才理解。<sup>[1](https://www.nature.com/articles/nature24270)</sup>

## 从AlphaGo Zero到AlphaZero和MuZero

**AlphaZero**将AlphaGo Zero的方法推广为单一算法，在国际象棋、将棋和围棋中均达到超人表现，从随机对弈开始，除游戏规则外无任何领域知识，不使用手工评估函数或领域特定适配。<sup>[4](https://www.science.org/doi/10.1126/science.aar6404)</sup> 与AlphaGo不同，[AlphaZero](https://www.edgepedia.org/zh/alphazero)没有获得人类棋谱记录；它通过与自己博弈数百万次来学习每种游戏。<sup>[4](https://www.science.org/doi/10.1126/science.aar6404)</sup> 训练使用5,000块第一代TPU生成自我对弈对局，64块第二代TPU训练网络，每种游戏在单独实例中应用相同的算法设置、架构和超参数。<sup>[7](https://arxiv.org/html/1712.01815v1)</sup> 在国际象棋中，AlphaZero训练4小时后超越[Stockfish](https://www.edgepedia.org/zh/stockfish)，并在与它的100局比赛中一局未负；在将棋中，约2小时后超越Elmo，输了八局；在围棋中，根据技术报告，8小时后超越AlphaGo Lee，而DeepMind的博客称首次超越李世石版本用了30小时。<sup>[7](https://arxiv.org/html/1712.01815v1)</sup><sup> • </sup><sup>[8](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

**MuZero**通过在没有被告知任何游戏规则的情况下学习，进一步延伸了这一脉络。在围棋中，MuZero略微超过AlphaZero的性能，同时每个搜索树节点使用更少计算，每次评估使用16个残差块，而AlphaZero为20个。<sup>[9](https://arxiv.org/html/1911.08265)</sup> 对AlphaZero国际象棋对局的分析发现，该系统在未接触人类棋谱或指导的情况下训练，获得了人类可识别的国际象棋知识。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC9704706/)</sup>

## 影响与遗产

AlphaGo Zero被视为强化学习中白板（tabula rasa）式的里程碑成果：在除基本规则外不具备任何领域知识的情况下，无需人类示例或指导，就有可能训练到超人水平。<sup>[3](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)</sup> 《自然》的评论将该成果描述为一个在没有任何人类数据或指导的情况下掌握了围棋的程序，并汇集了一位计算机科学家和美国围棋协会两位成员对其意义的讨论。<sup>[11](https://www.nature.com/articles/550336a)</sup> 作者自己的结论是，纯强化学习相比基于人类数据的方法只需多训练几个小时，就能达到好得多的渐近性能。<sup>[1](https://www.nature.com/articles/nature24270)</sup> 田渊栋及其同事的独立复现工作总结了3天和40天两轮训练的参数与结果。<sup>[6](https://yuandong-tian.com/reproducibility.pdf)</sup>

## References

1. [Mastering the game of Go without human knowledge (Silver et al., Nature 2017)](https://www.nature.com/articles/nature24270)
2. [AlphaGo Zero: Starting from scratch, Google DeepMind](https://deepmind.google/blog/alphago-zero-starting-from-scratch/)
3. [Mastering the Game of Go without Human Knowledge, full text (UCL Discovery)](https://discovery.ucl.ac.uk/id/eprint/10045895/1/agz_unformatted_nature.pdf)
4. [A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play (Science, 2018)](https://www.science.org/doi/10.1126/science.aar6404)
5. [The newest AlphaGo mastered the game with no human input, Science News](https://www.sciencenews.org/article/newest-alphago-mastered-game-no-human-input)
6. [Reproducing AlphaZero with ELF: What we learned (Yuandong Tian et al.)](https://yuandong-tian.com/reproducibility.pdf)
7. [Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm (arXiv)](https://arxiv.org/html/1712.01815v1)
8. [AlphaZero: Shedding new light on chess, shogi, and Go, Google DeepMind](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)
9. [Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model (MuZero, arXiv)](https://arxiv.org/html/1911.08265)
10. [Acquisition of chess knowledge in AlphaZero (PNAS)](https://pmc.ncbi.nlm.nih.gov/articles/PMC9704706/)
11. [Learning to play Go from scratch (Nature news & views)](https://www.nature.com/articles/550336a)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 21, 2026 · Edited: Oct 15, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 体育、游戏与休闲 › 棋牌与益智游戏 › 桌面游戏 › Traditional board, tile, and dice games › Computer Go and Go software

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/alphago-zero

English original: https://www.edgepedia.org/alphago-zero
