mlsanityData to 7 Oct 2026

Robust Text Classification: Analyzing Prototype-Based Networks

arXiv 2311.06647 ↗First posted 11 Nov 2023cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Downstream applications often require text classification models to be accurate and robust. While the accuracy of the state-of-the-art Language Models (LMs) approximates human performance, they often exhibit a drop in performance on noisy data found in the real world. This lack of robustness can be concerning, as even small perturbations in the text, irrelevant to the target task, can cause classifiers to incorrectly change their predictions. A potential solution can be the family of Prototype-Based Networks (PBNs) that classifies examples based on their similarity to prototypical examples of a class (prototypes) and has been shown to be robust to noise for computer vision tasks. In this paper, we study whether the robustness properties of PBNs transfer to text classification tasks under both targeted and static adversarial attack settings. Our results show that PBNs, as a mere architectural variation of vanilla LMs, offer more robustness compared to vanilla LMs under both targeted and static settings. We showcase how PBNs' interpretability can help us to understand PBNs' robustness properties. Finally, our ablation studies reveal the sensitivity of PBNs' robustness to how strictly clustering is done in the training phase, as tighter clustering results in less robust PBNs.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 62 of its 98 references that are in the map. First posted on arXiv 11 Nov 2023.

Builds on

62 of 98 references.

References · 62

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  9. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2016Adversarial examples in the physical worldcited by 1,762
  12. 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
38 more
  1. 2020Concept Bottleneck Modelscited by 1,022
  2. 2016Adversarial Machine Learning at Scalecited by 934
  3. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  4. 2018This Looks Like That: Deep Learning for Interpretable Image Recognitioncited by 731
  5. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  6. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
  7. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
  8. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  9. 2021Interpretable Machine Learning: Fundamental Principles and 10 Grand Challengescited by 364
  10. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 341
  11. 2023Explainability for Large Language Models: A Surveycited by 331
  12. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  13. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
  14. 2018Generating Adversarial Examples with Adversarial Networkscited by 256
  15. 2017Deep Learning for Case-Based Reasoning through Prototypes: A Neural Network that Explains Its Predictionscited by 234
  16. 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
  17. 2020Neural Prototype Trees for Interpretable Fine-grained Image Recognitioncited by 213
  18. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
  19. 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 203
  20. 2020Evaluating Explainable AI: Which Algorithmic Explanations Help Users Predict Model Behavior?cited by 189
  21. 2018Robust Classification with Convolutional Prototype Learningcited by 122
  22. 2020How Can We Accelerate Progress Towards Human-like Linguistic Generalization?cited by 114
  23. 2020Adversarial Training for Large Neural Language Modelscited by 109
  24. 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
  25. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  26. 2019Hyperspherical Prototype Networkscited by 85
  27. 2020Reevaluating Adversarial Examples in Natural Languagecited by 83
  28. 2019Interpretable and Steerable Sequence Learning via Prototypescited by 72
  29. 2021XProtoNet: Diagnosis in Chest Radiography with Global and Local Explanationscited by 72
  30. 2021This Looks Like That... Does it? Shortcomings of Latent Space Prototype Interpretability in Deep Networkscited by 65
  31. 2019Interpretable Image Recognition with Hierarchical Prototypescited by 64
  32. 2019Towards Explainable Deep Neural Networks (xDNN)cited by 61
  33. 2020Identifying Spurious Correlations for Robust Text Classificationcited by 59
  34. 2020This Looks Like That, Because ... Explaining Prototypes for Interpretable Image Recognitioncited by 50
  35. 2021ExplainaBoard: An Explainable Leaderboard for NLPcited by 50
  36. 2020Multimodal Prototypical Networks for Few-shot Learningcited by 48
  37. 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
  38. 2018Discrete Adversarial Attacks and Submodular Optimization with Applications to Text Classificationcited by 34

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.