SlideShare a Scribd company logo
SMC2
: an algorithm for sequential analysis of
state-space models
Nicolas Chopin (ENSAE-CREST, Paris),
Pierre Jacob (National University of Singapore)
& Omiros Papaspiliopoulos (Univ. Pompeu Fabra, Barcelona)
BGC DA Symposium – May 2013
Pierre Jacob SMC2
1/ 26
Outline
1 Monte Carlo for state-space models
2 SMC2
3 Complexity
4 Applicability for BGC models
Pierre Jacob SMC2
2/ 26
Outline
1 Monte Carlo for state-space models
2 SMC2
3 Complexity
4 Applicability for BGC models
Pierre Jacob SMC2
2/ 26
State-space models
y2
X2X0
y1
X1
...
... yT
XT
θ
Figure: Graph representation of a general state-space model.
Hidden process: initial distribution µθ, transition fθ.
Observations conditional upon the hidden process, from gθ.
Prior p on the parameter θ ∈ Θ.
Pierre Jacob SMC2
3/ 26
State-space models
Target distributions
Particle MCMC methods provide N-samples from:
p(θ, x1:T |y1:T )
SMC2 provides N-samples for all t ∈ [1, T] from:
p(θ, x1:t|y1:t)
Exact approximation
Convergence of the sample distribution to the distribution of
interest.
Pierre Jacob SMC2
4/ 26
State-space models
Challenge of the model evidence
Bayes rule yields
p(θ | y1:t) =
p(θ)p(y1:t | θ)
p(y1:t)
where the evidence is
p(y1:t) =
Θ
p(θ)p(y1:t | θ)dθ
=
Θ
p(θ)
Xt+1
p(y1:t | x0:t, θ)p(x0:t | θ) dθ
=
Θ
p(θ)
Xt+1
µθ(x0)
t
k=1
fθ(xk | xk−1)gθ(yk | xk) dθ
⇒ integral of dimension dim(Θ) × dim(X) × (t + 1). . . !
Pierre Jacob SMC2
5/ 26
Sequential Monte Carlo for filtering
If we were interested in pθ(x1:T |y1:T ), for a given θ. . .
Particle Filter
Input:
model (satisfying the requirements), dataset y1:T ,
number of particles Nx, possibly other parameters.
Output:
Nx-samples from p(x1:t | y1:t, θ) for all t ∈ [1, T],
likelihood estimates ˆZNx
t (θ) ≈ p(y1:t | θ) for all t ∈ [1, T].
Pierre Jacob SMC2
6/ 26
Particle Markov Chain Monte Carlo
If we are now interested in p(x1:T , θ|y1:T ). . .
Particle Marginal Metropolis–Hastings
Input:
model (satisfying the requirements), dataset y1:T ,
number of iterations M, number of particles Nx, possibly
other parameters.
Output:
M-samples from p(θ, x1:T | y1:T ),
evidence estimates could be obtained based on the Markov
chain (Chib’s method, thermodynamics integration. . . ).
Pierre Jacob SMC2
7/ 26
Sequential Monte Carlo Samplers
Similar to Particle Filter, in the context of Bayesian inference on
static (non-dynamical) problems:
p(θ|y1:T )
(Neal 2001, Chopin 2004, Del Moral, Doucet & Jasra 2006. . . )
SMC Sampler
Input:
model (satisfying the requirements), dataset y1:T ,
number of particles Nθ, possibly other parameters.
Output:
Nθ-samples from p(θ | y1:t) for all t ∈ [1, T],
evidence estimates ˆENθ
t ≈ p(y1:t) for all t ∈ [1, T].
Pierre Jacob SMC2
8/ 26
Outline
1 Monte Carlo for state-space models
2 SMC2
3 Complexity
4 Applicability for BGC models
Pierre Jacob SMC2
8/ 26
Motivation
A valid SMC sampler for state-space models.
Foreseen benefits compared to PMCMC
Sample sequentially from
p(θ, x1|y1), p(θ, x1:2|y1:2), . . . , p(θ, x1:T |y1:T ),
to estimate the model evidence.
Pierre Jacob SMC2
9/ 26
Valid SMC sampler for SSM
Plugging estimates of the incremental likelihood
Similarly to PMCMC replacing likelihoods p(y1:T | θ) by estimates,
we can replace incremental likelihoods p(yt|y1:t−1, θ) by estimates.
θ-particles and x-particles
We associate Nx x-particles to each of the Nθ θ-particles.
These provide estimates of the incremental likelihoods for
each θ-particle.
Whenever we need to rejuvenate θ-particles, PMCMC steps.
Pierre Jacob SMC2
10/ 26
Summary of the vanilla SMC2
sampler
Input:
model (satisfying the requirements), dataset y1:T ,
numbers of particles Nθ, Nx, other algorithmic parameters.
Output:
Nθ-samples from p(θ | y1:t) for all t ∈ [1, T],
Nx-samples from p(x1:t | y1:t, θ)
for all t ∈ [1, T] and for each θ in the Nθ-sample,
evidence estimates ˆENθ
t ≈ p(y1:t) for all t ∈ [1, T].
Sequential but not online!
Pierre Jacob SMC2
11/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
SMC2
y2
X2X0
y1
X1
...
... yT
XT
Θ
Pierre Jacob SMC2
12/ 26
Outline
1 Monte Carlo for state-space models
2 SMC2
3 Complexity
4 Applicability for BGC models
Pierre Jacob SMC2
12/ 26
Algorithmic complexity
Cost if resample move at each time step
A single move step at time t costs O (tNxNθ).
If move at every time, the total cost (up to t) becomes
O t2NxNθ .
If e.g. Nx increased linearly with t, the total cost would rise to
O t3Nθ .
With adaptive resampling. . .
. . . it is only essentially O t2Nθ . Why is that?
Pierre Jacob SMC2
13/ 26
Algorithmic complexity
iteration
computingtime(squarerootscale)
2500
10000
22500
40000
1000 2000 3000 4000 5000
Figure:
√
computing time vs iteration
Pierre Jacob SMC2
14/ 26
Algorithmic complexity
Computational effort
Most of the effort usually lies in drawing from the transition
fθ, or in evaluating the measurement gθ.
This can be done for all particles in parallel.
The remaining task is the resampling step.
Rethinking resampling in the particle filter on GPUs,
Lawrence Murray, PJ & Anthony Lee (submitted).
Pierre Jacob SMC2
15/ 26
Memory requirement
Vanilla version of SMC2
Only the latest θ-particles and the latest generation of x-particles
have to be stored, hence the cost is O(NθNx).
General version of SMC2 using particle trajectories
Naive cost of storing all the particles (x1:Nx
1:T ) for each θ-particle:
O(NθTNx).
More accurate cost of storing only the surviving trajectories:
O(NθT + NθNx log Nx).
(work in progress with Lawrence Murray & Sylvain Rubenthaler)
Pierre Jacob SMC2
16/ 26
Outline
1 Monte Carlo for state-space models
2 SMC2
3 Complexity
4 Applicability for BGC models
Pierre Jacob SMC2
16/ 26
SMC2
on the PZ model
Phytoplankton–Zooplankton
log Y ∼ N(log P, τ2
)
αt ∼ N(µ, σ2
)
dP
dt
= αtP − cPZ
dZ
dt
= ecPZ − mlZ − mqZ2
θ = (µ, σ2
, τ2
)
or possibly θ = (µ, σ2
, τ2
, c, e, ml, mq)
L. Murray, E. Jones, J. Parslow (2012). On collapsed state-space
models and the particle marginal Metropolis-Hastings sampler.
Pierre Jacob SMC2
17/ 26
SMC2
on the PZ model
−1
0
1
2
3
0 20 40 60 80 100
Time
P
(a) Phytoplankton 90% credible interval of filtering distributions
0.0
0.5
1.0
1.5
2.0
2.5
3.0
0 20 40 60 80 100
Time
Z
(b) Zooplankton 90% credible interval of filtering distributions
Pierre Jacob SMC2
18/ 26
SMC2
on the PZ model
0
5
10
0 25 50 75 100
Time
Observations
(c) Simulated dataset
−600
−400
−200
0
0 25 50 75 100
Time
Logevidence
Model PZ PZW
(d) Log evidence p(y1:t | M) against time
Pierre Jacob SMC2
19/ 26
SMC2
on the PZ model
0
5
10
0 25 50 75 100
Time
Observations
(e) Simulated dataset
−100
0
100
200
0 25 50 75 100
Time
LogBayesfactor
(f) Log Bayes factor log(p(y1:t | PZW)/p(y1:t | PZ)) against time
Pierre Jacob SMC2
20/ 26
Ease of use
SMC2 is in the package LibBi.
libbi sample --target posterior --sampler smc2
--model-file PZ.bi --end-time 100.0 --nparticles 128
--nsamples 256. . .
and then enjoy the magic
--enable-cuda --enable-mpi. . .
Pierre Jacob SMC2
21/ 26
Remaining uncertainty
Error coming from numerical solvers for differential equations
(controlled but not taken into account in the results).
Pseudo-random number generators, assumed perfectly random
(recent work by Iain Murray and LLoyd Elliott).
Tractable measurement distribution requirement
(ABC methods relax this assumption at the cost of a bias).
Pierre Jacob SMC2
22/ 26
Towards automatic and scalable algorithms
Automatic calibration of Nx, Nθ, the proposal distribution.
Parallelization of the resampling step.
Scale to high-dimension problems using gradient estimates.
Pierre Jacob SMC2
23/ 26
Conclusion
The SMC2 framework allows to obtain various quantities of
interest for sequential analysis in state-space models.
It fits in the PMCMC framework introduced by
Andrieu, Doucet and Holenstein (2010).
SMC2 is already implemented in LibBi.
Sequential but not online.
Not practical for large spatial state-space models yet.
Pierre Jacob SMC2
24/ 26
Bibliography
Main references:
Particle Markov Chain Monte Carlo methods, C. Andrieu, A.
Doucet, R. Holenstein
Sequential Monte Carlo samplers, P. Del Moral, A. Doucet, A.
Jasra
SMC2: an efficient algorithm for sequential
analysis of state-space models, N. Chopin, P. Jacob, O.
Papaspiliopoulos
Pierre Jacob SMC2
25/ 26

More Related Content

What's hot

A petri-net
A petri-netA petri-net
A petri-net
Omar Al-Sabek
 
Lecture 1 sapienza 2017
Lecture 1 sapienza 2017Lecture 1 sapienza 2017
Lecture 1 sapienza 2017
Franco Bontempi Org Didattica
 
Petri Nets: Properties, Analysis and Applications
Petri Nets: Properties, Analysis and ApplicationsPetri Nets: Properties, Analysis and Applications
Petri Nets: Properties, Analysis and Applications
Dr. Mohamed Torky
 
Particle filtering
Particle filteringParticle filtering
Particle filtering
Wei Wang
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
Amr E. Mohamed
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
Sandip Ladi
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
mpurkeypile
 
time response
time responsetime response
time response
University Malaya
 
Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
Alamgir Hossain
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systems
Babul Islam
 
Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04
Rediet Moges
 
Module iv sp
Module iv spModule iv sp
Module iv sp
Vijaya79
 
Dsp U Lec07 Realization Of Discrete Time Systems
Dsp U   Lec07 Realization Of Discrete Time SystemsDsp U   Lec07 Realization Of Discrete Time Systems
Dsp U Lec07 Realization Of Discrete Time Systems
taha25
 
Ece4510 notes08
Ece4510 notes08Ece4510 notes08
Ece4510 notes08
K. M. Shahrear Hyder
 
Numerical Technique, Initial Conditions, Eos,
Numerical Technique, Initial Conditions, Eos,Numerical Technique, Initial Conditions, Eos,
Numerical Technique, Initial Conditions, Eos,
Udo Ornik
 
Digital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsDigital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE students
UR11EC098
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
Simen Li
 
Multivariable Control System Design for Quadruple Tank Process using Quantita...
Multivariable Control System Design for Quadruple Tank Process using Quantita...Multivariable Control System Design for Quadruple Tank Process using Quantita...
Multivariable Control System Design for Quadruple Tank Process using Quantita...
IDES Editor
 
Computational Information Geometry on Matrix Manifolds (ICTP 2013)
Computational Information Geometry on Matrix Manifolds (ICTP 2013)Computational Information Geometry on Matrix Manifolds (ICTP 2013)
Computational Information Geometry on Matrix Manifolds (ICTP 2013)
Frank Nielsen
 

What's hot (20)

A petri-net
A petri-netA petri-net
A petri-net
 
Lecture 1 sapienza 2017
Lecture 1 sapienza 2017Lecture 1 sapienza 2017
Lecture 1 sapienza 2017
 
Petri Nets: Properties, Analysis and Applications
Petri Nets: Properties, Analysis and ApplicationsPetri Nets: Properties, Analysis and Applications
Petri Nets: Properties, Analysis and Applications
 
Particle filtering
Particle filteringParticle filtering
Particle filtering
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
 
time response
time responsetime response
time response
 
Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systems
 
Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04Digital Signal Processing[ECEG-3171]-Ch1_L04
Digital Signal Processing[ECEG-3171]-Ch1_L04
 
Module iv sp
Module iv spModule iv sp
Module iv sp
 
Dsp U Lec07 Realization Of Discrete Time Systems
Dsp U   Lec07 Realization Of Discrete Time SystemsDsp U   Lec07 Realization Of Discrete Time Systems
Dsp U Lec07 Realization Of Discrete Time Systems
 
Ece4510 notes08
Ece4510 notes08Ece4510 notes08
Ece4510 notes08
 
Numerical Technique, Initial Conditions, Eos,
Numerical Technique, Initial Conditions, Eos,Numerical Technique, Initial Conditions, Eos,
Numerical Technique, Initial Conditions, Eos,
 
Digital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE studentsDigital Signal Processing Lab Manual ECE students
Digital Signal Processing Lab Manual ECE students
 
Circuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace TransformCircuit Network Analysis - [Chapter4] Laplace Transform
Circuit Network Analysis - [Chapter4] Laplace Transform
 
Multivariable Control System Design for Quadruple Tank Process using Quantita...
Multivariable Control System Design for Quadruple Tank Process using Quantita...Multivariable Control System Design for Quadruple Tank Process using Quantita...
Multivariable Control System Design for Quadruple Tank Process using Quantita...
 
Computational Information Geometry on Matrix Manifolds (ICTP 2013)
Computational Information Geometry on Matrix Manifolds (ICTP 2013)Computational Information Geometry on Matrix Manifolds (ICTP 2013)
Computational Information Geometry on Matrix Manifolds (ICTP 2013)
 

Viewers also liked

Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
Pierre Jacob
 
On non-negative unbiased estimators
On non-negative unbiased estimatorsOn non-negative unbiased estimators
On non-negative unbiased estimators
Pierre Jacob
 
Path storage in the particle filter
Path storage in the particle filterPath storage in the particle filter
Path storage in the particle filter
Pierre Jacob
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
Pierre Jacob
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
Pierre Jacob
 
PAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ WarwickPAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ Warwick
Pierre Jacob
 

Viewers also liked (6)

Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
On non-negative unbiased estimators
On non-negative unbiased estimatorsOn non-negative unbiased estimators
On non-negative unbiased estimators
 
Path storage in the particle filter
Path storage in the particle filterPath storage in the particle filter
Path storage in the particle filter
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
PAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ WarwickPAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ Warwick
 

Similar to SMC^2: an algorithm for sequential analysis of state-space models

Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
Current limitations of sequential inference in general hidden Markov models
Current limitations of sequential inference in general hidden Markov modelsCurrent limitations of sequential inference in general hidden Markov models
Current limitations of sequential inference in general hidden Markov models
Pierre Jacob
 
Computation of electromagnetic fields scattered from dielectric objects of un...
Computation of electromagnetic fields scattered from dielectric objects of un...Computation of electromagnetic fields scattered from dielectric objects of un...
Computation of electromagnetic fields scattered from dielectric objects of un...
Alexander Litvinenko
 
Modal Analysis Basic Theory
Modal Analysis Basic TheoryModal Analysis Basic Theory
Modal Analysis Basic Theory
YuanCheng38
 
Design Method of Directional GenLOT with Trend Vanishing Moments
Design Method of Directional GenLOT with Trend Vanishing MomentsDesign Method of Directional GenLOT with Trend Vanishing Moments
Design Method of Directional GenLOT with Trend Vanishing Moments
Shogo Muramatsu
 
Ray : modeling dynamic systems
Ray : modeling dynamic systemsRay : modeling dynamic systems
Ray : modeling dynamic systems
Houw Liong The
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
Institute of Technology Telkom
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
Institute of Technology Telkom
 
13486500-FFT.ppt
13486500-FFT.ppt13486500-FFT.ppt
13486500-FFT.ppt
Pratik Gohel
 
LeastSquaresParameterEstimation.ppt
LeastSquaresParameterEstimation.pptLeastSquaresParameterEstimation.ppt
LeastSquaresParameterEstimation.ppt
StavrovDule2
 
2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmmnozomuhamada
 
Ph ddefence
Ph ddefencePh ddefence
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
NUI Galway
 
Joint blind calibration and time-delay estimation for multiband ranging
Joint blind calibration and time-delay estimation for multiband rangingJoint blind calibration and time-delay estimation for multiband ranging
Joint blind calibration and time-delay estimation for multiband ranging
Tarik Kazaz
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
Pierre Jacob
 
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse ProblemsBayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Matt Moores
 
U4301106110
U4301106110U4301106110
U4301106110
IJERA Editor
 
Maneuvering target track prediction model
Maneuvering target track prediction modelManeuvering target track prediction model
Maneuvering target track prediction model
IJCI JOURNAL
 
Hierarchical matrix techniques for maximum likelihood covariance estimation
Hierarchical matrix techniques for maximum likelihood covariance estimationHierarchical matrix techniques for maximum likelihood covariance estimation
Hierarchical matrix techniques for maximum likelihood covariance estimation
Alexander Litvinenko
 

Similar to SMC^2: an algorithm for sequential analysis of state-space models (20)

Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Current limitations of sequential inference in general hidden Markov models
Current limitations of sequential inference in general hidden Markov modelsCurrent limitations of sequential inference in general hidden Markov models
Current limitations of sequential inference in general hidden Markov models
 
Computation of electromagnetic fields scattered from dielectric objects of un...
Computation of electromagnetic fields scattered from dielectric objects of un...Computation of electromagnetic fields scattered from dielectric objects of un...
Computation of electromagnetic fields scattered from dielectric objects of un...
 
Modal Analysis Basic Theory
Modal Analysis Basic TheoryModal Analysis Basic Theory
Modal Analysis Basic Theory
 
Design Method of Directional GenLOT with Trend Vanishing Moments
Design Method of Directional GenLOT with Trend Vanishing MomentsDesign Method of Directional GenLOT with Trend Vanishing Moments
Design Method of Directional GenLOT with Trend Vanishing Moments
 
Ray : modeling dynamic systems
Ray : modeling dynamic systemsRay : modeling dynamic systems
Ray : modeling dynamic systems
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
 
002 ray modeling dynamic systems
002 ray modeling dynamic systems002 ray modeling dynamic systems
002 ray modeling dynamic systems
 
13486500-FFT.ppt
13486500-FFT.ppt13486500-FFT.ppt
13486500-FFT.ppt
 
LeastSquaresParameterEstimation.ppt
LeastSquaresParameterEstimation.pptLeastSquaresParameterEstimation.ppt
LeastSquaresParameterEstimation.ppt
 
2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmm
 
Ph ddefence
Ph ddefencePh ddefence
Ph ddefence
 
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...
 
Joint blind calibration and time-delay estimation for multiband ranging
Joint blind calibration and time-delay estimation for multiband rangingJoint blind calibration and time-delay estimation for multiband ranging
Joint blind calibration and time-delay estimation for multiband ranging
 
Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...Estimation of the score vector and observed information matrix in intractable...
Estimation of the score vector and observed information matrix in intractable...
 
1568973267 effect of multi-tone
1568973267 effect of multi-tone1568973267 effect of multi-tone
1568973267 effect of multi-tone
 
Bayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse ProblemsBayesian Inference and Uncertainty Quantification for Inverse Problems
Bayesian Inference and Uncertainty Quantification for Inverse Problems
 
U4301106110
U4301106110U4301106110
U4301106110
 
Maneuvering target track prediction model
Maneuvering target track prediction modelManeuvering target track prediction model
Maneuvering target track prediction model
 
Hierarchical matrix techniques for maximum likelihood covariance estimation
Hierarchical matrix techniques for maximum likelihood covariance estimationHierarchical matrix techniques for maximum likelihood covariance estimation
Hierarchical matrix techniques for maximum likelihood covariance estimation
 

More from Pierre Jacob

Talk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniquesTalk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniques
Pierre Jacob
 
ISBA 2022 Susie Bayarri lecture
ISBA 2022 Susie Bayarri lectureISBA 2022 Susie Bayarri lecture
ISBA 2022 Susie Bayarri lecture
Pierre Jacob
 
Couplings of Markov chains and the Poisson equation
Couplings of Markov chains and the Poisson equation Couplings of Markov chains and the Poisson equation
Couplings of Markov chains and the Poisson equation
Pierre Jacob
 
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problemsMonte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Pierre Jacob
 
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problemsMonte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Pierre Jacob
 
Markov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing themMarkov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing them
Pierre Jacob
 
Unbiased MCMC with couplings
Unbiased MCMC with couplingsUnbiased MCMC with couplings
Unbiased MCMC with couplings
Pierre Jacob
 
Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods
Pierre Jacob
 
Recent developments on unbiased MCMC
Recent developments on unbiased MCMCRecent developments on unbiased MCMC
Recent developments on unbiased MCMC
Pierre Jacob
 
Density exploration methods
Density exploration methodsDensity exploration methods
Density exploration methods
Pierre Jacob
 

More from Pierre Jacob (10)

Talk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniquesTalk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniques
 
ISBA 2022 Susie Bayarri lecture
ISBA 2022 Susie Bayarri lectureISBA 2022 Susie Bayarri lecture
ISBA 2022 Susie Bayarri lecture
 
Couplings of Markov chains and the Poisson equation
Couplings of Markov chains and the Poisson equation Couplings of Markov chains and the Poisson equation
Couplings of Markov chains and the Poisson equation
 
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problemsMonte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problems
 
Monte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problemsMonte Carlo methods for some not-quite-but-almost Bayesian problems
Monte Carlo methods for some not-quite-but-almost Bayesian problems
 
Markov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing themMarkov chain Monte Carlo methods and some attempts at parallelizing them
Markov chain Monte Carlo methods and some attempts at parallelizing them
 
Unbiased MCMC with couplings
Unbiased MCMC with couplingsUnbiased MCMC with couplings
Unbiased MCMC with couplings
 
Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods
 
Recent developments on unbiased MCMC
Recent developments on unbiased MCMCRecent developments on unbiased MCMC
Recent developments on unbiased MCMC
 
Density exploration methods
Density exploration methodsDensity exploration methods
Density exploration methods
 

Recently uploaded

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 

Recently uploaded (20)

The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 

SMC^2: an algorithm for sequential analysis of state-space models

  • 1. SMC2 : an algorithm for sequential analysis of state-space models Nicolas Chopin (ENSAE-CREST, Paris), Pierre Jacob (National University of Singapore) & Omiros Papaspiliopoulos (Univ. Pompeu Fabra, Barcelona) BGC DA Symposium – May 2013 Pierre Jacob SMC2 1/ 26
  • 2. Outline 1 Monte Carlo for state-space models 2 SMC2 3 Complexity 4 Applicability for BGC models Pierre Jacob SMC2 2/ 26
  • 3. Outline 1 Monte Carlo for state-space models 2 SMC2 3 Complexity 4 Applicability for BGC models Pierre Jacob SMC2 2/ 26
  • 4. State-space models y2 X2X0 y1 X1 ... ... yT XT θ Figure: Graph representation of a general state-space model. Hidden process: initial distribution µθ, transition fθ. Observations conditional upon the hidden process, from gθ. Prior p on the parameter θ ∈ Θ. Pierre Jacob SMC2 3/ 26
  • 5. State-space models Target distributions Particle MCMC methods provide N-samples from: p(θ, x1:T |y1:T ) SMC2 provides N-samples for all t ∈ [1, T] from: p(θ, x1:t|y1:t) Exact approximation Convergence of the sample distribution to the distribution of interest. Pierre Jacob SMC2 4/ 26
  • 6. State-space models Challenge of the model evidence Bayes rule yields p(θ | y1:t) = p(θ)p(y1:t | θ) p(y1:t) where the evidence is p(y1:t) = Θ p(θ)p(y1:t | θ)dθ = Θ p(θ) Xt+1 p(y1:t | x0:t, θ)p(x0:t | θ) dθ = Θ p(θ) Xt+1 µθ(x0) t k=1 fθ(xk | xk−1)gθ(yk | xk) dθ ⇒ integral of dimension dim(Θ) × dim(X) × (t + 1). . . ! Pierre Jacob SMC2 5/ 26
  • 7. Sequential Monte Carlo for filtering If we were interested in pθ(x1:T |y1:T ), for a given θ. . . Particle Filter Input: model (satisfying the requirements), dataset y1:T , number of particles Nx, possibly other parameters. Output: Nx-samples from p(x1:t | y1:t, θ) for all t ∈ [1, T], likelihood estimates ˆZNx t (θ) ≈ p(y1:t | θ) for all t ∈ [1, T]. Pierre Jacob SMC2 6/ 26
  • 8. Particle Markov Chain Monte Carlo If we are now interested in p(x1:T , θ|y1:T ). . . Particle Marginal Metropolis–Hastings Input: model (satisfying the requirements), dataset y1:T , number of iterations M, number of particles Nx, possibly other parameters. Output: M-samples from p(θ, x1:T | y1:T ), evidence estimates could be obtained based on the Markov chain (Chib’s method, thermodynamics integration. . . ). Pierre Jacob SMC2 7/ 26
  • 9. Sequential Monte Carlo Samplers Similar to Particle Filter, in the context of Bayesian inference on static (non-dynamical) problems: p(θ|y1:T ) (Neal 2001, Chopin 2004, Del Moral, Doucet & Jasra 2006. . . ) SMC Sampler Input: model (satisfying the requirements), dataset y1:T , number of particles Nθ, possibly other parameters. Output: Nθ-samples from p(θ | y1:t) for all t ∈ [1, T], evidence estimates ˆENθ t ≈ p(y1:t) for all t ∈ [1, T]. Pierre Jacob SMC2 8/ 26
  • 10. Outline 1 Monte Carlo for state-space models 2 SMC2 3 Complexity 4 Applicability for BGC models Pierre Jacob SMC2 8/ 26
  • 11. Motivation A valid SMC sampler for state-space models. Foreseen benefits compared to PMCMC Sample sequentially from p(θ, x1|y1), p(θ, x1:2|y1:2), . . . , p(θ, x1:T |y1:T ), to estimate the model evidence. Pierre Jacob SMC2 9/ 26
  • 12. Valid SMC sampler for SSM Plugging estimates of the incremental likelihood Similarly to PMCMC replacing likelihoods p(y1:T | θ) by estimates, we can replace incremental likelihoods p(yt|y1:t−1, θ) by estimates. θ-particles and x-particles We associate Nx x-particles to each of the Nθ θ-particles. These provide estimates of the incremental likelihoods for each θ-particle. Whenever we need to rejuvenate θ-particles, PMCMC steps. Pierre Jacob SMC2 10/ 26
  • 13. Summary of the vanilla SMC2 sampler Input: model (satisfying the requirements), dataset y1:T , numbers of particles Nθ, Nx, other algorithmic parameters. Output: Nθ-samples from p(θ | y1:t) for all t ∈ [1, T], Nx-samples from p(x1:t | y1:t, θ) for all t ∈ [1, T] and for each θ in the Nθ-sample, evidence estimates ˆENθ t ≈ p(y1:t) for all t ∈ [1, T]. Sequential but not online! Pierre Jacob SMC2 11/ 26
  • 21. Outline 1 Monte Carlo for state-space models 2 SMC2 3 Complexity 4 Applicability for BGC models Pierre Jacob SMC2 12/ 26
  • 22. Algorithmic complexity Cost if resample move at each time step A single move step at time t costs O (tNxNθ). If move at every time, the total cost (up to t) becomes O t2NxNθ . If e.g. Nx increased linearly with t, the total cost would rise to O t3Nθ . With adaptive resampling. . . . . . it is only essentially O t2Nθ . Why is that? Pierre Jacob SMC2 13/ 26
  • 23. Algorithmic complexity iteration computingtime(squarerootscale) 2500 10000 22500 40000 1000 2000 3000 4000 5000 Figure: √ computing time vs iteration Pierre Jacob SMC2 14/ 26
  • 24. Algorithmic complexity Computational effort Most of the effort usually lies in drawing from the transition fθ, or in evaluating the measurement gθ. This can be done for all particles in parallel. The remaining task is the resampling step. Rethinking resampling in the particle filter on GPUs, Lawrence Murray, PJ & Anthony Lee (submitted). Pierre Jacob SMC2 15/ 26
  • 25. Memory requirement Vanilla version of SMC2 Only the latest θ-particles and the latest generation of x-particles have to be stored, hence the cost is O(NθNx). General version of SMC2 using particle trajectories Naive cost of storing all the particles (x1:Nx 1:T ) for each θ-particle: O(NθTNx). More accurate cost of storing only the surviving trajectories: O(NθT + NθNx log Nx). (work in progress with Lawrence Murray & Sylvain Rubenthaler) Pierre Jacob SMC2 16/ 26
  • 26. Outline 1 Monte Carlo for state-space models 2 SMC2 3 Complexity 4 Applicability for BGC models Pierre Jacob SMC2 16/ 26
  • 27. SMC2 on the PZ model Phytoplankton–Zooplankton log Y ∼ N(log P, τ2 ) αt ∼ N(µ, σ2 ) dP dt = αtP − cPZ dZ dt = ecPZ − mlZ − mqZ2 θ = (µ, σ2 , τ2 ) or possibly θ = (µ, σ2 , τ2 , c, e, ml, mq) L. Murray, E. Jones, J. Parslow (2012). On collapsed state-space models and the particle marginal Metropolis-Hastings sampler. Pierre Jacob SMC2 17/ 26
  • 28. SMC2 on the PZ model −1 0 1 2 3 0 20 40 60 80 100 Time P (a) Phytoplankton 90% credible interval of filtering distributions 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0 20 40 60 80 100 Time Z (b) Zooplankton 90% credible interval of filtering distributions Pierre Jacob SMC2 18/ 26
  • 29. SMC2 on the PZ model 0 5 10 0 25 50 75 100 Time Observations (c) Simulated dataset −600 −400 −200 0 0 25 50 75 100 Time Logevidence Model PZ PZW (d) Log evidence p(y1:t | M) against time Pierre Jacob SMC2 19/ 26
  • 30. SMC2 on the PZ model 0 5 10 0 25 50 75 100 Time Observations (e) Simulated dataset −100 0 100 200 0 25 50 75 100 Time LogBayesfactor (f) Log Bayes factor log(p(y1:t | PZW)/p(y1:t | PZ)) against time Pierre Jacob SMC2 20/ 26
  • 31. Ease of use SMC2 is in the package LibBi. libbi sample --target posterior --sampler smc2 --model-file PZ.bi --end-time 100.0 --nparticles 128 --nsamples 256. . . and then enjoy the magic --enable-cuda --enable-mpi. . . Pierre Jacob SMC2 21/ 26
  • 32. Remaining uncertainty Error coming from numerical solvers for differential equations (controlled but not taken into account in the results). Pseudo-random number generators, assumed perfectly random (recent work by Iain Murray and LLoyd Elliott). Tractable measurement distribution requirement (ABC methods relax this assumption at the cost of a bias). Pierre Jacob SMC2 22/ 26
  • 33. Towards automatic and scalable algorithms Automatic calibration of Nx, Nθ, the proposal distribution. Parallelization of the resampling step. Scale to high-dimension problems using gradient estimates. Pierre Jacob SMC2 23/ 26
  • 34. Conclusion The SMC2 framework allows to obtain various quantities of interest for sequential analysis in state-space models. It fits in the PMCMC framework introduced by Andrieu, Doucet and Holenstein (2010). SMC2 is already implemented in LibBi. Sequential but not online. Not practical for large spatial state-space models yet. Pierre Jacob SMC2 24/ 26
  • 35. Bibliography Main references: Particle Markov Chain Monte Carlo methods, C. Andrieu, A. Doucet, R. Holenstein Sequential Monte Carlo samplers, P. Del Moral, A. Doucet, A. Jasra SMC2: an efficient algorithm for sequential analysis of state-space models, N. Chopin, P. Jacob, O. Papaspiliopoulos Pierre Jacob SMC2 25/ 26