hamiltonian monto carlo principles details

  • The HMC sampling procedure alternates between sampling the Gaussian momenta and letting the position of the particle evolve by integrating its Hamiltonian equations of motion. In most models, the latter cannot be integrated exactly, so the resulting position is used as a Metropo- lis proposal, with an acceptance probability that depends exponentially on the energy gained due to the numerical error.
    因为进行离散化积分会导致一些误差,所以才产生了metropolis 进行误差纠正。要不然直接进行积分就可以解决。
  • Several properties of Hamiltonian dynamics are crucial to its use in constructing Markov chain Monte Carlo updates.
    构建马尔可夫链需要几个重要性质

  • the acceptance probability is one if H kept invariant
    当总能量始终不变的时候接受率始终为1

  • For example, in a regression model with many predictor variables, the regression coefficients might be given Gaussian prior distributions, with mean of zero and a variance that is a hyperparameter. This hyperparameter could be given a broad prior distribution, so that its posterior distribution is determined mostly by the data.
    这种sgima2 是只能取正值的然后全部采用HMC,但是可以进行分层,只对下层的分布抽样采用hmc.

  • HMC variation

  • leap frog method 分为三步,第一步和第三步是对称的,所以是reversible .

  • Too short trajectories will cause a failure to suppress random walks and too long trajectories will be wasteful of computation

  • This can usually be done with some experimentation, e.g., by monitoring the auto covariance function for parameters and increasing L until roughly independent samples are obtained
    调节参数进行的办法

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,449评论 0 10
  • 半生追逐,所有视之为梦想的东西在别人眼里就是可笑。背负的以为是责任的东西被人认为是可悲。想要装载的东西已然超越了盒...
    碎碎碎发随风吹阅读 173评论 0 1
  • 早上窝在床上装死的室友,在我思考今天的推文写什么的时候放了一首歌,《不说》,李荣浩。就这样,决定了此篇文章的主题。...
    熊猫微刊阅读 344评论 0 4
  • 2017年的经历是一个鲜明的对比,上半年的日子像是上了发条,无趣乏味,但是还好,有一群可爱的小伙伴陪着,倒是...
    一个敦敏阅读 593评论 0 2