Private Learning Implies Online Learning: An Efficient Reduction

Alon Gonen, Elad Hazan, Shay Moran

Introduction

This paper bridges two major fields of machine learning theory by proving that any concept class that can be learned privately can also be learned online—and efficiently. By providing a black-box reduction, the authors resolve a significant open question in the theory of differential privacy, demonstrating that "pure" private learners can be transformed into efficient online algorithms with low regret.

In machine learning theory, researchers have long suspected a deep link between Differential Privacy (DP)—which protects individual data points in a dataset—and Online Learning—which involves learning from a sequence of data points arriving one by one. Previous work had already established a qualitative link: if a class is privately learnable, it is also online learnable. However, these proofs were "non-constructive." They proved a relationship existed via a combinatorial measure called the Littlestone dimension, but they did not provide a way to actually build an efficient online learner from a private one.

The authors tackle a specific challenge posed by Neel, Roth, and Wu (2017): Does an efficient differentially private learner imply an efficient online learner? This paper answers "yes" for the case of pure differential privacy in the realizable setting (where a perfect hypothesis exists within the class).

Methods: A Three-Stage Black-Box Reduction

The authors propose a three-stage black-box reduction. This approach treats the private learner as an oracle, building the online learner around it without needing to know the internal mechanics of the private algorithm.

  1. Creating an Oblivious Weak Learner: The process begins by feeding the private learner a "dummy" sample (e.g., the same point repeated). Because the learner is private, its output on this dummy sample must still be somewhat "close" to what it would output on a real sample. By sampling many hypotheses this way and using the Multiplicative Weights (MW) algorithm, the authors create a "weak" online learner that works against an "oblivious" adversary (one who decides all data points in advance).
  2. Handling Adaptive Adversaries: Real-world online learning often involves adaptive adversaries who change their strategy based on the learner's previous guesses. The authors introduce a novel lemma: by running $T$ independent instances of the oblivious learner and picking one at random each round, they can effectively "reset" the adversary's advantage, making the system robust to adaptive attacks.
  3. Online Boosting: Finally, they use Online Boosting-by-Majority (BBM) to turn their "weak" learner (which is only slightly better than a coin flip) into a "strong" learner that achieves low regret.
Algorithm 3: Online Learning using a Private Oracle
(Note: As this is a theoretical paper focused on computational complexity and learning theory, no empirical datasets were used. The results are proven mathematically for any abstract hypothesis class $\mathcal{H}$ that satisfies the criteria for pure differential privacy.)

Key Insights and Results

The core "aha moment" of the paper is recognizing the "obliviousness" of privacy. Pure DP learners are inherently stable and oblivious to small changes in their input. This stability is exactly what is needed to prevent an online learner from over-fitting to a specific sequence of adversarial examples. It is counter-intuitive that one can learn something useful by feeding a private algorithm a "useless" dummy sample, but the privacy guarantee ensures that the distribution of hypotheses produced by the dummy sample must contain a hypothesis that performs well on the true underlying distribution.

Unlike previous proofs that relied on the existence of a finite Littlestone dimension—which can lead to exponential runtimes—this reduction is polynomial in all relevant parameters.

Ultimately, the authors prove that given an efficient pure DP learner, they can construct an online learner that achieves an expected regret of $O(\sqrt{T \ln T})$. In online learning, a sublinear regret like this means the learner makes progressively fewer mistakes over time compared to the best possible fixed hypothesis. Furthermore, the paper provides a general-purpose tool for converting oblivious online learners to adaptive ones, which may have applications far beyond differential privacy.

Limitations and Future Work

While a significant step forward, the paper outlines several boundaries to its current findings:

  • Pure vs. Approximate DP: The result currently only holds for Pure DP ($\epsilon$-DP). Approximate DP ($\epsilon, \delta$-DP) is much trickier because the "dummy sample" trick fails; approximate learners don't share the same inherent obliviousness. Extending this to approximate DP remains a major open question.
  • Realizable vs. Agnostic Settings: The reduction works in the realizable setting (where we assume the data follows a pattern the learner can perfectly describe). The authors provide evidence that an efficient reduction for the agnostic setting (where data can be totally arbitrary) might be impossible due to fundamental constraints in computational complexity.
  • Boosting for Agnostic Learning: A major missing piece for future progress is a "boosting" algorithm for agnostic online learning, which does not yet exist.

Summary updated

BibTeX
@inproceedings{gonen2019private,
  author = {Alon Gonen and Elad Hazan and Shay Moran},
  title = {{Private Learning Implies Online Learning: An Efficient Reduction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=cgRJNEFOkX},
}
Figure