Abstract
Recently, backdoor attack has become an increasing security threat to deep neural networks and drawn the attention of researchers. Backdoor attacks exploit vulnerabilities in third-party pretrained models during the training phase, enabling them to behave normally for clean samples and mispredict for samples with specific triggers. Existing backdoor attacks mainly focus on balanced datasets. However, real-world datasets often follow long-tailed distributions. In this paper, for the first time, we explore backdoor attack on such datasets. Specifically, we first analyze the influence of data imbalance on backdoor attack. Based on our analysis, we propose an effective backdoor attack named Dynamic Data Augmentation Operation (D$^2$AO). We design D$^2$AO selectors to select operations depending jointly on the class, sample type (clean vs. backdoored) and sample features. Meanwhile, we develop a trigger generator to generate sample-specific triggers. Through simultaneous optimization of the backdoored model and trigger generator, guided by dynamic data augmentation operation selectors, we achieve significant advancements. Extensive experiments demonstrate that our method can achieve the state-of-the-art attack performance while preserving the clean accuracy.
1. Introduction
Most research on backdoor attacks assumes perfectly balanced datasets. However, real-world data is almost always "long-tailed," where a few "head" classes dominate and many "tail" classes have sparse data. This imbalance introduces two major hurdles for backdooring models:
- The Imbalance Trap: Backdoored samples act like a tiny "special class." If the target label is a tail class, the few backdoored samples can easily overwhelm legitimate tail samples or be ignored by the model's optimization process.
- Augmentation Conflict: Standard techniques to fix long-tailed distributions rely on heavy data augmentation. While beneficial for accuracy, strong augmentations often neutralize the subtle triggers used in backdoor attacks.
2. Proposed Method: Dynamic Data Augmentation Operation ($D^2AO$)
To address these challenges, we propose the Dynamic Data Augmentation Operation ($D^2AO$) framework. It uses a dual-selector strategy to balance clean classification and attack success:
- Clean Selector (CS): Learns class-specific augmentation strengths, applying stronger augmentations to head classes to balance learning across the long tail.
- Backdoored Selector (BS): Uses a trained network to predict instance-specific "weak" augmentations that ensure the trigger survives while maintaining the backdoor's integrity.
- Sample-Specific Trigger Generator: Instead of a fixed trigger, an auto-encoder generates global, subtle perturbations unique to each image, making the attack harder to detect.
3. Experimental Evaluation
We evaluated $D^2AO$ on two standard long-tailed benchmarks: CIFAR10-LT (Imbalance Ratio 50) and CIFAR100-LT (Imbalance Ratio 10). Our method achieved state-of-the-art performance:
- Attack Success Rate (ASR): On CIFAR10-LT, $D^2AO$ achieved an average ASR of 97.01%, significantly outperforming existing dynamic attacks like WaNet (95.90%) and IAB (93.31%).
- Clean Accuracy (ACC): The attack maintains high clean accuracy (around 76% for CIFAR10-LT), often performing better than other methods when integrated with long-tail defenses like Logit Adjustment (LA).
- Robustness: The attack proved resilient against common defenses, including Neural Cleanse and Fine-Pruning, as the dynamic triggers leave no consistent fingerprint.
4. Conclusion
$D^2AO$ successfully navigates the complexities of long-tailed datasets by treating backdoors as a special imbalanced class and employing dynamic augmentation selection. Future work will explore its interaction with re-weighting-based long-tail learning techniques to further enhance attack potency in real-world scenarios.
Summary updated