Minimax Estimation of the Pseudo-Spectral Gap
at Arbitrary Relative Precision
Abstract
We study estimation of the pseudo-spectral gap of a finite ergodic Markov chain from a single trajectory. For a known state space of size , stationary minimum , and pseudo-spectral gap , we construct an estimator with relative error and confidence using transitions. The guarantee holds from every initial distribution, and the estimator requires no knowledge of the stationary law or gap. This extends the constant-factor inverse-gap bound of Wolfer and Kontorovich (Ann. Appl. Probab., 2024) to arbitrary relative precision, improving their general-precision dependence from to . On classes with and , where and , we prove a matching lower bound at constant confidence, even for reversible chains with a common known stationary law. The main estimate compares a bipartite Laplacian with its empirical counterpart relative to the Laplacian plus a regularization term. Positive semidefinite edge matrices allow the martingale variance to be controlled by occupation counts. Separate incoming and outgoing normalization ensures empirical contractivity, so the lagged estimates can be combined without additional inverse-gap factors.
Note. This paper was generated entirely by AI, including MiMo, using an automated research pipeline developed by Chenghua Liu and Hanyu Li.
1 Introduction
Concentration bounds for Markov observations depend on the relaxation of the underlying chain. When its transition matrix is unknown, the relaxation parameter must itself be estimated from dependent data. For nonreversible chains, Paulin’s pseudo-spectral gap controls concentration through the singular-value contraction of powers of the transition operator [4]. Estimates of this quantity also enter empirical PAC-Bayes bounds for Markov data [3]. The statistical difficulty is to estimate a potentially small spectral deficit while accounting for the unknown stationary law that defines the relevant inner product.
For reversible chains, Hsu et al. [2] obtained inverse-gap sample complexity for relative estimation of the absolute spectral gap, and constructed fully data-dependent confidence intervals. Wolfer and Kontorovich [6] extended gap estimation beyond reversibility by using multiplicative reversiblizations of powers. Their later work established an upper bound of for a fixed multiplicative factor [7, Theorem 2.2], but the bound for arbitrary relative error remained [7, Theorem 2.3]. Here the tilde suppresses logarithmic factors. Their Open Problem 2.1 asks to close the remaining precision and stationary-mass dependence between the upper and lower bounds.
We obtain the inverse-gap rate at every relative precision , with only one logarithmic factor. A complementary two-point construction proves the joint lower bound on classes with stationary minimum at least and pseudo-spectral gap at least , for . The earlier gap-estimation lower bound in [6, Theorem 4] is proportional to , apart from its confidence factor; it does not supply the required dependence when . Our construction keeps the stationary distribution fixed and known. Thus the three factors , , and arise together even without the need to estimate that distribution.
The proof retains the lagged-operator framework of [6] and the reversible-dilation viewpoint of [7]. The new estimate is a relative perturbation bound for the associated bipartite Laplacian. At lag , this Laplacian has second-smallest eigenvalue . Regularizing at scale yields an eigenvalue error proportional to , rather than requiring the same small additive operator error at every lag. Dividing by then gives the required gap accuracy. The regularization is used only in the proof, not in the estimator.
Two properties make this comparison effective. Each observed transition contributes a positive semidefinite edge matrix; conditional centering gives a matrix martingale whose predictable variation is controlled by occupation counts. In addition, normalizing incoming and outgoing counts separately makes every empirical operator a contraction. A candidate at lag is therefore at most , so lags beyond the inverse gap need no concentration estimate. For the remaining lags, thinning reduces the sample length but increases the pseudo-spectral gap by the same order of magnitude.
We now specify the model and results. Let be a row-stochastic transition matrix on the known state space , where . Throughout, ergodic means irreducible and aperiodic. Write its stationary distribution as a row vector , and put , , and . Here denotes the all-ones column vector. Functions on are column vectors, with ; the corresponding operator norm is also denoted by . The time reversal is . For integers , define
| (1) | ||||
| (2) | ||||
| (3) |
Singular values are ordered decreasingly, with multiplicities. In particular, an additional unit singular value makes . Equivalently, is the spectral gap of , so (3) is Paulin’s pseudo-spectral gap [4], in the convention of [7]. Since in finite dimension, . Also , so the maximum is attained and .
We observe , comprising transitions. Relative error means . All logarithms are natural. Unsubscripted matrix norms are Euclidean operator norms, and means that is positive semidefinite. The one-state case has a known deterministic transition matrix and is excluded from the estimation problem.
Theorem 1 (Uniform upper bound).
There is a statistic , defined in (7), such that, for every ergodic , every initial distribution, , and ,
| (4) |
One may take . The statistic uses only the trajectory and the known state space; it does not use , , , , or .
The sample-size guarantee depends on the true parameters, although the statistic does not. The theorem is a fixed-sample estimation result, not a fully empirical confidence interval or a certified rule for stopping the observation of the chain.
For the minimax statement, define
Let be the smallest nonnegative integer for which an estimator based on has relative error at most , with probability at least , uniformly over and all deterministic initial states. Such an estimator may depend on .
Theorem 2 (Minimax bounds).
For , , , and , there are universal constants such that
| (5) |
One may take . The lower bound holds even for reversible chains with a common known stationary distribution. The two hard chains have stationary minimum exactly and pseudo-spectral gaps in .
The restriction on keeps the lower bound away from a degenerate endpoint. If , the constant output has the required relative accuracy for every , without any transitions. Indeed, throughout that interval. Thus a positive lower bound of the form in (5) cannot hold uniformly up to . Theorem 1 has no such restriction.
2 The estimator and its lag structure
For each , let and consider the skipped chain , , whose transition matrix is . Define its transition counts and degrees by
When all incoming and outgoing degrees are positive, set
| (6) |
If any degree is zero, set . Our estimator is
| (7) |
For completeness, set .
The use of both degree vectors ensures contractivity on every sample path. For any nonnegative matrix with positive row sums and column sums , let . Weighted Cauchy–Schwarz gives
Moreover, and , where square roots are componentwise. Hence and all its singular values lie in . In particular,
| (8) |
for every data set, including the zero-degree case.
Consequently, lag contributes at most to (7). This gives an exact way to terminate the lag search: after processing lag , stop if the largest candidate so far is at least . Every remaining candidate is bounded by that value, so the result is unchanged. This rule concerns computation on a fixed trajectory, not the number of observations required. Our bounds concern sample complexity rather than an optimized running time.
The estimator uses the exact transformation between and . Maximizing instead would estimate only a quantity within a factor of two of . The normalization is also consequential: incoming and outgoing counts differ at the endpoints of a trajectory. For the trajectory ,
Using on both sides gives
For the second coordinate vector , , so is not a contraction. Separate incoming and outgoing normalization avoids this endpoint effect.
Thinning shortens the trajectory but strengthens contraction. The next lemma quantifies this balance, using the submultiplicativity approach of [7, Section 2.1].
Lemma 1 (Gaps of powers).
For every integer ,
| (9) |
Moreover, for every integer .
Proof.
Write and for . Jensen’s inequality and stationarity give
Since is the orthogonal projection onto the constant functions, has norm at most one. Thus . Also , so , and consequently .
Choose a lag attaining (3) and put . If , then , so for every . Otherwise, for an integer ,
For the strict inequality, let . Then , so ; the last step follows by expanding . This proves the assertion about .
If , take . Then , and hence
If , the bound gives the lower estimate directly. Finally, , and every pseudo-spectral gap is at most one. This proves the upper estimate. ∎
The scalar power identity for the absolute spectral gap of a reversible chain does not extend to the pseudo-spectral gap of a general chain. For example, consider the four-state shift-register chain
It is doubly stochastic, , and its singular values are . Therefore and , whereas . The two-sided comparison in Lemma 1, rather than such an identity, is what the statistical argument needs.
3 Relative Laplacian concentration
For a transition matrix , the normalized bipartite Laplacian has second-smallest eigenvalue . We will estimate to accuracy proportional to , where is a regularization parameter. This permits a useful bound even when . Occupation counts control the degrees and the drift of the edge process, while a matrix martingale inequality controls the conditionally centered fluctuation.
We first record the two concentration inputs. Paulin’s Bernstein inequality [4, Theorem 3.11, equation (3.25)], in the corrected version specified in the bibliography, states that for a stationary ergodic chain with pseudo-spectral gap , a nonconstant real function , and ,
Here and . For , , and , this implies
| (10) |
Indeed, use and ; then , , and the denominator in the Bernstein bound is at most . For any initial distribution and any trajectory event ,
| (11) |
since .
The second input is the self-adjoint matrix Freedman inequality [5, Theorem 1.2]. Let be self-adjoint martingale differences with , and put and . For ,
| (12) |
This follows by applying the maximal one-sided theorem to and , taking a union bound, and restricting to time . The predictable quadratic variation is unchanged by the sign. We use the joint-event form (12): the bound on will hold on a high-probability event, rather than on every trajectory.
Proposition 1 (Regularized relative Laplacian concentration).
Consider transitions from an ergodic chain on , from any initial distribution. Let its stationary law be , with , and let . Write and . Form from the transition counts as in (6), and write when all degrees are positive. If , , and , then, except on an event of probability at most
| (13) |
all degrees are positive and
| (14) |
Proof.
Let and be the outgoing and incoming counts. By (10)–(11) and a union bound, the event
| (15) |
has failure probability bounded by the first summand in (13). Both degree vectors consist of sums of state indicators; under stationarity, the arrival sequence is stationary as well. In particular, all degrees are positive on .
For an edge , define a vector in by
where are the coordinate vectors. The stationary mean edge matrix is
| (16) |
Its eigenvalues are , so its second smallest eigenvalue, counted with multiplicity, is . Set
For each state , put
and define
With , the Markov property gives . Thus are self-adjoint martingale differences.
Both and lie between and , where , because and . Hence , and
On , positivity gives the predictable-variation bound
| (17) |
Apply (12) with , , and . Since ,
The inclusion supplied by (17) therefore yields
| (18) |
In particular, we have not conditioned the martingale on .
On , conjugating the martingale bound by gives
Since each is positive semidefinite and , the degree event also implies
Adding these bounds, we obtain
| (19) |
We next transfer this estimate to the empirical normalization. Let
Directly from the definitions,
On , . As , every nonzero satisfies
The middle quotient is the Rayleigh quotient of under the invertible substitution . The min–max principle, with eigenvalues ordered increasingly, now gives
Both and have their second smallest eigenvalue equal to the corresponding singular-value deficit, regardless of its multiplicity. Applying this comparison at and using (19) yields
Subtracting proves (14), also when the displayed lower bound is negative. Combining the degree and martingale failure probabilities completes the proof. ∎
The proposition applies uniformly to the lags that can attain the true gap. At these lags, both the regularization and the pseudo-spectral gap of the skipped chain are of order , compensating for the reduction in sample length.
Proof of Theorem 1.
Fix the chain and write and . Set and ; these quantities are used only in the analysis. A maximizing lag in (3) satisfies , so .
For , the matrix is ergodic with stationary law . Apply Proposition 1 with , , and . Lemma 1 gives . If , then
Thus each lag has failure probability at most
A union bound over at most lags gives total failure probability at most
| (20) |
The sample-size condition (4), with , makes this at most and also implies .
On the simultaneous good event, all degrees at these lags are positive. Write and . Since , (14) gives
The function is -Lipschitz on , which contains both and . Therefore
| (21) |
The last inequality uses . The candidate at is consequently at least , while all candidates with are at most . For , the deterministic bound (8) gives . Taking the maximum proves the two-sided relative-error guarantee. ∎
4 The minimax lower bound
The hard pair consists of a rare state coupled to a well-mixed reservoir. Varying the rate of exchange changes the gap without changing the stationary law. The transitions that distinguish nearby rates occur with frequency of order , which produces the three factors in the lower bound simultaneously.
Proof of Theorem 2.
Fix and . Use the stationary law
For , define
All entries are positive, and every row sums to one. Across the rare-state cut, ; detailed balance within the reservoir follows from its equal masses and equal transition probabilities. Thus is ergodic and reversible with stationary minimum exactly .
On the two-dimensional space of functions constant on the reservoir, acts as
with eigenvalues and . It annihilates functions that vanish at state and sum to zero on the reservoir. Consequently its remaining eigenvalues are zero, and reversibility implies
| (22) |
For the maximizing claim, take and use , with equality at .
Given , choose
Since and , , and hence . Formula (22) gives and . Furthermore,
Here the numerator in the fraction is at least , its denominator is at most , and . Thus the two intervals of successful estimation are disjoint:
| (23) |
Start both chains at the fixed reservoir state , and denote their trajectory laws by . We use for relative entropy with natural logarithms and for total variation distance. In a reservoir row, the conditional distribution of the next state within the reservoir is the same under both models. The row divergence is therefore the divergence of Bernoulli laws with parameters and . At the rare state, the corresponding parameters are and . For , the inequality gives
In our setting, , so
| (24) |
Under , the rare-state probability satisfies and . Solving this recurrence yields . The chain rule for relative entropy and (24) therefore imply
| (25) |
If , this divergence is at most . Pinsker’s inequality gives . Thus every test of these two models has the sum of its two error probabilities at least .
An estimator successful with probability at least under both models would contradict this bound: thresholding its output at any point strictly between the two quantities in (23) would give a test with error sum at most . Both models belong to and have the same stationary law, so revealing that law cannot distinguish them. This proves the lower bound with .
References
- [1] D. A. Freedman. On tail probabilities for martingales. The Annals of Probability, 3(1):100–118, 1975. https://doi.org/10.1214/aop/1176996452.
- [2] D. Hsu, A. Kontorovich, D. A. Levin, Y. Peres, C. Szepesvári, and G. Wolfer. Mixing time estimation in reversible Markov chains from a single sample path. The Annals of Applied Probability, 29(4):2439–2480, 2019. https://doi.org/10.1214/18-AAP1457.
- [3] V. Karagulyan and P. Alquier. Empirical PAC-Bayes bounds for Markov chains. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics, Proceedings of Machine Learning Research, 300:361–369, 2026. https://proceedings.mlr.press/v300/karagulyan26a.html.
- [4] D. Paulin. Concentration inequalities for Markov chains by Marton couplings and spectral methods. Electronic Journal of Probability, 20, paper no. 79, 1–32, 2015. https://doi.org/10.1214/EJP.v20-4039. The concentration inequality cited here is Theorem 3.11, equation (3.25), of the corrected version, arXiv:1212.2015v5, 2018. https://arxiv.org/abs/1212.2015v5.
- [5] J. A. Tropp. Freedman’s inequality for matrix martingales. Electronic Communications in Probability, 16:262–270, 2011. https://doi.org/10.1214/ECP.v16-1624.
- [6] G. Wolfer and A. Kontorovich. Estimating the mixing time of ergodic Markov chains. In Proceedings of the 32nd Conference on Learning Theory, Proceedings of Machine Learning Research, 99:3120–3159, 2019. https://proceedings.mlr.press/v99/wolfer19a.html.
- [7] G. Wolfer and A. Kontorovich. Improved estimation of relaxation time in nonreversible Markov chains. The Annals of Applied Probability, 34(1A):249–276, 2024. https://doi.org/10.1214/23-AAP1963. Theorem and open-problem numbers refer to arXiv:2209.00175v3, 2023. https://arxiv.org/abs/2209.00175v3.
Appendix A A visit-count bound from contraction
The occupation estimate can alternatively be obtained directly from the contraction defining the pseudo-spectral gap. This argument uses thinning and scalar Freedman concentration [1]; it recovers the same polynomial sample complexity with additional logarithmic factors. It is not needed for the single-logarithm bound in Theorem 1.
Lemma 2.
Let be an ergodic chain on , with stationary law , minimum , and pseudo-spectral gap . Fix , and set
For transitions, let and be the outgoing and incoming counts. From any initial distribution, both degree vectors have relative error at most with probability at least whenever
| (26) |
More precisely, if and , the failure probability is at most .
Proof.
Let attain and put . The contraction and submultiplicativity used in Lemma 1 imply, for every integer ,
| (27) |
For , the last inequality follows from and . For , the first bound is interpreted as one when its exponent is zero; if , the last bound is at least one, and if the norm is zero. At , has norm one.
The similarity transform by gives the entrywise bound
By the choice of , every lies between and .
Consider first observations , and partition their indices into residue classes modulo . Fix a state and a residue containing observations. After setting aside its first indicator, center each subsequent indicator using its conditional mean in the filtration of this residue sequence. The Markov property identifies that mean with a transition probability of , hence places it within a relative of . The centered sum has increments bounded in absolute value by one and predictable variance at most . Scalar Freedman, equivalently the case of (12), at gives
The predictable-mean error is at most , and restoring the first indicator costs at most one. Outside the displayed exceptional event, the residue count therefore differs from by at most , provided .
If , each residue has . Under , summing the residue counts and taking a union bound over the residues and states yields
Apply the same argument to for incoming counts, and double the prefactor. No assumption on the initial distribution is used, because the first observation in each residue is controlled deterministically. Finally, (26) makes this failure probability at most and implies both and . ∎
Since , the preceding lemma requires transitions. For a lag , Lemma 1 gives , whereas for . Thus the polynomial factors of cancel here as well. Replacing the occupation bound in Proposition 1 by Lemma 2, keeping its matrix martingale argument, and taking a union bound over these lags yields . Paulin’s sharper inequality is what gives the single logarithm and the explicit constant in Theorem 1.