mlsanityData to 14 Oct 2026

Single Word Change is All You Need: Using LLMs to Create Synthetic Training Examples for Text Classifiers

arXiv 2401.17196 ↗First posted 30 Jan 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In text classification, creating an adversarial example means subtly perturbing a few words in a sentence without changing its meaning, causing it to be misclassified by a classifier. A concerning observation is that a significant portion of adversarial examples generated by existing methods change only one word. This single-word perturbation vulnerability represents a significant weakness in classifiers, which malicious users can exploit to efficiently create a multitude of adversarial examples. This paper studies this problem and makes the following key contributions: (1) We introduce a novel metric ρ to quantitatively assess a classifier's robustness against single-word perturbation. (2) We present the SP-Attack, designed to exploit the single-word perturbation vulnerability, achieving a higher attack success rate, better preserving sentence meaning, while reducing computation costs compared to state-of-the-art adversarial methods. (3) We propose SP-Defense, which aims to improve rho by applying data augmentation in learning. Experimental results on 4 datasets and BERT and distilBERT classifiers show that SP-Defense improves ρ by 14.6% and 13.9% and decreases the attack success rate of SP-Attack by 30.4% and 21.2% on two classifiers respectively, and decreases the attack success rate of existing attack methods that involve multiple-word perturbations.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 34 references that are in the map. First posted on arXiv 30 Jan 2024.

Builds on

18 of 34 references.

References · 18

  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. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  7. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
  8. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
  9. 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
  10. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  11. 2020Contextualized Perturbation for Textual Adversarial Attackcited by 136
  12. 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 113
6 more
  1. 2021Towards Improving Adversarial Training of NLP Modelscited by 79
  2. 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 53
  3. 2021Red Alarm for Pre-trained Models: Universal Vulnerability to Neuron-Level Backdoor Attackscited by 49
  4. 2019Natural Language Adversarial Defense through Synonym Encodingcited by 40
  5. 2019Fake News Detection via NLP is Vulnerable to Adversarial Attackscited by 19
  6. 2023Large Language Models Are Better Adversaries: Exploring Generative Clean-Label Backdoor Attacks Against Text Classifierscited by 14

Built on by

Not cited yet.