mlsanityData to 7 Oct 2026

SCAT: Robust Self-supervised Contrastive Learning via Adversarial Training for Text Classification

arXiv 2307.01488 ↗First posted 4 Jul 2023cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Despite their promising performance across various natural language processing (NLP) tasks, current NLP systems are vulnerable to textual adversarial attacks. To defend against these attacks, most existing methods apply adversarial training by incorporating adversarial examples. However, these methods have to rely on ground-truth labels to generate adversarial examples, rendering it impractical for large-scale model pre-training which is commonly used nowadays for NLP and many other tasks. In this paper, we propose a novel learning framework called SCAT (Self-supervised Contrastive Learning via Adversarial Training), which can learn robust representations without requiring labeled data. Specifically, SCAT modifies random augmentations of the data in a fully labelfree manner to generate adversarial examples. Adversarial training is achieved by minimizing the contrastive loss between the augmentations and their adversarial counterparts. We evaluate SCAT on two text classification datasets using two state-of-the-art attack schemes proposed recently. Our results show that SCAT can not only train robust language models from scratch, but it can also significantly improve the robustness of existing pre-trained language models. Moreover, to demonstrate its flexibility, we show that SCAT can also be combined with supervised adversarial training to further enhance model robustness.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 50 of its 56 references that are in the map. First posted on arXiv 4 Jul 2023.

Builds on

50 of 56 references.

References · 50

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  10. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  11. 2016Adversarial examples in the physical worldcited by 1,762
  12. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
38 more
  1. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  2. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  3. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  4. 2018Generating Natural Language Adversarial Examplescited by 422
  5. 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
  6. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
  7. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  8. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  9. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  10. 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
  11. 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
  12. 2017Generating Natural Adversarial Examplescited by 182
  13. 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
  14. 2019Certified Robustness to Adversarial Word Substitutionscited by 164
  15. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  16. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  17. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 138
  18. 2020Adversarial Self-Supervised Contrastive Learningcited by 138
  19. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  20. 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 102
  21. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 99
  22. 2020InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspectivecited by 92
  23. 2018Interpretable Adversarial Perturbation in Input Embedding Space for Textcited by 67
  24. 2020CharBERT: Character-aware Pre-trained Language Modelcited by 63
  25. 2020Robust Encodings: A Framework for Combating Adversarial Typoscited by 58
  26. 2019Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classificationcited by 55
  27. 2018Robust Machine Comprehension Models via Adversarial Trainingcited by 44
  28. 2020Better Robustness by More Coverage: Adversarial Training with Mixup Augmentation for Robust Fine-tuningcited by 39
  29. 2021Defending Pre-trained Language Models from Adversarial Word Substitutions Without Performance Sacrificecited by 30
  30. 2021Using Adversarial Attacks to Reveal the Statistical Bias in Machine Reading Comprehension Modelscited by 29
  31. 2021Grey-box Adversarial Attack And Defence For Sentiment Classificationcited by 28
  32. 2020Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examplescited by 23
  33. 2021Achieving Model Robustness through Discrete Adversarial Trainingcited by 23
  34. 2020Adversarial Attack and Defense of Structured Prediction Modelscited by 20
  35. 2021DialogueCSE: Dialogue-based Contrastive Learning of Sentence Embeddingscited by 19
  36. 2020A Sweet Rabbit Hole by DARCY: Using Honeypots to Detect Universal Trigger's Adversarial Attackscited by 14
  37. 2020Unsupervised Data Augmentation with Naive Augmentation and without Unlabeled Datacited by 11
  38. 2020TAVAT: Token-Aware Virtual Adversarial Training for Language Understandingcited by 8

Built on by

Not cited yet.