English

The Parameterized Complexity of Computing the VC-Dimension

Computational Complexity 2025-10-24 v2 Artificial Intelligence Discrete Mathematics Machine Learning Combinatorics

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. In particular, given a hypergraph H=(V,E)\mathcal{H}=(\mathcal{V},\mathcal{E}), we prove that the naive 2O(V)2^{\mathcal{O}(|\mathcal{V}|)}-time algorithm is asymptotically tight under the Exponential Time Hypothesis (ETH). We then prove that the problem admits a 11-additive fixed-parameter approximation algorithm when parameterized by the maximum degree of H\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 2O(twlogtw)V2^{\mathcal{O}(\rm{tw}\cdot \log \rm{tw})}\cdot |V|-time algorithm for any graph G=(V,E)G=(V,E) of treewidth tw\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).

Keywords

Cite

@article{arxiv.2510.17451,
  title  = {The Parameterized Complexity of Computing the VC-Dimension},
  author = {Florent Foucaud and Harmender Gahlawat and Fionn Mc Inerney and Prafullkumar Tale},
  journal= {arXiv preprint arXiv:2510.17451},
  year   = {2025}
}

Comments

To appear in the proceedings of NeurIPS 2025

R2 v1 2026-07-01T06:47:24.287Z