Why does a hypothesis class with infinite VC dimension fail to guarantee generalization?

Last updated 14 November 2026

  • Infinite VC dimension means the class can shatter (fit every labeling of) arbitrarily large sets, so a perfect training fit says nothing about true error.

  • Uniform convergence needs a polynomial growth function (Sauer's lemma, m^d). At 2^m the union bound fails, and a binary class is PAC-learnable iff its VC dimension is finite.

  • This rules out distribution-free guarantees, not generalization itself: regularization, margins, or norm constraints restrict the effective class, and data-dependent bounds can still apply.

  • https://medium.com/@adnanmasood/no-free-lunch-theorem-and-its-foundational-implications-for-algorithm-selection-in-artificial-5fc49c218d76
  • https://arxiv.org/html/2410.10243v1
All Supervised Learning interview questions