English

On Computing Total Variation Distance Between Mixtures of Product Distributions

Data Structures and Algorithms 2026-05-06 v1 Machine Learning Probability

Abstract

We study the problem of approximating the total variation distance between two mixtures of product distributions over an nn-dimensional discrete domain. Given two mixtures P\mathbb{P} and Q\mathbb{Q} with k1k_1 and k2k_2 product distributions over [q]n[q]^n, respectively, we give a randomized algorithm that approximates dTV(P,Q)d_{\mathrm{TV}}\left({\mathbb{P}},{\mathbb{Q}}\right) within a multiplicative error of (1±ε)(1\pm \varepsilon) in time poly((nq)k1+k2,1/ε)\mathrm{poly}((nq)^{k_1+k_2},1/\varepsilon). We also study the special case of mixtures of Boolean subcubes over {0,1}n\{0,1\}^n. For this class, we give a deterministic algorithm that exactly computes the total variation distance in time poly(n,2O(k1+k2))\mathrm{poly}(n,2^{O(k_1+k_2)}), and show that exact computation is #P\#\mathsf{P}-hard when k1+k2=Θ(n)k_1+k_2=\Theta(n).

Keywords

Cite

@article{arxiv.2605.03839,
  title  = {On Computing Total Variation Distance Between Mixtures of Product Distributions},
  author = {Weiming Feng and Yucheng Fu and Minji Yang and Anqi Zhang},
  journal= {arXiv preprint arXiv:2605.03839},
  year   = {2026}
}