Efficient Distance Approximation for Structured High-Dimensional Distributions via Learning

Arnab Bhattacharyya, Sutanu Gayen, Kuldeep S. Meel, N. V. VinodchandranarXiv 2020

Introduction

In high-dimensional statistics and machine learning, determining the similarity between two probability distributions is a foundational task. Traditionally, researchers have focused on "identity testing" (is $P = Q$?) or "closeness testing" (is $P_1 = P_2$?). However, these binary questions often fail in practical scenarios where data is noisy and models are rarely identical. We require "tolerant" testers—algorithms that can estimate the Total Variation (TV) distance $d_{TV}(P, Q)$ within an additive error $\epsilon$.

This paper introduces a breakthrough framework that achieves efficient distance approximation by establishing a formal link between distribution learning and distance estimation. By leveraging the power of density estimation, the authors provide the first polynomial-time algorithms for several complex, structured distribution classes.

The Bottlenecks of High-Dimensional Testing

Testing distributions over $n$ variables typically faces two major hurdles:

  1. Exponential Sample Complexity: For arbitrary distributions, the number of samples required to test closeness grows exponentially ($2^{\Omega(n)}$), making the task impossible for large-scale datasets.
  2. Lack of Robustness: Standard testers are often non-tolerant. They can distinguish between "exactly equal" and "far apart," but they cannot quantify the distance if the distributions are "mostly similar" but not identical.

To overcome these, the authors focus on structured distributions—such as Bayesian networks and Gaussians—where the underlying geometry of the data can be exploited to reduce complexity.

The Framework: From Learning to Testing

The core contribution of this work is a general strategy centered on the concept of an EVAL approximator. This is a computational oracle that, given a point $x$, returns an estimate of the probability density $P(x)$. The authors prove a significant theoretical "aha moment": distribution learning is a stronger primitive than testing. If a class of distributions can be learned such that it produces an EVAL approximator, then distance approximation for that class becomes feasible.

The Distance Approximation Algorithm

The proposed algorithm follows a four-step process:

  1. Learning Phase: Use a set of samples to learn EVAL approximators for both distributions $P$ and $Q$.
  2. Estimation Phase: Draw a fresh set of samples from $P$.
  3. Computation: Use the learned oracles to calculate a specific estimator based on the ratio of the estimated densities at the sampled points.
  4. Concentration: Apply concentration bounds (such as Chernoff bounds) to ensure the final estimate is accurate with high probability.

This approach effectively provides "tolerant testing for free" for any distribution class that admits an efficient learning algorithm.

Results Across Structured Classes

The paper provides the first polynomial-time (in $n$ and $1/\epsilon$) algorithms for distance approximation in several well-studied settings:

  • Bayesian Networks: For distributions defined over Directed Acyclic Graphs (DAGs) with bounded in-degree $d$, the algorithm achieves a sample complexity of $\tilde{O}(|\Sigma|^{d+1} n \epsilon^{-2})$.
  • Multivariate Gaussians: Despite being a staple of statistics, there is no known closed-form expression for the TV distance between two Gaussians. This framework provides an efficient solution with $O(n^2 \epsilon^{-2})$ sample complexity.
  • Ferromagnetic Ising Models: These models are used to study interactions in physics and social networks. While calculating exact probabilities is #P-hard due to the "partition function," the authors use a Polynomial Time Approximation Scheme (PTAS) to circumvent this, enabling efficient distance estimation for ferromagnetic models.
  • Causal Interventions: The framework can estimate the distance between two interventional distributions (e.g., comparing the effect of a drug in two different populations) using only observational data, a significant result for causal inference.

Limitations and Future Work

While the framework is powerful, it has specific constraints. For Ising models, the algorithm currently requires ferromagnetic (positive) interactions to allow for efficient partition function estimation. Additionally, for Bayesian and causal models, the authors assume the underlying graph structure is known.

Furthermore, while the algorithms are polynomial in the number of variables $n$, they remain exponential in parameters like the maximum in-degree of a Bayesian network or the width of an Ising model. Future research may focus on relaxing these structural assumptions and further optimizing the dependence on graph parameters.

Summary updated

BibTeX
@misc{bhattacharyya2020efficient,
  author = {Arnab Bhattacharyya and Sutanu Gayen and Kuldeep S. Meel and N. V. Vinodchandran},
  title = {{Efficient Distance Approximation for Structured High-Dimensional Distributions via Learning}},
  year = {2020},
  eprint = {2002.05378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.05378},
}
Figure