The Within-Orbit Adaptive Leapfrog No-U-Turn Sampler

· Source: JMLR · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, quick

Summary

The Within-Orbit Adaptive Leapfrog No-U-Turn Sampler (WALNUTS) is a new Markov chain Monte Carlo (MCMC) method introduced by Nawaf Bou-Rabee, Bob Carpenter, Tore Selland Kleppe, and Sifan Liu in 2026. This sampler generalizes the No-U-Turn Sampler (NUTS) to address the challenge of locally adapting the leapfrog integrator's step size dynamically, which is crucial for posterior distributions with multiscale geometries. WALNUTS adapts the step size at fixed intervals of simulated time, selecting the largest step size from a dyadic schedule that maintains energy error below a user-specified threshold. Like NUTS, it uses biased progressive state selection to favor states further from the initial point. Empirical evaluations on multiscale target distributions, including Neal's funnel and the Stock-Watson stochastic volatility time-series model, demonstrate that WALNUTS significantly improves sampling efficiency and robustness compared to NUTS.

Key takeaway

For data scientists and machine learning engineers working with complex posterior distributions, especially those exhibiting multiscale geometries, WALNUTS offers a significant advancement. You should consider integrating WALNUTS into your MCMC workflows to achieve substantial improvements in sampling efficiency and robustness compared to traditional NUTS. This can accelerate model convergence and provide more reliable inference for challenging statistical models.

Key insights

WALNUTS dynamically adapts leapfrog step sizes within NUTS orbits, improving efficiency for multiscale posteriors.

Principles

Method

WALNUTS adapts leapfrog step size at fixed intervals, selecting the largest from a dyadic schedule that keeps energy error below a threshold. It uses biased progressive state selection.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Data Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by JMLR.