Proper sample compression schemes for VC classes

Contributed by Artem Chernikov ↗

Version 1 / Dec 01, 2026 / CC BY 4.0

Abstract

Every nonempty binary concept class of VC dimension at most d admits a labeled sample compression scheme of total size 2^O(d) which is additionally proper, i.e., its reconstruction map always returns a member of the original class.

Provenance statement

This work resulted from a research project initiated by the author in 2023, motivated by connections between sample compression and model-theoretic notions of NIP and distality. The initial approaches, including the connection to distality, restricted quantifier collapse and a proof for formulas without the finite cover property, were developed by the author independently of AI. OpenAI's GPT-5.6, GPT-6, and GPT-6.2 were subsequently used in an iterative, human-directed investigation. These models contributed substantially to the development of proper compression schemes for classes of finite Littlestone dimension, the application of Simon's type decomposition theorem to proper compression in NIP theories, and ultimately the extension to arbitrary classes of finite VC dimension. The author subsequently substantially reworked the proof, has checked all the arguments, and takes full responsibility for the mathematical content of the paper. A more detailed account of the research process and AI involvement is included in the manuscript.

Tools used

OpenAI
ChatGPTVersion 5.6, 6, 6.2
OpenAI
Codex

References

  1. N. Alon and D. J. Kleitman, https://doi.org/10.1016/0001-8708(92)90052-M Piercing convex sets and the Hadwiger--Debrunner (p,q)(p,q)-problem , Advances in Mathematics 96 (1992), 103--112.DOI
  2. P. Assouad, Densité et dimension , Annales de l'Institut Fourier 33 (1983), 233--282.
  3. M. Bays, I. Kaplan, and P. Simon, Density of compressible types and some consequences (https://doi.org/10.4171/JEMS/1423), Journal of the European Mathematical Society 27 (2025), 2751--2793.DOI
  4. O. V. Belegradek, A. P. Stolboushkin, and M. A. Taitslin, Extended order-generic queries (https://doi.org/10.1016/S0168-0072(98)00025-6), Annals of Pure and Applied Logic 97 (1999), 85--125.DOI
  5. S. Ben-David, P. Hrubeš, S. Moran, A. Shpilka, and A. Yehudayoff, A learning problem that is independent of the set theory ZFC axioms , arXiv:1711.05195 (https://arxiv.org/abs/1711.05195), 2017; see also Learnability can be undecidable , Nature Machine Intelligence 1 (2019), 44--48.arXiv
  6. M. Benedikt and E. Hrushovski, The expressiveness and complexity landscape for evaluating formulas over embedded finite models (https://doi.org/10.1017/jsl.2026.10195), Journal of Symbolic Logic, published online in 2026.DOI
  7. A. Blumer, A. Ehrenfeucht, D. Haussler, and M. K. Warmuth, Learnability and the Vapnik--Chervonenkis dimension , Journal of the ACM 36 (1989), 929--965.
  8. R. Bourneuf, J. Hodor, P. Micek, and C. Rambaud, Sample compression schemes for balls in structurally sparse graphs , arXiv:2604.02949 (https://arxiv.org/abs/2604.02949), 2026.arXiv
  9. G. J. Boxall, C. Kestner, and T. Rakotonarivo, Local definable (p,q)(p,q)-theorem and a refinement , arXiv:2610.21738 (https://arxiv.org/abs/2610.21738), 2026.arXiv
  10. Y. Cai, V. Gupta, Y. Jiang, C. Liaw, A. Mehta, S. Moran, G. Velegkas, D. Wang, and M. K. Warmuth, Near-quadratic sample compression for all VC classes , arXiv:2611.25011 (https://arxiv.org/abs/2611.25011), 2026.arXiv
Show all 39 referencesShow fewer references
  1. J. Chalopin, V. Chepoi, F. Mc Inerney, S. Ratel, and Y. Vaxès, Sample compression schemes for balls in graphs (https://doi.org/10.1137/22M1527817), SIAM Journal on Discrete Mathematics 37 (2023), 2585--2616.DOI
  2. J. Chalopin, V. Chepoi, S. Moran, and M. K. Warmuth, Unlabeled sample compression schemes and corner peelings for ample and maximum classes , Journal of Computer and System Sciences 127 (2022), 1--28.
  3. H. Chase and J. Freitag, Model theory and machine learning (https://doi.org/10.1017/bsl.2018.71), Bulletin of Symbolic Logic 25 (2019), 319--332.DOI
  4. H. Chase and J. Freitag, Bounds in query learning (https://proceedings.mlr.press/v125/chase20a.html), Proceedings of COLT, PMLR 125 (2020), 1142--1160. See Section 2.5 of the full version (https://arxiv.org/abs/1904.10122).link
  5. V. Chepoi, K. Knauer, and M. Philibert, Labeled sample compression schemes for complexes of oriented matroids , Journal of Computer and System Sciences 144 (2024), 103543.
  6. A. Chernikov and P. Simon, Externally definable sets and dependent pairs II (https://doi.org/10.1090/S0002-9947-2015-06210-2), Transactions of the American Mathematical Society 367 (2015), 5217--5235.DOI
  7. A. Chernikov and S. Starchenko, Regularity lemma for distal structures (https://doi.org/10.4171/JEMS/816), Journal of the European Mathematical Society 20 (2018), 2437--2466.DOI
  8. S. Eshel and I. Kaplan, On uniform definability of types over finite sets for NIP formulas (https://doi.org/10.1142/S021906132150015X), Journal of Mathematical Logic 21 (2021), 2150015.DOI
  9. S. Floyd and M. K. Warmuth, Sample compression, learnability, and the Vapnik--Chervonenkis dimension , Machine Learning 21 (1995), 269--304.
  10. J. Flum and M. Ziegler, Pseudo-finite homogeneity and saturation (https://doi.org/10.2307/2586806), Journal of Symbolic Logic 64 (1999), 1689--1699.DOI
  11. Y. Freund, Boosting a weak learning algorithm by majority , Information and Computation 121 (1995), 256--285.
  12. D. P. Helmbold and M. K. Warmuth, On weak learning , Journal of Computer and System Sciences 50 (1995), 551--573.
  13. Y. Jiang, J. Nešetřil, P. Ossona de Mendez, and S. Siebertz, Regular partitions of gentle graphs (https://doi.org/10.1007/s10474-020-01074-x), Acta Mathematica Hungarica 161 (2020), 719--755.DOI
  14. I. Kaplan, https://doi.org/10.1016/j.aim.2023.109418 A definable (p,q)(p,q)-theorem for NIP theories , Advances in Mathematics 436 (2024), 109418.DOI
  15. Y. Li, P. M. Long, and A. Srinivasan, Improved bounds on the sample complexity of learning (https://doi.org/10.1006/jcss.2000.1741), Journal of Computer and System Sciences 62 (2001), 516--527.DOI
  16. N. Littlestone and M. K. Warmuth, Relating data compression and learnability , unpublished manuscript, June 1986.
  17. R. Livni and P. Simon, Honest compressions and their application to compression schemes , Proceedings of COLT, PMLR 30 (2013), 77--92. Proceedings version (https://proceedings.mlr.press/v30/Livni13.html).link
  18. J. Matoušek, Bounded VC-dimension implies a fractional Helly theorem , Discrete and Computational Geometry 31 (2004), 251--255. doi:10.1007/s00454-003-2859-z (https://doi.org/10.1007/s00454-003-2859-z).DOI
  19. S. Moran, A. Shpilka, A. Wigderson, and A. Yehudayoff, Teaching and compressing for low VC-dimension (https://doi.org/10.1007/978-3-319-44479-6_26), in A Journey Through Discrete Mathematics , Springer, 2017, 633--656.DOI
  20. S. Moran and M. K. Warmuth, Labeled compression schemes for extremal classes , Proceedings of ALT, LNCS 9925 (2016), 34--49.
  21. S. Moran and A. Yehudayoff, Sample compression schemes for VC classes , Journal of the ACM 63 (2016), Article 21. Preprint with the numbering cited in Section sec:estimates (https://arxiv.org/pdf/1503.06960).link
  22. N. Sauer, On the density of families of sets , Journal of Combinatorial Theory, Series A 13 (1972), 145--147.
  23. S. Shelah, A combinatorial problem; stability and order for models and theories in infinitary languages , Pacific Journal of Mathematics 41 (1972), 247--261.
  24. P. Simon, Type decomposition in NIP theories (https://doi.org/10.4171/JEMS/926), Journal of the European Mathematical Society 22 (2020), 455--476.DOI
  25. M. Talagrand, Sharper bounds for Gaussian and empirical processes (https://doi.org/10.1214/aop/1176988847), Annals of Probability 22 (1994), 28--76.DOI
  26. L. G. Valiant, A theory of the learnable , Communications of the ACM 27 (1984), 1134--1142.
  27. V. N. Vapnik and A. Ya. Chervonenkis, On the uniform convergence of relative frequencies of events to their probabilities , Theory of Probability and its Applications 16 (1971), 264--280.
  28. J. von Neumann, Zur Theorie der Gesellschaftsspiele , Mathematische Annalen 100 (1928), 295--320.
  29. A. Jung and D. Pálvölgyi, https://doi.org/10.1016/j.ejc.2026.104454 A note on infinite versions of (p,q)(p,q)-theorems , European Journal of Combinatorics 139 (2027), Article 104454.DOI

Version history

  1. v1 · 13 pagesSubmitted by Artem ChernikovInitial depositCurrentDec 01, 2026