Skip to main content
QUICK REVIEW

[Paper Review] Towards Defending Multiple $\ell_p$-norm Bounded Adversarial Perturbations via Gated Batch Normalization

Aishan Liu, Shiyu Tang|arXiv (Cornell University)|Dec 3, 2020
Adversarial Robustness in Machine LearningComputer Science50 references5 citations
TL;DR

This paper proposes Gated Batch Normalization (GBN), a novel normalization technique that enhances deep neural network robustness against multiple $\\-ell_p$-norm bounded adversarial attacks. By integrating learnable gates (Conv and FC) into batch normalization layers, GBN adaptively modulates feature representations, achieving state-of-the-art robust accuracy across $\\-ell_1$, $\\-ell_2$, and $\\-ell_\infty$ attacks on CIFAR-10 and Tiny-ImageNet, with a clean accuracy of 83.6% and robust accuracy up to 75.6% under AutoAttack.

ABSTRACT

There has been extensive evidence demonstrating that deep neural networks are vulnerable to adversarial examples, which motivates the development of defenses against adversarial attacks. Existing adversarial defenses typically improve model robustness against individual specific perturbation types (\eg, $\ell_{\infty}$-norm bounded adversarial examples). However, adversaries are likely to generate multiple types of perturbations in practice (\eg, $\ell_1$, $\ell_2$, and $\ell_{\infty}$ perturbations). Some recent methods improve model robustness against adversarial attacks in multiple $\ell_p$ balls, but their performance against each perturbation type is still far from satisfactory. In this paper, we observe that different $\ell_p$ bounded adversarial perturbations induce different statistical properties that can be separated and characterized by the statistics of Batch Normalization (BN). We thus propose Gated Batch Normalization (GBN) to adversarially train a perturbation-invariant predictor for defending multiple $\ell_p$ bounded adversarial perturbations. GBN consists of a multi-branch BN layer and a gated sub-network. Each BN branch in GBN is in charge of one perturbation type to ensure that the normalized output is aligned towards learning perturbation-invariant representation. Meanwhile, the gated sub-network is designed to separate inputs added with different perturbation types. We perform an extensive evaluation of our approach on commonly-used dataset including MNIST, CIFAR-10, and Tiny-ImageNet, and demonstrate that GBN outperforms previous defense proposals against multiple perturbation types (\ie, $\ell_1$, $\ell_2$, and $\ell_{\infty}$ perturbations) by large margins.

Motivation & Objective

  • To address the limitation of existing defenses that are effective only against specific $\\ell_p$-norm attacks, not multiple types simultaneously.
  • To improve model robustness under diverse adversarial attacks, including PGD, C&W, AutoAttack, and naturalistic perturbations.
  • To develop a unified defense mechanism that generalizes across different $\\ell_p$-norm threat models without requiring separate architectures.
  • To investigate the impact of gate type (Conv vs. FC) and placement in GBN blocks on robustness and generalization.

Proposed method

  • Introduces Gated Batch Normalization (GBN), where learnable gates (Conv or FC) dynamically modulate batch statistics per layer, enabling domain-specific feature adaptation.
  • Uses a hybrid gate strategy: Conv gate in the first GBN block and FC gates in subsequent blocks to balance invariance and expressivity.
  • Employs adversarial training with PGD attacks under $\\ell_1$, $\\ell_2$, and $\\ell_\infty$ norms, generating adversarial mini-batches while keeping BN in eval mode.
  • For adversarial data diversity, forces gradient flow through all four BN branches during training, improving generalization.
  • Trains models using a combination of clean and multi-norm adversarial examples, with hyperparameters tuned per attack type.
  • Evaluates GBN against a comprehensive suite of attacks, including PGD, C&W, BBA, MI-FGSM, SPSA, NATTACK, and AutoAttack, on MNIST, CIFAR-10, and Tiny-ImageNet.

Experimental results

Research questions

  • RQ1Can a unified normalization technique defend against multiple $\\ell_p$-norm bounded adversarial attacks simultaneously?
  • RQ2How does the choice of gate type (Conv vs. FC) and placement in GBN blocks affect robustness and generalization?
  • RQ3Does forcing gradient flow through all BN branches during adversarial training improve defense performance?
  • RQ4How does GBN compare to existing defenses (e.g., AVG, MAX, MSD, PAT, TRADES) under strong attacks like AutoAttack and C&W?
  • RQ5Can GBN maintain high clean accuracy while achieving strong robustness across diverse attack types?

Key findings

  • GBN achieves 83.6% clean accuracy and 75.6% robust accuracy under AutoAttack on WideResNet-28-10, outperforming all baselines.
  • On CIFAR-10, GBN achieves 71.1% robust accuracy under BBA and 70.4% under PGD-$\\ell_2$, surpassing PAT, TRADES, and other defenses.
  • The hybrid gate strategy (Conv+FC) in GBN blocks yields 59.6% robust accuracy under PGD-$\\ell_1$, significantly outperforming 'Conv all' (30.4%) and 'FC all' (35.1%) strategies.
  • GBN maintains strong performance under naturalistic attacks like Gaussian noise and SPSA, with 77.4% and 70.7% robust accuracy respectively on WideResNet-28-10.
  • GBN achieves 74.9% robust accuracy under C&W-$\\ell_2$ on ResNet-20, exceeding PAT (50.9%) and TRADES (59.5%) under the same attack.
  • GBN shows superior robustness under PGD-$\\ell_\infty$ with 60.2% accuracy on WideResNet-28-10, outperforming MAX (44.1%) and AVG (49.6%) strategies.

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.