Statistical estimation of ergodic Markov chain kernel over discrete state space

Geoffrey Wolfer, Aryeh Kontorovich

TL;DR

This paper establishes the first high-probability minimax sample complexity bounds for estimating the transition kernel of an ergodic Markov chain from a single trajectory. The authors demonstrate that the number of observations required is fundamentally governed by the chain's mixing properties and its minimum stationary probability, providing tight upper and lower bounds for both finite and countably infinite state spaces.

What Problem Does This Paper Address?

In statistics and computer science, learning a discrete probability distribution from independent samples is a solved problem. However, real-world data—from natural language to financial markets—is often dependent, frequently modeled as a Markov chain.

The challenge lies in "Statistical Complexity": if you have a single long sequence of observations from a Markov chain, how many steps ($m$) do you need to observe to reconstruct the transition matrix $M$ with high accuracy? Unlike the i.i.d. case, where the samples are "fresh," Markovian observations are correlated. If a chain gets "stuck" in one part of the state space (slow mixing), you might need a much longer sequence to see enough transitions to accurately estimate the entire kernel. This paper quantifies exactly how the number of states, the desired precision, and the chain's internal dynamics (mixing time) interact to determine this sample complexity.

Methods

The authors analyze the problem using a minimax framework, seeking the best possible performance an estimator can achieve against the "worst-case" Markov chain in a given class.

  • Estimator Construction: For the upper bounds, they use a "mildly smoothed" version of the natural counting estimator (where you simply count how many times you transitioned from state $i$ to $j$ and divide by the total visits to $i$).
  • Handling Dependence: To prove the upper bounds, they employ a simulation scheme (attributed to Billingsley) that represents the Markov trajectory as an array of independent variables. This allows them to use concentration inequalities like McDiarmid’s, adapted for Markovian settings.
  • Lower Bound Techniques: To prove that their bounds are nearly optimal, they construct two "hard" families of Markov chains:
  • A family where one state is very hard to reach, forcing a dependency on the minimum stationary probability ($\pi_\star$).
  • A family of reversible chains with a carefully controlled pseudo-spectral gap ($\gamma_{ps}$) to prove that slow mixing inherently limits estimation speed.
  • Metrics: They evaluate accuracy using the operator infinity norm ($\|\cdot\|_\infty$) for finite spaces and a specialized entry-wise norm for countably infinite spaces.

Datasets

This is a theoretical paper in mathematical statistics; therefore, no empirical datasets were used. The "evaluation" is performed through rigorous mathematical proofs and the construction of synthetic "worst-case" Markov chain models to test the limits of estimation theory.

Key Insights and Ideas

  • Mixing is the Bottleneck: The sample complexity is not just a function of the number of states ($d$) and precision ($\epsilon$). It is explicitly scaled by the mixing time (or the pseudo-spectral gap). If the chain is slow to explore the state space, the "effective" number of independent samples is much lower than the actual sequence length.
  • The "Crowding Out" Effect: A technical hurdle in Markov estimation is that in a fixed-length sequence, if you visit state $A$ many times, you necessarily visit other states fewer times. The authors successfully navigate this "competition" for observations in their proofs.
  • Decoupling Parameters: A major contribution is the decoupling of the spectral gap from the precision parameter $\epsilon$. Previous lower bounds often coupled these, leading to weaker results. This paper shows that even for a fixed mixing time, the $d/\epsilon^2$ dependency remains.
  • Countably Infinite Extension: The paper shows that estimation is still possible on infinite state spaces, provided the kernel has a finite "complexity measure" ($\|Q\|_{1/2}$) and the chain eventually visits all relevant states (ergodicity).

Key Results

  • Finite State Upper Bound: The authors show that a sequence length of roughly $m \gtrsim \frac{1}{\epsilon^2 \pi_\star} + \frac{1}{\gamma_{ps} \pi_\star}$ is sufficient to achieve $\epsilon$-accuracy with high probability.
  • Finite State Lower Bound: They prove that any estimator must require at least $m \gtrsim \max \{ \frac{d}{\epsilon^2 \pi_\star}, \frac{d \ln d}{\gamma_{ps}} \}$ observations. This matches their upper bound up to logarithmic factors.
  • Efficiency Gain: This work improves upon previous literature by "shaving off" a $\ln d$ factor from the leading term of the sample complexity in high-precision regimes.
  • Infinite Case: For countably infinite spaces, they provide an upper bound that depends on the mixing time and a measure of the "effective size" of the transition kernel.

Limitations and Future Work

  • Logarithmic Gaps: While the bounds are tight "modulo logarithmic factors," a small gap remains between the upper and lower bounds (specifically the $\ln d$ and $\pi_\star$ interactions).
  • Metric Specificity: The results are tailored to the operator infinity norm. While this is a standard and strong metric, different applications might require different norms (like $\ell_2$ or specific $f$-divergences), which could yield different complexity landscapes.
  • Empirical Estimation of Parameters: The bounds depend on unknown quantities like the mixing time. While the authors note these can be estimated from data, a "fully adaptive" estimator that doesn't need to know these properties in advance remains an area for further refinement.

Summary updated

Abstract

We investigate the statistical complexity of estimating the parameters of a discrete-state Markov chain kernel from a single long sequence of state observations. In the finite case, we characterize (modulo logarithmic factors) the minimax sample complexity of estimation with respect to the operator infinity norm, while in the countably infinite case, we analyze the problem with respect to a natural entry-wise norm derived from total variation. We show that in both cases, the sample complexity is governed by the mixing properties of the unknown chain, for which, in the finite-state case, there are known finite-sample estimators with fully empirical confidence intervals.
BibTeX
@inproceedings{wolfer2019statistical,
  author = {Geoffrey Wolfer and Aryeh Kontorovich},
  title = {{Statistical estimation of ergodic Markov chain kernel over discrete state space}},
  booktitle = {ALT},
  year = {2019},
  url = {https://openreview.net/forum?id=rHgwFQllMX5},
}
Figure