Abstract
Randomized smoothing (RS) is a state-of-the-art defense providing provable robustness against test-time adversarial attacks. This paper investigates the vulnerability of RS to training-time data poisoning. We introduce Poisoning Against Certified Defenses (PACD), a bilevel optimization framework that crafts imperceptible perturbations to training data to degrade a model's certified robustness. Our results demonstrate that PACD can reduce the Average Certified Radius (ACR) by over 30% on standard benchmarks like MNIST and CIFAR-10, revealing that certified defenses are surprisingly fragile when the training data is compromised.
Introduction
In the arms race of adversarial machine learning, Randomized Smoothing (RS) has emerged as a powerful tool. Unlike many heuristic defenses that are eventually bypassed, RS provides a certified radius—a guaranteed "safe zone" around a data point where the model's prediction is mathematically certain to remain constant.
However, most research into RS assumes the training data is pristine. This work investigates whether a "data poisoning" attack—where an attacker subtly modifies a small portion of the training set—can degrade these certified guarantees. While previous poisoning attacks focused on hurting a model's accuracy, this work specifically targets its robustness, making the model appear reliable while secretly being highly vulnerable.
The PACD Framework
The authors introduce Poisoning Against Certified Defenses (PACD). The core of PACD is a bilevel optimization framework, which can be thought of as a game between an attacker and a victim:
- The Lower-Level Problem: This simulates the victim training a robust model (using methods like Gaussian Augmentation, MACER, or SmoothAdv) on a dataset that includes the attacker's "poison."
- The Upper-Level Problem: The attacker's goal is to find the specific perturbations for the training data that minimize the Average Certified Radius (ACR) of a target class when evaluated on a validation set.
To make this complex optimization solvable via gradients, the authors use a "soft" version of the smoothed classifier, ensuring the objective function is differentiable. The attack is "clean-label," meaning the poisoned images still look correct to humans and retain their original labels, but contain subtle, calculated noise that misleads the training process.
Experimental Evaluation
The effectiveness of PACD was evaluated on two standard benchmarks: MNIST (targeting the digit '8') and CIFAR-10 (targeting the "Ship" class). The authors demonstrated the attack's generality by successfully targeting every individual class in both datasets.
Key Insights
- Targeting Robustness, Not Just Accuracy: PACD targets the certified radius of an entire class. It effectively shrinks the "safety buffer" the model learns, making it much easier to fool at test time.
- Decision Boundary Shifting: Analytical proofs on linear classifiers show that the attack works by shifting the training distribution just enough to pull the decision boundary closer to the target class. This reduces the distance a test point needs to travel to cross the boundary.
- Transferability: Poisoned data is "agnostic." Poison generated to defeat one robust training method (like Gaussian Augmentation) remains highly effective even if the victim uses a different state-of-the-art method like MACER or SmoothAdv. It also transfers across architectures (e.g., from ResNet-20 to ResNet-110).
Results
PACD achieved massive robustness degradation across all tested configurations. On CIFAR-10, the ACR of the target class was reduced by more than 30% across all tested robust training methods. In some specific configurations (Gaussian Augmentation with $\sigma=0.25$), the ACR plummeted from 0.52 to nearly zero (0.06).
Beyond mathematical certificates, poisoned models required significantly less actual adversarial perturbation (measured by PGD attacks) to flip their predictions compared to models trained on clean data. Importantly, the perturbations added to the images are tiny ($\epsilon=0.1$ for MNIST and $\epsilon=0.03$ for CIFAR-10), making the attack virtually invisible to the naked eye.
Conclusion and Future Work
While randomized smoothing provides a "gold standard" for test-time defense, it is highly susceptible to training-time manipulation. The computational cost of solving bilevel optimization remains a challenge for scaling to datasets like ImageNet. Future work should focus on developing training procedures that are inherently robust to poisoned data, as current "certified" defenses may provide a false sense of security if the training pipeline itself is not secure.
Summary updated