Introduction
In machine learning, the integrity of training data is often taken for granted. However, the threat of data poisoning—where an adversary injects malicious examples to subvert a model—is a significant concern for real-world systems. While poisoning has been extensively studied in "offline" settings, many critical applications like spam filters and malware detectors rely on online learning, updating models incrementally as new data arrives. This paper investigates the robustness of standard data poisoning defenses when applied to Online Gradient Descent (OGD) for binary classification.
Defense Mechanisms and Attack Model
The study evaluates four primary defense strategies designed to filter out malicious updates:
- $L_2$-norm Defense: Rejects data points with an unusually large magnitude.
- Labeling Oracle Defense: Limits attacker control by assuming a trusted system provides labels for adversarial inputs.
- $L_2$-distance-to-centroid: Filters points that deviate significantly from the class mean.
- Slab Defense: A sophisticated outlier detection method that projects data onto the vector connecting class means and rejects points that are outliers along this specific discriminative direction.
To rigorously test these defenses, the authors introduced SIMPLISTICATTACK, a white-box attack designed to drive the model toward a target poisoned state as efficiently as possible while remaining undetected by the active defense.
Theoretical Analysis: The Three Regimes
A core contribution of this work is the categorization of defense effectiveness into three distinct geometric regimes. The success of an attack is determined by the relationship between the feasible region of the attack ($\mathcal{F}'$) and the constraints imposed by the defense (often represented by a set $\mathcal{G}$).
- Easy Regime: The attack can move the model toward the target state rapidly (logarithmic steps relative to error).
- Hard Regime: The attack is mathematically impossible or progresses so slowly that it is practically ineffective.
- Intermediate Regime: The attack's success depends on specific parameters and the inherent signal of the clean data.
Empirical Evaluation
The researchers validated their findings across four diverse datasets: UCI Breast Cancer (low-dimensional), IMDB Reviews (high-dimensional), MNIST, and FashionMNIST.
Key Findings
- Slab Defense Superiority: The Slab defense consistently outperformed $L_2$-norm and Centroid-based methods. By focusing on the direction between classes, it creates a much larger "Hard" regime for attackers, maintaining low error rates even under 10-20% poisoning.
- The $L_2$ Vulnerability: Simple $L_2$-norm filtering was found to be easily bypassed. Attackers can often slide poisoned data past these filters without triggering rejection.
- Dimensionality and Task Difficulty: "Easy" learning problems (low-dimensional with high margins, like Breast Cancer) are naturally more resilient. In these cases, the clean data signal is strong enough to "wash out" the poisoning. Conversely, high-dimensional tasks like IMDB sentiment analysis proved significantly more vulnerable to poisoning.
Conclusion
This investigation reveals that while online learning models are susceptible to poisoning, robust defenses like the Slab defense can provide significant protection. The effectiveness of a defense is not just a function of its algorithm, but also the dimensionality and inherent separability of the underlying task. Future work will focus on extending these theoretical guarantees to non-convex models, such as deep neural networks, and exploring defenses against targeted backdoor attacks in streaming environments.
Summary updated