Introduction
Targeted data poisoning represents a significant security threat to machine learning models. In these attacks, an adversary injects a small set of malicious samples into the training data to manipulate the model's behavior on a specific "target" image, while maintaining overall performance on clean data. Traditionally, the efficacy of such attacks has been evaluated using average success rates. However, this approach masks a critical phenomenon: some images are remarkably resilient to poisoning, while others are highly vulnerable. This paper investigates the underlying causes of this disparity and introduces metrics to quantify instance-level poisoning difficulty.
Quantifying Poisoning Difficulty
The researchers propose that a sample's vulnerability is intrinsically linked to its "difficulty" during standard, clean training. They introduce three attack-agnostic metrics to identify high-risk samples without requiring knowledge of the specific attack strategy:
- Ergodic Prediction Accuracy (EPA): This metric tracks the consistency of a model's correct classification of a sample throughout the training process across multiple random initializations. Samples that are learned early and predicted correctly with high stability (High EPA) are considered "easy" for the model and, as hypothesized, harder to poison.
- Poisoning Distance ($\delta$): This measures the minimal perturbation in the model's parameter space required to flip the target sample's prediction to a malicious label.
- Poison Budget Lower Bound ($\tau$): Derived from poisoning reachability theory, this provides a theoretical minimum for the percentage of poisoned data needed for a successful attack.
Experimental Results
The study utilized standard benchmarks including CIFAR-10 and TinyImageNet, testing architectures like ResNet-18 and VGG-16. The results reveal a striking inverse relationship: samples that are "hard to learn" (Low EPA) are significantly easier to poison.
As shown in the experimental data, samples categorized as "High EPA" exhibited an Attack Success Rate (ASR) as low as 1.2% in certain configurations. Conversely, "Low EPA" samples were successfully poisoned 28.4% of the time under identical attack conditions. This trend holds across various target classes, suggesting that stable samples act as "anchors" in the feature space, resisting the gradient shifts induced by poisoned data.
Discussion and Implications
The findings suggest that classification stability is a natural defense against poisoning. While broad metrics like EPA are effective for general risk assessment, the Poisoning Distance ($\delta$) provides finer granularity, allowing defenders to rank the vulnerability of a single image against different potential malicious labels.
Furthermore, the research extends to generative models. In Latent Diffusion Models, the structural complexity of an image influences its vulnerability; for instance, blurring a base image can mitigate the success of "disguised" style injection attacks.
Conclusion
This work shifts the focus of data poisoning research from attack-centric evaluations to instance-level vulnerability analysis. By identifying "sitting duck" samples using clean training dynamics, defenders can proactively harden their datasets. Future research will explore label-agnostic metrics and the application of these difficulty scores to Large Language Models (LLMs).
Summary updated