Computational Explorations of Total Variation Distance
Arnab Bhattacharyya, Sutanu Gayen, Kuldeep S. Meel, Dimitrios Myrisiotis, A. Pavan, N. V. Vinodchandran
TL;DR
The paper tackles computational questions about total variation distance, proving a deterministic polynomial-time algorithm for exact equivalence checking of mixtures of product distributions and establishing hardness results for Ising models. The equivalence algorithm uses a vector-space basis construction to efficiently confirm equality and provide a witness when they differ, with running time $O(n k^4 |\Sigma|^4)$. Conversely, it shows that, unless $\mathsf{NP} \subseteq \mathsf{RP}$, there is no FPRAS for estimating $d_{\mathrm{TV}}$ between Ising models, via a sequence of reductions from the partition function to atomic marginals and then to TV distance. The results illuminate fundamental computational limits of TV-distance tasks in structured distributions and suggest cautious optimism for efficient equivalence testing in mixtures of product distributions, while highlighting hardness barriers in broader graphical models.
Abstract
We investigate some previously unexplored (or underexplored) computational aspects of total variation (TV) distance. First, we give a simple deterministic polynomial-time algorithm for checking equivalence between mixtures of product distributions, over arbitrary alphabets. This corresponds to a special case, whereby the TV distance between the two distributions is zero. Second, we prove that unless $\mathsf{NP} \subseteq \mathsf{RP}$, it is impossible to efficiently estimate the TV distance between arbitrary Ising models, even in a bounded-error randomized setting.
