NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Testing of Index-Invariant Properties in the Huge Object Model

Sourav Chakraborty, Eldar Fischer, Arijit Ghosh, Gopinath Mishra, Sayantan Sen · DOI

Introduction

In the era of "big data," the scale of individual data points can be as overwhelming as the size of the datasets themselves. Traditional distribution testing assumes an algorithm can read entire samples from a distribution $D$ over a domain $\Omega$. However, when the domain is a high-dimensional space like the $n$-dimensional Hamming cube $\{0, 1\}^n$, even reading a single $n$-bit sample becomes computationally prohibitive as $n$ grows.

This paper explores property testing within the Huge Object Model, introduced by Goldreich and Ron (2022). In this model, a tester cannot view a sample in its entirety; instead, it must query specific bits of the sampled strings. The fundamental challenge is to determine which properties can be tested using a number of queries that remains constant, regardless of the dimension $n$.

The Huge Object Model and Index-Invariance

The Huge Object Model shifts the focus from the number of samples to the total number of bit-level queries. To make testing feasible in this restricted setting, the authors focus on index-invariant properties. A property is index-invariant if it is preserved under any permutation of the $n$ coordinates. For example, a property that depends only on the weight of the strings or the relative correlations between bits—rather than the specific position of those bits—is index-invariant.

Index-invariance serves as a natural middle ground in theoretical computer science. It is more structured than general properties (which are often impossible to test efficiently) but more flexible than fully symmetric properties, which ignore the structure of the Hamming cube entirely.

Methodology: The Test-and-Learn Paradigm

The authors employ a "testing by learning" strategy. The core intuition is that if a distribution can be efficiently learned (up to a permutation of its indices), one can then verify if that learned representation is close to satisfying the desired property.

Key Technical Components:

  • Earth Mover Distance (EMD): Standard total variation distance is often too sensitive for the Huge Object Model. Two distributions might be technically disjoint even if their samples differ by only a single bit. The authors use EMD, which accounts for the Hamming distance between strings, providing a more robust metric for "closeness" in high-dimensional spaces.
  • The TEST-AND-LEARN Algorithm: This algorithm projects samples onto a small, random subset of indices $R \subset [n]$. By analyzing these projections, the algorithm can estimate the weights of different clusters within the distribution without ever reading a full string.
  • VC-Dimension and Haussler’s Packing Theorem: The paper identifies Vapnik-Chervonenkis (VC) dimension as the critical metric for testability. By leveraging Haussler’s packing theorem, the authors show that distributions with bounded VC-dimension can be covered by a small number of Hamming balls. This "clusterability" is what allows the distribution to be learned and tested with $O(1)$ queries relative to $n$.

Key Results

1. Dimension-Independent Query Complexity

The primary contribution is the proof that every index-invariant property with a bounded VC-dimension $d$ is testable with $poly(1/\epsilon)$ queries. Crucially, this complexity is independent of $n$, meaning the algorithm remains efficient even as the dimensionality of the data approaches infinity.

2. The Adaptivity Gap

In general property testing, "adaptive" algorithms—which choose their next query based on previous results—can be exponentially more efficient than "non-adaptive" ones. The authors prove a surprising result for index-invariant properties: the adaptivity gap is at most quadratic ($q_{non-adaptive} \leq q_{adaptive}^2$). This suggests that for these structured properties, complex query strategies offer diminishing returns over simple, randomized bit-sampling.

3. Lower Bounds

While the complexity is independent of $n$, it is heavily dependent on the VC-dimension $d$. The authors establish tight lower bounds, showing that testing requires an exponential number of samples ($2^{\Omega(d)}$) and a doubly-exponential number of queries ($2^{2^{d-O(1)}}$) in terms of the VC-dimension.

Discussion and Future Work

This research establishes VC-dimension as a fundamental metric for testability in high-dimensional models. However, the doubly-exponential dependence on $d$ remains a significant theoretical hurdle. Future research may focus on narrowing this gap for specific subclasses of properties or exploring other structural symmetries beyond index-invariance that allow for efficient testing.

While currently a theoretical framework, these insights into index-invariance and the adaptivity gap provide a roadmap for developing practical algorithms for high-dimensional data analysis in fields such as genomics or large-scale sensor networks, where data is vast and query access is expensive.

Summary updated

BibTeX
@inproceedings{chakraborty2023testing,
  author = {Sourav Chakraborty and Eldar Fischer and Arijit Ghosh and Gopinath Mishra and Sayantan Sen},
  title = {{Testing of Index-Invariant Properties in the Huge Object Model}},
  booktitle = {Conference on Learning Theory},
  year = {2023},
  url = {https://openreview.net/forum?id=wUmFOMv6o1},
}
Figure