When are Local Queries Useful for Robust Learning?

Pascale Gourdeau, Varun Kanade, Marta Kwiatkowska, James Worrell

Introduction

In traditional machine learning, the primary goal is to train models that generalize well to unseen data. However, in robust learning, models must not only generalize but also remain accurate when an adversary applies slight perturbations to the input.

This paper focuses on the "exact-in-the-ball" notion of robustness, which requires a model's prediction to match the ground truth for every point within a specified perturbation radius ($\rho$) of an original test point. Previous research established a discouraging baseline: achieving exact-in-the-ball robustness typically requires strong assumptions about the underlying data distribution. Without these distributional assumptions, robust learning is often impossible using only random examples.

This work investigates a fundamental question: Can we bypass these restrictive distributional requirements by granting the learner more power? Specifically, the authors explore whether allowing the learner to query an oracle for information about the labels of points near the training data can enable distribution-free robust learning.

Local Query Models

To test this hypothesis, the authors formalize and analyze two types of "local" queries:

  1. Local Membership Query (LMQ): The learner can request the label of any specific point located within a radius $\lambda$ of a given training example.
  2. Local Equivalence Query (LEQ): A more powerful oracle where the learner proposes a hypothesis and asks if it perfectly matches the ground truth everywhere within a radius $\lambda$ of a training point. If the hypothesis fails, the oracle returns a "counterexample"—a specific point within that local region where the prediction and ground truth diverge.

Key Findings and The "Radius Gap"

The theoretical analysis yields a striking separation result regarding the utility of these queries:

  • The Insufficiency of LMQs: Surprisingly, simple local membership queries do not significantly help. The authors prove that for concept classes like conjunctions under a uniform distribution, the number of LMQs required still grows exponentially with the perturbation budget $\rho$. Poking around individual points is insufficient to map the "robust landscape."
  • The Impossibility Threshold ($\lambda < \rho$): There is a sharp threshold for success. If the learner's query radius $\lambda$ is even strictly smaller than the adversary's perturbation budget $\rho$, distribution-free robust learning remains impossible for a wide variety of concept classes.
  • LEQs as a Catalyst ($\lambda = \rho$): The paradigm shifts when the query radius matches the adversary's budget. The LEQ oracle provides enough structural information about the error regions to finally allow for efficient, distribution-free robust learning.

Algorithmic Contributions and Robust Complexity

By leveraging the $\lambda$-LEQ oracle (where $\lambda = \rho$), the authors develop the first distribution-free algorithms that perform Robust Empirical Risk Minimization (ERM).

To formalize this, they introduce a new complexity measure called the Robust VC dimension. This metric adapts the classical VC dimension to account for the "$\rho$-expansion" of error regions caused by adversarial perturbations, providing a mathematical framework to quantify how much harder robust learning is compared to standard PAC learning.

The authors successfully adapt classic online learning algorithms—specifically the Standard Optimal Algorithm, Winnow, and Perceptron—to operate with the LEQ oracle. For finite hypothesis classes, they demonstrate that the number of LEQs required is bounded by the product of the sample size and the Littlestone dimension (a measure of the maximum number of mistakes an online learner can make).

Concept Classes Analyzed

As a theoretical foundation, the paper proves complexity bounds and provides algorithms for several fundamental concept classes:

  • Conjunctions: Logical "AND" functions. The authors present an algorithm that is both statistically and computationally efficient, requiring only a polynomial number of samples and LEQs.
  • Decision Lists: Ordered sequences of if-then rules.
  • Halfspaces: Linear classifiers. The paper provides the first robust learning algorithms for halfspaces with margins on $\mathbb{R}^n$ that successfully optimize for the exact-in-the-ball risk.

Limitations and Future Directions

While this paper establishes a critical theoretical pathway for distribution-free robust learning, several open questions remain:

  • Margin Requirements: The positive results for linear classifiers (halfspaces) on $\mathbb{R}^n$ rely on a margin assumption, meaning the data must be somewhat separated from the decision boundary. Relaxing this requirement is an area for future work.
  • Oracle Realism: The LEQ is a highly powerful theoretical construct. Implementing a "Perfect Attack Oracle" in practice is computationally difficult, though the authors suggest that simulating an adversary could serve as a practical approximation.
  • Open Thresholds: The exact robustness threshold for linear classifiers on the boolean hypercube without LEQ access remains an unsolved problem.
  • Query-Sample Trade-offs: Future research could more deeply explore the fine-grained trade-offs between the number of required queries and the overall sample size, particularly in regimes where the perturbation budget $\rho$ is small.

Summary updated

BibTeX
@inproceedings{gourdeau2022when,
  author = {Pascale Gourdeau and Varun Kanade and Marta Kwiatkowska and James Worrell},
  title = {{When are Local Queries Useful for Robust Learning?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=fhOlHf8wsy},
}
Figure