mlsanityData to 7 Oct 2026

Robust Encodings: A Framework for Combating Adversarial Typos

arXiv 2005.01229 ↗First posted 4 May 2020cs.CL cs.CR cs.LGcited by 58

Not on the map. Why?

Abstract (arXiv)

Despite excellent performance on many tasks, NLP systems are easily fooled by small adversarial perturbations of inputs. Existing procedures to defend against such perturbations are either (i) heuristic in nature and susceptible to stronger attacks or (ii) provide guaranteed robustness to worst-case attacks, but are incompatible with state-of-the-art models like BERT. In this work, we introduce robust encodings (RobEn): a simple framework that confers guaranteed robustness, without making compromises on model architecture. The core component of RobEn is an encoding function, which maps sentences to a smaller, discrete space of encodings. Systems using these encodings as a bottleneck confer guaranteed robustness with standard training, and the same encodings can be used across multiple tasks. We identify two desiderata to construct robust encoding functions: perturbations of a sentence should map to a small set of encodings (stability), and models using encodings should still perform well (fidelity). We instantiate RobEn to defend against a large family of adversarial typos. Across six tasks from GLUE, our instantiation of RobEn paired with BERT achieves an average robust accuracy of 71.3% against all adversarial typos in the family considered, while previous work using a typo-corrector achieves only 35.3% accuracy against a simple greedy attack.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 May 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 17; 2022: 19; 2023: 12; 2024: 3; 2025: 5; 2026: 2.

58 papers.

Sort:

By area:

  1. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
  2. 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
  3. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  4. 2022VALUE: Understanding Dialect Disparity in NLUcited by 45
  5. 2022SemAttack: Natural Textual Attacks via Different Semantic Spacescited by 42
  6. 2021LM-Critic: Language Models for Unsupervised Grammatical Error Correctioncited by 33
  7. 2022Detection of Word Adversarial Examples in Text Classification: Benchmark and Baseline via Robust Density Estimationcited by 32
  8. 2021RockNER: A Simple Method to Create Adversarial Examples for Evaluating the Robustness of Named Entity Recognition Modelscited by 28
  9. 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
  10. 2022Phrase-level Textual Adversarial Attack with Label Preservationcited by 23
  11. 2021P-Adapters: Robustly Extracting Factual Information from Language Models with Diverse Promptscited by 22
  12. 2021Understanding the Generalization Benefit of Model Invariance from a Data Perspectivecited by 22
38 more
  1. 2022A Survey of Adversarial Defences and Robustness in NLPcited by 22
  2. 2021Improving Zero-Shot Cross-Lingual Transfer Learning via Robust Trainingcited by 21
  3. 2021Multi-granularity Textual Adversarial Attack with Behavior Cloningcited by 21
  4. 2021BERT-Defense: A Probabilistic Model Based on BERT to Combat Cognitively Inspired Orthographic Adversarial Attackscited by 17
  5. 2021On the Robustness of Reading Comprehension Models to Entity Renamingcited by 17
  6. 2021Adversarial Reinforced Instruction Attacker for Robust Vision-Language Navigationcited by 15
  7. 2022On Robust Prefix-Tuning for Text Classificationcited by 15
  8. 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
  9. 2022Adversarial Training for Improving Model Robustness? Look at Both Prediction and Interpretationcited by 12
  10. 2023Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editingcited by 11
  11. 2021A Differentiable Language Model Adversarial Attack on Text Classifierscited by 9
  12. 2021Know Thy Strengths: Comprehensive Dialogue State Tracking Diagnosticscited by 9
  13. 2021Empirical Error Modeling Improves Robustness of Noisy Neural Sequence Labelingcited by 8
  14. 2021Detecting Textual Adversarial Examples through Randomized Substitution and Votecited by 8
  15. 2023TextShield: Beyond Successfully Detecting Adversarial Sentences in Text Classificationcited by 8
  16. 2022ER-Test: Evaluating Explanation Regularization Methods for Language Modelscited by 6
  17. 2021Virtual Data Augmentation: A Robust and General Framework for Fine-tuning Pre-trained Modelscited by 5
  18. 2022Data-Driven Mitigation of Adversarial Text Perturbationcited by 5
  19. 2022Adversarial Text Normalizationcited by 5
  20. 2023How Fragile is Relation Extraction under Entity Replacements?cited by 5
  21. 2022Identifying Adversarial Attacks on Text Classifierscited by 4
  22. 2022Improving robustness of language models from a geometry-aware perspectivecited by 4
  23. 2022Preserving Semantics in Textual Adversarial Attackscited by 4
  24. 2024Revisiting Character-level Adversarial Attacks for Language Modelscited by 4
  25. 2023The Best Defense is Attack: Repairing Semantics in Textual Adversarial Examplescited by 3
  26. 2023Toward Stronger Textual Attack Detectorscited by 3
  27. 2025Misspellings in Natural Language Processing: A surveycited by 3
  28. 2022Detecting Textual Adversarial Examples Based on Distributional Characteristics of Data Representationscited by 2
  29. 2022Identifying Human Strategies for Generating Word-Level Adversarial Examplescited by 2
  30. 2022TCAB: A Large-Scale Text Classification Attack Benchmarkcited by 2
  31. 2023Wavelets Beat Monkeys at Adversarial Robustnesscited by 2
  32. 2024MaskPure: Improving Defense Against Text Adversaries with Stochastic Purificationcited by 2
  33. 2025Statistical Runtime Verification for LLMs via Robustness Estimationcited by 2
  34. 2025Robustness in Both Domains: CLIP Needs a Robust Text Encodercited by 2
  35. 2025Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importancecited by 2
  36. 2023READIN: A Chinese Multi-Task Benchmark with Realistic and Diverse Input Noisescited by 1
  37. 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classificationcited by 1
  38. 2024Learning Robust Named Entity Recognizers From Noisy Data With Retrieval Augmentationcited by 1

50 most cited of 58 All 58 (JSON)