Towards Evaluating the Robustness of Neural Networks Learned by Transduction

Jiefeng Chen, Xi Wu, Yang Guo, Yingyu Liang, Somesh Jha
10/27/2021
cs.LG

Official code: jfc43/eval-transductive-robustness (4 stars, Python, Apache-2.0, last commit 2022-02-17).

Abstract

There has been emerging interest in using transductive learning for adversarial robustness (Goldwasser et al., NeurIPS 2020; Wu et al., ICML 2020; Wang et al., ArXiv 2021). Compared to traditional defenses, these defense mechanisms "dynamically learn" the model based on test-time input; and theoretically, attacking these defenses reduces to solving a bilevel optimization problem, which poses difficulty in crafting adaptive attacks.

Show full abstract

In this paper, we examine these defense mechanisms from a principled threat analysis perspective. We formulate and analyze threat models for transductive-learning based defenses, and point out important subtleties. We propose the principle of attacking model space for solving bilevel attack objectives, and present Greedy Model Space Attack (GMSA), an attack framework that can serve as a new baseline for evaluating transductive-learning based defenses. Through systematic evaluation, we show that GMSA, even with weak instantiations, can break previous transductive-learning based defenses, which were resilient to previous attacks, such as AutoAttack. On the positive side, we report a somewhat surprising empirical result of "transductive adversarial training": Adversarially retraining the model using fresh randomness at the test time gives a significant increase in robustness against attacks we consider.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Exploring evaluating the adversarial robustness of transductive-learning based defenses.

42Python, ShellFeb 17, 20224 years agoApache-2.0
adversarial-attacksadversarial-defensetransductive-learning

Similar Papers

Cite this paper

@article{chen2021towards,
  title  = {Towards Evaluating the Robustness of Neural Networks Learned by Transduction},
  author = {Jiefeng Chen and Xi Wu and Yang Guo and Yingyu Liang and Somesh Jha},
  year   = {2021},
  eprint = {2110.14735},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14735}
}

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

Discussion