Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Trigger

Yiming Li, Mingyan Zhu, Junfeng Guo, Tao Wei, Shu-Tao Xia, Zhan Qin · DOI

Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Trigger

Backdoor attacks pose a significant threat to deep learning security. By "poisoning" a small portion of a training dataset, an adversary can force a model to learn a hidden association between a specific trigger and a target label. At inference time, the attacker can then manipulate the model's output by simply adding that trigger to any input. However, creating an attack that is simultaneously invisible to human auditors and automated detection systems has proven difficult.

The Stealthiness Dilemma

Existing backdoor attacks face a critical trade-off between human and machine stealthiness. Poisoned-label attacks (e.g., labeling a cat as a "dog") are easily caught by human inspection. Conversely, clean-label attacks, which keep labels correct, typically rely on sample-agnostic triggers—the same pattern applied to every image. These are easily detected by automated defense algorithms that look for consistent, unnatural patterns across a dataset.

The stealthiness dilemma: attacks must bypass both human inspection (left) and automated machine detection (right).

Sample-specific backdoor attacks (SSBAs) attempt to solve this by generating unique triggers for every image, making them invisible to machines. However, historically, these have failed to work effectively when labels are kept clean, as the model prioritizes the strong ground-truth features over subtle, varying noise.

BAAT: Leveraging Semantic Attributes

Researchers have developed BAAT (Backdoor Attack with Attribute Trigger), the first effective backdoor attack that is simultaneously sample-specific and clean-label. The core innovation is moving away from "content-irrelevant" triggers, such as pixel noise or warping, toward "content-relevant" triggers based on human-recognizable semantic attributes.

Visual comparison of traditional sample-specific triggers (WaNet and ISSBA) showing how increasing trigger strength leads to visible artifacts or remains ineffective.

Instead of adding a digital watermark, BAAT uses generative models to modify semantic features:

  • Facial Recognition: Using attribute editors like HairCLIP, the attacker can modify a specific feature—for example, giving target images a "purple hi-top" hairstyle. The label remains correct (it is still the same person), but the model learns to associate that specific hairstyle with the target identity.
  • Natural Images: For general datasets like ImageNet, style transfer models like ArtFlow apply a specific artistic style (e.g., oil painting) to selected images.

Theoretical Insights and Performance

The authors identify an "Antagonistic Effect" in clean-label settings: the model sees both the trigger and the ground-truth features pointing to the same label. Because ground-truth features are naturally stronger, they "antagonize" the learning of subtle triggers. Using Neural Tangent Kernels (NTK), the paper provides a theoretical proof showing that sample-specific triggers are inherently harder for a network to learn than sample-agnostic ones, requiring a much higher "intensity" to be noticed.

By using attributes like hairstyles or artistic styles, the "intensity" of the modification is high enough for the model to learn it effectively without appearing suspicious to a human. A purple hairstyle is a "loud" signal to a Deep Neural Network (DNN) but a perfectly natural feature to a human auditor.

Key Results: * Effectiveness: On VGGFace2, BAAT achieved an Attack Success Rate (ASR) of over 78%. On ImageNet, it reached 60-66%, whereas previous clean-label SSBA variants (like WaNet-C) failed completely (ASR < 2%). * Resistance to Defense: BAAT successfully bypassed several high-profile defenses, including model pruning, Neural Cleanse, and sample filtering methods like STRIP, which rely on the assumption that triggers are additive noise or sample-agnostic.

Conclusion

BAAT demonstrates that semantic attributes can serve as powerful, stealthy triggers that bridge the gap between human and machine invisibility. While currently limited by the need for pre-trained attribute editors, future work may explore generalizing this approach to other modalities, such as audio tones or text writing styles.

Summary updated

BibTeX
@article{li2025towards,
  author = {Yiming Li and Mingyan Zhu and Junfeng Guo and Tao Wei and Shu-Tao Xia and Zhan Qin},
  title = {{Towards Sample-specific Backdoor Attack with Clean Labels via Attribute Trigger}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2025},
  doi = {10.1109/tdsc.2025.3552234},
}
Figure