Sample compression schemes for balls in graphs

Jérémie Chalopin, Victor Chepoi, Fionn Mc Inerney, Sébastien Ratel, Yann Vaxès · DOI

Abstract

One of the open problems in machine learning is whether any set-family of VC-dimension $d$ admits a sample compression scheme of size $O(d)$. In this paper, we study this problem for balls in graphs. For a ball $B=B_r(x)$ of a graph $G=(V,E)$, a realizable sample for $B$ is a signed subset $X=(X^+,X^-)$ of $V$ such that $B$ contains $X^+$ and is disjoint from $X^-$. We design proper labeled sample compression schemes for various graph classes, including trees (size 2), cycles (size 3), interval graphs (size 4), and cube-free median graphs (size 22). We also explore approximate schemes for $\delta$-hyperbolic graphs.

Introduction

In computational learning theory, the Vapnik-Chervonenkis (VC) dimension $d$ serves as a fundamental measure of the complexity of a concept class. A long-standing conjecture by Floyd and Warmuth (1995) posits that any concept class with VC-dimension $d$ admits a sample compression scheme of size $O(d)$. This paper provides significant evidence for this conjecture by focusing on a geometrically rich class: balls in graphs.

Problem Definition

Given a graph $G=(V,E)$, a ball $B_r(x)$ is defined as the set of vertices at a distance at most $r$ from $x$. A sample compression scheme consists of:

  1. Compressor: Maps a labeled sample $X$ (vertices inside and outside a ball) to a small subsample $X'$ of size $k$.
  2. Reconstructor: Recovers a ball $B'$ from $X'$ that is consistent with the original labels in $X$.

The goal is to minimize $k$ relative to the VC-dimension of the graph class.

Methodology: Combinatorial Geometry in Graphs

The authors utilize combinatorial geometry to identify "boundary designators"—a small set of vertices that uniquely constrain the possible center and radius of a ball.

Schematic illustrating the identification of boundary points $\phi_s^-(v)$ and $\phi_s^+(v)$ relative to a ball $B_r(v)$ and sphere $S_{r+1}(s)$.

In many graph classes, the boundary of a ball can be characterized by its intersection with spheres centered at other points. For instance, in median graphs, the "gate" property allows for pinpointing centers using coordinate-based arguments. For more complex structures like cube-free median graphs, the authors embed the graph into a square grid $\mathbb{Z}^2$ to use geometric "fencing" techniques.

Key Insights

The Power of Two in Trees

For trees, the VC-dimension is 2. The authors prove that any ball in a tree can be compressed to just 2 vertices. These vertices typically represent a "diametral pair" or specific boundary points that define the extent of the ball along the tree's branches.

Geometric representation of a ball $B_r(w)$ and its intersection with a sphere $S_{r+1}(s)$ in a tree graph.

Universality via Split Graphs

A striking theoretical result in the paper is that the general Sample Compression Conjecture is equivalent to compressing balls of radius 1 in split graphs. This elevates the study of balls in graphs from a specific case study to a universal approach for the broader conjecture.

Results Summary

The paper establishes the following compression sizes for proper labeled schemes:

  • Trees: Size 2 (Optimal, $d=2$)
  • Cycles: Size 3
  • Interval Graphs: Size 4
  • Trees of Cycles (Cacti): Size 6
  • Cube-free Median Graphs: Size 22
  • $\delta$-hyperbolic Graphs: Size 2 (Approximate reconstruction)

Conclusion and Future Work

While this work provides concrete bounds for several important graph families, several challenges remain. The size 22 bound for cube-free median graphs is likely non-optimal. Furthermore, extending these results to general planar graphs for arbitrary radii and to higher-dimensional median graphs are key areas for future research. The ultimate goal remains proving the $O(d)$ bound for all graph classes, a "holy grail" in learning theory.

Summary updated

BibTeX
@article{chalopin2023sample,
  author = {Jérémie Chalopin and Victor Chepoi and Fionn Mc Inerney and Sébastien Ratel and Yann Vaxès},
  title = {{Sample compression schemes for balls in graphs}},
  journal = {SIAM J. Discret. Math.},
  year = {2023},
  doi = {10.1137/22m1527817},
}
Figure