Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning

Clément L. Canonne, Xi Chen, Gautam Kamath, Amit Levi, Erik Waingarten

Introduction

In the fields of statistics and theoretical computer science, a fundamental challenge lies in determining whether a high-dimensional distribution possesses hidden structure or is simply "uniform." As the dimensionality $n$ of a space increases, the number of possible states grows exponentially—a phenomenon known as the "curse of dimensionality." This paper, a collaboration between researchers at IBM, Columbia, Waterloo, and MIT, introduces a nearly-optimal algorithm for testing the uniformity of distributions on the $n$-dimensional Boolean hypercube $\{-1, 1\}^n$, reducing the required query complexity from exponential to sub-linear in terms of $n$.

The Problem: Bypassing the Curse of Dimensionality

In standard distribution testing, an algorithm receives independent samples from a probability distribution $p$ and must decide if $p$ is uniform or $\epsilon$-far from uniform in total variation (TV) distance. On a Boolean hypercube with $2^n$ states, the standard sample complexity is $\Theta(2^{n/2}/\epsilon^2)$. For even moderate dimensions (e.g., $n=100$), this requirement is physically insurmountable.

To address this, the authors utilize the Subcube Conditional Sampling (SCOND) oracle. This model allows the algorithm to fix a subset of variables and sample from the resulting conditional distribution. For example, one might request a sample where the first ten bits are fixed to 1. While previous research using this oracle achieved a query complexity of $O(n^2/\epsilon^2)$, this work aims for the theoretical lower bound of $\tilde{O}(\sqrt{n}/\epsilon^2)$.

Methodology: The SubCondUni Algorithm

The proposed algorithm, SubCondUni, relies on two primary mathematical pillars to navigate the high-dimensional space:

1. A New Chain Rule for Total Variation

The authors establish a structural lemma: if a distribution is far from uniform, then either its projections (marginal distributions) are far from uniform, or its restrictions (conditional distributions where some bits are fixed) are far from uniform on average. This allows the algorithm to decompose the problem recursively.

2. Robust Pisier’s Inequality

The technical core of the paper involves a "robust" version of Pisier’s inequality, a tool originally derived from the geometry of Banach spaces. This inequality relates the fluctuations of a function to its gradients. The authors prove a version for the hypercube that holds even when edges are oriented arbitrarily. This geometric insight demonstrates that if a distribution’s projections are far from uniform, a random restriction will likely yield a distribution with a large, detectable mean vector.

Key Insights

  • Restrictions as a Decoupling Tool: In high dimensions, coordinates can be highly correlated, which often masks the distance from uniformity. By randomly fixing most bits, the algorithm "breaks" these correlations, forcing the remaining bits to reveal their underlying bias.
  • The Mean Testing Bridge: For product distributions, being far from uniform is equivalent to having a large mean vector. The authors show that for any distribution, random restrictions eventually transform a "far-from-uniform" distribution into one that can be identified by a specialized Mean Tester.
  • Geometric Connections: The application of Pisier’s inequality suggests a deep, perhaps under-explored, link between the analysis of Boolean functions and high-dimensional distribution testing.

Results and Complexity

The paper achieves several significant milestones in property testing:

  1. Nearly-Optimal Complexity: The SubCondUni algorithm uses $\tilde{O}(\sqrt{n}/\epsilon^2)$ queries to the SCOND oracle, which is optimal up to poly-logarithmic factors.
  2. Optimal Mean Testing: The authors developed a nearly-optimal algorithm for "Mean Testing"—distinguishing a uniform distribution from one with a mean vector of norm at least $\epsilon\sqrt{n}$—using $O(\max\{1/(\epsilon^2\sqrt{n}), 1/\epsilon\})$ samples.
  3. Gaussian Application: The Boolean mean tester can be adapted to test the mean of a multivariate Gaussian $\mathcal{G}(\mu, \Sigma)$ with an unknown covariance, requiring only $O(\sqrt{n}/\epsilon^2)$ samples.

Limitations and Future Directions

While the query complexity is theoretically optimal, the SCOND oracle is a powerful primitive that may be difficult to implement in certain real-world physical processes where perfect conditioning is unavailable. Additionally, while the paper focuses on query complexity, the authors note that the algorithm can be made computationally efficient (polynomial time) by employing a tensor-product approach.

Future work may involve extending these nearly-optimal bounds to larger domains beyond the Boolean hypercube or applying these techniques to "identity testing," where a distribution is tested against a known non-uniform distribution.

Summary updated

Abstract

We give a nearly-optimal algorithm for testing uniformity of distributions supported on {–1, 1}n, which makes many queries to a subcube conditional sampling oracle (Bhattacharyya and Chakraborty (2018)). The key technical component is a natural notion of random restrictions for distributions on {–1, 1}n, and a quantitative analysis of how such a restriction affects the mean vector of the distribution. Along the way, we consider the problem of mean testing with independent samples and provide a nearly-optimal algorithm.
BibTeX
@inproceedings{canonne2021random,
  author = {Clément L. Canonne and Xi Chen and Gautam Kamath and Amit Levi and Erik Waingarten},
  title = {{Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube Conditioning}},
  booktitle = {SODA},
  year = {2021},
  doi = {10.1137/1.9781611976465.21},
}
Figure