AutoStep: Locally adaptive involutive MCMC

Tiange Liu, Nikola Surjanovic, Miguel Biron-Lattes, Alexandre Bouchard-Côté, Trevor Campbell · OpenReview

Abstract

Many common Markov chain Monte Carlo (MCMC) kernels can be formulated using a deterministic involutive proposal with a step size parameter. Selecting an appropriate step size is often a challenging task in practice; and for complex multiscale targets, there may not be one choice of step size that works well globally. In this work, we address this problem with a novel class of involutive MCMC methods -- AutoStep MCMC -- that selects an appropriate step size at each iteration adapted to the local geometry of the target distribution. We prove that AutoStep MCMC is $\pi$-invariant and has other desirable properties under mild assumptions on the target distribution $\pi$ and involutive proposal. Empirical results examine the effect of various step size selection design choices, and show that AutoStep MCMC is competitive with state-of-the-art methods in terms of effective sample size per unit cost on a range of challenging target distributions.

Introduction

Markov Chain Monte Carlo (MCMC) is a fundamental tool for Bayesian inference, enabling sampling from complex, high-dimensional distributions. However, the efficiency of standard MCMC algorithms often hinges on a critical "step size" parameter ($\theta$). A step size that is too large leads to frequent rejections, while one that is too small results in slow exploration of the state space.

This "Goldilocks" problem is exacerbated by multiscale distributions, such as Neal's funnel, where the optimal step size varies significantly across different regions of the target geometry. While traditional adaptive MCMC methods tune parameters globally over time, they often fail to capture these local variations and can be difficult to prove correct.

Methods: Locally Adaptive Involutions

AutoStep MCMC addresses these challenges by treating step size selection as a local decision made at every iteration. It operates within the framework of involutive MCMC, which generalizes algorithms like Metropolis-Hastings and the Metropolis-Adjusted Langevin Algorithm (MALA).

State Augmentation and Symmetry

To ensure mathematical rigor and convergence (invariance), AutoStep treats the step size $\theta$ as part of an augmented state. A key innovation is the use of a symmetric selection criterion. The algorithm iteratively doubles or halves a step size until the "energy jump"—a metric related to the acceptance probability—falls within a target range. By ensuring this selection process is symmetric for both forward and backward moves, AutoStep avoids the "stuckness" issues that plagued previous locally adaptive attempts like autoMALA.

Robustness and Pre-tuning

A significant advantage of AutoStep is its robustness to initial parameter settings. Even if the starting guess for the step size is off by several orders of magnitude, the algorithm's performance degrades only logarithmically. To further optimize performance, the framework includes an initial round-based pre-tuning phase to establish a reasonable baseline for the step size and mass matrix.

Experimental Results

The authors evaluated AutoStep against state-of-the-art samplers, including the No-U-Turn Sampler (NUTS), across several benchmarks including Neal's funnel (2D and 100D), biological models, and astronomical orbit-fitting problems.

Performance and Reliability

As shown in Figure 1, AutoStep variants (RWMH and MALA) achieve competitive or superior Effective Sample Size (ESS) per unit of computational cost compared to NUTS and other adaptive methods. Notably, on the high-dimensional 100D funnel, AutoStep demonstrates superior scaling and reliability.

Comparison of sampling efficiency (min KSESS/sec) across benchmark models.

Stability Across Scales

A defining feature of AutoStep is its stability. Figure 2 illustrates how the algorithm maintains stable energy jumps and acceptance probabilities across a vast range of initial step size guesses ($\theta_0$). This robustness ensures that the sampler remains functional and efficient even without precise manual tuning.

Robustness of AutoStep metrics across a wide range of initial step sizes.

Conclusion

AutoStep MCMC provides a theoretically sound and practically efficient framework for local step size adaptation. By solving the symmetry problem in local tuning, it offers a robust alternative to global adaptation, particularly for challenging multiscale distributions. Future work may explore extending this framework to more complex Hamiltonian Monte Carlo (HMC) schemes and developing tighter theoretical bounds on asymptotic variance.

Summary updated

BibTeX
@inproceedings{liu2025autostep,
  author = {Tiange Liu and Nikola Surjanovic and Miguel Biron-Lattes and Alexandre Bouchard-Côté 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