Adversarial policy defeats superhuman-level Go AI KataGoAdversarial Policies Beat Superhuman Go AIs
The authors use AlphaZero-style training to obtain adversarial policies, attacking KataGo with gray-box access, achieving a 99.9% win rate against Latest without search and a 72% win rate against Latest with 10^7 visits.
The attacker acts as one side in the game (adversary) and wins through standard games; it has gray-box access to the victim agent (it can evaluate the victim network on arbitrary inputs but cannot obtain the weights); the victim agent is a fixed policy; some experiments test transfer to unseen victim agents, which the authors call an extreme case of black-box attack.
- Are AI systems with strong average performance also robust in the worst case? The authors take KataGo, the strongest publicly available Go AI, as their subject and examine whether superhuman-level deep RL policies still have exploitable vulnerabilities.
- The authors propose victim-play training and Adversarial MCTS (A-MCTS-S/S++/R): on game data between the adversary and a fixed victim agent, train an adversarial policy with an AlphaZero-style procedure, and use a curriculum to progressively raise the victim checkpoint and search amount.
- pass-adversary has a 99.9% win rate against Latest without search; cyclic-adversary has a 100% win rate against Latestdef without search, 95.7% against Latestdef with 4096 visits, and 72% against Latest with 10^7 visits (50 games); zero-shot transfer is 6.1% against Leela Zero and 3.5% against ELF OpenGo.
- The authors note that Go AI may be unusually fragile and needs to be verified in other games and settings; KataGo's adversarial training defense is still insufficient; attacking high-search agents is harder and more compute-intensive. The adversarial policies themselves lose to human amateur players.
- Evaluated models
- KataGoLeela ZeroELF OpenGo
- Benchmarks
- 19×19 Go,Tromp-Taylor 规则(komi 6.5)KGS 在线围棋服务器7×7 至 19×19 多种棋盘尺寸
- Metrics
- 对抗策略胜率(win rate)平均分差(score margin)训练与推理算力(V100 GPU days)
Researchers trained an adversarial policy against KataGo using AlphaZero-style training, achieving over 97% win rate under superhuman-level search settings. The adversary does not win through stronger play, but induces KataGo to make severe blunders, such as passing too early or letting a cyclic group be captured; such policies even lose to amateur human players. The compute used to train the adversarial policy was less than 14% of that used to train KataGo, and the attack transfers zero-shot to Leela Zero and ELF OpenGo. One author, as a Go expert, reproduced the policy without algorithmic assistance, achieving over 90% win rate against KataGo bots on KGS unrelated to the author. KataGo officially later added adversarial position training to self-play, and the policy's win rate declined accordingly, but after fine-tuning the policy again, part of the attack capability was restored; activation analysis points to a few channels in layer 26.
Why it was selectedThe paper reports win rates and transfer results of an adversarial policy against a superhuman Go AI, serving as a concrete case that capability improvement does not equal worst-case robustness.
Paper analysis
What problem does this paper attempt to solve?
The authors examine whether the superhuman Go AI KataGo remains robust in the worst case, and attack it with trained adversarial policies.
Core question: Can AI systems whose average performance reaches superhuman level translate that average performance into worst-case robustness?
- Setting and importance: The authors note that from competitive games to generative models, average AI performance is growing rapidly, but worst-case performance remains an open question; if capability gains do not bring robustness, safety-critical systems may exhibit similar failures.
- Gaps in current understanding: One view holds that the adversarial nature of self-play naturally brings robustness, and that idealized self-play can converge to an unexploitable Nash equilibrium; Czarnecki et al. (2020) further argue that real games become more transitive as skill increases. The authors state that this paper's results contradict these expectations.
- Core observation: The authors find a non-transitive vulnerability in KataGo—the adversarial policy beats KataGo yet loses to human amateur players (Figure 2.1), indicating that it does not win through Go skill but exploits specific blind spots of the victim network.
- Contributions of the paper: The authors state three: proposing a new attack method that combines the Gleave et al. (2020) attack with AlphaZero-style training; demonstrating two different adversarial policies against KataGo (pass-adversary and cyclic-adversary); and conducting a detailed empirical study of these policies (defenses, transfer, human and mechanistic interpretability, the role of search, etc.).
- Threat model (Section 3.1, following Gleave et al. 2020):
- Goal: The attacker acts as one side in the game (adversary) and defeats the victim agent through standard games.
- Knowledge: Gray-box access to the victim agent—can evaluate the victim network on arbitrary inputs, but cannot directly access the network weights.
- Capabilities: Can only place stones or pass like a normal player; the victim agent is a fixed policy (pretrained, static weights).
- Victim system: KataGo (the strongest publicly available Go AI at the time); some experiments relax the assumption and test transfer to unseen victim agents, which the authors call an extreme case of black-box attack.
What related research exists?
Related work falls into four groups: adversarial examples, self-play robustness, deep RL attacks, and exploitability estimation; the authors distinguish this paper by its superhuman victim and in-depth analysis.
Adversarial examples and robustness
- Szegedy et al. (2014) found that adversarial examples exist in various models; the authors cite that image classifiers reach or exceed human level in some settings (Ho-Phuoc, 2018; Russakovsky et al., 2015; Shankar et al., 2020; Pham et al., 2021) yet remain vulnerable to adversarial examples (Carlini et al., 2019; Ren et al., 2020), raising the question of whether deep RL policies are similarly fragile.
The relationship between self-play and robustness
- Adversarial training in Madry et al. (2018) and Ren et al. (2020) is effective on image classification but computationally expensive; Brown (1951) and Heinrich et al. (2015) show that idealized self-play can converge to a Nash equilibrium. The authors state that this paper finds that even superhuman deep RL policies remain highly exploitable.
- Balduzzi et al. (2019) note that self-play may fail to converge in non-transitive games such as rock-paper-scissors; Czarnecki et al. (2020) argue that real games become more transitive as skill increases. The authors report that this paper finds clear non-transitivity: the adversarial policy beats KataGo, which defeated human professional players, yet loses to most amateur players (Appendix J.1).
Attacks on deep RL and Go AI
- Huang et al. (2017) and Ilahi et al. (2022) mainly perturb observations; Lan et al. (2022) (parallel work) makes KataGo with ≤50 visits play bad moves by adding two adversarially chosen moves to the board. The authors note that their perturbation is unrealistic (the game record implies KataGo chose a bad move on the previous turn), and that an attacker able to force the opponent to play specific moves already has simpler ways to win; this paper adopts the shared-environment adversarial agent threat model of Gleave et al. (2020).
- Gleave et al. (2020) and Wu et al. (2021) attack below-human-level policies in simulated robotics environments; this paper turns to superhuman Go policies with discrete action spaces.
Exploitability estimation and baselines
- Johanson et al. (2011) compute exploitability exactly in low-dimensional games; Lisý & Bowling (2017) give lower bounds via search in some poker variants, but rely on domain heuristics and are not applicable to Go.
- Timbers et al. (2022) (parallel work) propose approximate best response (ABR), attacking the proprietary AlphaZero replica of Schmid et al. (2021), with a 90% win rate against AlphaZero without search and 65% at 800 visits (Timbers et al., 2022, Figure 3). Both use AlphaZero-style training plus a victim curriculum; the authors note that this paper's curriculum also changes the victim checkpoint, and that it defeats a 10^7-visit victim that is "unquestionably superhuman", whereas the authors estimate in Appendix E.3 that the other work's 800-visit victim "is at least at the level of the top 200 professional players, and possibly superhuman".
Positioning: The authors state that the main contribution is the experimental results—demonstrating the attack against stronger victims and conducting an in-depth study of the vulnerability (defenses, transfer, human and mechanistic interpretability, the role of search, and the evolution of the attack over training).
How does the paper address this problem?
The authors propose victim-play training and Adversarial MCTS, performing AlphaZero-style training on game data between the adversary and a fixed victim, and gradually strengthening the victim via a curriculum.
Overall approach: combine the adversarial policy attack of Gleave et al. (2020) with AlphaZero-style self-play training—training data comes from games between the adversary and a fixed victim agent (victim-play), search uses the victim network to model the opponent (Adversarial MCTS, A-MCTS), and the victim's strength is gradually increased via a curriculum.
Problem setup and success criteria
- Setup: two-player zero-sum Markov game (Shapley, 1953); the attacker as one side wins through standard games, and the victim is a fixed policy.
- Main metrics: the adversarial policy's win rate against the victim, training and inference time; average score difference is also tracked but not directly optimized. Tracking compute is to rule out degenerate "attacks" such as "training KataGo longer or searching deeper".
- Non-transitivity requirement: the authors require the adversarial policy to exhibit non-transitivity (it beats the victim, the victim beats some baseline, and that baseline beats the adversarial policy), to show that it exploits specific weaknesses rather than simply being stronger.
Victim-play and A-MCTS
- Victim-play: train only on games between the adversary and a fixed victim, and only on data where it is the adversary's turn to move—the goal is to exploit the victim rather than imitate it.
- A-MCTS-S: at victim nodes, sample directly from the victim policy network (modeling a victim without search); at adversary nodes, use improved PUCT; subtree size statistics ignore non-terminal victim nodes (Appendix B.2).
- A-MCTS-S++: average over board symmetries at the victim policy head, matching KataGo's default behavior, at the cost of increased compute.
- A-MCTS-R: at victim nodes, recursively fully simulate the victim's MCTS, which can model the victim exactly, but training and inference costs multiply with the victim's search budget; used to study the benefit of more accurate victim modeling.
- A-MCTS-VM (Appendix B.5, proposed): fine-tune a copy of the victim network to predict victim moves; the authors note it requires white-box access for initialization, and the main experiments in this paper do not use it.
Initialization and curriculum
- Random initialization: the threat model does not allow white-box access, so the victim's weights cannot be used for initialization; random initialization also encourages exploring the victim's weaknesses rather than becoming a stronger player. With KataGo's auxiliary losses, the adversarial network can learn useful information even from lost games.
- Curriculum: to overcome the learning difficulty caused by random initialization, gradually challenge stronger victims—first advancing through later checkpoints in KataGo's training history, then increasing the victim's search amount in victim-play; switch once the win rate exceeds a threshold (pass-adversary threshold 50%; cyclic-adversary threshold rises to 75% after reaching Latestdef 2 visits, Appendix C.1/C.2).
Implementation and victims
- Adversarial network: b6c96 architecture (6 blocks, 96 channels), victims range from b6c96 to b40c256; training hyperparameters in Table C.1 (batch size 256, data reused 4 times, adversary 600 visits, gatekeeping and komi randomization disabled, etc.).
- Victims: the main victim is Latest (b40c256-s11840935168), the strongest KataGo network at the time of the research; Latestdef is also constructed—hardcoded pass-alive defense, forbidding the victim from passing unless passing can no longer change the game result (Appendix B.6).
- Evaluation rules: all games are adjudicated under Tromp-Taylor rules (komi 6.5), and KataGo is trained and configured under these rules (Appendix A).
What experiments did the paper conduct?
pass-adversary win rate 99.9% against no-search Latest; cyclic-adversary 100% against no-search Latestdef, 72% against 10^7 visits Latest, and can transfer zero-shot.
Experimental setup
- Systems under test: KataGo's Latest (b40c256-s11840935168), Latestdef (with pass-alive defense added), several early checkpoints (cp39, cp127, etc.), adversarially trained b60-s7702m and b18-s5832m; transfer experiments use Leela Zero (final model, at most 40,000 visits) and ELF OpenGo (final model, 80,000 rollouts).
- Adversarial policies: pass-adversary (trained with A-MCTS-S, 600 visits) and cyclic-adversary (obtained by repeatedly attacking Latestdef, 600 visits).
- Rules and evaluation: Tromp-Taylor rules, komi 6.5; metrics are win rate and score difference; confidence intervals are 95% Clopper-Pearson (Figure 5.1, 50 games per checkpoint; Figure 5.2, about 150 games).
- Compute: pass-adversary training used 20.4 V100 GPU days (0.13% of Latest's training amount); cyclic-adversary used 2223.2 V100 GPU days (14.0%); Latest's training amount is estimated at at least 15,881 V100 GPU days (Appendix D).
- Baseline attacks: four hard-coded baselines: Edge, Spiral, Random, Mirror Go (Appendix F.5).
- Human experiments: one author (a Go novice) played against the adversarial policies; one author (a Go expert) learned and manually executed the cyclic attack (Appendix J, G.2).
Main results
Swipe horizontally to read the table
Adversarial policy Victim Victim search amount Win rate Source pass-adversary Latest no search 99.9% Section 5.1 pass-adversary Latestdef no search 0/1000 Section 5.2 cyclic-adversary Latestdef no search 1048/1048 = 100% Figure 5.1 cyclic-adversary Latest no search (defense off) 1000/1000 = 100% Section 5.2 cyclic-adversary Latestdef 4096 visits 1007/1052 = 95.7% Figure 5.1 cyclic-adversary Latest 4096 visits 97.3% (1000 games) Section 5.3 cyclic-adversary Latest 10^6 visits 82% (50 games) Section 5.3 cyclic-adversary Latest 10^7 visits 72% (50 games) Section 5.3 - The authors state that Latest without search is roughly equivalent to a top-100 European player (Appendix E.1), that 4096 visits already far exceeds the strongest human, and that 10^7 visits far exceeds that; 10^7 visits requires more than one hour per move on high-end consumer hardware.
- The authors note that win rate decreases as the victim's search amount increases (Figure 5.2a), and consider search an effective means of improving robustness, but search alone cannot yield a fully robust agent.
- The authors emphasize that the adversarial policies do not win through Go skill: both pass-adversary and cyclic-adversary lose to human amateur players (Appendix J.1); cyclic-adversary ran on KGS as Adversary0 for one month, playing over 2300 games, and ranked around 17kyu.
Evaluation of defenses (Section 5.4, Appendix L)
- What was tested: In mid-December 2022, KataGo's official distributed training changed 0.08% of self-play games to start from positions in which the cyclic attack was in progress (a mild form of adversarial training); the authors evaluated each checkpoint with a fixed cyclic-adversary.
- Results: After adversarial training, cyclic-adversary (600 visits) won 118/2000 = 5.9% against b60-s7702m 1 visit, and 0/400 against b60-s7702m 1600 visits; before adversarial training, it was 1048/1048 against Latest 1 visit and 973/1000 against Latest 4096 visits.
- Re-attack: After fine-tuning against cyclic-adversary for an additional 1154.9 V100 GPU days, the win rate was 47% (188/400) against b60-s7702m 4096 visits and 17.5% (7/40) against b60-s7702m 100,000 visits; against Latest the win rate dropped from 97.3% to 55.79% (212/380). The authors state that a small amount of adversarial training suffices to defend against a fixed adversarial policy, but the defense does not generalize and can be broken again by fine-tuning; however, the per-win compute cost of fine-tuning is higher, and the authors consider that more adversarial training may make attacks computationally infeasible, leaving this for future work.
Transfer experiments (Section 5.6, Appendix G)
- Algorithm transfer: cyclic-adversary (trained only on KataGo) won 8/132 = 6.1% zero-shot against Leela Zero and 5/142 = 3.5% against ELF OpenGo; the authors note that in this setting A-MCTS models the victim as KataGo and is continually "surprised" by the opponent's actual moves.
- Human transfer: one Go-expert author learned the attack from game records and, under standard human conditions on KGS, won 14/15 games against the strongest bot JBXKata005, also winning when giving 9 stones; the author also defeated KataGo and Leela Zero each using 100k visits. The authors state that others subsequently used the cyclic attack to defeat various top Go AIs (Section 7.1).
Mechanism and search analysis (Section 5.5, Appendix H, K)
- Value prediction: The victim's value network predicts its own win with over 99% confidence for most of the game, often abruptly judging that it will lose only on the move before the cyclic group is captured (Figure 5.4, 5.5); the adversary's predictions change more slowly and with lower confidence.
- Activation analysis: Between cyclic and minimally perturbed non-cyclic positions, a few channels at layer 26 (M4, K15) show clear activation differences, with no such trend in earlier layers; the difference between Latest and the adversarially trained cp580 shows a similar pattern (Figure 5.6, Appendix K). The authors state that this provides a clear direction for more detailed mechanistic understanding, and that the evidence is correlational observation.
- Search and robustness: In 10 manually selected decisive positions, as the victim's search increased from 1.6k to 500k visits, 8/10 positions found the winning move (Table H.1); but in another 5 positions where the adversarial policy defeated KataGo with 1 million visits, giving KataGo 1 billion visits still resulted in all wrong choices (Figure H.7).
Other ablations and analyses
- Adversary search amount: With the victim fixed at 4096 visits, the adversary's win rate is highest at 128–600 visits, no longer improving and possibly decreasing beyond 600; A-MCTS-S++ is not better than the cheaper A-MCTS-S (Figure 5.2b).
- A-MCTS-R: On the older cyclic-adversary (200 visits) it outperforms A-MCTS-S++ and wins all games (Figure H.1); on the current version there is no additional benefit within 128 victim visits (Figure 5.2a).
- Transfer between checkpoints: An attack effective against Latestdef transfers to cp127def but not to cp39def; an adversarial policy trained against Latest performs better against Latest than against cp127, and vice versa (Figure 5.1, F.5). The authors state that different checkpoints have their own distinct vulnerabilities.
- Baseline attacks: The Edge baseline playing White has a 45% win rate against Latest without search, and all baselines perform poorly against Latestdef (Figure F.6, F.7); the authors state that this shows Latestdef is more robust than Latest, and that cyclic-adversary learns a relatively complex form of exploitation.
- pass-adversary transfer: pass-adversary, trained only against a victim without search, using A-MCTS-R has an 87.8% win rate against Latest with 8 visits, dropping to 8% at 16 visits; A-MCTS-S is 15.3% at 8 visits (Figure F.4).
- Board size: cyclic-adversary wins on boards of at least 12×12 (it only constructs the cyclic structure at these sizes); pass-adversary wins at all sizes (Figure F.10).
What are some points that can be further explored?
The authors state that Go AI may be unusually fragile and that defenses remain insufficient, and list directions such as transfer to other domains, defense methods, and attacking high-search agents.
Limitations and future directions noted by the authors
- Out-of-domain extrapolation unknown (Section 6): The authors note that Go AI systems may be unusually fragile, and that future work should evaluate the attack on strong AI systems in other games and settings.
- Defenses still insufficient (Section 6): The KataGo team's first defense attempt (adversarial training) is shown in Section 5.4 to be insufficient so far; the authors list candidate directions such as CFR (Zinkevich et al., 2007), regularization methods (Perolat et al., 2021, 2022), PSRO (Lanctot et al., 2017), AlphaStar's Nash league (Vinyals et al., 2019), and population-based training (Czempin & Gleave, 2022), at the cost of more compute.
- Scaling law of adversarial training (Section 5.4): The authors state that fine-tuning can break the defense again but at a higher compute cost per win, and that computing a more precise scaling law for such adversarial training is a future direction.
- Attacking high-search agents is harder (Section 6): Against agents using a large amount of search, the attack win rate is lower and the required compute is greater; the authors propose that future work could seek more effective and less compute-intensive attack methods, for example learning an efficient model of the victim's computation (Appendix B.5).
- Mechanistic understanding to be deepened (Section 5.5): The activation differences in layer-26 channels provide a clear area for further study, potentially leading to a more detailed mechanistic understanding of this class of vulnerability.
- Further validation of A-MCTS-R (Appendix I): The authors plan future experiments with more samples and against 10^6-visit victims to further confirm the benefits of low-amount recursive victim simulation.
Scope of experiments
- The attacked Go systems are KataGo (multiple checkpoints and defense variants), Leela Zero, ELF OpenGo, and JBXKata005 on KGS (human transfer); algorithm transfer covers only the latter two.
- Victim search amounts are evaluated up to 10^7 visits (50 games, 72% win rate); for 10^6 visits it is 50 games (82%).
- Defense evaluations include: hard-coded pass-alive defense (Latestdef) and KataGo's official adversarial training (b60, b18, b40 networks); adaptive attacks are evaluated in the form of fine-tuning for 1154.9 V100 GPU days.
- Sample sizes for high-search experiments are 50 games (10^6, 10^7 visits) and 40 games (b60-s7702m 100,000 visits, 17.5%); transfer experiments are 132 games (Leela) and 142 games (ELF).
- The paper does not report the number of random seeds or the number of repeated training runs used for adversarial policy training; the human game experiments (Appendix J.1, G.2) were conducted by the authors themselves, and the number of independent human subjects is not reported.
Summarize the main content of the paper
The authors train adversarial policies to attack KataGo: 99.9% win rate against Latest without search, still 72% against Latest with 10^7 visits, and the vulnerability is still not eliminated after adversarial training.
An attack paper targeting superhuman Go AI: the authors train adversarial policies with gray-box access (able to evaluate the victim network, without weight access) and defeat KataGo, the strongest publicly available Go AI at the time, through standard games, exploring whether average performance translates into worst-case robustness.
- Method: Propose victim-play (training only on game data between the adversary and a fixed victim) and Adversarial MCTS (A-MCTS-S/S++/R, modeling the opponent with the victim network), with a curriculum progressing from early checkpoints to the high-search Latestdef; the adversarial network is b6c96, trained at 600 visits.
- Main results: pass-adversary has a 99.9% win rate against Latest without search, using only 20.4 V100 GPU days for training (0.13% of Latest's training amount); cyclic-adversary has a 100% win rate against Latestdef without search (1048/1048), 95.7% against Latestdef with 4096 visits, and 72% against Latest with 10^7 visits (50 games), using 2223.2 V100 GPU days for training (14.0%).
- Non-transitivity: Both adversarial policies lose to human amateur players, with cyclic-adversary around 17kyu on KGS; the authors therefore consider that they win by inducing KataGo to make mistakes in ways humans can avoid, rather than through Go skill.
- Transfer: cyclic-adversary has a zero-shot win rate of 6.1% against Leela Zero and 3.5% against ELF OpenGo; one Go-expert author learned the policy and then won 14/15 games against JBXKata005 on KGS, also winning when giving 9 stones.
- Defense: After KataGo's official adversarial training with 0.08% of self-play games, the fixed cyclic-adversary dropped to 0/400 against b60-s7702m 1600 visits; but after an additional 1154.9 V100 GPU days of fine-tuning it recovered to 47% against 4096 visits and 17.5% against 100,000 visits. The authors state that this vulnerability is not easy to patch.
- Authors' conclusion: Capability improvements do not always translate into sufficient robustness, and even superhuman agents may harbor unexpected failure modes; the authors consider learned attacks an important tool for discovering hidden vulnerabilities in AI systems, and call on the community to invest in robust training and adversarial defense research.