Parcle Metropolis-Hasngs
Johan Dahlin
work@johandahlin.com
Department of Informaon Technology, Uppsala University, Sweden.
September 28, 2016
Parcle Metropolis-Hasngs Johan Dahlin Department of Informaon - - PowerPoint PPT Presentation
work@johandahlin.com Parcle Metropolis-Hasngs Johan Dahlin Department of Informaon Technology, Uppsala University, Sweden. September 28, 2016 This is collaborave work together with Dr. Fredrik Lindsten (Uppsala University,
work@johandahlin.com
Department of Informaon Technology, Uppsala University, Sweden.
September 28, 2016
Andreas Svensson (Uppsala University, Sweden).
x0 ∼ µθ(x0) xt+1|xt ∼ fθ(xt+1|xt), yt|xt ∼ gθ(yt|xt). Example: linear Gaussian SSM (θ = [µ, φ, σv, σe]): xt+1|xt ∼ N
v
yt|xt ∼ N
e
2 4 θ
2 4 θ
2 4 θ
k=0 with the property
k=1 from p(θ|y) by
2 4 6
2 4 6 q1 q2 0.6 0.8 1.0 1.2 1.4
iteration log-posterior at current state q2 marginal posterior density
2 4 6 0.0 0.1 0.2 0.3 0.4 0.5
2 4 6
2 4 6 q1 q2 1.0 1.2 1.4 1.6 1.8 2.0
iteration log-posterior at current state q2 marginal posterior density
2 4 6 0.0 0.1 0.2 0.3 0.4 0.5
2 4 6
2 4 6 q1 q2 10 20 30 40 50
iteration log-posterior at current state q2 marginal posterior density
2 4 6 0.0 0.1 0.2 0.3 0.4 0.5
500 1000 1500 2000 2500
2 4 6 q1 trace 50 100 150 200 0.0 0.2 0.4 0.6 0.8 1.0 lag ACF of q1 500 1000 1500 2000 2500
2 4 6 q2 trace 50 100 150 200 0.0 0.2 0.4 0.6 0.8 1.0 lag ACF of q2
2 4 6
2 4 6 q1 q2 50 100 150 200 0.0 0.2 0.4 0.6 0.8 1.0 lag ACF of q1 50 100 150 200 0.0 0.2 0.4 0.6 0.8 1.0 lag ACF of q2
k=1 from p(θ|y) by
200 400 600 800 1000 2 4 6 8 time input (u) 200 400 600 800 1000 2 4 6 8 10 time
k1 marginal posterior density 0.06 0.07 0.08 0.09 0.10 20 40 60 80 100 120 k2 marginal posterior density
0.00 0.01 0.02 0.03 20 40 60 80 100 120 k3 marginal posterior density
0.00 0.01 0.02 0.03 0.04 20 40 60 80 100 120 k4 marginal posterior density 0.60 0.62 0.64 0.66 0.68 0.70 10 20 30 40 50
200 400 600 800 1000 2 4 6 8 time input (u) 200 400 600 800 1000 2 4 6 8 10 time
2000 4000 6000 8000 0.06 0.07 0.08 0.09 0.10 time trace of k1 2000 4000 6000 8000
0.005 0.015 0.025 time trace of k2 2000 4000 6000 8000
0.00 0.01 0.02 0.03 0.04 time trace of k3 2000 4000 6000 8000 0.60 0.62 0.64 0.66 0.68 0.70 time trace of k4
Correlang and improving the parcle filter.
Add gradient and Hessian informaon into proposal.
Improving the parcle filter.
Adapve algorithms and rules-of-thumb.
work@johandahlin.com work.johandahlin.com
Remember: the tutorial is available at arXiv:1511.01707
(unbiasedness, large deviaon inequalies, CLTs)
References:
(editors), The Oxford Handbook of Nonlinear Filtering. Oxford University Press, 2011.
Monte Carlo. In Proceedings of the IEEE 95(5), 2007.
Resampling Propagaon Weighng
t
t−1,
t
t
t−1
t
t
0:T , w(i) 0:T
i=1.
2 4 6 8 10 0.00 0.05 0.10 0.15 0.20 0.25 0.30 x density 2 4 6 8 10 0.00 0.05 0.10 0.15 0.20 0.25 0.30 x density
t
E
N
w(i)
t ϕ
t
√ N
ϕN
t
− → N
t (ϕ)
error in the log-likelihood estimate density estimate
0.0 0.5 1.0 0.0 0.5 1.0 1.5 2.0
1 2 3
0.0 0.5 1.0 standard Gaussian quantiles sample quantiles
log pθ(y1:T )
=
T
log N
w(i)
t
√ N
ℓ(θ) + σ2
2N
− → N
Propose Compute
Accept