English

Algorithms and Hardness for Estimating Statistical Similarity

Data Structures and Algorithms 2025-06-03 v3 Computational Complexity

Abstract

We introduce and study the computational problem of determining statistical similarity between probability distributions. For distributions PP and QQ over a finite sample space, their statistical similarity is defined as Sstat(P,Q):=xmin(P(x),Q(x))S_{\mathrm{stat}}(P, Q) := \sum_x \min(P(x), Q(x)). Despite its fundamental nature as a measure of similarity between distributions, capturing essential concepts such as Bayes error in prediction and hypothesis testing, this computational problem has not been previously explored. Recent work on computing statistical distance has established that, somewhat surprisingly, even for the simple class of product distributions, exactly computing statistical similarity is #P\#\mathsf{P}-hard. This motivates the question of designing approximation algorithms for statistical similarity. Our first contribution is a Fully Polynomial-Time deterministic Approximation Scheme (FPTAS) for estimating statistical similarity between two product distributions. Furthermore, we also establish a complementary hardness result. In particular, we show that it is NP\mathsf{NP}-hard to estimate statistical similarity when PP and QQ are Bayes net distributions of in-degree 22.

Keywords

Cite

@article{arxiv.2502.10527,
  title  = {Algorithms and Hardness for Estimating Statistical Similarity},
  author = {Arnab Bhattacharyya and Sutanu Gayen and Kuldeep S. Meel and Dimitrios Myrisiotis and A. Pavan and N. V. Vinodchandran},
  journal= {arXiv preprint arXiv:2502.10527},
  year   = {2025}
}

Comments

14 pages

R2 v1 2026-06-28T21:45:00.329Z