Mala

Metropolis-adjusted Langevin algorithm

Mala算法/Langevin Monte Carlo (LMC)v by wikipedia

Algorithm
1.Initialization:set X 0 = x 0 X_0=x_0 X0=x0 (and recursively define an app X k X_k Xk to the true solution X ( k τ ) X(k\tau) X(kτ))
2. (proposal dis)the transition probability density
在这里插入图片描述
Note that X k + 1 X_{k+1} Xk+1 is normally distributed with mean X k + τ ∇ log ⁡ π ( X k ) X_{k}+\tau \nabla \log \pi (X_{k}) Xk+τlogπ(Xk) and covariance equal to 2 τ 2\tau 2τ times the d × d d\times d d×d identity matrix.在这里插入图片描述
3. This proposal is accepted or rejected according to the Metropolis–Hastings algorithm: 在这里插入图片描述

注意:

  1. Compared to naive Metropolis–Hastings, MALA has the advantage that it usually proposes moves into regions of higher π \pi π probability, which are then more likely to be accepted.
  2. On the other hand, when π \pi π is strongly anisotropic (i.e. it varies much more quickly in some directions than others), it is necessary to take 0 < τ ≪ 1 0<\tau \ll 1 0<τ1 in order to properly capture the Langevin dynamics;
    the use of a positive-definite preconditioning matrix A ∈ R d × d A\in \mathbb {R} ^{d\times d} ARd×d can help to alleviate this problem, by generating proposals according to
    X ~ k + 1 : = X k + τ A ∇ log ⁡ π ( X k ) + 2 τ A ξ k \tilde {X}_{k+1}:=X_{k}+\tau A\nabla \log \pi (X_{k})+ \sqrt {2\tau A} \xi _{k} X~k+1:=Xk+τAlogπ(Xk)+2τA ξk

操作guide:
In practical applications, the optimal acceptance rate for this algorithm is 0.574 0.574 0.574.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值