Extreme Miscalibration and the Illusion of Adversarial Robustness

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Raina, Vyas, Tan, Samson, Cevher, Volkan, Rawal, Aditya, Zha, Sheng, Karypis, George
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912070712164352
author Raina, Vyas
Tan, Samson
Cevher, Volkan
Rawal, Aditya
Zha, Sheng
Karypis, George
author_facet Raina, Vyas
Tan, Samson
Cevher, Volkan
Rawal, Aditya
Zha, Sheng
Karypis, George
contents Deep learning-based Natural Language Processing (NLP) models are vulnerable to adversarial attacks, where small perturbations can cause a model to misclassify. Adversarial Training (AT) is often used to increase model robustness. However, we have discovered an intriguing phenomenon: deliberately or accidentally miscalibrating models masks gradients in a way that interferes with adversarial attack search methods, giving rise to an apparent increase in robustness. We show that this observed gain in robustness is an illusion of robustness (IOR), and demonstrate how an adversary can perform various forms of test-time temperature calibration to nullify the aforementioned interference and allow the adversarial attack to find adversarial examples. Hence, we urge the NLP community to incorporate test-time temperature scaling into their robustness evaluations to ensure that any observed gains are genuine. Finally, we show how the temperature can be scaled during \textit{training} to improve genuine robustness.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17509
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Extreme Miscalibration and the Illusion of Adversarial Robustness
Raina, Vyas
Tan, Samson
Cevher, Volkan
Rawal, Aditya
Zha, Sheng
Karypis, George
Computation and Language
Deep learning-based Natural Language Processing (NLP) models are vulnerable to adversarial attacks, where small perturbations can cause a model to misclassify. Adversarial Training (AT) is often used to increase model robustness. However, we have discovered an intriguing phenomenon: deliberately or accidentally miscalibrating models masks gradients in a way that interferes with adversarial attack search methods, giving rise to an apparent increase in robustness. We show that this observed gain in robustness is an illusion of robustness (IOR), and demonstrate how an adversary can perform various forms of test-time temperature calibration to nullify the aforementioned interference and allow the adversarial attack to find adversarial examples. Hence, we urge the NLP community to incorporate test-time temperature scaling into their robustness evaluations to ensure that any observed gains are genuine. Finally, we show how the temperature can be scaled during \textit{training} to improve genuine robustness.
title Extreme Miscalibration and the Illusion of Adversarial Robustness
topic Computation and Language
url https://arxiv.org/abs/2402.17509