Robust learning under clean-label attack

Avrim Blum, Steve Hanneke, Jian Qian, Han Shao

Abstract: We study the problem of robust learning under clean-label data-poisoning attacks, where the attacker injects an arbitrary set of correctly-labeled examples into the training set to fool the algorithm into making mistakes on specific test instances. The learning goal is to minimize the attackable rate—the probability mass of attackable test instances—which is a more stringent requirement than optimal PAC learning. We demonstrate that any robust algorithm with a diminishing attackable rate can achieve the optimal dependence on $\epsilon$ in its PAC sample complexity, specifically $O(1/\epsilon)$. Conversely, we show that the attackable rate can remain high even for optimal PAC learners like SVMs. Furthermore, we prove that linear hypotheses are not robustly learnable when the data distribution has zero margin, and while learnable with a positive margin, they require sample complexity exponential in the dimension. For general hypothesis classes with bounded VC dimension, if the attacker is limited to $t = O(1/\epsilon)$ poison examples, the optimal robust learning sample complexity grows linearly with $t$.

Introduction

Data poisoning is a significant security threat in machine learning, typically categorized by whether the attacker can manipulate labels. While label-flipping attacks are well-documented, "clean-label" attacks are more insidious. In this scenario, the attacker injects examples that are correctly labeled according to the ground truth but are strategically positioned to manipulate the decision boundary. This paper, presented at COLT 2021, provides a formal theoretical framework for "robust learnability" against such attacks in the realizable setting.

The Attackable Rate

The authors introduce the attackable rate as the primary metric for robustness. Unlike standard error rates, the attackable rate measures the probability that a randomly drawn test instance can be successfully targeted by an attacker who has knowledge of the training set and the target instance. A learning algorithm is considered robust if this rate diminishes as the number of training samples increases, regardless of the number of clean-label points the attacker adds.

Key Theoretical Insights

Robustness and PAC Optimality

One of the paper's most significant findings is the link between robustness and efficiency. The authors prove that any algorithm capable of achieving a diminishing attackable rate must also be an optimal PAC learner. While standard learners often exhibit a sample complexity of $O(\frac{d}{\epsilon} \log \frac{1}{\epsilon})$, a robust learner must eliminate the logarithmic overhead, achieving $O(d/\epsilon)$. This suggests that security against clean-label attacks is intrinsically tied to the fundamental limits of learning efficiency.

The Vulnerability of Linear Classifiers and SVMs

Despite being optimal PAC learners, Support Vector Machines (SVMs) are shown to be highly vulnerable. Because SVMs rely on support vectors near the decision boundary, an attacker can inject a single clean point very close to a target test instance to shift the boundary just enough to cause a misclassification.

The paper further demonstrates that for linear hypotheses in $\mathbb{R}^n$ ($n \ge 2$):

  • Zero Margin: Robust learning is impossible. An attacker can always find a way to "box in" a target point with clean data.
  • Positive Margin ($\gamma$): Robust learning becomes possible, but the sample complexity grows exponentially with the dimension ($O((2/\gamma)^n)$), making it impractical for high-dimensional spaces.

Complexity Measures: Beyond VC Dimension

The study reveals that VC dimension alone is insufficient to characterize robustness. The authors point toward the Star Number and Hollow Star Number—metrics that measure the complexity of disagreement regions—as more relevant indicators of a hypothesis class's susceptibility to poisoning.

Learning Under Limited Attack Budgets

When the attacker is restricted to a budget of $t$ poison examples, the landscape changes. The authors propose a protocol inspired by "Deep Partition Aggregation." By dividing training data into blocks and employing a majority vote, the influence of a limited number of poisoned points can be neutralized. For any class with finite VC dimension $d$, the required sample complexity for a $t$-point attacker is approximately $\tilde{O}(\frac{dt}{\epsilon})$. The authors also provide a lower bound of $\Omega(\frac{td}{\epsilon})$, proving their proposed approach is nearly optimal.

Conclusion and Future Directions

This research establishes that clean-label poisoning is a fundamental challenge for many common hypothesis classes. While robust learning is possible under specific conditions (like $d=1$ or limited attack budgets), the inherent vulnerability of linear models in high dimensions poses a significant hurdle. Future work remains to close the gap between upper and lower bounds for margin-based learning and to extend these definitions to the agnostic (noisy) setting where "clean-label" is harder to define.

Summary updated

BibTeX
@inproceedings{blum2021robust,
  author = {Avrim Blum and Steve Hanneke and Jian Qian and Han Shao},
  title = {{Robust learning under clean-label attack}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=nvMlui8nx8},
}
Figure