Improving Adversarial Robustness via Probabilistically Compact Loss with Logit Constraints

Xin Li, Xiangrui Li, Deng Pan, Dongxiao Zhu
12/14/2020
cs.LGcs.CV

Official code: xinli0928/PC-LC (9 stars, Python, MIT, last commit 2020-12-17).

Abstract

Convolutional neural networks (CNNs) have achieved state-of-the-art performance on various tasks in computer vision. However, recent studies demonstrate that these models are vulnerable to carefully crafted adversarial samples and suffer from a significant performance drop when predicting them.

Show full abstract

Many methods have been proposed to improve adversarial robustness (e.g., adversarial training and new loss functions to learn adversarially robust feature representations). Here we offer a unique insight into the predictive behavior of CNNs that they tend to misclassify adversarial samples into the most probable false classes. This inspires us to propose a new Probabilistically Compact (PC) loss with logit constraints which can be used as a drop-in replacement for cross-entropy (CE) loss to improve CNN's adversarial robustness. Specifically, PC loss enlarges the probability gaps between true class and false classes meanwhile the logit constraints prevent the gaps from being melted by a small perturbation. We extensively compare our method with the state-of-the-art using large scale datasets under both white-box and black-box attacks to demonstrate its effectiveness. The source codes are available from the following url: https://github.com/xinli0928/PC-LC.

View on arXivView PDF

Code Implementations(1)

xinli0928/PC-LCOfficial100%
MIT
91Python, Jupyter NotebookDec 6, 20205 years agoMIT

Similar Papers

Cite this paper

@article{li2020improving,
  title  = {Improving Adversarial Robustness via Probabilistically Compact Loss with Logit Constraints},
  author = {Xin Li and Xiangrui Li and Deng Pan and Dongxiao Zhu},
  year   = {2020},
  eprint = {2012.07688},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.07688}
}

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

Discussion