An Õptimal Differentially Private PAC Learner for Concept Classes with VC Dimension 1

Chao YanNeurIPS 2026

TL;DR

How much extra training data do you need to pay for privacy? This paper closes a massive mathematical gap for fundamental learning problems (VC dimension 1), dropping the required sample size from a steep polynomial down to an extraordinarily tiny "iterated logarithm." By discovering that these concept classes secretly organize themselves into manageable trees, the author shows we can learn privately with almost no extra data penalty at all.

What Problem Does This Paper Address?

In classical (non-private) machine learning, the number of examples you need to learn a rule—the sample complexity—is governed by a single number called the VC dimension, which measures how expressive a class of rules is.

Add Differential Privacy (DP)—the gold-standard guarantee that a trained model won't leak individual training data—and the math gets much stranger. Under approximate DP, VC dimension is no longer enough. Instead, sample complexity depends on the Littlestone dimension ($d$), a stricter complexity measure borrowed from online learning.

Until now, theorists were stuck staring at a canyon. We knew you needed at least $\Omega(\log^* d)$ samples to privately learn a class ($\log^* d$ is the iterated logarithm—the number of times you have to hit the $\log$ button before $d$ drops to 1 or less, a number that stays $\le 5$ even if $d$ equals the number of atoms in the universe). Yet the best general algorithms required $\tilde{O}(d^5)$ samples, or scaled with the total size of the data domain, which could be infinite! Even for the simplest non-trivial rules—those with VC dimension 1 (like threshold functions)—nobody knew if $\log^* d$ was actually achievable. This paper bridges that canyon.

Methods

The author achieves near-optimal private learning by combining structural geometry with standard Differential Privacy primitives.

First, the paper leverages a classic observation: any VC-dimension-1 concept class can be represented as a tree. Every node is a data point, and every valid rule corresponds to a path from some node up to the root—points on the path get labeled 1, and everything else gets 0.

For Improper Learning (where the algorithm can output a rule slightly outside the original concept class):

  1. Partition & Find a Good Depth: The dataset is chopped into random blocks. In each block, some points are forced to be 1 ("deterministic points"), forming a segment along the true target's path. Because the tree's height is bounded by $2^{O(d)}$, the algorithm can run a standard private median routine on the deepest deterministic points across blocks to find a safe, intermediate tree layer $z$—costing only $\tilde{O}(\log^* d)$ samples!
  2. Find a Good Node: Fixing layer $z$, the algorithm scores candidate nodes by counting how many data blocks force them to be 1, then uses a standard DP choosing mechanism to privately pick the winner.
Figure 2: Illustration of the selected hypothesis in the example.

For Proper Learning (where the output must belong to the exact original class): The node chosen above ($x_{\text{good}}$) lies on the true path, meaning the true rule is a leaf somewhere in the subtree below it. The author compresses this subtree so all leaves are "proper" rules and internal nodes branch at least twice. Using fresh data and the DP exponential mechanism, the algorithm walks down from $x_{\text{good}}$ to a leaf, carefully balancing heavy vs. light branches so it doesn't accumulate false positives (accidentally labeling 0s as 1s).

Figure 3: Internal nodes (circles) are improper; leaves (stars) are proper. The red node is xgood, and we consider the subtree rooted at it.

Datasets

Not discussed in the paper. (This is a purely theoretical computer science paper proving mathematical bounds over arbitrary data distributions.)

Key Insights and Ideas

  • Detouring through Threshold Dimension: Rather than wrestling with Littlestone dimension $d$ directly to bound the tree's size, the author bounds the tree height using the threshold dimension, which is at most $2^{O(d)}$. Taking the $\log^*$ of an exponential neatly cancels the exponent out, leaving $\log^* d$.
  • Two-Stage Dimensionality Reduction: Privately searching a massive tree all at once destroys privacy budgets. Splitting the problem into 1D depth selection (via private interior-point/median) followed by horizontal node selection tames the complexity.
  • Small Proper-vs-Improper Penalty: Under strict "pure" DP, forcing a learner to be proper can cause an exponential blowup in required data. Here, under approximate DP, descending from an improper internal node to a proper leaf only adds an additive polynomial term in the accuracy parameter ($1/\alpha$), completely independent of $d$.

Key Results

For any concept class with $\text{VC} = 1$ and Littlestone dimension $d$, under $(\varepsilon, \delta)$-differential privacy with target accuracy $\alpha$:

  • Improper PAC Learning: Achieves sample complexity $\widetilde{O}_{\beta, \delta}\left(\frac{\log^* d}{\alpha \varepsilon}\right)$, nearly matching the $\Omega(\log^* d)$ theoretical lower bound and exponentially beating the general $\tilde{O}(d^5)$ bound.
  • Proper PAC Learning: Achieves sample complexity $\widetilde{O}_{\beta, \delta}\left(\frac{\log^* d}{\alpha \varepsilon} + \frac{1}{\alpha^{2.5} \varepsilon}\right)$.

Limitations and Future Work

  • Restricted to VC Dimension 1: The clean single-path tree representation breaks down when $\text{VC} > 1$. Extending this $\tilde{O}(\log^* d)$ bound to general VC dimensions remains the ultimate open prize in private learning theory.
  • Realizable Setting Focus: The main proofs assume a noise-free ("realizable") world where a perfect rule exists in the class, though the author notes that known generic transformations can extend the results to noisy (agnostic) settings.

Summary updated

Abstract

We present the first nearly optimal differentially private PAC learner for any concept class with VC dimension 1 and Littlestone dimension $d$. Our algorithm achieves the sample complexity of $\tilde{O}_{\varepsilon,\delta,\alpha,\beta}(\log^*d)$, nearly matching the lower bound of $\Omega(\log^*d)$ proved by Alon et al. [STOC19]. Prior to our work, the best known upper bound is $\tilde{O}(d^5)$ for general classes, as shown by Lyu [STOC26]. The main idea is to combine the tree structure of VC-dimension-$1$ classes with the private median primitive for interior-point selection. We first privately locate a good depth in the tree, then privately identify a good node on that layer. For proper learning, we show how to descend from the improper output to a proper leaf while controlling the additional false positives.
BibTeX
@inproceedings{yan2026optimal,
  author = {Chao Yan},
  title = {{An Õptimal Differentially Private PAC Learner for Concept Classes with VC Dimension 1}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=n1036lYSI7},
}
Figure