The Parameterized Complexity of Computing the VC-Dimension

F. Foucaud, Harmender Gahlawat, Fionn Mc Inerney, P. Tale
10/1/2025

No confident code implementation found for this paper.

Abstract

The VC-dimension is a well-studied and fundamental complexity measure of a set system (or hypergraph) that is central to many areas of machine learning. We establish several new results on the complexity of computing the VC-dimension.

Show full abstract

In particular, given a hypergraph $\mathcal{H}=(\mathcal{V},\mathcal{E})$, we prove that the naive $2^{\mathcal{O}(|\mathcal{V}|)}$-time algorithm is asymptotically tight under the Exponential Time Hypothesis (ETH). We then prove that the problem admits a $1$-additive fixed-parameter approximation algorithm when parameterized by the maximum degree of $\mathcal{H}$ and a fixed-parameter algorithm when parameterized by its dimension, and that these are essentially the only such exploitable structural parameters. Lastly, we consider a generalization of the problem, formulated using graphs, which captures the VC-dimension of both set systems and graphs. We design a $2^{\mathcal{O}(\rm{tw}\cdot \log \rm{tw})}\cdot |V|$-time algorithm for any graph $G=(V,E)$ of treewidth $\rm{tw}$ (which, for a set system, applies to the treewidth of its incidence graph). This is in contrast with closely related problems that require a double-exponential dependency on the treewidth (assuming the ETH).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{foucaud2025parameterized,
  title  = {The Parameterized Complexity of Computing the VC-Dimension},
  author = {F. Foucaud and Harmender Gahlawat and Fionn Mc Inerney and P. Tale},
  year   = {2025},
  eprint = {2510.17451},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2510.17451},
  url    = {https://doi.org/10.48550/arXiv.2510.17451},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.17451.svg)](https://codeofpaper.com/paper/2510.17451)

Discussion