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.
Introduction
In classical statistics, the assumption of independent and identically distributed (i.i.d.) data serves as a foundational pillar. However, real-world data—ranging from natural language processing to financial time series—is frequently sequential and exhibits temporal dependencies. Markov chains provide the standard mathematical framework for modeling these dependencies.
A fundamental question in this domain is: If you observe a single long sequence of states from an unknown Markov chain, how long must that sequence be to accurately estimate the transition matrix? While the i.i.d. case is well-understood (requiring roughly $d/\epsilon^2$ samples for a distribution over $d$ states), the Markovian setting introduces significant complexity. Observations are dependent, and if the chain mixes slowly or gets "stuck" in specific regions of the state space, the data required for accurate estimation increases dramatically. This paper quantifies the interaction between the number of states, desired accuracy, and the chain's mixing properties.
Methodology
The authors approach the problem through the lens of minimax sample complexity, seeking to identify the best possible estimator and the "hardest" possible Markov chain to establish fundamental limits. The analysis utilizes several key technical components:
- Operator Infinity Norm (|·|∞): For finite state spaces, this norm measures the maximum error across all possible starting states when predicting the distribution of the subsequent state.
- Pseudo-spectral Gap (γps): To quantify mixing in non-reversible chains (where transitions $i \to j$ do not necessarily balance with $j \to i$), the authors employ the pseudo-spectral gap, a sophisticated tool from spectral graph theory.
- Doublet Frequencies (Q): In the context of countably infinite state spaces, the focus shifts from estimating the transition matrix $M$ directly to estimating the joint probability of consecutive states, defined as $Q(i,j) = \pi(i)M(i,j)$.
- Lower Bound Constructions: To prove optimality, the authors construct adversarial Markov chain topologies using Assouad’s Lemma and Tsybakov’s method. These "hard" families of chains are designed to be statistically indistinguishable unless the observation sequence is sufficiently long.
Key Insights and Results
The Role of Mixing and Bottlenecks
The research demonstrates that sample complexity is not merely a function of the state space size ($d$), but is heavily influenced by the mixing time ($t_{mix}$) or the pseudo-spectral gap ($\gamma_{ps}$). If a chain mixes slowly, more data is required to observe the true transition probabilities. Furthermore, the error depends on $1/\pi_\star$ (the inverse of the minimum stationary probability). This highlights that a state cannot be accurately modeled if the chain rarely visits it.
The Price of Non-Stationarity
The derived bounds include a term $\|\mu/\pi\|_{2,\pi}$, which quantifies the distance between the initial distribution $\mu$ and the steady-state distribution $\pi$. This term represents the "burn-in" cost associated with starting the chain from an arbitrary state rather than its stationary distribution.
Statistical Bounds
The authors establish tight bounds for the sequence length $m$ required to achieve an error $\epsilon$ with high probability:
- Finite Case (Upper Bound): An estimator succeeds when the sequence length $m$ is approximately: $$\max \left\{ \frac{d}{\epsilon^2 \pi_\star}, \frac{1}{\gamma_{ps} \pi_\star} \right\}$$
- Finite Case (Lower Bound): Any estimator requires at least: $$m \ge c \max \left\{ \frac{d}{\epsilon^2 \pi_\star}, \frac{d \ln d}{\gamma_{ps}} \right\}$$
- Infinite Case: The paper provides the first known convergence guarantees for the countably infinite setting using the entry-wise norm on $Q$, governed by the mixing time $t_{mix}$.
Conclusion and Future Work
This work establishes the fundamental limits of learning Markovian transition behavior from a single trajectory. While the bounds are nearly optimal, a small logarithmic gap remains in certain regimes. Additionally, while the parameters $\gamma_{ps}$ and $\pi_\star$ can be estimated from data, the current bounds depend on these values being known. Future research may focus on developing "agnostic" estimators that do not require prior knowledge of these parameters, as well as exploring Markov chains with additional structures, such as low-rank transitions or continuous state spaces.
Summary updated