paper-with-me

홈 › Papers

In and Out-of-Domain Text Adversarial Robustness via Label Smoothing

2022-12-20 · Yahan Yang, Soham Dan, Dan Roth, Insup Lee

Recently it has been shown that state-of-the-art NLP models are vulnerable to adversarial attacks, where the predictions of a model can be drastically altered by slight modifications to the input (such as synonym substitutions). While several defense techniques have been proposed, and adapted, to the discrete nature of text adversarial attacks, the benefits of general-purpose regularization methods such as label smoothing for language models, have not been studied. In this paper, we study the adversarial robustness provided by various label smoothing strategies in foundational models for diverse NLP tasks in both in-domain and out-of-domain settings. Our experiments show that label smoothing significantly improves adversarial robustness in pre-trained models like BERT, against various popular attacks. We also analyze the relationship between prediction confidence and robustness, showing that label smoothing reduces over-confident errors on adversarial examples.

📄 PDF Abstract BibTeX arXiv:2212.10258

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial Robustness

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Residual Connection 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Adversarial Robustness via Label-Smoothing

2019-06-27 · Morgane Goibert, Elvis Dohmatob

We study Label-Smoothing as a means for improving adversarial robustness of supervised deep-learning models. After establishing a thorough and unified framework, we propose several variations to this general method: adve…

Adversarial Robustness

Label Smoothing and Adversarial Robustness

2020-09-17 · Chaohao Fu, Hongbin Chen, Na Ruan, Weijia Jia

Recent studies indicate that current adversarial attack methods are flawed and easy to fail when encountering some deliberately designed defense. Sometimes even a slight modification in the model details will invalidate …

Adversarial AttackAdversarial Robustness

Free Lunch for Domain Adversarial Training: Environment Label Smoothing

2023-02-01 · The Eleventh International Conference on Learning Representations (ICLR 2023) 2023 1 · Yifan Zhang, Xue Wang, Jian Liang, Zhang Zhang 외

A fundamental challenge for machine learning models is how to generalize learned models for out-of-distribution (OOD) data. Among various approaches, exploiting invariant features by Domain Adversarial Training (DAT) rec…

Domain Generalization

Adversarial Robustness via Adaptive Label Smoothing

2021-09-29 · Qibing Ren, Liangliang Shi, Lanjun Wang, Junchi Yan

Adversarial training (AT) has become a dominant defense paradigm by enforcing the model's predictions to be locally invariant to adversarial examples. Being a simple technique, Label smoothing (LS) has shown its potentia…

Adversarial Robustness

Label Smoothing and Logit Squeezing: A Replacement for Adversarial Training?

2019-10-25 · Ali Shafahi, Amin Ghiasi, Furong Huang, Tom Goldstein

Adversarial training is one of the strongest defenses against adversarial attacks, but it requires adversarial examples to be generated for every mini-batch during optimization. The expense of producing these examples du…

Adversarial Robustness