Sam Foreman
May, 2021
Critical slowing down!
\(x^{\prime} = x + \delta\), where \(\delta \sim \mathcal{N}(0, \mathbb{1})\)
\(\big\{ x_{0}, x_{1}, x_{2}, \ldots, x_{m-1}, x_{m}, x_{m+1}, \ldots, x_{n-2}, x_{n-1}, x_{n} \big\}\)
1. Construct chain:
\(\big\{ x_{0}, x_{1}, x_{2}, \ldots, x_{m-1}, x_{m}, x_{m+1}, \ldots, x_{n-2}, x_{n-1}, x_{n} \big\}\)
2. Thermalize ("burn-in"):
\(\big\{ x_{0}, x_{1}, x_{2}, \ldots, x_{m-1}, x_{m}, x_{m+1}, \ldots, x_{n-2}, x_{n-1}, x_{n} \big\}\)
3. Drop correlated samples ("thinning"):
dropped configurations
Inefficient!
Introduce fictitious momentum:
\(v\sim\mathcal{N}(0, 1)\)
Target distribution:
\(p(x)\propto e^{-S(x)}\)
Joint target distribution:
The joint \((x, v)\) system obeys Hamilton's Equations:
lift to phase space
(trajectory)
2. Full-step \(x\)-update:
3. Half-step \(v\)-update:
1. Half-step \(v\)-update:
Stuck!
where \((s_{v}^{k}, q^{k}_{v}, t^{k}_{v})\), and \((s_{x}^{k}, q^{k}_{x}, t^{k}_{x})\), are parameterized by neural networks
(\(m_{t}\)\(\odot x\)) -independent
masks:
Momentum (\(v_{k}\)) scaling
Gradient \(\partial_{x}S(x_{k})\) scaling
Translation
(\(v\)-independent)
by passing it through the \(k^{\mathrm{th}}\) leapfrog layer.
masks:
Stack of fully-connected layers
\(A(\xi',\xi)\) = acceptance probability
\(A(\xi'|\xi)\cdot\delta(\xi',\xi)\) = avg. distance
Note:
\(\xi'\) = proposed state
\(\xi\) = initial state
HMC
L2HMC
construct trajectory
Compute loss + backprop
Metropolis-Hastings accept/reject
re-sample
momentum
+ direction
(varied slowly)
e.g. \( \{0.1, 0.2, \ldots, 0.9, 1.0\}\)
(increasing)
continuous, differentiable
discrete, hard to work with
Leapfrog step
variation in the avg. plaquette
continuous topological charge
shifted energy
\(A(\xi^{\prime}|\xi) = \) "acceptance probability"
where:
leapfrog step
(MD trajectory)
Topological charge history
~ cost / step
continuum limit
Estimate of the Integrated autocorrelation time of \(\mathcal{Q}_{\mathbb{R}}\)
where:
where:
Interested?
github.com/saforem2/l2hmc-qcd
Integrate \(H(x, v)\):
\(t \longrightarrow t + \varepsilon\)
Project onto target parameter space \(p(x, v) \longrightarrow p(x)\)
\(v \sim p(v)\)
Markov Chain Monte Carlo (MCMC)
if \(q(x^{\prime}|x) = q(x|x^{\prime})\)
correlated!
burn-in
Ideal for lattice QCD due to critical slowing down!
Determinant of the Jacobian, \(\|\mathcal{J}\|\)
(for HMC)