On Deterministically Approximating Total Variation Distance
Weiming Feng, Liqiang Liu, Tianren Liu
Abstract
Total variation distance (TV distance) is an important measure for the difference between two distributions. Recently, there has been progress in approximating the TV distance between product distributions: a deterministic algorithm for a restricted class of product distributions (Bhattacharyya, Gayen, Meel, Myrisiotis, Pavan and Vinodchandran 2023) and a randomized algorithm for general product distributions (Feng, Guo, Jerrum and Wang 2023). We give a deterministic fully polynomial-time approximation algorithm (FPTAS) for the TV distance between product distributions. Given two product distributions P and Q over [q] n , our algorithm approximates their TV distance with relative error ε in time O qn 2 ε log q log n ε ∆ TV (P,Q) . Our algorithm is built around two key concepts: 1) The likelihood ratio as a distribution, which captures sufficient information to compute the TV distance. 2) We introduce a metric between likelihood ratio distributions, called the minimum total variation distance. Our algorithm computes a sparsified likelihood ratio distribution that is close to the original one w.r.t. the new metric. The approximated TV distance can be computed from the sparsified likelihood ratio.
Our technique also implies deterministic FPTAS for the TV distance between Markov chains.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Computational Explorations of Total Variation Distance cites Efficient Distance Approximation for Structured High-Dimensional Distributions via Learning
- Computational Explorations of Total Variation Distance cites Total Variation Distance Meets Probabilistic Inference
- Total Variation Distance Meets Probabilistic Inference cites Efficient Distance Approximation for Structured High-Dimensional Distributions via Learning
Cited by top-tier papers2
Builds on1
Related papers
- Testing Probabilistic CircuitsYash Pote, Kuldeep S. MeelNeurIPS 2021 · 10 citations
- Product Distribution Learning with Imperfect AdviceArnab Bhattacharyya, Davin Choo, Philips George John, Themis GouleakisNeurIPS 2025 · 3 citations
- Statistically Near-Optimal Hypothesis SelectionOlivier Bousquet, Mark Braverman, Gillat Kol, Klim Efremenko et al.FOCS 2021
- Constant Approximation of Fréchet Distance in Strongly Subquadratic TimeSiu-Wing Cheng, Haoqiang Huang, Shuo ZhangSTOC 2025 · 1 citation
- Federated Data Shift Distance EstimationGraham Cormode, Daniel TingVLDB 2025
