Lune

USENIX Security2023顶会

PATROL: Provable Defense against Adversarial Policy in Two-player Games

Wenbo Guo, Xian Wu, Lun Wang, Xinyu Xing, Dawn Song

摘要

Recent advances in deep reinforcement learning (DRL) takes artificial intelligence to the next level, from making individual decisions to accomplishing sophisticated tasks via sequential decision makings, such as defeating world-class human players in various games and making real-time trading decisions in stock markets. Following these achievements, we have recently witnessed a new attack specifically designed against DRL. Recent research shows by learning and controlling an adversarial agent/policy, an attacker could quickly discover a victim agent's weaknesses and thus force it to fail its task. Due to differences in the threat model, most existing defenses proposed for deep neural networks (DNN) cannot be migrated to train robust policies against adversarial policy attacks. In this work, we draw insights from classical game theory and propose the first provable defense against such attacks in two-player competitive games. Technically, we first model the robust policy training problem as finding the nash equilibrium (NE) point in the entire policy space. Then, we design a novel policy training method to search for the NE point in complicated DRL tasks. Finally, we theoretically prove that our proposed method could guarantee the lowerbound performance of the trained agents against arbitrary adversarial policy attacks. Through extensive evaluations, we demonstrate that our method significantly outperforms existing policy training methods in adversarial robustness and performance in non-adversarial settings. NE states that, for each player i, π i * is its optimal policy when its opponent plays the policy π -i * . This also can be expressed as π i * is the i-player's best response to its opponent's policy Obs. Obs. (a) Two-player game. Environment Policy under training Action Action Copy player 1's policy to player 2 The right half of this inequality states that π 2 * is the policy that forces π 1 * to receive the lowest long-term reward, indicating π 1 * is playing against its strongest opponent and thus is in its worst-case scenario. The left half of Eqn. (3) then shows that π 1 * is the policy that receives the highest long-term reward against π 2 * , meaning π 1 * achieves the optimal performance in the worst-case scenario. As such, by playing π 1 * for the 1st player, we could guarantee the player's optimal worst-case performance as For the 2nd player, we could derive a similar inequality: showing that π 2 * is the robust policy for the 2nd player with the optimal worst-case performance of V 2 (π 1 * , π 2 * ). To further explain why policies at the NE point are robust policies, we again take for example the real-world game scenario mentioned in Section 3. Suppose the game vendor releases π 1 * as the default policy for the 1st player. In our threat model, an attacker will then try to train a policy π 2 to defeat π 1 * . According to Eqn. (3), the best policy the attacker can search for is π 2 * . In other words, the attacker cannot find a stronger opponent for π 1 * other than π 2 * , showing that π 1 * 's worst performance is bounded and thus is robust against adversarial attacks. Similarly, π 2 * is the robust policy for the 2nd player. As such, by finding a NE point with a joint policy (π 1 * , π 2 * ), we could achieve a robust policy for both players in the game. Based on the analysis above, we can define a pair of policies (π i , π -i ) as robust policies if they satisfy the condition in Eqn. (3), and the corresponding lower bound performance for each player is V i (π i , π -i ). Theoretical foundation for training robust policies. Through the analysis above, we transform the problem of training a robust policy into searching for a NE point in a two-player zero-sum game. To learn a NE point, we seek the theoretical foundation from classical game theory and find the following theorem to guide our training algorithm design. Similarly, solving the inner optimization max π 1V 1 (π 1 , π 2 ) of the Eqn. (5) gives h(π 2 ), ) is the solution of the outer optimization of the Eqn. ( 5 ), we have So far, we have the following inequalities where the joint policy (π 1 * , g(π 1 * )) gives the maximin value of the long-term reward and the joint policy (h(π 2 * ), π 2 * ) gives the minimax value. If we could achieve that π 1 * = h(π 2 * ) and π 2 * = g(π 1 * ), the joint policy (π 1 * , π 2 * ) gives the maximin and minimax value at the same time, i.e., satisfying the conditions in Corollary 1. Besides, when π 1 * = h(π 2 * ) and π 2 * = g(π 1 * ), Eqn. ( 6 ) is equivalent to Eqn. (3), indicating (π 1 * , π 2 * ) is the policy of a NE point. As such, if a joint policy satisfies the conditions in Eqn. (5) and Eqn. (4), it reaches a NE point and thus is a set of robust policies for both players. * , π 2 * ) obtained by our proposed method, we prove that (π 1 * , π 2 * ) asymptotically converges to a NE point, such that * , π 2 ) + ε with ε → 0. Recall that the true value function is approximated with a neural ne

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SUB-PLAY: Adversarial Policies against Partially Observed Multi-Agent Reinforcement Learning Systems 引用了 Towards Evaluating the Robustness of Neural Networks
  • SUB-PLAY: Adversarial Policies against Partially Observed Multi-Agent Reinforcement Learning Systems 引用了 Adversarial Policies: Attacking Deep Reinforcement Learning
  • Towards Evaluating the Robustness of Neural Networks 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • On Minimizing Adversarial Counterfactual Error in Adversarial Reinforcement Learning 引用了 Adversarial Policies: Attacking Deep Reinforcement Learning
  • CAMP in the Odyssey: Provably Robust Reinforcement Learning with Certified Radius Maximization 引用了 Robust Deep Reinforcement Learning against Adversarial Perturbations on State Observations
  • CAMP in the Odyssey: Provably Robust Reinforcement Learning with Certified Radius Maximization 引用了 Adversarial Policies: Attacking Deep Reinforcement Learning
  • Why Do Adversarial Attacks Transfer? Explaining Transferability of Evasion and Poisoning Attacks 引用了 Towards Evaluating the Robustness of Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. SUB-PLAY: Adversarial Policies against Partially Observed Multi-Agent Reinforcement Learning SystemsOubo Ma, Yuwen Pu, Linkang Du, Yang Dai 等CCS 2024 · 6 次引用
  2. On Minimizing Adversarial Counterfactual Error in Adversarial Reinforcement LearningRoman Belaire, Arunesh Sinha, Pradeep VarakanthamICLR 2025
  3. CAMP in the Odyssey: Provably Robust Reinforcement Learning with Certified Radius MaximizationDerui Wang, Kristen Moore, Diksha Goel, Minjune Kim 等USENIX Security 2025

它引用的 Paper28

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha 等S&P 2016 · 3,275 次引用
  3. Why Do Adversarial Attacks Transfer? Explaining Transferability of Evasion and Poisoning AttacksAmbra Demontis, Marco Melis, Maura Pintor, Matthew Jagielski 等USENIX Security 2019 · 466 次引用
  4. Robust Deep Reinforcement Learning against Adversarial Perturbations on State ObservationsHuan Zhang, Hongge Chen, Chaowei Xiao, Bo Li 等NeurIPS 2020 · 437 次引用
  5. Adversarial Policies: Attacking Deep Reinforcement LearningAdam Gleave, Michael Dennis, Cody Wild, Neel Kant 等ICLR 2020 · 415 次引用

相关 Paper

  1. Adversarial Policy Training against Deep Reinforcement LearningXian Wu, Wenbo Guo, Hua Wei, Xinyu XingUSENIX Security 2021 · 19 次引用
  2. Efficient Adversarial Training without Attacking: Worst-Case-Aware Robust Reinforcement LearningYongyuan Liang, Yanchao Sun, Ruijie Zheng, Furong HuangNeurIPS 2022 · 79 次引用
  3. Stealthy and Efficient Adversarial Attacks against Deep Reinforcement LearningJianwen Sun, Tianwei Zhang, Xiaofei Xie, Lei Ma 等AAAI 2020 · 141 次引用
  4. Who Is the Strongest Enemy? Towards Optimal and Efficient Evasion Attacks in Deep RLYanchao Sun, Ruijie Zheng, Yongyuan Liang, Furong HuangICLR 2022 · 82 次引用
  5. Policy Smoothing for Provably Robust Reinforcement LearningAounon Kumar, Alexander Levine, Soheil FeiziICLR 2022 · 62 次引用
黄昏的海面,两侧是细线勾勒的悬崖