Skip to main content
QUICK REVIEW

[Paper Review] Boosting Adversarial Training with Hypersphere Embedding

Tianyu Pang, Xiao Yang|arXiv (Cornell University)|Feb 20, 2020
Adversarial Robustness in Machine LearningComputer Science89 references67 citations
TL;DR

The paper integrates hypersphere embedding into adversarial training frameworks to regularize features onto compact manifolds, improving robustness with minimal extra computation across PGD-AT, ALP, TRADES, FreeAT, and FastAT on CIFAR-10 and ImageNet.

ABSTRACT

Adversarial training (AT) is one of the most effective defenses against adversarial attacks for deep learning models. In this work, we advocate incorporating the hypersphere embedding (HE) mechanism into the AT procedure by regularizing the features onto compact manifolds, which constitutes a lightweight yet effective module to blend in the strength of representation learning. Our extensive analyses reveal that AT and HE are well coupled to benefit the robustness of the adversarially trained models from several aspects. We validate the effectiveness and adaptability of HE by embedding it into the popular AT frameworks including PGD-AT, ALP, and TRADES, as well as the FreeAT and FastAT strategies. In the experiments, we evaluate our methods under a wide range of adversarial attacks on the CIFAR-10 and ImageNet datasets, which verifies that integrating HE can consistently enhance the model robustness for each AT framework with little extra computation.

Motivation & Objective

  • Motivate and implement a lightweight hypersphere embedding (HE) mechanism within adversarial training to improve robustness.
  • Analyze how FN (feature normalization), WN (weight normalization), and AM (angular margin) interact with AT.
  • Demonstrate the compatibility and effectiveness of HE when embedded in PGD-AT, ALP, TRADES, FreeAT, and FastAT.
  • Evaluate robustness under a wide range of adversarial attacks and data corruptions on CIFAR-10 and ImageNet.

Proposed method

  • Normalize features and weights and apply an angular margin in training and adversarial objectives using HE.
  • Use the HE definitions so that the network output becomes a cosine-based angular metric without bias terms in the softened output (no bias in (x)).
  • Incorporate HE into three representative AT frameworks (PGD-AT, ALP, TRADES) and two acceleration strategies (FreeAT, FastAT).
  • Leverage FN to focus learning on hard examples and promote more efficient adversarial perturbations.
  • Apply AM to increase inter-class variance under angular metrics, improving robustness.
  • Provide a modified HE (m-HE) variant by replacing S(cos theta) with S(-theta) to better utilize strong adversaries.

Experimental results

Research questions

  • RQ1Does embedding hypersphere embedding (HE) into adversarial training (AT) consistently improve robustness across multiple AT frameworks?
  • RQ2How do feature normalization, weight normalization, and angular margins interact with AT dynamics to enhance robustness and training efficiency?
  • RQ3Is the HE approach compatible with acceleration strategies like FreeAT and FastAT without substantial computational overhead?
  • RQ4Does HE improve robustness under a broad set of adversarial attacks and data corruptions on CIFAR-10 and ImageNet?
  • RQ5Can a modified HE (m-HE) better utilize strong adversaries in AT settings?

Key findings

  • HE consistently improves robustness across PGD-AT, ALP, and TRADES when combined with HE.
  • HE and AT are mutually beneficial, enhancing adversarial robustness with little extra computation.
  • FN and WN help focus learning on hard examples and stabilize training by reducing size-biased weight updates; AM further increases robustness by enlarging inter-class margins.
  • HE improves performance under white-box and black-box attacks and with accelerated AT methods (FreeAT and FastAT).
  • m-HE can offer better utilization of strong adversaries in some AT configurations.
  • Experiments on CIFAR-10 and ImageNet show improved robustness and resilience to diverse attacks and corruptions.

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.