Skip to main content
QUICK REVIEW

[Paper Review] On Computing the Total Variation Distance of Hidden Markov Models

Stefan Kiefer|arXiv (Cornell University)|Jan 1, 2018
DNA and Biological ComputingBiochemistry, Genetics and Molecular Biology7 references10 citations
TL;DR

This paper establishes fundamental complexity bounds for computing the total variation distance between the word distributions of two hidden Markov models (HMMs). It proves that deciding whether the distance exceeds a given threshold is undecidable, and approximating the distance is #P-hard and in PSPACE, using novel techniques combining floating-point rounding analysis and Ladner's result on counting in polynomial space.

ABSTRACT

We prove results on the decidability and complexity of computing the total variation distance (equivalently, the $L_1$-distance) of hidden Markov models (equivalently, labelled Markov chains). This distance measures the difference between the distributions on words that two hidden Markov models induce. The main results are: (1) it is undecidable whether the distance is greater than a given threshold; (2) approximation is #P-hard and in PSPACE.

Motivation & Objective

  • To determine the decidability and computational complexity of computing the total variation distance between two hidden Markov models (HMMs).
  • To analyze whether the distance between two HMMs exceeds a given threshold, addressing the decidability of this problem.
  • To establish the computational hardness and upper bounds for approximating the total variation distance between HMMs.
  • To develop a PSPACE algorithm for approximating the distance using floating-point arithmetic and backward error analysis.
  • To extend results to both finite-word and infinite-word HMMs, and to identify open problems in the field.

Proposed method

  • Proves undecidability of the threshold problem using reductions from undecidable problems in probabilistic systems.
  • Establishes #P-hardness of approximation by constructing a reduction from a #P-complete counting problem.
  • Develops a PSPACE algorithm that approximates the distance within a given error ε using k-bit floating-point arithmetic with controlled rounding errors.
  • Applies backward error analysis to bound the relative error in floating-point computations of word probabilities.
  • Uses Ladner's result on counting in polynomial space to compute the acceptance probability of a probabilistic PSPACE Turing machine that samples words and compares their approximate probabilities.
  • Employs a rounding scheme where each floating-point operation introduces a relative error bounded by 2−k, ensuring the approximation remains within a multiplicative factor (1±θ) of the true value.

Experimental results

Research questions

  • RQ1Is it decidable whether the total variation distance between two HMMs exceeds a given threshold?
  • RQ2What is the computational complexity of approximating the total variation distance between two HMMs?
  • RQ3Can the distance between two HMMs be approximated within a given error bound using polynomial space?
  • RQ4Does the undecidability result extend to infinite-word HMMs where end-of-word probabilities are zero?
  • RQ5Is the non-strict threshold-distance problem decidable for finite- or infinite-word HMMs?

Key findings

  • The problem of deciding whether the total variation distance between two HMMs exceeds a given threshold is undecidable.
  • Approximating the total variation distance within any additive error ε > 0 is #P-hard.
  • The distance can be approximated within any desired additive error ε in polynomial space, placing the problem in PSPACE.
  • A PSPACE algorithm is constructed using floating-point arithmetic with k-bit precision, where k is polynomial in the input size and 1/ε.
  • The approximation error is bounded by a multiplicative factor (1±θ), with θ chosen such that 4θ = ε/2, ensuring overall error ≤ ε/2.
  • The PSPACE algorithm relies on simulating a probabilistic Turing machine that samples words according to one HMM and compares approximate probabilities using backward error analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.