Boosting Adversarial Training with Hypersphere Embedding

Tianyu Pang, Xiao Yang, Yinpeng Dong, Kun Xu, Jun Zhu +1 more
2/20/2020
cs.LGcs.CRcs.CV

Official code: ShawnXYang/AT_HE (35 stars, Python, Apache-2.0, last commit 2020-12-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

ShawnXYang/AT_HEOfficial100%
Apache-2.0
3510Python, ShellJan 11, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{pang2020boosting,
  title  = {Boosting Adversarial Training with Hypersphere Embedding},
  author = {Tianyu Pang and Xiao Yang and Yinpeng Dong and Kun Xu and Jun Zhu and Hang Su},
  year   = {2020},
  eprint = {2002.08619},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.08619}
}

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/2002.08619.svg)](https://codeofpaper.com/paper/2002.08619)

Discussion