# 阿尔法零

**阿尔法零**（AlphaZero）是谷歌 DeepMind（Google DeepMind）创建的一个强化学习博弈系统，它从随机对弈开始，仅使用每项游戏的规则，自学国际象棋、将棋（日本象棋）和围棋，并在这三项中都击败了当时最强的现有程序。它由以[戴维·西尔弗](https://www.edgepedia.org/zh/david-silver)（David Silver）、托马斯·休伯特（Thomas Hubert）和朱利安·施里特维泽（Julian Schrittwieser）为核心的 DeepMind 团队，与前 Giraffe 引擎作者马修·赖（Matthew Lai）共同于2017年12月5日推出，并通过将深度神经网络与蒙特卡洛树搜索（Monte-Carlo Tree Search，MCTS）相结合，把 [AlphaGo Zero](https://www.edgepedia.org/zh/alphago-zero) 算法从围棋推广到其他游戏。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup>

| 关键事实 | 详情 |
|---|---|
| 发布时间 | 2017年12月5日（arXiv 预印本）；完整同行评审评估发表于《科学》（*Science*）2018年12月第362卷第6419期<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup> |
| 学习方式 | 白板式自我对弈强化学习；除游戏规则外不依赖任何领域知识<sup>[2](https://arxiv.org/abs/1712.01815)</sup> |
| 掌握的游戏 | 用同一算法掌握国际象棋、将棋和围棋；每项均在24小时内达到超人水平<sup>[2](https://arxiv.org/abs/1712.01815)</sup> |
| 2017年国际象棋对局 | 在100局比赛中击败 Stockfish 8：28胜、72和、0负<sup>[3](https://www.chess.com/terms/alphazero-chess-engine)</sup> |
| 2018年国际象棋对局 | 与多个 Stockfish 版本进行1000局比赛：155胜、839和、6负<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup> |
| 搜索效率 | 国际象棋中每秒约搜索60000个局面，而 Stockfish 约为每秒6000万个<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup> |
| 训练算力 | 700000个训练步，每步4096个局面；5000块第一代张量处理单元（TPU）用于自我对弈，64块第二代 TPU 用于训练<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup> |
| 开源后继 | Leela Chess Zero 复现了该方案，并在可比较硬件上、每步一分钟的固定时限下，对 Stockfish 8 达到与阿尔法零相当的表现<sup>[5](https://doi.org/10.1007/s10994-026-06996-1)</sup> |

## 工作原理

传统国际象棋引擎，包括世界计算机国际象棋冠军 [Stockfish](https://www.edgepedia.org/zh/stockfish) 和国际商业机器公司（IBM）的深蓝（Deep Blue），依赖由人类强手手工编写的成千上万条规则和启发式。阿尔法零用深度神经网络和通用算法取代了这些手工规则，这些算法除基本规则外对游戏一无所知。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

该系统有两部分：一个神经网络和一个蒙特卡洛树搜索。网络以棋盘局面为输入，输出一个着法概率向量（策略）和一个局面评估（价值）。MCTS 用策略将搜索收窄到高概率着法，用价值评估树中的局面，节点选择由罗辛（Rosin）的 UCT 改进的一种变体完成，称为 PUCT。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup> 因为可能的国际象棋对局树增长得太快，无法穷尽搜索，网络的判断替代了人类专家的选择性注意，把计算集中在博弈树的关键部分。<sup>[6](https://reflib.1990institute.org/wp-content/uploads/2019/07/Tech-AlphaGo-article.pdf)</sup>

**网络架构。** 对于国际象棋，输入为每个格子编码119位：从当前行棋方视角看的6×2个棋子类型和颜色位，两位重复计数，最多七个先前局面的同样14位，以及另外7位覆盖王车易位权、总着数和轮到哪方行棋。主体是一个经修正线性单元（ReLU）激活并做批归一化的卷积层，后接19个残差块，每个卷积应用256个3×3、步长为1的滤波器。策略头输出64×73=4672个可能着法上的概率分布，非法着法被屏蔽并重新归一化概率；价值头以大小为1的 tanh 层结束。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup>

**训练。** 阿尔法零从随机初始化参数开始，训练700000步，每步为4096个局面的小批量，使用5000块第一代 TPU 生成自我对弈棋局，64块第二代 TPU 训练网络。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup> 未训练的网络与自己对弈数百万局；起初它完全随机行棋，随着时间推移，它根据胜、负、和调整网络参数，使有利着法变得更可能。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

## 学习速度与比赛结果

学习曲线很陡。在国际象棋中，阿尔法零仅训练4小时后首次超过 Stockfish；在将棋中，它训练2小时后首次超过 Elmo；在围棋中，它训练30小时后首次超过2016年击败[李世石](https://www.edgepedia.org/zh/lee-sedol)（Lee Sedol）的那个 AlphaGo 版本。完整训练在国际象棋中约需9小时，将棋约12小时，围棋约13天，每个训练步代表4096个棋盘局面。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

**2017年对局。** 2017年12月的预印本报告了与 Stockfish 8 的100局比赛，后者配置64线程和1 GiB置换表，阿尔法零以28胜、72和、0负获胜；阿尔法零运行在一台配有4块第一代 TPU 的单机上。公布了十局棋，比赛条件及可能的硬件优势招致批评。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup>

**2018年评估。** 同行评审的《科学》论文报告了与比赛时可获得的最新 Stockfish 版本进行的1000局比赛：Stockfish 8、2018年1月13日接近 Stockfish 9 的开发版本、带 [Cerebellum](https://www.edgepedia.org/zh/cerebellum) 开局库的 Brainfish，以及 Stockfish 9。阿尔法零胜155局、负6局，其余839局和棋。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup><sup> • </sup><sup>[7](https://www.sciencemagazinedigital.org/sciencemagazine/07_december_2018/MobilePagedArticle.action?articleId=1447399)</sup> Stockfish 运行在44个线程、跨44个核心（两颗2.2 GHz英特尔（Intel）Xeon Broadwell CPU）上，配有32 GiB置换表和六子 Syzygy 残局库，时限为每局3小时加每步15秒；阿尔法零在每一步用其剩余时间的1/20思考。除 Brainfish 外双方均未使用开局库，阿尔法零还在与最新 Stockfish 开发版本以及一个带强开局库的 Stockfish 变体的额外比赛中获胜。<sup>[1](https://www.chessprogramming.org/AlphaZero)</sup><sup> • </sup><sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup> 在将棋中，阿尔法零击败了2017年 CSA（Computer Shogi Association）世界冠军版本的 Elmo，赢得91.2%的对局；在围棋中，它击败 AlphaGo Zero，赢得61%的对局。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

根据阿尔法零论文，在所测试的最长时限下，阿尔法零比 Stockfish 8 约强100 Elo。<sup>[8](https://chess.stackexchange.com/questions/47194/would-google-deepminds-alphazero-still-be-able-to-beat-the-current-version-of-s)</sup> 后来的重新评估认为，“世界最强”的说法建立在细节公布有限的100局比赛上，并暗示阿尔法零可能受益于 Stockfish 8 的异常发挥不佳，例如不够完美的着法或开局后的新招。<sup>[9](https://medcraveonline.com/OAJMTP/OAJMTP-01-00005.pdf)</sup>

## 棋风

因为阿尔法零重新学习每项游戏，不受人类棋弈规范的约束，它发展出了独特、非正统且富有动态的风格。特级大师马修·萨德勒（Matthew Sadler）和女子国际大师娜塔莎·里根（Natasha Regan）为《游戏规则改变者》（*Game Changer*，New in Chess，2019年1月）一书分析了它的数千盘棋，他们观察到，它最大化己方棋子的活动性和机动性，同时最小化对手的这两者，并且它比传统棋弈更不看重子力，愿意早早弃子以换取长期收益。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup> 在自我对弈中，它独立发现了人类常见的主题，如开局、王的安全和兵形，同时也加入了自己的新颖想法。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup> 在将棋中，它走出诸如把王推进到棋盘中央这样违背将棋理论的着法，却仍保持控制；将棋职业棋手羽生善治（Yoshiharu Habu）是唯一包揽将棋七大主要头衔的棋手，他称这种风格展现了这项游戏的新可能。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

## 遗产与影响

阿尔法零的源代码仍为专有，但其方案被公开复现。众包项目 Leela Chess Zero 使用同样的方法，即以通用搜索算法配合大型神经网络进行评估；当在可与阿尔法零相比的硬件上运行、并在每步一分钟的固定时限下对阵 Stockfish 8 时，它复现了阿尔法零的表现。<sup>[5](https://doi.org/10.1007/s10994-026-06996-1)</sup> 方法论上的转变是持久的：阿尔法零用围绕深度神经网络和 MCTS 构建的端到端学习系统，取代了手工评估和确定性搜索，而 Stockfish 12 后来加入了 NNUE 神经网络评估，这被描述为阿尔法零对引擎国际象棋的持久影响。<sup>[10](https://www.theseus.fi/bitstream/handle/10024/903102/Mikkonen_Ville.pdf?isAllowed=y&sequence=2)</sup><sup> • </sup><sup>[11](https://ramachess.com/chess-engines/alphazero/)</sup>

DeepMind 还将阿尔法零用作竞赛之外的研究工具。在2020年的一项研究中，它探索了替代的国际象棋规则集，发现棋子价值在不同变体之间有所差异，并且有些变体比标准国际象棋更容易决出胜负。<sup>[12](https://arxiv.org/abs/2009.04374)</sup> DeepMind 团队把阿尔法零能用同一算法掌握三种不同游戏、并可能掌握任何完全信息博弈的能力，展示为迈向能在不同环境中发现新知识的通用学习系统的一步。<sup>[4](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)</sup>

## References

1. [AlphaZero, Chess Programming Wiki](https://www.chessprogramming.org/AlphaZero)
2. [David Silver et al. (2017). Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm. arXiv:1712.01815.](https://arxiv.org/abs/1712.01815)
3. [AlphaZero - Chess Engines, Chess.com](https://www.chess.com/terms/alphazero-chess-engine)
4. [AlphaZero: Shedding new light on chess, shogi, and Go, Google DeepMind blog, December 6, 2018](https://deepmind.google/blog/alphazero-shedding-new-light-on-chess-shogi-and-go/)
5. [Impartial Games: A Challenge for Reinforcement Learning, Machine Learning (Springer)](https://doi.org/10.1007/s10994-026-06996-1)
6. [Tech-AlphaGo article, 1990 Institute reference library](https://reflib.1990institute.org/wp-content/uploads/2019/07/Tech-AlphaGo-article.pdf)
7. [A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play, Science, December 7, 2018](https://www.sciencemagazinedigital.org/sciencemagazine/07_december_2018/MobilePagedArticle.action?articleId=1447399)
8. [Would AlphaZero still beat current Stockfish? Chess Stack Exchange](https://chess.stackexchange.com/questions/47194/would-google-deepminds-alphazero-still-be-able-to-beat-the-current-version-of-s)
9. [Reevaluation of artificial intelligence engine Alpha Zero, MedCrave OAJMTP](https://medcraveonline.com/OAJMTP/OAJMTP-01-00005.pdf)
10. [The Evolution of Chess Engines in the Era of Artificial Intelligence, Theseus](https://www.theseus.fi/bitstream/handle/10024/903102/Mikkonen_Ville.pdf?isAllowed=y&sequence=2)
11. [AlphaZero Chess Engine: Rating, History & Games, Rama Chess](https://ramachess.com/chess-engines/alphazero/)
12. [Nenad Tomašev, Ulrich Paquet, Demis Hassabis, Vladimir Kramnik (2020). Assessing Game Balance with AlphaZero: Exploring Alternative Rule Sets in Chess. arXiv:2009.04374.](https://arxiv.org/abs/2009.04374)

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

Topic: 体育、游戏与休闲 › 棋牌与益智游戏 › 国际象棋 › Chess organizations, computing, and variants › Computer chess and engines

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/alphazero

English original: https://www.edgepedia.org/alphazero
