AutoStep: Locally adaptive involutive MCMC

Tiange Liu, Nikola Surjanovic, Miguel Biron-Lattes, Alexandre Bouchard-Cote, Trevor Campbell

Introduction

Markov Chain Monte Carlo (MCMC) is the mathematical engine behind Bayesian inference, but it suffers from a notorious "Goldilocks" problem: tuning the step size. If steps are too large, the algorithm proposes jumps into low-probability regions and gets rejected; if they are too small, the algorithm takes forever to explore the space.

This challenge is amplified in "multiscale" distributions—landscapes with both wide, flat plains and narrow, steep canyons. A step size that works in the plains will be rejected constantly in the canyons, while a canyon-appropriate step size will crawl at a snail's pace across the plains. Most existing methods attempt to find a single "global" step size, resulting in a compromise that works perfectly nowhere.

To address this, researchers have introduced AutoStep MCMC, a novel framework that automatically tunes its step size at every single iteration. By adapting to the local "terrain" of a probability distribution using a clever symmetric selection criterion and state augmentation, AutoStep provides a robust, theoretically sound solution for sampling from complex, multiscale distributions.

Methodology: The AutoStep Framework

AutoStep MCMC treats the step size not as a fixed parameter, but as part of the "state" of the Markov chain. It builds upon the "involutive MCMC" framework, a general class of algorithms that encompasses popular methods like Random Walk Metropolis-Hastings (RWMH), the Metropolis-Adjusted Langevin Algorithm (MALA), and Hamiltonian Monte Carlo (HMC).

The core innovation is the Symmetric Step Size Selector. At each step, the algorithm uses a "doubling/halving" procedure to find a step size $\theta$ that keeps the log-acceptance ratio within a specific randomized range. Crucially, unlike previous attempts at local adaptation, AutoStep uses a symmetric check on the log-acceptance ratio (checking its absolute value).

Acceptance probability across different scales, demonstrating the stability of the symmetric AutoStep criterion compared to asymmetric and fixed-step methods.

This symmetry ensures the chain remains "irreducible"—meaning it won't get stuck in the tails or near the mode of a distribution. By including the step size and acceptance thresholds in the augmented state space, the authors mathematically prove that the algorithm eventually converges to the correct target distribution (achieving $\pi$-invariance).

Experiments and Key Findings

The authors evaluated AutoStep on a mix of synthetic "stress tests" and real-world Bayesian problems, including the classic 2D and 100D Neal’s Funnel (a benchmark for multiscale distributions), a 3D Kilpisjärvi Temperature linear regression model, a 5D mRNA Transfection model, and a 12D Orbit-fitting astronomical model. AutoStep was compared against heavy hitters like NUTS (the default in Stan and PyMC), Hit-and-Run Slice Sampling, and various adaptive versions of MALA and RWMH.

Local Adaptation and Efficiency: By adapting the step size iteration-by-iteration, AutoStep can "downshift" its gears to navigate tight spaces and "upshift" to sprint across broad ones. Consequently, AutoStep MCMC is highly competitive with, and sometimes outperforms, state-of-the-art samplers like NUTS in terms of Effective Sample Size (ESS) per unit cost. On the challenging 100-dimensional Neal's Funnel, AutoStep MALA showed significantly better scaling and reliability than fixed-step methods.

Robustness to Poor Initialization: One of the most impressive findings is the algorithm's robustness to "bad" starts. Even if the step size is initialized 14 orders of magnitude away from the optimal value, the algorithm finds the right scale almost immediately, and the computational cost only increases logarithmically.

Convergence of step size and cost per iteration over tuning rounds, showing AutoStep's rapid recovery from extreme initializations.

Furthermore, the paper provides rigorous proofs that the method is $\pi$-invariant, irreducible, and aperiodic—the "holy trinity" of MCMC reliability that many heuristic adaptive methods lack.

Limitations and Future Directions

While highly effective, AutoStep currently focuses on a single scalar step size. In very high-dimensional spaces with complex correlations, adapting a full "preconditioning matrix" (essentially a step size for every direction) locally would be even more powerful, though computationally much harder.

Additionally, the doubling/halving search introduces computational overhead by requiring multiple evaluations of the target density per iteration. While the authors show this cost is manageable and offset by increased robustness, it remains a trade-off. Future theoretical work may involve a more rigorous analysis of "Expected Squared Jump Distance" to further refine our understanding of the sampling efficiency of these locally adaptive chains.

Summary updated

BibTeX
@inproceedings{liu2025autostep,
  author = {Tiange Liu and Nikola Surjanovic and Miguel Biron-Lattes and Alexandre Bouchard-Cote and Trevor Campbell},
  title = {{AutoStep: Locally adaptive involutive MCMC}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=QUOwuRtf61},
}
Figure