Can Go AI achieve adversarial robustness?Can Go AIs be adversarially robust?
The authors tested whether three defenses could enable superhuman Go AI to withstand adversarial attacks; the authors said none of the three defenses could withstand newly trained adversarial agents.
Following the threat model of Wang et al. (2023a): in a two-player zero-sum Markov game, the threat actor trains an adversarial agent to defeat the victim agent; the threat actor has gray-box access to the victim, can run inference on the victim's policy network on arbitrary inputs, but cannot directly access the weights and cannot compute gradients with respect to the victim.
- A superhuman Go AI can be defeated by a simple adversarial policy (cyclic attack). Go's average capability far exceeds humans', its attack surface is narrow, and it is naturally adversarial, which the authors consider the most favorable domain for robustness, so they test here whether defenses can work.
- Based on the open-source Go AI KataGo, three defenses were tested: positional adversarial training against manually constructed positions, iterative adversarial training that alternately trains attacker and defender, and replacing the CNN backbone with ViT; then adversarial agents were newly trained using the attack method of Wang et al. (2023a) for adaptive evaluation.
- The authors report that all three defenses block known attacks, but none blocks newly trained adversarial agents: gift-adversary has a 91% win rate against dec23-victim, atari-adversary achieves an 81% win rate using only 5% of v9's compute, and ViT-victim is also defeated by cyclic attacks.
- The authors noted poor defense generalization and insufficient attack diversity, with iterative training limited by the attacker's compute bottleneck (attacker compute was 18 times that of the defense); the experiments covered only the Go domain, the KataGo series and a self-trained ViT model, and did not test other defense algorithms.
- Evaluated models
- base-victimmay23-victimdec23-victimmay24-victimv9ViT-victim
- Benchmarks
- 19×19 围棋对局(Tromp-Taylor 规则,KataGo 自对弈与 victim-play 评测)KGS Online Go Server
- Metrics
- 对抗智能体胜率(win rate)训练算力占比(V100 GPU-days)Elo
Researchers from FAR.AI, Mila and MIT tested three defenses for improving the adversarial robustness of Go AI and found that none could withstand newly trained opponents. The three defenses were adversarial training based on handcrafted positions, iterative adversarial training, and replacing KataGo's CNN backbone with a ViT. Against fixed attacks, some defenses were effective, but new opponents fine-tuned against the defenses could raise the win rate again, for example reaching 92% against the agent after position adversarial training, using only 8% of the compute of defense training. The final victim model obtained by iterative adversarial training was still defeated by a new opponent with a 42% win rate under 65536 visits; the ViT victim model lost to the ViT-adversary at a rate of 78% under 65536 visits.
Why it was selectedThe paper compares three defenses on Go AI that surpasses humans, showing that hardening against old attacks is bypassed by newly trained opponents, providing reproducible experiments for evaluating adversarial robustness.
Related events and news
0 events · 1 news mentions
News that mentions this paper
- FAR.AIcites the paper's id or linkFAR.AI 研究:三种防御都挡不住针对 KataGo 的新对抗攻击
Paper analysis
What problem does this paper attempt to solve?
Test whether three natural defenses can enable a superhuman AI to withstand newly trained adversarial attacks in Go, a favorable domain.
Core question: in Go, the domain most favorable to robustness, can adding natural defenses give a superhuman AI adversarial robustness (worst-case performance).
- Problem setting: the authors note that Go AIs, image classifiers, and large language models all fail catastrophically under adversarial inputs; yet Go's average playing strength far exceeds humans', the legal moves per turn are limited, and it is a zero-sum adversarial game with no fundamental trade-off between clean accuracy and robust accuracy, so it should be the domain where robustness is easiest to solve.
- Shortcomings of existing methods: the cyclic attack found by Wang et al. (2023a) defeats KataGo with a 97% win rate; KataGo officially then added adversarial positions to the training data, but the authors state that these adversarially trained networks can still be exploited by new attacks.
- Core observation: the authors consider that the attacked models were not designed for robustness, so targeted defenses might be effective; robustness is decomposed into three definitions—human robustness, training-compute robustness, inference-compute robustness (Appendix B).
- What the paper proposes: systematically test three defenses—positional adversarial training, iterative adversarial training, and switching to the ViT architecture—and perform adaptive evaluation with newly trained adversarial agents; the authors state that none of the three withstands new attacks, and most effective attacks are still different implementations of cyclic attacks.
- Threat model:
- Goal: the threat actor trains an adversarial agent to defeat the victim agent in a two-player zero-sum Markov game.
- Knowledge: gray-box access—can run inference on the victim's policy network on arbitrary inputs.
- Capability: cannot access the victim's weights, cannot take gradients of the victim; attacks are trained with victim-play and A-MCTS (600 visits).
- Victim system: a KataGo-based Go AI (including the official adversarially trained networks, the authors' trained v9 and ViT-victim).
What related research exists?
Related work falls into three groups: adversarial policy attacks, robustness approaches for multi-agent reinforcement learning, and robustness comparisons between ViT and CNN.
Adversarial policies
- Gleave et al. (2020)—studied adversarial policies in a zero-sum game against simulated humanoid agents; the authors note that the attack target (Bansal et al. 2018) was below human level, raising the question of whether capability leads to vulnerability.
- Wang et al. (2023a)—searched for adversarial policies against the superhuman Go AI KataGo and found a cyclic attack that defeats KataGo with a 97% win rate; this paper adopts their threat model and attack method and tests the zero-shot transfer of their attack to ViT.
- Timbers et al. (2022)—used adversarial policies to give an empirical lower bound on agent exploitability.
Alternative approaches in multi-agent reinforcement learning
- Population methods: Vinyals et al. (2019), Czempin and Gleave (2022), Lanctot et al. (2017) (PSRO)—maintain a population of policies; the authors consider such methods promising.
- Counterfactual regret minimization: Zinkevich et al. (2007)—previously used to defeat professional poker players (Brown and Sandholm 2018).
- Perolat et al. (2022)—an approximate Nash equilibrium method extended to Stratego, whose game tree is 10^175 times larger than Go's.
Robustness comparison of ViT and CNN
- In image classification, most studies report that ViT is more robust than CNN to adversarial perturbations and out-of-distribution inputs (Benz et al. 2021; Shao et al. 2022, etc.), while some studies disagree (Bai et al. 2021, etc.); Fu et al. (2022) found ViT more vulnerable to patch perturbations.
- In board games, Czech, Blüml, and Kersting (2023) found CNN stronger than ViT and hybrid architectures at a given inference budget; Sagri et al. (2024) reported that EfficientFormer performs comparably to CNN, but trained only with supervised learning; Wu et al. (2024) (parallel work) found CNN-transformer hybrid architectures on average stronger and more robust but still susceptible to cyclic position attacks.
Baselines and benchmarks: this paper proposes no new benchmark; the attack baselines are Wang et al.'s (2023a) base-adversary and may23-adversary, and the victim baselines are KataGo official networks base-victim, may23-victim, dec23-victim, may24-victim, with evaluation on 19×19 Go games (Tromp-Taylor rules).
The authors position this paper as: following Wang et al.'s (2023a) discovery of the vulnerability, the first systematic test of whether the "defense side" can close the vulnerability, and using the ViT experiment to shift the attribution of the vulnerability away from the CNN architecture toward AlphaZero-style self-play training or deep learning itself.
How does the paper address this problem?
Implement three defenses on KataGo, then use Wang et al.'s attack method to newly train adversarial agents that break each one in turn.
Overall approach: using the open-source Go AI KataGo as the victim system, implement three defenses (positional adversarial training, iterative adversarial training, ViT architecture), then use the victim-play + A-MCTS attack method of Wang et al. (2023a) to train new adversarial agents against each defense system, testing whether the defenses can withstand adaptive attacks.
Threat model and definitions of robustness
- Threat model: two-player zero-sum Markov game; the attacker has gray-box access to the victim (can run inference on its policy network on arbitrary inputs), with no weight access and no gradients.
- Three definitions of robustness (Appendix B): human robustness (does not make losing moves that humans would not make), training-compute robustness (training an adversarial policy that can defeat the victim requires a large amount of compute), inference-compute robustness (increasing inference compute can effectively overcome the vulnerability).
- Attack method: the adversarial agent is trained with victim-play (only the adversary's move data is saved), selects moves with A-MCTS, and evaluation uniformly uses 600 A-MCTS visits; most adversarial agents are initialized from base-adversary or base-adv-early.
Defense one: positional adversarial training (Section 3)
- Method: directly evaluate KataGo's official training—since December 2022, 0.08% of self-play games are initialized from handcrafted positions based on the base-adversary policy, later increased to a few per thousand.
- Subjects: dec23-victim (after 1 year of adversarial training) and may24-victim (after 1.4 years of adversarial training, with gift and continuous attack positions added in February 2024).
- Test method: continuous-adversary and big-adversary were obtained by fine-tuning from may23-adversary, and gift-adversary by fine-tuning from base-adv-early.
Defense two: iterative adversarial training (Section 4)
- Procedure: alternately train victim vn and adversary an, for 9 rounds in total; v0 = base-victim, a0 = base-adversary.
- Victim training: vn is fine-tuned from vn−1, with 18% of games against the frozen an−1 and 82% self-play; the victim uses 300 MCTS visits and the adversary uses 600 A-MCTS visits; the training window is 68 million rows, retaining all historical iteration data.
- Adversary training: an is fine-tuned from an−1, with the curriculum starting from vn at low visits and gradually doubling; the win-rate threshold is 75% (90% at high visits).
- Validation attacks: additionally train atari-adversary (initialized from base-adv-early) and stall-adversary (initialized from base-adversary) to attack v9; neither can see the intermediate iteration checkpoints, simulating a realistic new attack.
Defense three: Vision Transformer (Section 5)
- Motivation: test whether the cyclic vulnerability is caused by the inductive bias of CNNs (KataGo developers had proposed the hypothesis that CNNs learn a local life-and-death algorithm).
- Method: using the same self-play recipe as KataGo, replace the CNN backbone with a 16-layer ViT (patch size 2, embedding dimension 384, 6 attention heads), train ViT-victim from scratch, totaling 563 V100 GPU-days; additionally train a 10-layer CNN control-victim as a control.
- Test method: fine-tune from base-adversary to obtain ViT-adversary to attack ViT-victim, and test zero-shot transfer of base-adversary.
Success criteria and evaluation
- Metrics: adversarial agent win rate (95% Clopper-Pearson confidence interval), ratio of attack training compute to victim training compute, Elo strength.
- Auxiliary evaluation: Appendix J has one author who is a Go expert manually reproduce the attack without AI assistance; Appendix I estimates ViT-victim strength using the KGS server and games against professional players.
What experiments did the paper conduct?
For each of the three defenses, a new adversarial agent was trained to perform an adaptive attack; the authors report that all defenses were broken, and most were still cyclic attack variants.
Experimental Setup
- Victim models: KataGo official networks base-victim, may23-victim, dec23-victim, may24-victim; the authors' iteratively trained defense final victim v9, ViT-victim (16-layer ViT), and the CNN control control-victim.
- Adversarial models: base-adversary and may23-adversary from Wang et al.; the authors' newly trained gift-adversary, continuous-adversary, big-adversary, a1–a9, atari-adversary, stall-adversary, ViT-adversary (all b6c96 architecture).
- Evaluation protocol: adversaries uniformly use 600 A-MCTS visits; victim visits vary from 1 to 65536; 19×19 board, Tromp-Taylor rules.
- Metrics: adversary win rate (95% Clopper-Pearson confidence interval), attack compute as a proportion of victim training compute (Table 3), Elo (Appendix I).
- Human evaluation: a Go-expert author manually reproduced the attacks (Appendix J); ViT-victim played 1000 ranked games on KGS and 3 games against two professional players (Appendix I.2).
- Number of repetitions: the paper does not report the number of games for each win-rate evaluation (only "over 200 games" is mentioned in isolated places).
Main Results
According to Table 3 (victim visits / adversary 600 visits; compute proportion is attack training compute relative to victim training compute):
Swipe horizontally to read the table
Victim visits Adversary Win rate Compute proportion base-victim 4096 base-adversary 97% 10% may23-victim 4096 may23-adversary 47% 13% dec23-victim 512 gift-adversary 91% 6% dec23-victim 4096 continuous-adversary 65% 13% may24-victim 65536 big-adversary 56% 9% v9 65536 a9 42% 26% v9 512 atari-adversary 81% 5% ViT-victim 65536 ViT-adversary 78% 467% - The authors state that all three defenses blocked previously known attacks, but none blocks newly trained adversarial agents, and most effective attacks are different implementations of cyclic attacks.
- The authors note that ViT-victim's training compute being lower than its adversary's is an exceptional case (ViT-victim had a shorter training time), but ViT-adversary's additional fine-tuning compute is still lower than ViT-victim's training compute.
- The authors consider the results to show poor defense generalization: v9 and may24-victim are still defeated by new cyclic variants after training on multiple cyclic variants.
Failure of positional adversarial training (Section 3)
- What was tested: fine-tuning new attacks against KataGo's official adversarially trained networks. Result: gift-adversary has a 91% win rate against dec23-victim (512 visits), using only 6% of the victim's compute, and is a non-cyclic new "gift" attack (Figure 3a).
- Still effective at high visits: big-adversary has a 56% win rate against may24-victim at 65536 visits (Table 3); the authors state that adversarial training may have narrowed the attack surface but did not eliminate the cyclic vulnerability.
- Defenses effective against old attacks: after may24-victim added new attack positions, continuous-adversary's win rate dropped from 65% to 3% (4096 visits), and gift-adversary's from 91% to 0% (512 visits, Figure 13).
Failure of iterative adversarial training (Section 4)
- Defense against seen attacks: vn has a win rate above 95% against the training opponent an−1 at ≥16 visits (Figure 4, Figure 66), but rarely reaches 100%, and remains vulnerable at 4 visits.
- Still vulnerable to new attacks: the final adversary a9 has a 42% win rate against v9 at 65536 visits, with training compute only 26% of v9's; the validation attack atari-adversary achieves an 81% win rate against v9 (512 visits) using less than 5% of the compute, but only a 4% win rate at 4096 visits (Figure 5).
- Authors' interpretation: the authors attribute the low win rates of a5, a6, a8 to the adversary training getting stuck in local minima, rather than to v5, v6, v8 being more robust (a9 wins against all vn, Figure 38).
ViT architecture experiment (Section 5)
- What was tested: whether a 16-layer ViT-victim is still subject to cyclic attacks. Result: ViT-adversary has a 78% win rate at 65536 visits; zero-shot transfer of base-adversary also has a 2.5% win rate at 512 visits.
- Strength verification: ViT-victim is estimated at Elo 3863 at 32768 visits (slightly below the then-highest record of 3877 on goratings.org), and won 2 of 3 games against professional players; the authors state it is the first professional-level ViT Go AI.
- Authors' interpretation: the CNN architecture is not the cause of the cyclic vulnerability; the authors consider the remaining possible causes to be AlphaZero-style self-play training or deep learning itself, but do not rule out that a deeper ViT or other architectures could solve the problem.
Other ablations and analyses
- Effect of adversary visits (Appendix G): when adversary visits drop to 64, the win rate is still 55–91%, and 13–29% without search; the authors consider the choice of 600 visits not critical.
- Small boards (Appendix H): attacks exhibit the cyclic/gift form only on sufficiently large boards (gift-adversary and a9 win from 11×11 onward, atari-adversary from 15×15 onward).
- Transfer (Appendix K): a9 transferred to dec23-victim has a 66% win rate at 256 visits; gift-adversary does not transfer to other victims at all.
- Human reproduction (Appendix J): the expert author reproduced the gift, continuous, big, and ViT cyclic attacks, among which the big attack defeated dec23-victim at 4096 visits on its 3rd attempt, and the continuous attack was the hardest (over 20 attempts).
- Unpredictable training dynamics (Appendix E.3): training an adversary from a warm start on base-victim for 50 million steps failed to defeat base-victim; the authors conclude from this that attack training has path dependence.
- Strength cost: v9 is 107 Elo weaker than base-victim at 4096 visits (Figure 37); ViT learns more slowly than a CNN under the same setting and is weaker at the same inference budget (Figure 24).
What are some points that can be further explored?
The authors identify two gaps—defense generalization and attack diversity—and propose follow-up directions such as expanding the attack corpus and improving sample efficiency.
Limitations and future directions noted by the authors
- Insufficient defense generalization (Section 7): the authors state that no defense achieved human-level robustness, that defenses only raise the cost of attack rather than making attacks impossible, and that the offense-defense balance favors the attacker.
- Direction one: expand the attack corpus (Section 7): the authors propose developing lower-compute attack algorithms; their iterative adversarial training is limited by the attack-side bottleneck, with attack compute being 18 times that of defense (Table 5), and they mention that relaxed / latent adversarial training may accelerate this.
- Direction two: improve the sample efficiency of adversarial training (Section 7): enable the victim to generalize from a small number of adversarial policies; the authors note that existing Go AI training algorithms do not have this generalization ability.
- Other routes (Section 7): multi-agent reinforcement learning such as PSRO and DeepNash may automatically discover cyclic-type policies; or switching to online / stateful defenses to change the threat model.
- ViT depth (Section 5, Appendix H): the authors state they cannot rule out that deeper ViTs or other architectures could solve the cyclic vulnerability; ViT-victim has only 16 layers.
- Unpredictable training dynamics (Appendix E.3): the authors state they cannot predict whether continued training of atari-adversary would achieve a high win rate at high visits, nor can they conclude that v9 is invulnerable at high visits.
Scope of experiments
- The victim models tested were the 4 official KataGo networks, the authors' trained v9 (and v1–v8), ViT-victim, and the control-victim control; both attacks and defenses are based on the KataGo ecosystem (Section 2, Table 1).
- Defense evaluation covered three types: positional adversarial training, 9 rounds of iterative adversarial training, and ViT architecture replacement; the paper did not experiment with the alternative routes discussed in detail, such as PSRO, DeepNash, and latent adversarial training (Section 7).
- Evaluation was mainly on 19×19 Go, with Appendix H covering boards from 7×7 to 18×18; only the Tromp-Taylor rules were used (Appendix E.1).
- The attacker uniformly used 600 A-MCTS visits and the gray-box threat model; the paper does not report the number of games and repetitions for each win-rate evaluation.
- Manual reproduction was performed by one author who is a Go expert (Appendix J); the strength of ViT-victim was estimated via 1000 ranked games on KGS and 3 games against professionals (Appendix I.2).
Summarize the main content of the paper
All three natural defenses fail to block newly trained adversarial agents, and the authors conclude that robustness remains hard to solve even in a favorable domain like Go.
A defense study on the adversarial robustness of Go AI: following Wang et al.'s (2023a) discovery of cyclic attacks, it tests whether three natural defenses can enable a superhuman Go AI to withstand new attacks.
- Problem: Go's average capability exceeds humans', its attack surface is narrow, and it is naturally zero-sum adversarial, which the authors consider the most favorable domain for robustness; if robustness cannot be solved here, it will be harder in other domains.
- Method: based on KataGo, test positional adversarial training (already used officially), 9 rounds of iterative adversarial training (producing v9), and ViT architecture replacement (producing ViT-victim), then use victim-play + A-MCTS to newly train an adversarial agent against each defense, with a gray-box threat model.
- Result one: the positionally adversarially trained network is still broken—gift-adversary has a 91% win rate against dec23-victim (512 visits) (6% compute), and big-adversary has a 56% win rate against may24-victim (65536 visits) (Table 3).
- Result two: the iteratively adversarially trained v9 has a win rate above 95% against seen attacks, but a9 still wins 42% at 65536 visits (26% compute), and the validation attack atari-adversary wins 81% at 512 visits with 5% compute.
- Result three: ViT-victim (which the authors state is the first professional-level ViT Go AI) is likewise defeated by cyclic attacks (78% win rate, 65536 visits), from which the authors rule out the CNN architecture as the cause of the vulnerability.
- Authors' conclusion: most effective attacks are different implementations of the same class of cyclic attack; current defenses only raise the cost of attack, and there are two key gaps—defense generalization efficiency and training diversity; the authors consider that if this is so even in a controllable domain like Go, achieving robustness in more open real-world settings may be even more challenging.