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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9424aac4-01c4-439b-b697-e3827d54795dCited by top-tier papers2
- Total Variation Distance Meets Probabilistic InferenceArnab Bhattacharyya, Sutanu Gayen, Kuldeep S. Meel, Dimitrios Myrisiotis et al.ICML 2024 · 10 citations
- Computational Explorations of Total Variation DistanceArnab Bhattacharyya, Sutanu Gayen, Kuldeep S. Meel, Dimitrios Myrisiotis et al.ICLR 2025
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
