Optimization and Optimizers for Adversarial Robustness

Hengyue Liang, Buyun Liang, Le Peng, Ying Cui, Tim Mitchell +1 more
3/23/2023
cs.LGcs.CV

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Empirical robustness evaluation (RE) of deep learning models against adversarial perturbations entails solving nontrivial constrained optimization problems. Existing numerical algorithms that are commonly used to solve them in practice predominantly rely on projected gradient, and mostly handle perturbations modeled by the $\ell_1$, $\ell_2$ and $\ell_\infty$ distances. In this paper, we introduce a novel algorithmic framework that blends a general-purpose constrained-optimization solver PyGRANSO with Constraint Folding (PWCF), which can add more reliability and generality to the state-of-the-art RE packages, e.g., AutoAttack. Regarding reliability, PWCF provides solutions with stationarity measures and feasibility tests to assess the solution quality. For generality, PWCF can handle perturbation models that are typically inaccessible to the existing projected gradient methods; the main requirement is the distance metric to be almost everywhere differentiable. Taking advantage of PWCF and other existing numerical algorithms, we further explore the distinct patterns in the solutions found for solving these optimization problems using various combinations of losses, perturbation models, and optimization algorithms. We then discuss the implications of these patterns on the current robustness evaluation and adversarial training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liang2023optimization,
  title  = {Optimization and Optimizers for Adversarial Robustness},
  author = {Hengyue Liang and Buyun Liang and Le Peng and Ying Cui and Tim Mitchell and Ju Sun},
  year   = {2023},
  eprint = {2303.13401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13401v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.13401.svg)](https://codeofpaper.com/paper/2303.13401)

Discussion