Teaching and compressing for low VC-dimension

Shay Moran, Amir Shpilka, Avi Wigderson, Amir Yehudayoff

TL;DR

This paper makes a major breakthrough in computational learning theory by tightening the bounds between VC-dimension and two other fundamental measures: sample compression and recursive teaching. The authors prove that for any concept class with VC-dimension $d$, one can "compress" or "teach" concepts using a number of examples that depends only double-logarithmically on the size of the class—a massive leap toward proving the long-standing conjecture that these measures should depend only on $d$ itself.

What Problem Does This Paper Address?

In machine learning theory, the Vapnik-Chervonenkis (VC) dimension is the gold standard for measuring the "complexity" or "capacity" of a hypothesis class. It tells us how many random examples we need to learn a concept approximately (PAC learning).

However, two other ways of looking at learning have remained somewhat mysterious:

  1. Sample Compression: Can we always represent a large set of labeled data using just a tiny subset of "representative" examples? (The Sample Compression Conjecture suggests this subset size should be proportional to the VC-dimension).
  2. Teaching Dimension: How many carefully chosen examples does a "teacher" need to give a "student" to uniquely identify a concept?

For decades, we knew that for a class with VC-dimension $d$ and size $m$, these parameters were at least $d$ but could be as large as $\log(m)$. Since $m$ can be astronomically larger than $d$, this gap was a major theoretical "black hole." This paper aims to bridge that gap.

Methods

The authors employ a sophisticated recursive strategy centered on the Dual Class. In a standard concept class, you have "concepts" (functions) acting on "points." In the dual class, you flip the script: points act on concepts.

The core of their proof relies on Haussler’s Packing Lemma. This geometric tool essentially says that if you have a space with low VC-dimension, you cannot "pack" too many points that are far apart from each other.

The authors identify a "win-win" situation for recursion:

  • Case 1 (The Unfaithful Case): If a concept is "easy" to distinguish because it disagrees with many others on a specific point, they use that point to reduce the size of the concept class.
  • Case 2 (The Faithful Case): If the concepts are "crowded" together, they use the Packing Lemma to show that the class can be represented by a much smaller "approximating set" of points.

By alternating between these cases, they whittle down the complexity of the problem at each step.

Datasets

As this is a theoretical paper in mathematical foundations, no empirical datasets were used for training or evaluation. The results are proven for abstract "boolean concept classes."

Key Insights and Ideas

  • The Power of the Dual: The "aha moment" is realizing that the complexity of teaching a concept is deeply linked to the VC-dimension of the dual class. By applying the Packing Lemma to the dual, they found a way to find "informative" points that distinguish concepts efficiently.
  • Double-Logarithmic Breakthrough: Moving from a $\log |C|$ bound to a $\log \log |C|$ bound is significant. In the world of complexity theory, $\log \log$ is "almost constant." It signaled to the community that a bound depending only on $d$ (and not the size of the class at all) was likely possible.
  • Teaching vs. Learning: The paper provides formal evidence for the intuition that "exact teaching" (identifying a concept perfectly with a teacher) is not much harder than "approximate learning" (PAC learning from random samples).
  • Occam’s Razor: The results reinforce the idea that "simpler" models (those with low VC-dimension) are inherently more compressible, providing a mathematical backbone to the principle of parsimony in AI.

Key Results

The paper establishes new upper bounds for both the Recursive Teaching Dimension (RTD) and Sample Compression Schemes.

Specifically, for a concept class with VC-dimension $d$:

  • Teaching: There exists a concept with a teaching set of size $k = O(d 2^d \log \log |C|)$. This implies the RT-dimension is also bounded by this value.
  • Compression: They constructed a sample compression scheme of size $k$, using an additional $k \log k$ bits of side information.

Compared to the previous best upper bound of $\log |C|$, this is an exponential improvement in terms of the dependence on the class size.

Limitations and Future Work

The most obvious limitation is the $2^d$ factor. While the dependence on the class size $|C|$ is now very small, the dependence on the VC-dimension $d$ is exponential. The "Holy Grail" of this field is to find a bound that is purely linear or polynomial in $d$ and completely independent of $|C|$.

The authors acknowledge this and note that their work is a "small progress towards this seemingly modest goal." Interestingly, the authors mention in the text that subsequent to their initial draft, newer research (some by the same authors) has already begun to improve these bounds to be entirely independent of $|C|$, though the exponential dependence on $d$ remains a tough nut to crack.

Summary updated

BibTeX
@article{moran2015teaching,
  author = {Shay Moran and Amir Shpilka and Avi Wigderson and Amir Yehudayoff},
  title = {{Teaching and compressing for low VC-dimension}},
  journal = {Electron. Colloquium Comput. Complex.},
  year = {2015},
  url = {https://openreview.net/forum?id=eSOr2e7XUzl},
}
Figure