High-arity Sample Compression

Leonardo Coregliano, William OpichNeurIPS 2026

TL;DR

In classical machine learning, being able to compress a dataset down to a tiny, representative subset is mathematically equivalent to being able to learn from it. This paper asks what happens to that principle when your data lives on a multi-dimensional grid—like user-movie ratings or connections in a network—rather than a flat list of independent points. The authors define "high-arity" sample compression and prove that, even when data labels lose their independence due to grid structures, non-trivial compression still guarantees learnability.

What Problem Does This Paper Address?

Classical Probably Approximately Correct (PAC) learning theory assumes your training data consists of independent and identically distributed (i.i.d.) points drawn from a single space $X$. Within this world, PAC learnability is equivalent to sample compression: the ability to take $m$ labeled examples, keep just a tiny fraction of them (plus a small "header" of extra bits), and perfectly reconstruct the labels of the entire original sample.

Recently, researchers began exploring high-arity learning theory, where data lives in product spaces ($X_1 \times \dots \times X_k$). Instead of sampling $m$ arbitrary points in space, you sample $m$ items from each coordinate axis and observe labels for all $m^k$ combinations on the resulting grid. Respecting this product structure unlocks learnability for rich hypothesis classes that fail under classical rules: for example, compact convex sets in $\mathbb{R}^2$ have an infinite classical VC-dimension (unlearnable!), yet a slice-wise "high-arity" dimension of just 2 (learnable!).

The open question: Can we define sample compression for these $k$-dimensional grids, and does compressing a grid still imply we can PAC-learn on it? The catch is that grid labels share rows and columns—they are not independent—which breaks the standard probability tools (like Chernoff bounds) normally used to prove generalization.

Methods

The authors formalize high-arity sample compression across two settings: partite (where axes $X_1, \dots, X_k$ have different distributions) and non-partite (where all axes share a space and distribution, like vertices in a graph).

A $k$-partite compression scheme takes $m$ points per axis and all $m^k$ grid labels, and compresses them by:

  1. Selecting a sub-grid using $s_m$ indices from each of the $k$ axes.
  2. Attaching a small "header" of extra information (an integer up to $h_m$).
  3. Feeding that compressed sub-grid and header into a reconstruction map to output a hypothesis with zero empirical loss on the full $m^k$ grid.

To prove this compression implies learnability without i.i.d. labels, the authors replace standard concentration inequalities with martingales. By revealing the sampled coordinates step-by-step and tracking how the empirical loss changes, they establish bounded martingale differences and apply Azuma’s Inequality to bound the generalization error. For agnostic settings (where no perfect hypothesis exists), they invoke the Aldous–Hoover Theorem from exchangeability theory to represent grid distributions cleanly so the martingale machinery still holds.

Datasets

Not discussed in the paper. (This is a purely theoretical work in statistical learning theory.)

Key Insights and Ideas

  • Grid Compression Beats Triviality at $o(m)$: A trivial scheme keeps all $m$ points per axis ($s_m = m, h_m = 1$), costing $\Theta(m \ln m)$ in scaling. As long as a high-arity compression scheme shrinks the combined complexity $\ln(h_m) + k \cdot s_m \cdot \ln(m)$ to $o(m)$, the hypothesis class is guaranteed to be $k$-PAC learnable.
  • Martingales Rescue Dependent Grids: Even though $m^k$ grid entries are heavily correlated (changing one axis point alters $m^{k-1}$ labels!), conditioning on the underlying coordinate draws one at a time forms a clean martingale, allowing Azuma's Inequality to stand in for Chernoff/Bernstein bounds.
  • Why Geometry Gets Tricky on Uneven Grids: Using compact convex sets in 2D as a toy example, the authors show that on an evenly spaced $m \times m$ grid, you can compress a convex shape using $\le 8$ points and a header of size $\exp(O(\sqrt{m}))$ via integer partitions. However, if grid spacing grows exponentially along an axis, that naive partition trick blows up to $\Theta(2^{m/2}/\sqrt{m})$ possibilities—highlighting just how subtle true high-arity compression really is.

Key Results

  • Compression Implies Learnability (Theorems 2.4 & A.5): For any bounded loss function, if a $k$-partite (or non-partite) hypothesis class admits a compression scheme satisfying $\ln(h_m) + k \cdot s_m \cdot \ln(m) \le o(m)$ as $m \to \infty$, then the reconstruction algorithm itself is a valid $k$-PAC learner.
  • Sample Complexity Bound: In the tighter regime where $\ln(h_m) + k \cdot s_m \cdot \ln(m) \le (1 + o(1)) \sqrt{2 k m} \ln(m)$, the number of samples $m$ needed per axis to achieve error $\varepsilon$ with confidence $1 - \delta$ is bounded by: $$m \le (1 + o(1)) \cdot \frac{2 \cdot k \cdot \|\ell\|_\infty^2}{\varepsilon^2} \cdot \max\left\{1, \ln\left(\frac{1}{\delta}\right)\right\}$$
  • Approximate & Agnostic Equivalence: If you relax zero-loss reconstruction to approximate compression (allowing small reconstruction error $\varepsilon_m \to 0$), high-arity PAC learnability and approximate sample compression become fully equivalent in both realizations and agnostic settings.

Limitations and Future Work

The biggest open puzzle is the converse direction: does exact $k$-PAC learnability imply the existence of an exact (zero-loss) high-arity sample compression scheme?

In 1D classical learning, this converse is proven by setting up a two-player zero-sum game between a learner and a data-picking "spoiler," then applying von Neumann’s Minimax Theorem. In high-arity spaces, however, the spoiler is restricted to playing product distributions ($X_1 \times \dots \times X_k$). Because mixtures of product distributions are not generally product distributions, convexity breaks down and the Minimax Theorem no longer applies. Figuring out how to bypass this game-theoretic roadblock remains an open frontier.

Summary updated

BibTeX
@inproceedings{coregliano2026high,
  author = {Leonardo Coregliano and William Opich},
  title = {{High-arity Sample Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Jl8WaswXxS},
}
Figure