A Computational Separation between Private Learning and Online Learning

Mark Bun

Introduction

In computational learning theory, a profound connection exists between differentially private PAC learning (learning from a batch of sensitive data without memorizing individuals) and online learning (learning sequentially while making predictions). Recent breakthroughs have established a qualitative, information-theoretic equivalence between the two: a concept class is privately learnable if and only if it is online learnable, as both are characterized by a finite Littlestone dimension.

However, the mathematical proofs establishing this equivalence incur exponential blowups in both runtime and sample size. This raised a critical practical and theoretical question: Can we build a computationally efficient, black-box compiler that transforms any efficient private learner into an efficient online learner?

This paper definitively answers "no" for general private learners, assuming the existence of standard cryptographic one-way functions. By doing so, it resolves an open question posed by Neel, Roth, and Wu (FOCS 2019).

The Asymmetry of Time and Cryptographic Hardness

To prove that an efficient conversion is impossible, the author relies on a cryptographic construction. If a problem is computationally easy for a private learner but hard for an online learner, the two frameworks cannot be computationally equivalent.

The proof utilizes a concept class called One-Way Sequences ($\mathcal{OWS}$), originally introduced by Avrim Blum in 1994, which is built on pseudorandom function generators. The core mechanism of $\mathcal{OWS}$ exploits an asymmetry in computation:

  1. Forward computation is easy: Given a sequence element, computing all future elements and their labels is trivial.
  2. Backward computation is hard: Given a sequence element, it is cryptographically hard to deduce past elements.

An online learner can be defeated by an adversary who presents the sequence in reverse order, forcing the learner to constantly guess cryptographically secure labels. Conversely, a batch PAC learner receives all data simultaneously. It can simply identify the "earliest" sequence element in the training batch and use easy forward-computation to label the rest of the data.

Preserving Privacy in Batch Learning

The novel contribution of this paper is proving that this batch PAC learner can be made differentially private without losing its computational advantage. The author pieces together standard differential privacy tools to privately identify the earliest sequence element without leaking sensitive information about the training data.

Specifically, the paper employs the Exponential Mechanism to create a "Private Robust Minimum" algorithm and the Laplace Mechanism for a "Private Most Frequent Item" algorithm. This demonstrates that the requirement of privacy does not destroy the inherent advantage of batch processing over sequential processing.

Key Results and Theoretical Implications

The paper's main theorem establishes that, assuming the existence of one-way functions, the $\mathcal{OWS}$ concept class is privately PAC learnable in polynomial time but is not online learnable by any polynomial-time algorithm with a polynomial mistake bound (or even sublinear regret).

  • Efficiency of the Private Learner: The constructed $\epsilon$-differentially private PAC learner for $\mathcal{OWS}_d$ runs in polynomial time and requires only $O(\frac{\sqrt{d} + \log(1/\beta)}{\alpha \epsilon})$ samples. This makes it highly efficient, scaling polynomially with the domain dimension $d$.
  • Reconciling with Past Work: This result does not contradict prior research (such as Gonen, Hazan, and Moran, 2019) that did find efficient conversions. Those prior conversions required the private learner to be either "uniform" or exceptionally sample-efficient (e.g., requiring only $O(\log d)$ samples). The $\mathcal{OWS}$ private learner requires $O(\sqrt{d})$ samples, placing it just outside the reach of those specific workarounds and proving that a general compiler is impossible.

Limitations and Future Directions

While this paper establishes a firm computational barrier, it leaves several intriguing avenues open for future research:

  • Uniform vs. Non-uniform Learning: The negative result applies to the non-uniform model of learning, where sample complexity can grow with the domain size $d$. It does not strictly rule out the possibility of efficient conversions for uniform approximate-private learners.
  • The Reverse Direction: The paper proves you cannot efficiently convert Private $\rightarrow$ Online. The reverse direction (Online $\rightarrow$ Private) remains an open question.
  • Agnostic Learning: The possibility of efficient conversions for agnostic private PAC learners—where the data might not perfectly fit the concept class—remains unresolved.

Summary updated

BibTeX
@inproceedings{bun2020computational,
  author = {Mark Bun},
  title = {{A Computational Separation between Private Learning and Online Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=ubUFhj1iB2H},
}
Figure