Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

On randomized step sizes in Metropolis-Hastings algorithms

Published 27 Jan 2026 in stat.CO, math.ST, and stat.ME | (2601.19710v1)

Abstract: The performance of Metropolis-Hastings algorithms is highly sensitive to the choice of step size, and miss-specification can lead to severe loss of efficiency. We study algorithms with randomized step sizes, considering both auxiliary-variable and marginalized constructions. We show that algorithms with a randomized step size inherit weak Poincaré inequalities/spectral gaps from their fixed-step-size counterparts under minimal conditions, and that the marginalized kernel should always be preferred in terms of asymptotic variance to the auxiliary-variable choice if it is implementable. In addition we show that both types of randomization make an algorithm robust to tuning, meaning that spectral gaps decay polynomially as the step size is increasingly poorly chosen. We further show that step-size randomization often preserves high-dimensional scaling limits and algorithmic complexity, while increasing the optimal acceptance rate for Langevin and Hamiltonian samplers when an Exponential or Uniform distribution is chosen to randomize the step size. Theoretical results are complemented with a numerical study on challenging benchmarks such as Poisson regression, Neal's funnel and the Rosenbrock (banana) distribution.

Citations (4)

Summary

  • The paper rigorously analyzes randomized step sizes in Metropolis-Hastings (MH) algorithms, establishing that this modification provides robustness to step-size misspecification while maintaining high-dimensional complexity.
  • Two constructions, auxiliary-variable and marginalized kernels, are developed and ordered via Dirichlet forms, with the marginalized kernel shown to be dominate but practically often indistinguishable from the auxiliary-variable kernel in performance, superior spectral gap conditions.
  • Based on the results of the Dirichlet forms, the spectral gaps are shown to decay only polynomially with step-size misspecification.
  • Experiments validate the theoretical results, demonstrating robustness and improved tail exploration of the randomizing distributions on practical targets, such as Neal’s funnel and the Rosenbrock banana distribution
  • Randomizing step sizes improves robustness with potential efficiency loss varying between 34% and 89% with optimally tuned algorithms but is preferable for larger dimensional data.

Metropolis–Hastings (MH) algorithms are notoriously sensitive to their step size: too small a step produces diffusive behavior, while too large a step leads to near-certain rejection, and in both cases ergodic averages become inefficient. The paper under review provides a rigorous treatment of a modification long used as an informal heuristic—randomizing ("jittering") the step size at each iteration—and establishes that this simple change confers provable robustness to step-size misspecification while preserving high-dimensional complexity. The authors develop two constructions, auxiliary-variable and marginalized kernels, order them via Dirichlet forms, prove spectral gap and weak Poincaré inheritance results, derive scaling limits with new optimal acceptance rates for randomized MALA and HMC, and support the theory with experiments on Neal's funnel, the Rosenbrock banana distribution, and a Poisson regression posterior.

Two constructions of randomized step sizes

Given a family of π\pi-reversible MH kernels (Ph)h>0(P_h)_{h>0} indexed by a step size hh, the paper defines two ways to randomize hh using a distribution μ\mu on (0,∞)(0,\infty):

  • Auxiliary-variable kernel: P‾h(x,â‹…)=∫0∞μ(z) Phz(x,â‹…) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz. One samples z∼μz\sim\mu, proposes from QhzQ_{hz}, and accepts with the usual ratio αhz(x,y)\alpha_{hz}(x,y).
  • Marginalized kernel (Ph)h>0(P_h)_{h>0}0: the proposal density is averaged first, (Ph)h>0(P_h)_{h>0}1, and the acceptance probability uses the marginalized ratio (Ph)h>0(P_h)_{h>0}2. Each (Ph)h>0(P_h)_{h>0}3 is (Ph)h>0(P_h)_{h>0}4-reversible by construction, but it is only simulable when (Ph)h>0(P_h)_{h>0}5 has closed form.

The randomizing distribution must satisfy Assumption 1: (Ph)h>0(P_h)_{h>0}6 for all (Ph)h>0(P_h)_{h>0}7, ensuring non-negligible mass near zero. The paper also derives new implementable marginalized MALA kernels: when (Ph)h>0(P_h)_{h>0}8 is Uniform on (Ph)h>0(P_h)_{h>0}9 or Exponential(1), hh0 admits expressions in terms of modified Bessel functions of the second kind; more generally, GIG choices of hh1 yield generalized hyperbolic proposal densities. The one-dimensional case is instructive: half-Normal randomization of a Rademacher random walk Metropolis recovers standard Gaussian RWM, and similarly recovers the Barker proposal from its Rademacher version—showing that well-known algorithms arise naturally as marginalized randomized kernels.

Spectral gaps, ordering, and robustness to tuning

The analysis proceeds through Dirichlet forms. Three results structure the section. First, the marginalized kernel dominates the auxiliary-variable kernel: hh2 for all hh3, hence hh4 and asymptotic variances under hh5 are never larger. The practical implication stated by the authors is that if hh6 is implementable it should always be preferred—though experiments show the difference is often essentially indiscernible.

Second, both randomized kernels inherit convergence properties from the base kernel under minimal conditions. If hh7 satisfies a (weak) Poincaré inequality on a set hh8 of step sizes and hh9, then hh0 satisfies a corresponding inequality with constant hh1, and consequently hh2. In particular, if hh3 has positive density everywhere and hh4 has positive Lebesgue measure, both randomized kernels have positive spectral gap for any choice of hh5. This contrasts sharply with fixed-step MALA and HMC, which for Gaussian targets admit positive spectral gaps only when hh6 is sufficiently small—a concrete illustration that randomization removes a tuning-dependent ergodicity failure.

Third, and central to the paper, is the robustness result. Under Assumption 1 alone, the Dirichlet form satisfies hh7 with hh8, yielding the main theorem: if hh9, then

μ\mu0

Spectral gaps therefore decay only polynomially as the step size becomes increasingly misspecified, regardless of how fast the base kernel degrades. This holds for any MH kernel indexed by a single parameter, requires no assumptions on the target beyond the existence of a spectral gap at μ\mu1, and extends to weak Poincaré settings via the framework of Andrieu et al. The result directly addresses the exponential degradation of MALA and HMC documented by Livingstone and Zanella: randomization converts exponential sensitivity into polynomial decay. A worked example makes the rate explicit—with base constant μ\mu2 and half-Normal μ\mu3, the randomized spectral gap decays like μ\mu4 rather than exponentially.

Scaling limits and optimal acceptance rates

The paper then shows that randomization does not alter high-dimensional complexity. Suppose the classical scaling limit holds for μ\mu5 with μ\mu6: acceptance rates converge to μ\mu7 and scaled expected squared jumping distance (ESJD) converges to μ\mu8. Then for the auxiliary-variable kernel,

μ\mu9

the latter under uniform (0,∞)(0,\infty)0-integrability of the ESJD sequence, which the authors verify for Gaussian RWM (finite mean of (0,∞)(0,\infty)1) and MALA (finite second moment, product-form targets with uniformly bounded score moments). The exponent (0,∞)(0,\infty)2—and hence the dimension dependence of cost per effectively independent sample—is unchanged. This is an important negative-flavored finding: randomization buys robustness without paying a dimensional price.

Optimizing (0,∞)(0,\infty)3 yields higher optimal acceptance rates than the fixed-step algorithms. For MALA ((0,∞)(0,\infty)4, baseline optimum 0.574) and HMC ((0,∞)(0,\infty)5, baseline 0.651):

Randomization MALA optimal rate Efficiency loss HMC optimal rate Efficiency loss
Uniform 0.680 1.342 0.750 1.387
Exponential 0.687 1.758 0.737 1.889

The efficiency loss column quantifies the unavoidable trade-off: since (0,∞)(0,\infty)6 pointwise, a randomized algorithm optimally tuned loses a factor between roughly 1.34 and 1.89 in asymptotic ESJD relative to its fixed-step counterpart. The paper is candid that this loss exists; the claim is that it is repaid by polynomial rather than exponential degradation under misspecification.

Numerical evidence

Experiments use (0,∞)(0,\infty)7 samples with Rao–Blackwellized ESJD estimates and adaptive step sizes driven toward the theoretically derived optimal acceptance rates. On one-dimensional Normal, Laplace, and Student-(0,∞)(0,\infty)8 targets, all algorithms coincide for small (0,∞)(0,\infty)9, but for large P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz0 the ESJD of randomized MALA decays markedly more slowly than standard MALA, consistent with the P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz1 guarantee; Marginalized MALA slightly outperforms Auxiliary-variable MALA under Exponential randomization, while the two are indistinguishable under Uniform randomization.

On Neal's funnel (P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz2, P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz3), standard MALA fails to explore the neck of the funnel—the left tail of P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz4—whereas Auxiliary-variable MALA with Uniform or Exponential jitter recovers the correct marginal density. In estimating P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz5 over 20 independent runs, every standard MALA run produced upper and lower quantile estimates of zero, meaning most chains never reached below the fifth percentile; the randomized versions did so consistently. On the Rosenbrock banana (P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz6, P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz7), randomized MALA again improves tail exploration, though the improvement over standard MALA is less dramatic. In a P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz8 Poisson regression posterior initialized far in the tails (P‾h(x,⋅)=∫0∞μ(z) Phz(x,⋅) dz\overline P_h(x,\cdot) = \int_0^\infty \mu(z)\,P_{hz}(x,\cdot)\,dz9), the auxiliary-variable algorithms reach the bulk of the distribution faster than standard MALA under identical adaptation schedules.

Limitations and open questions

Several caveats bear directly on the results. The robustness theorem requires Assumption 1 on z∼μz\sim\mu0 and a positive spectral gap for the base kernel at some reference step size; where only weak Poincaré inequalities hold, conclusions transfer but rates depend on the functions z∼μz\sim\mu1 and z∼μz\sim\mu2. The marginalized kernel, despite dominating in asymptotic variance, is implementable only when z∼μz\sim\mu3 has closed form, restricting its use to special cases such as those derived here. The scaling-limit results assume regularity of the target sequence (product form in the integrability verification) and uniform z∼μz\sim\mu4-integrability, which may fail for heavy-tailed randomizing distributions or irregular targets. The efficiency losses tabulated above mean randomization is not uniformly superior when the step size is already well tuned. Open questions identified by the authors include: the optimal choice of the randomizing distribution z∼μz\sim\mu5; extension to vector- or matrix-valued parameters, notably randomized diagonal or dense preconditioning matrices; and multi-leapfrog-step Hamiltonian proposals with Laplace kinetic energy, which in one dimension nearly recover the Barker proposal and might combine Barker-style robustness with momentum-based exploration.

Conclusion

This paper converts a widespread heuristic into a theory. Randomizing the step size of any MH algorithm, via either an auxiliary-variable mixture or a marginalized kernel, guarantees polynomial decay of the spectral gap under step-size misspecification, preserves the high-dimensional complexity exponent, and raises the optimal acceptance rate for Langevin- and Hamiltonian-type samplers—at a quantified cost of roughly 34–89% in optimally tuned asymptotic efficiency. The dominance of the marginalized over the auxiliary-variable construction is exact but empirically negligible in many settings, making the tractable auxiliary version the practical default. The combination of clean ordering arguments, scaling-limit preservation, and convincing funnel and Rosenbrock experiments gives practitioners a principled justification for jittered step sizes and gives theorists a framework likely to extend to randomized preconditioning and locally adaptive schemes.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.