22.12.2013 Views

The HMC Algorithm with Overrelaxation and Adaptive--Step ...

The HMC Algorithm with Overrelaxation and Adaptive--Step ...

The HMC Algorithm with Overrelaxation and Adaptive--Step ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

P<br />

Background<br />

Aim of Talk<br />

<strong>The</strong> Hamiltonian Monte Carlo (<strong>HMC</strong>) <strong>Algorithm</strong><br />

Improving Performance of <strong>HMC</strong> <strong>Algorithm</strong><br />

Numerical Experiments & Results<br />

Practical Implementation<br />

<strong>The</strong> <strong>Algorithm</strong>–Example Implementation<br />

<strong>Algorithm</strong><br />

Initialize C (0)<br />

for i = 1 to N − 1<br />

Sample u ∼ U [0,1] <strong>and</strong> P ∗ ∼ N(0, I)<br />

C 0 = C (i) <strong>and</strong> P 0 = P ∗ + ε 2 ∇V(C 0)<br />

For l = 1 to L<br />

P l = P l−1 − ε 2 ∇V(C l)<br />

C l = C l−1 +εP l−1<br />

P l = P l−1 − ε 2 ∇V(C l)<br />

end For<br />

dH = H(C L , P L ) − H(C (i) , P ∗ )<br />

if u < min{1, exp(−dH)}<br />

(C (i+1) , P (i+1) ) = (C L , P L )<br />

else<br />

(C (i+1) , P (i+1) ) = (C (i) , P (i) )<br />

end for<br />

return C = [C (1) , C (2) , ..., C (N−1) ]<br />

Example<br />

4<br />

3<br />

2<br />

1<br />

0<br />

−1<br />

−2<br />

−3<br />

−4<br />

−4 −3 −2 −1 0 1 2 3 4<br />

C<br />

π(C) , Frequency<br />

600<br />

500<br />

400<br />

300<br />

200<br />

100<br />

Truth<br />

0<br />

−4 −3 −2 −1 0 1 2 3 4<br />

C , Bin Centers<br />

Phase-space <strong>and</strong> distribution plots for 2D correlated<br />

Gaussian distribution.<br />

M. Alfaki, S. Subbey, <strong>and</strong> D. Haugl<strong>and</strong> <strong>The</strong> Hamiltonian Monte Carlo (<strong>HMC</strong>) <strong>Algorithm</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!