arXiv:2610.11812cs.DSOct 2026

Manuscript Offprint

arXiv:2610.11812

Deterministic Approximation of the Total Variation Distance Between Spin Systems

Zelin Li, Minji Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study deterministic relative approximation of the total variation distance between two Gibbs distributions induced by spin systems on the same bounded-degree graph. For the hard-core model, we give a deterministic polynomial-time ε\varepsilon-relative-error approximation when both external-field vectors lie in [b,(1−η)λc(Δ)]V[b, (1-\eta)\lambda_c(\Delta)]^V, where b>0b > 0 and η∈(0,1)\eta \in (0,1) are fixed and λc(Δ)\lambda_c(\Delta) is the hard-core uniqueness threshold. For the Ising model, we obtain deterministic polynomial-time algorithms in two settings: the ferromagnetic Lee–Yang regime and the antiferromagnetic correlation-decay regime. We develop a new deterministic framework that reduces this task to estimating suitably chosen partition functions.

1 Introduction

The total variation distance is a fundamental measure of the difference between two probability distributions. For distributions μ\mu and ν\nu on a finite set Ω\Omega, it is defined by

dTV(μ,ν)=12∑σ∈Ω∣μ(σ)−ν(σ)∣.d_{\mathrm{T V}}(\mu,\nu)=\frac{1}{2}\sum_{\sigma\in\Omega}|\mu(\sigma)-\nu(\sigma)|.

It can be evaluated in O(∣Ω∣)O(|\Omega|) time when both probability tables are given explicitly. The problem becomes interesting when both high-dimensional distributions admit succinct descriptions. This setting, however, already gives rise to strong complexity barriers. Sahai and Vadhan [SV03] proved that the statistical-difference problem for circuit-generated distributions is complete for statistical zero knowledge. Bhattacharyya et al. [BGM +^{+}23] showed that exact TV-distance computation is #P-complete even for Boolean product distributions, and that relative approximation is NP-hard for Bayesian networks. More recently, Bhattacharyya et al. [BGM +^{+}25] proved that, unless NP ⊆\subseteq RP, no FPRAS exists for the TV-distance problem over arbitrary Ising-model inputs.

These barriers make structured distribution families the natural setting in which to design approximation algorithms. Product distributions provide the first example: Bhattacharyya et al. [BGM +^{+}23] obtained an FPTAS for a restricted Boolean case. This restriction was later removed, first through an FPRAS for general product distributions [FGJW23] and then through an FPTAS [FLL24]. For two Bayesian networks defined over the same DAG, Bhattacharyya et al. [BGM +^{+}24] reduced relative TV-distance approximation to probabilistic inference, yielding an FPRAS whenever exact inference is efficient. For mixtures of product distributions, Bhattacharyya et al. [BGM +^{+}25] gave a polynomial-time algorithm to decide whether the TV distance is zero, and Feng et al. [FFYZ26] further gave an FPRAS for relative TV-distance approximation for a constant number of mixture components.

For spin systems, Feng et al. [FLY25] reduced relative TV-distance approximation to sampling and approximate counting. The resulting FPRAS applies to the hard-core model throughout the

*School of Computer Science and Technology, University of Science and Technology of China, email: meguru@mail.ustc.edu.cn.

†^{\dagger}School of Computing and Data Science, The University of Hong Kong, email: ymjessen02@connect.hku.hk.

constant-gap uniqueness regime and, under a constant marginal lower bound, to Ising models in the spectral, ferromagnetic consistent-field, and antiferromagnetic uniqueness regimes. Feng and Fu [FF26] gave randomized polynomial-time algorithms for relative approximation of several f-divergences between Ising models in suitable parameter regimes.

In this paper, we study deterministic polynomial-time ε\varepsilon-relative-error approximation of the TV distance between two bounded-degree spin systems, including the hard-core model and the Ising model. Our framework reduces the problem to deterministically approximating suitable partition functions at real and complex activities.

References (37)