The leapfrog integrator is routinely used within the Hamiltonian Monte Carlo method and its variants. We give strong numerical evidence that alternative, easy to implement algorithms yield fewer rejections with a given computational effort. When the dimensionality of the target distribution is high, the number of accepted proposals may be multiplied by a factor of three or more. This increase in the number of accepted proposals is not achieved by impairing any positive features of the sampling. We also establish new non-asymptotic and asymptotic results on the monotonic relationship between the expected acceptance rate and the expected energy error. These results further validate the derivation of one of the integrators we consider and are of independent interest.
Faster Hamiltonian Monte Carlo by Learning Leapfrog Scale: an offline randomized solution
CEREMADE, Université Paris-Dauphine, Université PSL, CNRS(CEREMADE,巴黎第九大学,巴黎文理研究大学,法国国家科学研究中心);Aix Marseille Univ, CNRS, I2M(艾克斯-马赛大学,法国国家科学研究中心,数学研究所);Department of Statistics, University of Warwick(华威大学统计系);Université Paris-Saclay, INRAE, AgroParisTech, UMR MIA Paris-Saclay(巴黎萨克雷大学,法国国家农业食品与环境研究院,巴黎农学院,MIA巴黎萨克雷联合研究单位)
Dimensionally Tight Bounds for Second-Order Hamiltonian Monte Carlo
Hamilton Monte Carlo(HMC)是统计学和机器学习中广泛使用的从高维分布中采样的方法。众所周知,HMC在实践中运行非常有效,其流行的二阶“蛙跳”实现长期以来一直被用于$d^{1/4}$梯度评估。在这里,我们表明,这一猜想是正确的,当从强对数凹目标分布,满足弱三阶正则性与输入数据相关的属性采样。我们的正则性条件弱于Lipschitz Hessian属性,并允许我们显示更快的收敛范围为一个更大的类的分布比通常的Lipschitz Hessian常数单独。满足我们的正则性条件的重要分布包括贝叶斯逻辑回归中使用的后验分布,其中数据满足“不一致”属性。我们的结果与强对数凹分布类的最佳界相比毫不逊色,这类分布随维数的增加而像$d^{{1}/{2}}$梯度评估一样增长。此外,我们对合成数据的模拟表明,当我们的正则性条件得到满足时,蛙跳HMC的性能优于其竞争对手-无论是在精度方面还是在所需的梯度评估数量方面。
Improving Actor-Critic Reinforcement Learning via Hamiltonian Monte Carlo Method
Georgia Institute of Technology(佐治亚理工学院)
行动者-评论家RL广泛用于各种机器人控制任务。通过从变分推理(VI)的角度观察行动者-评论者强化学习,策略网络被训练以获得给定最优性标准的行动的近似后验。然而,在实践中,行动者-批评者强化学习可能会产生次优的政策估计,由于摊销差距和不充分的探索。在这项工作中,受到先前在VI中使用Hamilton Monte Carlo(HMC)的启发,我们提出将行动者-批评者RL的策略网络与HMC集成,称为{ \it Hamilton Policy}。因此,我们建议根据HMC从基本策略中进化动作,我们提出的方法有很多好处。首先,HMC可以改善政策分布,以更好地逼近后验,从而减少摊销缺口。其次,HMC还可以将探索更多地引导到Q值较高的作用空间区域,提高了探索效率。此外,而不是直接应用HMC到RL,我们提出了一个新的蛙跳算子来模拟哈密顿动力学。最后,在安全强化学习问题中,我们发现所提出的方法不仅可以提高所获得的回报,而且还可以通过丢弃潜在的不安全行为来减少安全约束违反。通过对连续控制基线(包括MuJoCo和PyBullet Roboschool)进行全面的实证实验,我们证明了所提出的方法是对以前的演员-评论家方法的数据高效且易于实现的改进。