mlsanityData to 14 Oct 2026

A Constraint-Enforcing Reward for Adversarial Attacks on Text Classifiers

arXiv 2405.11904 ↗First posted 20 May 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Text classifiers are vulnerable to adversarial examples -- correctly-classified examples that are deliberately transformed to be misclassified while satisfying acceptability constraints. The conventional approach to finding adversarial examples is to define and solve a combinatorial optimisation problem over a space of allowable transformations. While effective, this approach is slow and limited by the choice of transformations. An alternate approach is to directly generate adversarial examples by fine-tuning a pre-trained language model, as is commonly done for other text-to-text tasks. This approach promises to be much quicker and more expressive, but is relatively unexplored. For this reason, in this work we train an encoder-decoder paraphrase model to generate a diverse range of adversarial examples. For training, we adopt a reinforcement learning algorithm and propose a constraint-enforcing reward that promotes the generation of valid adversarial examples. Experimental results over two text classification datasets show that our model has achieved a higher success rate than the original paraphrase model, and overall has proved more effective than other competitive attacks. Finally, we show how key design choices impact the generated examples and discuss the strengths and weaknesses of the proposed approach.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 28 of its 47 references that are in the map. First posted on arXiv 20 May 2024.

Builds on

28 of 47 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  6. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  7. 2017Deep Reinforcement Learning that Matterscited by 754
  8. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  9. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  10. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 414
  11. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  12. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
16 more
  1. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
  2. 2017Toward Controlled Generation of Textcited by 272
  3. 2017Generating Natural Adversarial Examplescited by 183
  4. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 158
  5. 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
  6. 2017Backpropagation through the Void: Optimizing control variates for black-box gradient estimationcited by 106
  7. 2016Sequence Tutor: Conservative Fine-Tuning of Sequence Generation Models with KL-controlcited by 101
  8. 2018Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examplescited by 94
  9. 2020Reevaluating Adversarial Examples in Natural Languagecited by 85
  10. 2020Imitation Attacks and Defenses for Black-box Machine Translation Systemscited by 81
  11. 2019On Evaluation of Adversarial Perturbations for Sequence-to-Sequence Modelscited by 56
  12. 2020Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examplescited by 23
  13. 2020Generating Natural Language Adversarial Examples on a Large Scale with Generative Modelscited by 15
  14. 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
  15. 2019Generating Black-Box Adversarial Examples for Text Classifiers Using a Deep Reinforced Modelcited by 10
  16. 2017DANCin SEQ2SEQ: Fooling Text Classifiers with Adversarial Text Example Generationcited by 9

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Unifying Adversarial Robustness and Training Across Text Scoring Models
  2. 2022Rethinking Textual Adversarial Defense for Pre-trained Language Models
  3. 2025Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence Benchmarks
  4. 2025READ: Reinforcement-based Adversarial Learning for Text Classification with Limited Labeled Data
  5. 2024Finding a Needle in the Adversarial Haystack: A Targeted Paraphrasing Approach For Uncovering Edge Cases with Minimal Distribution Distortion
  6. 2021Generating Watermarked Adversarial Texts
  7. 2025Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated Text
  8. 2025Adversarial Training of Reward Models