Practical Computation of Graph VC-Dimension
Abstract
For any set system , a subset is called \emph{shattered} if every results from the intersection of with some set in . The \emph{VC-dimension} of is the size of a largest shattered set in . In this paper, we focus on the problem of computing the VC-dimension of graphs. In particular, given a graph , the VC-dimension of is defined as the VC-dimension of , where contains each subset of that can be obtained as the closed neighborhood of some vertex in . Our main contribution is an algorithm for computing the VC-dimension of any graph, whose effectiveness is shown through experiments on various types of practical graphs, including graphs with millions of vertices. A key aspect of its efficiency resides in the fact that practical graphs have small VC-dimension, up to 8 in our experiments. As a side-product, we present several new bounds relating the graph VC-dimension to other classical graph theoretical notions. We also establish the -hardness of the graph VC-dimension problem by extending a previous result for arbitrary set systems.
Keywords
Cite
@article{arxiv.2405.07588,
title = {Practical Computation of Graph VC-Dimension},
author = {David Coudert and Mónika Csikós and Guillaume Ducoffe and Laurent Viennot},
journal= {arXiv preprint arXiv:2405.07588},
year = {2024}
}