The efficiency of Hamiltonian Monte Carlo (HMC) can suffer when sampling a distribution with a wide range of length scales, because the small step sizes needed for stability in high-curvature regions are inefficient elsewhere. To address this we present a delayed rejection variant: if an initial HMC trajectory is rejected, we make one or more subsequent proposals each using a step size geometrically smaller than the last. We extend the standard delayed rejection framework by allowing the probability of a retry to depend on the probability of accepting the previous proposal. We test the scheme in several sampling tasks, including multiscale model distributions such as Neal's funnel, and statistical applications. Delayed rejection enables up to five-fold performance gains over optimally-tuned HMC, as measured by effective sample size per gradient evaluation. Even for simpler distributions, delayed rejection provides increased robustness to step size misspecification. Along the way, we provide an accessible but rigorous review of detailed balance for HMC.
翻译:汉密尔顿蒙特卡洛(HMC)在对分布进行广泛长度范围的抽样时,效率会受到影响,因为高精度地区稳定所需的小步尺寸在其他地方是效率低下的。为了解决这个问题,我们提出了一个延迟拒绝变量:如果最初的HMC轨迹被否决,我们提出一个或多个后续提案,每个提案的步数以几何方式小于后者。我们扩大了标准的延迟拒绝框架,允许重试的可能性取决于接受先前提案的可能性。我们在若干抽样任务中测试了该计划,包括Neal的漏斗等多尺度模型分布和统计应用。延迟拒绝使得业绩收益比按每个梯度评价的有效抽样规模衡量的最佳调整的HMC高五倍。即使对于更简单的分布,延迟拒绝也为一步大小的误标提供了更强的强度。此外,我们提供了对HMC详细平衡的方便但严格的审查。