Effectiveness of Constant Stepsize in Markovian LSA and Statistical Inference

Dongyan Lucy Huo, Yudong Chen, Qiaomin Xie

Introduction

Linear Stochastic Approximation (LSA) serves as the backbone for numerous machine learning and reinforcement learning algorithms, including Stochastic Gradient Descent (SGD) and Temporal Difference (TD) learning. While theoretical convergence is typically guaranteed using a diminishing stepsize, practitioners frequently opt for a constant stepsize due to its rapid initial convergence and ease of tuning. However, constant stepsize iterates do not converge to a fixed point; instead, they oscillate around the target, introducing an asymptotic bias that complicates statistical inference and the construction of reliable confidence intervals (CIs).

This paper introduces a robust framework for performing statistical inference with constant-stepsize LSA, even in the presence of correlated (Markovian) data. By combining a new Central Limit Theorem (CLT) with Richardson-Romberg (RR) extrapolation, the authors demonstrate how to eliminate asymptotic bias and achieve accurate CI coverage.

Methodology: Overcoming Asymptotic Bias

The proposed approach relies on three primary components to enable valid inference:

  1. Central Limit Theorem for Markovian LSA: The authors establish a CLT for the averaged iterates of LSA under Markovian noise. This provides the necessary distributional foundation for constructing CIs.
  2. Richardson-Romberg (RR) Extrapolation: To address the inherent bias of constant stepsizes, the method runs the algorithm multiple times with different stepsize values. A linear combination of these results is then used to cancel out the leading-order bias terms. This allows the estimator to approach the true target more closely than a single constant-stepsize run.
  3. Batch-Mean Covariance Estimation: Estimating uncertainty in Markovian data is challenging due to temporal correlations. The authors employ a batch-mean estimator, dividing the iterate trajectory into $K$ batches and using the variance between batch means to estimate the total covariance. This method is computationally efficient, requiring only $O(d)$ memory, where $d$ is the dimension of the parameter space.

Key Results and Empirical Validation

The effectiveness of the RR extrapolation framework is most evident when examining CI coverage across varying trajectory lengths. As shown in the comparison below, standard constant stepsizes (e.g., $\alpha=0.2$) suffer from severe under-coverage as the trajectory length increases, eventually dropping to 0% coverage due to the dominance of asymptotic bias. In contrast, the RR method maintains coverage near the nominal 95% level.

Comparison of l2 error, CI width, and coverage across different trajectory lengths and stepsize strategies. Note the superior coverage of the RR method at large N.

Robustness to Hyperparameters

A significant advantage of the constant-stepsize approach is its robustness to the choice of batch size for variance estimation. While diminishing stepsize regimes can be sensitive to the number of batches, the RR-extrapolated constant stepsize maintains stable performance.

Sensitivity analysis of l2 error, CI width, and coverage (Cov) to the number of batches used in variance estimation.

As seen in the table above, the RR method's coverage remains consistently high (around 94%) across 100, 500, and 1000 batches, whereas other methods, particularly those with diminishing stepsizes or poorly tuned constant stepsizes, show greater variability or significant coverage drops.

Conclusion

This research bridges the gap between the practical efficiency of constant-stepsize LSA and the need for rigorous statistical guarantees. By leveraging RR extrapolation and batch-mean estimation, the authors provide a memory-efficient, easy-to-tune framework that outperforms traditional diminishing stepsize methods in both accuracy and reliability. Future work aims to refine "anytime" variance estimators and automate the selection of the optimal number of extrapolation steps.

Summary updated

BibTeX
@inproceedings{huo2024effectiveness,
  author = {Dongyan Lucy Huo and Yudong Chen and Qiaomin Xie},
  title = {{Effectiveness of Constant Stepsize in Markovian LSA and Statistical Inference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.30028},
}
Figure