Lune

CVPR2022Top-tier venue

Enhancing Adversarial Training with Second-Order Statistics of Weights

Gaojie Jin, Xinping Yi, Wei Huang, Sven Schewe, Xiaowei Huang

Abstract

Adversarial training has been shown to be one of the most effective approaches to improve the robustness of deep neural networks. It is formalized as a min-max optimization over model weights and adversarial perturbations, where the weights can be optimized through gradient descent methods like SGD. In this paper, we show that treating model weights as random variables allows for enhancing adversarial training through Second-Order Statistics Optimization (S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> O) with respect to the weights. By relaxing a common (but unrealistic) assumption of previous PAC-Bayesian frameworks that all weights are statistically independent, we derive an improved PAC-Bayesian adversarial generalization bound, which suggests that optimizing second-order statistics of weights can effectively tighten the bound. In addition to this theoretical insight, we conduct an extensive set of experiments, which show that S <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> O not only improves the robustness and generalization of the trained neural networks when used in isolation, but also integrates easily in state-of-the-art adversarial training techniques like TRADES, AWP, MART, and AVMixup, leading to a measurable improvement of these techniques. The code is available at https://github.com/Alexkael/S2O.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TrajPAC: Towards Robustness Verification of Pedestrian Trajectory Prediction Models cites Towards Evaluating the Robustness of Neural Networks
  • TrajPAC: Towards Robustness Verification of Pedestrian Trajectory Prediction Models cites SAFARI: Versatile and Efficient Evaluations for Robustness of Interpretability
  • Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Towards Evaluating the Robustness of Neural Networks
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Overfitting in adversarially robust deep learning
  • Boosting Adversarial Training via Fisher-Rao Norm-Based Regularization cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Boosting Adversarial Training via Fisher-Rao Norm-Based Regularization cites Overfitting in adversarially robust deep learning
  • Adversarial Finetuning with Latent Representation Constraint to Mitigate Accuracy-Robustness Tradeoff cites Towards Evaluating the Robustness of Neural Networks
  • Adversarial Finetuning with Latent Representation Constraint to Mitigate Accuracy-Robustness Tradeoff cites Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
  • Adversarial Finetuning with Latent Representation Constraint to Mitigate Accuracy-Robustness Tradeoff cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Adversarial Finetuning with Latent Representation Constraint to Mitigate Accuracy-Robustness Tradeoff cites Overfitting in adversarially robust deep learning
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks cites Towards Evaluating the Robustness of Neural Networks
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Towards Evaluating the Robustness of Neural Networks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Overfitting in adversarially robust deep learning
  • Overfitting in adversarially robust deep learning cites Towards Evaluating the Robustness of Neural Networks
  • Overfitting in adversarially robust deep learning cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 citations
  2. SAFARI: Versatile and Efficient Evaluations for Robustness of InterpretabilityWei Huang, Xingyu Zhao, Gaojie Jin, Xiaowei HuangICCV 2023 · 41 citations
  3. TrajPAC: Towards Robustness Verification of Pedestrian Trajectory Prediction ModelsLiang Zhang, Nathaniel Xu, Pengfei Yang, Gaojie Jin et al.ICCV 2023 · 13 citations
  4. Adversarial Finetuning with Latent Representation Constraint to Mitigate Accuracy-Robustness TradeoffSatoshi Suzuki, Shin'ya Yamaguchi, Shoichiro Takeda, Sekitoshi Kanai et al.ICCV 2023 · 8 citations
  5. Boosting Adversarial Training via Fisher-Rao Norm-Based RegularizationXiangyu Yin, Wenjie RuanCVPR 2024 · 7 citations

Builds on20

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
  3. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  4. Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 citations
  5. Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations

Related papers

  1. Randomized Adversarial Training via Taylor ExpansionGaojie Jin, Xinping Yi, Dengyu Wu, Ronghui Mu et al.CVPR 2023
  2. Improving Adversarial Robustness by Putting More Regularizations on Less Robust SamplesDongyoon Yang, Insung Kong, Yongdai KimICML 2023 · 15 citations
  3. Adversarial Training for Probabilistic RobustnessYi Zhang, Yuhang Chen, Zhen Chen, Wenjie Ruan et al.ICCV 2025 · 3 citations
  4. PAC-Bayesian Spectrally-Normalized Bounds for Adversarially Robust GeneralizationJiancong Xiao, Ruoyu Sun, Zhi-Quan LuoNeurIPS 2023 · 14 citations
  5. Relating Adversarially Robust Generalization to Flat MinimaDavid Stutz, Matthias Hein, Bernt SchieleICCV 2021 · 80 citations
Dusk over the sea between two cliffs drawn in fine vertical lines