Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Open Access Articles
  3. MIT Open Access Articles
  4. Single Word Change Is All You Need: Using LLMs to Create Synthetic Training Examples for Text Classifiers

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

Thumbnail Image
Download
Name

Expert Systems - 2025 - Xu - Single Word Change Is All You Need Using LLMs to Create Synthetic Training Examples for Text.pdf

Description
Published version
Size

1.01 MB

Format

Adobe PDF

Checksum (MD5)

5e57bc79a340579e991ce7c3a10c2428

sword-2025-10-22T16:30:03.original.xml (130 B)
Original SWORD entry document
Author(s)
Xu, Lei
•
Alnegheimish, Sarah
•
Berti‐Equille, Laure
•
Cuesta‐Infante, Alfredo
•
Veeramachaneni, Kalyan
Date Issued
July 7, 2025
Journal
Expert Systems
Publisher
Wiley
Citation
Xu, L., S. Alnegheimish, L. Berti-Equille, A. Cuesta-Infante, and K. Veeramachaneni. 2025. “ Single Word Change Is All You Need: Using LLMs to Create Synthetic Training Examples for Text Classifiers.” Expert Systems 42, no. 8: e70079.
Version
Final published version
Abstract
In text classification, creating an adversarial example means subtly perturbing a few words in a sentence without changing itsmeaning, causing it to be misclassified by a classifier. A concerning observation is that a significant portion of adversarial exam-ples generated by existing methods change only one word. This single-word perturbation vulnerability represents a significantweakness in classifiers, which malicious users can exploit to efficiently create a multitude of adversarial examples. This paperstudies this problem and makes the following key contributions: (1) We introduce a novel metric 𝜌 to quantitatively assess a clas-sifier's robustness against single-word perturbation. (2) We present the SP-Attack, designed to exploit the single-word perturbationvulnerability, achieving a higher attack success rate, better preserving sentence meaning, while reducing computation costscompared to state-of-the-art adversarial methods. (3) We propose SP-Defence, which aims to improve 𝜌 by applying data augmen-tation in learning. Experimental results on 4 datasets and 2 masked language models show that SP-Defence 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 decreasesthe attack success rate of existing attack methods that involve multiple-word perturbation.
MIT Department
Massachusetts Institute of Technology. Laboratory for Information and Decision Systems
Terms of Use
Creative Commons Attribution
https://creativecommons.org/licenses/by/4.0/
Persistent DSpace Link
https://hdl.handle.net/1721.1/163365
DOI of Published Version
https://doi.org/10.1111/exsy.70079
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.