Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Loss Landscape for Adversarial Robustness

Dongxian Wu, Yisen Wang|arXiv (Cornell University)|Apr 13, 2020
Adversarial Robustness in Machine LearningComputer Science38 references10 citations
TL;DR

This paper proposes Adversarial Weight Perturbation (AWP), a simple yet effective module that regularizes the flatness of the adversarial loss landscape during adversarial training, leading to improved adversarial robustness. Experiments show AWP flattens the loss landscape and enhances robustness across multiple adversarial training variants.

ABSTRACT

The study on improving the robustness of deep neural networks against adversarial examples grows rapidly in recent years. Among them, adversarial training is the most promising one, based on which, a lot of improvements have been developed, such as adding regularizations or leveraging unlabeled data. However, these improvements seem to come from isolated perspectives, so that we are curious about if there is something in common behind them. In this paper, we investigate the surface geometry of several well-recognized adversarial training variants, and reveal that their adversarial loss landscape is closely related to the adversarially robust generalization, i.e., the flatter the adversarial loss landscape, the smaller the adversarially robust generalization gap. Based on this finding, we then propose a simple yet effective module, Adversarial Weight Perturbation (AWP), to directly regularize the flatness of the adversarial loss landscape in the adversarial training framework. Extensive experiments demonstrate that AWP indeed owns flatter landscape and can be easily incorporated into various adversarial training variants to enhance their adversarial robustness further.

Motivation & Objective

  • To investigate whether common improvements in adversarial training share a unifying geometric property in the loss landscape.
  • To explore the relationship between adversarial loss landscape flatness and adversarially robust generalization.
  • To develop a unified regularization method that directly optimizes landscape flatness for improved robustness.
  • To demonstrate the effectiveness of the proposed method across diverse adversarial training frameworks.

Proposed method

  • The authors analyze the surface geometry of multiple adversarial training variants to identify a common pattern in their loss landscapes.
  • They introduce Adversarial Weight Perturbation (AWP), which applies targeted weight perturbations during training to encourage flatter adversarial loss surfaces.
  • AWP is integrated into the standard adversarial training loop by perturbing network weights in the direction of the adversarial example gradient.
  • The method is designed to be modular and compatible with various existing adversarial training approaches.
  • The flatness of the adversarial loss landscape is measured and correlated with generalization performance.

Experimental results

Research questions

  • RQ1Is there a common geometric property—specifically, loss landscape flatness—that underlies successful adversarial training methods?
  • RQ2How does the flatness of the adversarial loss landscape relate to the size of the adversarially robust generalization gap?
  • RQ3Can explicitly regularizing landscape flatness improve adversarial robustness across diverse training frameworks?
  • RQ4Does the proposed AWP module effectively flatten the adversarial loss landscape in practice?

Key findings

  • Flatter adversarial loss landscapes are consistently associated with smaller adversarially robust generalization gaps across multiple training variants.
  • AWP successfully flattens the adversarial loss landscape, as measured by the proposed flatness metrics.
  • AWP improves adversarial robustness when integrated into various existing adversarial training frameworks.
  • The improvement from AWP is consistent and significant, demonstrating its effectiveness and generalizability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.