Robustly-reliable learners under poisoning attacks

Maria-Florina Balcan, Avrim Blum, Steve Hanneke, Dravyansh Sharma

Abstract

This paper introduces the concept of "robustly-reliable" learners, a theoretical framework designed to defend machine learning models against training-time data poisoning. Unlike traditional defenses that prioritize model stability, this work focuses on certifying correctness for specific test instances. By characterizing the "region of agreement" among hypotheses that achieve low error on corrupted training data, the authors provide the first nearly-tight bounds and efficient algorithms for certifying correctness under instance-targeted poisoning attacks.

Introduction

Machine learning models are increasingly vulnerable to data poisoning, where an adversary corrupts a fraction of the training set to induce specific errors. While much research has focused on "untargeted" attacks that degrade overall performance, this paper addresses the more insidious instance-targeted attack. In this scenario, an adversary uses their entire corruption budget to ensure the model fails on a specific, high-value test point.

Previous defenses typically offered "certificates of stability," guaranteeing that a model's prediction remains unchanged under poisoning. However, stability is a weak guarantee: if a model was already incorrect, a stable model simply remains incorrect. This paper shifts the goalpost toward certificates of correctness, ensuring that the predicted label is the true label, provided the adversary's corruption budget $\eta$ is not exceeded.

Methodology

The authors propose a framework for a robustly-reliable learner ($\mathcal{L}$) that outputs a pair $(y, \eta)$. The core guarantee is that $y$ is the true label as long as the adversary corrupted no more than an $\eta$ fraction of the training data.

The Agreement Region

The fundamental technical insight is that the set of points where a learner can be confident is the "region of agreement" among all hypotheses that achieve low error on the training set. If all models that "look good" on the (potentially corrupted) data agree on a specific test point, that point is fundamentally harder for an adversary to flip.

The region of agreement among hypotheses with low error.

To operationalize this, the authors provide several algorithmic approaches:

  • ERM Oracle Algorithms: A general algorithm that uses an Empirical Risk Minimization (ERM) oracle to check if a point is in the agreement region by testing different label assignments.
  • Polynomial-Time Linear Separators: For linear separators under logconcave distributions, they develop a truly polynomial-time algorithm that avoids expensive ERM oracles.
  • Active Learning Extension: The theory is extended to active learning, proving that even with an adaptive adversary poisoning the query process, robustness can be achieved with significantly fewer labeled examples.

Key Results and Insights

The paper's most significant contribution is the conceptual shift from stability to correctness, aligning mathematical guarantees with the practical need for trustworthy outputs. Key findings include:

  • Tight Bounds: The authors establish nearly-tight matching upper and lower bounds on the size of the certifiable region for any hypothesis class.
  • Geometric Efficiency: For linear separators in $d$ dimensions with a corruption budget $\eta$, the probability mass of the uncertified region (where the model must abstain) is only $\tilde{O}(\sqrt{d\eta})$.
  • Label Efficiency: In active learning settings, the number of required labels scales with the "disagreement coefficient" ($\theta$), offering exponential improvements over passive learning in specific contexts.
  • Agnostic Generalization: The results successfully generalize to "agnostic" cases where no perfect classifier exists in the original data, making the theory applicable to noisy, real-world datasets.

Limitations and Future Work

While providing a robust theoretical foundation, the work faces practical hurdles. The general-purpose algorithm relies on an ERM oracle, which is NP-hard for complex hypothesis classes like deep neural networks. Furthermore, the most efficient results assume logconcave data distributions, which may not fully capture the manifold structure of high-dimensional image data. Future research is needed to develop a unified "usefulness guarantee" that simultaneously addresses both training-time poisoning and test-time adversarial perturbations.

Summary updated

BibTeX
@inproceedings{balcan2022robustly,
  author = {Maria-Florina Balcan and Avrim Blum and Steve Hanneke and Dravyansh Sharma},
  title = {{Robustly-reliable learners under poisoning attacks}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=9PDTu2WDAT},
}
Figure