The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributes
Wencong You, Daniel Lowd
TL;DR
This work introduces AttrBkd, a clean-label backdoor framework for text classification that uses fine-grained stylistic attributes as triggers to achieve high stealth and strong attack effectiveness. It combines three attribute-gathering recipes (Baseline-Derived, LISA Embedding Outliers, and Sample-Inspired) and validates them with comprehensive human evaluations via an AIR metric, showing humans consistently prefer AttrBkd over conspicuous baselines. The study demonstrates AttrBkd attains competitive $ASR$ across SST-2, AG News, and Blog, while being harder to detect by automated defenses and human annotators, exposing gaps in current evaluation metrics. The results argue for a holistic evaluation paradigm that integrates human judgment with automated metrics to better assess backdoor subtlety and robustness in real-world NLP systems.
Abstract
Backdoor attacks on text classifiers can cause them to predict a predefined label when a particular "trigger" is present. Prior attacks often rely on triggers that are ungrammatical or otherwise unusual, leading to conspicuous attacks. As a result, human annotators, who play a critical role in curating training data in practice, can easily detect and filter out these unnatural texts during manual inspection, reducing the risk of such attacks. We argue that a key criterion for a successful attack is for text with and without triggers to be indistinguishable to humans. However, prior work neither directly nor comprehensively evaluated attack subtlety and invisibility with human involvement. We bridge the gap by conducting thorough human evaluations to assess attack subtlety. We also propose \emph{AttrBkd}, consisting of three recipes for crafting subtle yet effective trigger attributes, such as extracting fine-grained attributes from existing baseline backdoor attacks. Our human evaluations find that AttrBkd with these baseline-derived attributes is often more effective (higher attack success rate) and more subtle (fewer instances detected by humans) than the original baseline backdoor attacks, demonstrating that backdoor attacks can bypass detection by being inconspicuous and appearing natural even upon close inspection, while still remaining effective. Our human annotation also provides information not captured by automated metrics used in prior work, and demonstrates the misalignment of these metrics with human judgment.
