Introduction
Backdoor attacks represent a significant security vulnerability in Natural Language Processing (NLP) models. In a typical scenario, an adversary poisons the training dataset to induce a specific, malicious behavior when a "trigger" is present, while maintaining normal performance on clean inputs. However, traditional attacks often rely on two detectable signals: visible trigger words (e.g., rare tokens) and flipped labels (e.g., a positive sentence labeled as negative). These can be flagged by automated perplexity filters or human reviewers. This paper introduces a novel, triggerless, clean-label backdoor attack that overcomes these stealth limitations.
Methodology: Feature Space Crowding
The proposed attack operates without external triggers by utilizing an "instance-specific" strategy. The goal is to manipulate the model's internal feature space so that a specific target test instance ($x_t$) is misclassified into a target class ($y_b$).
The Attack Mechanism
The core strategy, termed Feature Space Crowding, involves generating poisoned training samples that are correctly labeled as the target class but are positioned extremely close to the victim's target test instance in the model's embedding space (e.g., BERT embeddings). By training on these samples, the model's decision boundary is warped, causing it to associate the region around the test instance with the target class.
Genetic Algorithm for Sample Evolution
To generate these poisoned samples, the authors employ a heuristic genetic algorithm. Starting with base examples that already possess the target label, the algorithm iteratively applies:
- Substitution: Using a Masked Language Model (MLM) to replace words with contextually appropriate synonyms.
- Crossover: Merging perturbed sentences to optimize proximity to the target test instance.
- Constraints: Ensuring semantic similarity and fluency to maintain the "clean label" property and bypass human inspection.
Experimental Evaluation
The attack was evaluated across three benchmarks: SST-2 (sentiment), OLID (offensive language), and AG’s News (topic classification).
Attack Success and Efficiency
The attack demonstrated remarkable effectiveness. On the SST-2 and OLID datasets, the Attack Success Rate (ASR) exceeded 98%, while AG’s News reached over 92%. Crucially, the attack is highly sample-efficient; for instance, on SST-2, adding only 40 poisoned samples to a dataset of 7,000 was sufficient for a near-perfect success rate.
Stealth and Robustness
Unlike trigger-based methods, this attack is resistant to state-of-the-art defenses like ONION. While ONION reduced the ASR of traditional attacks to 17%, the triggerless attack maintained a 98% success rate. Furthermore, human evaluation confirmed that poisoned samples are indistinguishable from clean data, with annotators identifying the correct label over 90% of the time.
Conclusion
This research highlights a critical "stealth gap" in current NLP security. By removing visible triggers and maintaining clean labels, the proposed attack bypasses both automated and manual defenses. Future work must focus on developing more robust defense mechanisms, such as fine-tuning on small sets of verified "gold-standard" data or employing weight-pruning techniques to mitigate the impact of feature space crowding.
Summary updated