mlsanityData to 14 Oct 2026

Robustifying Language Models with Test-Time Adaptation

arXiv 2310.19177 ↗First posted 29 Oct 2023cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Large-scale language models achieved state-of-the-art performance over a number of language tasks. However, they fail on adversarial language examples, which are sentences optimized to fool the language models but with similar semantic meanings for humans. While prior work focuses on making the language model robust at training time, retraining for robustness is often unrealistic for large-scale foundation models. Instead, we propose to make the language models robust at test time. By dynamically adapting the input sentence with predictions from masked words, we show that we can reverse many language adversarial attacks. Since our approach does not require any training, it works for novel tasks at test time and can adapt to novel adversarial corruptions. Visualizations and empirical results on two popular sentence classification datasets demonstrate that our method can repair adversarial language attacks over 65% o

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 14 of its 21 references that are in the map. First posted on arXiv 29 Oct 2023.

Builds on

14 of 21 references.

References · 14

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  3. 2019Natural Adversarial Examplescited by 1,408
  4. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  5. 2018Universal Sentence Encodercited by 489
  6. 2021A Survey of Data Augmentation Approaches for NLPcited by 409
  7. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  8. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
  9. 2022Understanding Zero-Shot Adversarial Robustness for Large-Scale Modelscited by 117
  10. 2021Adversarial Attacks are Reversible with Natural Supervisioncited by 47
  11. 2020Comparing BERT against traditional machine learning text classificationcited by 46
  12. 2022Robust Perception through Equivariancecited by 9
2 more
  1. 2022Using Multiple Self-Supervised Tasks Improves Model Robustnesscited by 4
  2. 2022Adversarially Robust Video Perception by Seeing Motioncited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.