TL;DR
This paper introduces a novel "Proxy Attack-Free Strategy" (PFS) to make backdoor attacks more efficient by selecting better poisoning samples. Unlike previous methods that require a simulated attack, PFS uses sample similarity and diversity to identify effective poisoning data, significantly speeding up the process and improving attack success rates.
What Problem Does This Paper Address?
Deep neural networks (DNNs) are increasingly trained on data from third-party sources, making them vulnerable to data poisoning attacks. Backdoor attacks are a type of poisoning where attackers inject a hidden "backdoor" into a model. When a specific trigger is present in the input, the model behaves maliciously, deviating from its intended function. The efficiency of these attacks hinges on using a minimal number of poisoned samples to achieve a high attack success rate. Existing methods to find these "efficient" poisoning samples often rely on a "proxy attack" – a simulated attack scenario to evaluate sample effectiveness. However, this approach has two major drawbacks: 1) it can lead to performance degradation if the proxy attack settings don't match the real-world attack scenario (due to differences in data transformations or hyperparameters), and 2) it's computationally expensive, requiring many full attack simulations. This paper aims to solve these issues by developing a more robust and efficient sample selection strategy that doesn't depend on a proxy attack.
Methods
The core of the proposed solution is the Proxy Attack-Free Strategy (PFS). Instead of running a simulated attack, PFS leverages two key observations:
- Similarity: Poisoning samples that are highly similar to their original clean counterparts (in terms of learned features) are more effective for backdoor attacks.
- Diversity: A diverse set of poisoning samples is crucial. Relying solely on high-similarity samples can lead to a constrained poisoning pool and reduced attack efficacy.
PFS works by:
- Feature Extraction: Using a pre-trained feature extractor (e.g., ResNet) to represent clean and poisoned samples in a feature space.
- Similarity Calculation: Computing the cosine similarity between each clean sample and its corresponding poisoned version.
- Coarse Poisoning Set Selection: Selecting a subset of samples with the highest similarity scores to form a "coarse" poisoning set. This step filters out less effective samples.
- Diversity Enhancement: Randomly sampling from this coarse set to create the final poisoning set. This ensures diversity within the selected samples.
The authors also provide theoretical justifications for their approach, drawing parallels to active learning principles and analyzing the problem through the lens of neural tangent kernels (NTK).
Datasets
The proposed PFS was evaluated on the following standard datasets:
- CIFAR-10
- CIFAR-100
- Tiny-ImageNet
Key Insights and Ideas
- Proxy Attacks are Fragile: The paper strongly demonstrates that relying on proxy attack settings for sample selection is problematic. Even small differences in data transformations or hyperparameters between the proxy and actual attack phases can significantly degrade the effectiveness of the selected poisoning samples.
- Similarity is Necessary, Not Sufficient: While high similarity between clean and poisoned samples is a good indicator of potential effectiveness, it's not the whole story. Over-reliance on similarity alone can lead to a lack of diversity, which in turn hurts overall attack performance.
- The Sweet Spot: Similarity + Diversity: The key insight is that an optimal poisoning sample selection strategy must balance both individual sample similarity and the diversity of the entire poisoning set. PFS achieves this balance by first filtering for similarity and then introducing randomness for diversity.
- Pre-trained Extractors are Powerful: The method's effectiveness is shown to be robust even when using a generic pre-trained feature extractor (like one trained on ImageNet) for similarity calculations, highlighting the generalizability of the learned feature space.
Key Results
- Improved Attack Success Rate (ASR): PFS consistently outperforms random selection and previous proxy-based methods (like FUS) in terms of ASR across various datasets, triggers, and model architectures. For instance, on CIFAR-10, PFS achieved average boosts of 0.044, 0.074, 0.08, and 0.066 for different triggers compared to random selection.
- Significant Speedup: PFS is dramatically faster than proxy attack-based methods. On CIFAR-10, it's reported to be 538x faster than FUS, and even with pre-training time included, it's still 16x faster. This makes it much more practical for real-world applications and large datasets.
- Robustness: PFS shows good performance across different poisoning rates (1.5%, 2%) and is robust against various data transformations and optimizers.
- No Negative Impact on Benign Accuracy: The proposed method does not significantly degrade the model's performance on clean data.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while PFS filters out non-effective samples, the similarity metric alone doesn't perfectly guarantee efficiency. There might be a need for a unified indicator that better correlates with data efficiency.
- The current PFS is primarily designed for dirty-label backdoor attacks.
- While PFS shows robustness against some defenses, it doesn't significantly outperform FUS against all of them.
- Future Work:
- Develop strategies for clean-label backdoor attacks.
- Investigate more efficient sample selection methods specifically for enhancing backdoor defense evasion.
- Explore unified indicators that better capture sample efficiency.
Summary updated