Effectiveness of Constant Stepsize in Markovian LSA and Statistical Inference

Dongyan Huo, Yudong Chen, Qiaomin XiearXiv 2023 · DOI

TL;DR

This paper shows that using a constant stepsize in Markovian Linear Stochastic Approximation (LSA) can be surprisingly effective for statistical inference, even though it introduces bias. By combining averaged iterates with Richardson-Romberg extrapolation, they achieve reliable confidence intervals, outperforming traditional methods in certain scenarios.

What Problem Does This Paper Address?

Statistical inference, like estimating parameters and constructing confidence intervals (CIs), is crucial in many machine learning and data science applications. Stochastic Approximation (SA) algorithms are popular for their computational efficiency, especially when dealing with large datasets, as they can process data online without storing it all. Traditionally, SA algorithms rely on a diminishing stepsize sequence to guarantee theoretical convergence properties, which are essential for valid statistical inference.

However, practitioners often prefer constant stepsizes because they lead to faster initial convergence and are much easier to tune. While research has explored the convergence of constant-stepsize SA, its use for statistical inference has been largely overlooked. This is primarily because constant stepsizes can lead to asymptotic bias in the estimates, especially when the data is Markovian (i.e., sequential observations are correlated). This bias can invalidate standard inference procedures. This paper aims to bridge this gap by investigating the effectiveness of constant-stepsize SA for statistical inference, particularly in the presence of Markovian data, and developing methods to mitigate the associated bias.

Methods

The core of the paper lies in developing a statistical inference procedure for Markovian LSA with constant stepsizes. Here's a breakdown of their approach:

  • Central Limit Theorem (CLT) for Averaged Iterates: They first establish a theoretical foundation by proving a CLT for averaged iterates of Markovian LSA with a constant stepsize. This is a crucial step, as it shows that while individual iterates might be biased, their averages exhibit asymptotic normality, which is a prerequisite for constructing CIs.
  • Batch-Mean Estimators: To construct CIs, they use averaged LSA iterates grouped into batches. The average of these batch means serves as a point estimator. This technique is adapted from existing methods for i.i.d. data.
  • Richardson-Romberg (RR) Extrapolation: To combat the asymptotic bias introduced by the constant stepsize and Markovian data, they employ Richardson-Romberg extrapolation. This technique involves running LSA with multiple different constant stepsizes and then combining the resulting iterates linearly to reduce the bias to a higher order.
  • Theoretical Analysis of Stepsize Selection: They provide theoretical guidance on how to select the stepsizes for RR extrapolation, analyzing two common schedules (geometric decay and equidistant) and their impact on variance.
  • Identification of Zero-Bias Scenarios: The paper also identifies specific settings where Markovian data does not lead to asymptotic bias, making constant-stepsize inference directly applicable without extrapolation. These include scenarios with independent multiplicative noise and certain linear regression problems.

Datasets

The paper does not introduce new datasets. Instead, it relies on simulated data generated according to the LSA problem setup. The experiments involve:

  • Simulating Markovian data from specified transition probability matrices and functions A and b.
  • The dimensions of the state space (|X|) and the parameter vector (d) are varied in the experiments (e.g., |X|=10, d=5; |X|=5, d=3).

Key Insights and Ideas

  • Constant Stepsize is Viable for Inference: The most significant insight is that, contrary to the common assumption that diminishing stepsizes are strictly necessary for valid inference, constant stepsizes can be effectively used, especially when combined with bias reduction techniques.
  • Averaging is Key: The CLT for averaged iterates is critical. It shows that while individual iterates might be biased, their averages behave nicely, allowing for statistical inference.
  • RR Extrapolation is Powerful but Needs Care: RR extrapolation significantly improves CI coverage by reducing bias. However, the choice of stepsizes for extrapolation is crucial, as poorly chosen stepsizes can lead to high variance and offset the benefits of bias reduction.
  • Markovian Data Doesn't Always Mean Bias: The paper highlights that the presence of Markovian data doesn't automatically doom constant-stepsize inference. Specific structures in the problem (like additive noise) can lead to zero asymptotic bias, simplifying inference.
  • Practical Advantages: Constant stepsizes offer easier hyperparameter tuning and faster initial convergence, making them attractive for practitioners. The paper demonstrates that these advantages can be realized without sacrificing too much in terms of inference reliability.

Key Results

The paper presents both theoretical guarantees and extensive numerical results:

  • Theoretical Guarantees: They prove a CLT for averaged Markovian LSA iterates and provide theoretical bounds for the variance of RR extrapolated iterates under different stepsize selection schemes. They also identify conditions for zero asymptotic bias.
  • Numerical Experiments:
    • Improved Coverage with RR: In Markovian LSA, constant stepsizes with RR extrapolation consistently yield better coverage probabilities for confidence intervals compared to constant stepsizes alone or diminishing stepsizes.
  • Bias Reduction: RR extrapolation effectively reduces the l2 error of point estimates and improves CI coverage, often reaching the target 95% coverage.
  • Robustness: The proposed method shows good performance across various settings, including different stepsize values, batch numbers, and trajectory lengths.
  • Comparison to Bootstrapping: For correlated data, the proposed SA-based inference method outperforms bootstrapping in terms of CI width and l2 error, suggesting better handling of data dependencies.
  • Zero Bias Scenarios: Numerical results confirm that in settings where zero asymptotic bias is theoretically predicted, constant-stepsize inference performs well without RR extrapolation.

Limitations and Future Work

  • Non-Consistent CI: The paper acknowledges that the confidence intervals constructed with constant-stepsize LSA iterates (even with averaging) are non-consistent. This means that as the data size grows infinitely, the CI might not necessarily shrink to zero width around the true parameter. This is a direct consequence of the inherent bias.
  • Anytime Variance Estimator: The authors suggest developing an "anytime" variance estimator to enable fully online inference with constant stepsizes.
  • Optimal RR Order: Given a fixed simulation budget (trajectory length), determining the optimal order of RR extrapolation to achieve good inference performance is a future research direction.
  • Theoretical Justification for CI: Further theoretical work is needed to fully justify the validity of the confidence intervals constructed with constant-stepsize LSA iterates under Markovian data.
  • Extension to Nonlinear SA: While they show some empirical robustness for nonlinear SA, more theoretical work is needed in this area.

Summary updated

BibTeX
@misc{huo2023effectiveness,
  author = {Dongyan Huo and Yudong Chen and Qiaomin Xie},
  title = {{Effectiveness of Constant Stepsize in Markovian LSA and Statistical Inference}},
  year = {2023},
  eprint = {2312.10894},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.10894},
}
Figure