Monte Carlo simulation inspired by computational
- ptimization
Monte Carlo simulation inspired by computational optimization Colin - - PowerPoint PPT Presentation
Monte Carlo simulation inspired by computational optimization Colin Fox fox@physics.otago.ac.nz Al Parker, John Bardsley MCQMC Feb 2012, Sydney Sampling from ( x ) Consider : x is high-dimensional ( 10 4 10 8 ) and is expensive to
n
n
n
n
aGlauber 1963 (heat-bath algorithm), Turcin 1971, Geman and Geman 1984
1 ωI 2 ωI − A
1 ωD + L 2−ω ω D
ω 2−ωMSORD−1MT SOR ω 2−ω
SOR
SORD−1NSOR
m
input : The SSOR splitting M, N of A; smallest eigenvalue λmin of M−1A; largest eigenvalue λmax of M−1A; relaxation parameter ω; initial state y(0); kmax
set γ = 2
ω − 1
1/2, δ =
4
2 , θ = λmax+λmin
2
; set α = 1, β = 2/θ, τ = 1/θ, τc = 2
τ − 1;
for k = 1, . . . , kmax do if k = 0 then b = 2
α − 1,
a = τcb, κ = τ; else b = 2(1 − α)/β + 1, a = τc + (b − 1) (1/τ + 1/κ − 1), κ = β + (1 − α)κ; end sample z ∼ N(0, I); c = γb1/2D1/2z; x = y(k) + M−1(c − Ay(k)); sample z ∼ N(0, I); c = γa1/2D1/2z; w = x − y(k) + M−T (c − Ax); y(k+1) = α(y(k) − y(k−1) + τw) + y(k−1); β = (θ − βδ)−1; α = θβ; end
2 4 6 8 10 12 x 10
6
0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 flops relative error SSOR, ω=1 SSOR, ω=0.2122 Cheby−SSOR, ω=1 Cheby−SSOR, ω=0.2122 Cholesky
50 100 20 40 60 80 100 20 40 60 80 100
(0)
(1)
(2) x x
(0)
(1)
(0)
(1)
(2) x x
(0) (0)
(1)
(1)
k V T k
1 θk
i . The eigenvectors of Var(yk|x0, b0) are the Ritz vectors Vkvi which
k
i , Vkvi).