Skip to main content
QUICK REVIEW

[Paper Review] Near-Optimal Closeness Testing of Discrete Histogram Distributions

Ilias Diakonikolas, Daniel M. Kane|arXiv (Cornell University)|Mar 6, 2017
Machine Learning and AlgorithmsComputer Science44 references11 citations
TL;DR

This paper presents a new algorithm for testing the closeness of two discrete $k$-histogram distributions over $[n]$ with near-optimal sample complexity, achieving a bound of $O(k^{4/5}/ ilde{ abla}^{6/5})$ that improves upon prior work by polynomial factors. It also establishes a nearly-matching information-theoretic lower bound, resolving a long-standing gap in understanding the sample complexity of histogram closeness testing in terms of $k$, $n$, and $\epsilon$.

ABSTRACT

We investigate the problem of testing the equivalence between two discrete histograms. A {\em $k$-histogram} over $[n]$ is a probability distribution that is piecewise constant over some set of $k$ intervals over $[n]$. Histograms have been extensively studied in computer science and statistics. Given a set of samples from two $k$-histogram distributions $p, q$ over $[n]$, we want to distinguish (with high probability) between the cases that $p = q$ and $\|p-q\|_1 \geq ε$. The main contribution of this paper is a new algorithm for this testing problem and a nearly matching information-theoretic lower bound. Specifically, the sample complexity of our algorithm matches our lower bound up to a logarithmic factor, improving on previous work by polynomial factors in the relevant parameters. Our algorithmic approach applies in a more general setting and yields improved sample upper bounds for testing closeness of other structured distributions as well.

Motivation & Objective

  • Address the gap in sample complexity bounds for testing closeness between two $k$-histogram distributions over $[n]$.
  • Develop an algorithm with sample complexity that nearly matches the information-theoretic lower bound.
  • Resolve the dependence of the sample complexity on the interplay between $k$, $n$, and $\epsilon$.
  • Extend the framework of [DKN15a] to achieve improved sample efficiency for structured discrete distributions.
  • Provide a nearly tight lower bound that demonstrates the optimality of the proposed algorithm.

Proposed method

  • The algorithm leverages a novel construction of pseudo-distributions and applies a Poisson process to simulate sampling from block-structured distributions.
  • Key components include the use of families $\mathcal{E}$, $\mathcal{E}_0$, and $\mathcal{F}$ of distributions on $[W]$ with controlled total variation distance.
  • Conditional independence across blocks is exploited to bound mutual information between the sampling process and the underlying distribution family.
  • The method uses a hybrid construction of distributions: $\mathcal{E}_0/m$, $\mathcal{E}\epsilon/k$, and $\mathcal{F}/m$ across $k+2m$ blocks of size $W$.
  • Mutual information $I(X:A)$ is bounded using tail analysis and concentration inequalities to show indistinguishability when sample size is suboptimal.
  • Lower bound construction relies on distinguishing between two families $\mathcal{D}$ and $\mathcal{D}'$ via total variation distance and information-theoretic arguments.

Experimental results

Research questions

  • RQ1What is the optimal sample complexity for testing closeness between two $k$-histogram distributions over $[n]$?
  • RQ2How does the sample complexity depend on the interplay between $k$, $n$, and $\epsilon$?
  • RQ3Can the sample complexity of closeness testing for $k$-histograms be improved beyond the $O(k^{4/5}/\epsilon^{6/5})$ bound from prior work?
  • RQ4Is the previously known lower bound of $\Omega(k^{2/3}/\epsilon^{4/3})$ tight, or can it be improved?
  • RQ5Can the framework of [DKN15a] be extended to yield nearly optimal bounds for structured discrete distributions like histograms?

Key findings

  • The proposed algorithm achieves a sample complexity of $O(k^{4/5}/\epsilon^{6/5})$, improving upon the prior upper bound of $O(k^{4/5}/\epsilon^{6/5})$ by polynomial factors.
  • The information-theoretic lower bound is $\Omega(k^{2/3}/\epsilon^{4/3})$, which nearly matches the upper bound up to a logarithmic factor.
  • The sample complexity is independent of the domain size $n$, indicating that the structure of $k$-histograms enables significant efficiency gains.
  • The lower bound is derived via a carefully constructed family of pseudo-distributions and mutual information arguments, showing that no algorithm can achieve better than $\Omega(k^{2/3}/\epsilon^{4/3})$ sample complexity.
  • The result demonstrates that the sample complexity depends non-trivially on the relationship between $k$, $n$, and $\epsilon$, contrary to intuition from simpler problems.
  • The framework yields improved sample bounds for testing closeness of other structured distributions beyond histograms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.