cs.DSMay 5, 2026

On Computing Total Variation Distance Between Mixtures of Product Distributions

Authors: Weiming Feng, Yucheng Fu, Minji Yang, Anqi Zhang

Organizations: School of Computing and Data Science, The University of Hong Kong. · The Institute for Interdisciplinary Information Sciences, Tsinghua University.

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=Θ(n).

Explore similar work

CardsList