Testing vs Estimation for Index-Invariant Properties in the Huge Object Model

Sourav Chakraborty, Eldar Fischer, Arijit Ghosh, Amit Levi, Gopinath Mishra, Sayantan Sen

Introduction

In the field of property testing, researchers typically distinguish between two types of algorithmic tasks. The first is testing: deciding whether a given dataset possesses a specific property $P$ or is significantly "far" from it. The second, more challenging task is distance estimation (or tolerant testing): calculating the precise distance between a dataset and the nearest instance that satisfies property $P$.

This paper investigates the relationship between these two tasks within the Huge Object model. In this model, data objects are so massive (length $n$) that an algorithm cannot afford to read even a single object in its entirety. Instead, the algorithm samples a small number of objects and queries specific bits within them. The authors prove a fundamental equivalence for a specific class of properties: index-invariant properties.

The Huge Object Model and Index-Invariance

The Huge Object model is designed for scenarios where data is high-dimensional and abundant, but access is restricted. Previous work established that for "label-invariant" properties—where the specific values of the data do not matter, only their frequencies—testing and estimation are equally efficient. However, for general properties, estimation can be exponentially more difficult than testing.

This research focuses on index-invariant properties. These are properties that remain unchanged if the bits are consistently reordered across all strings in a distribution. This class is a critical "sweet spot" in theoretical computer science: it preserves the internal structure of the strings (unlike label-invariance) while providing enough symmetry to make the transition from testing to estimation mathematically tractable.

Methodology: Distributional Regularity

The core technical contribution of the paper is the adaptation of Szemerédi’s Regularity Lemma—a foundational tool in graph theory—to the context of distributions over high-dimensional spaces. The authors develop a "meta-testing" framework using several key components:

  • Detailings: A method to deconstruct complex distributions into a weighted sum of simpler component distributions.
  • Statistics (Weight and Type): The authors utilize a form of lossy compression. Instead of analyzing the full distribution, they extract the weights of the components and the "types" (the bit-probabilities) of the variables.
  • Robustness: The paper defines "robust" detailings as those where further refinement of the data partition does not significantly alter the observed statistics. A major proof in the paper shows that "weakly robust" detailings, which are easier to identify via sampling, imply the existence of "strongly robust" ones.
  • Simulation Engine: By using the statistics of a robust detailing, the authors can simulate how a standard testing algorithm would behave on the original distribution, allowing for distance estimation without exhaustive querying.

Key Results

The primary result of the paper is Theorem 1: If an index-invariant property is $\epsilon$-testable with a constant number of queries (independent of the object size $n$), then it also admits a distance estimation algorithm that uses a constant number of queries.

Algorithmic Framework

The authors propose an explicit algorithm for distance estimation:

  1. Sample the input distribution to find a weakly robust detailing.
  2. Estimate the weight and type statistics of this detailing.
  3. Search for the closest hypothetical statistics that a known tester would accept.
  4. Output the calculated distance as the final estimate.

Complexity Improvements

Historically, regularity-based proofs often result in "tower-type" query complexity—a stack of exponents whose height grows with $1/\epsilon$. This paper achieves a double-exponential dependency on $1/\epsilon$. While still high, this is a significant improvement over tower-type bounds and suggests that the regularity method can be made more efficient when applied to distributions.

Conclusion and Future Work

This work identifies index-invariance as a boundary where the "curse of dimensionality" in distance estimation can be bypassed. While the query complexity is constant relative to $n$, the double-exponential dependency on the proximity parameter $\epsilon$ remains a challenge for future optimization. Additionally, the authors suggest that exploring the links between index-invariance and the VC-dimension of a property's support could lead to even tighter complexity bounds and broader applications in high-dimensional data analysis.

Summary updated

BibTeX
@inproceedings{chakraborty2025testing,
  author = {Sourav Chakraborty and Eldar Fischer and Arijit Ghosh and Amit Levi and Gopinath Mishra and Sayantan Sen},
  title = {{Testing vs Estimation for Index-Invariant Properties in the Huge Object Model}},
  booktitle = {STOC},
  year = {2025},
  doi = {10.1145/3717823.3718166},
}

Loading related content...

Figure