SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2




    SMC2 : A sequential Monte Carlo algorithm with
      particle Markov chain Monte Carlo updates

         N. CHOPIN1 , P.E. JACOB2 , & O. PAPASPILIOPOULOS3


                                 BISP7 – September, 2011



     1
       ENSAE-CREST
     2
       CREST & Universit´ Paris Dauphine, funded by AXA research
                         e
     3
       Universitat Pompeu Fabra
N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS          SMC2         1/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


State Space Models


  A system of equations
         Hidden states: p(x1 |θ) = µθ (x1 ) and for t = 1, . . . , T :

                                   p(xt+1 |x1:t , θ) = fθ (xt+1 |xt )

         Observations:

                               p(yt |y1:t−1 , x1:t−1 , θ) = gθ (yt |xt )

         Parameter: θ ∈ Θ, prior p(θ).




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2                 2/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Sequential Monte Carlo for filtering


  Suppose we are interested in pθ (xT |y1:T ), for a given θ.

  General idea
      Sample recursively from pθ (xt |y1:t ) to pθ (xt+1 |y1:t+1 ).
         After the SMC run, we can approximate the likelihood:
                                                      T
                 ZT (θ) = p(y1:T |θ) =                      p(yt |y1:t−1 , θ) p(y1 |θ)
                                                      t=2

                                   ˆN
         with an unbiased estimate ZT x (θ).



 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS          SMC2                              3/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Sequential Monte Carlo Samplers


  Same kind of method but to perform bayesian inference:

                                              p(θ|y1:T )

  General idea
      Sample recursively from p(θ|y1:t ) to p(θ|y1:t+1 ).
         MCMC moves to diversify the particles.
         Requires the ability to compute point-wise p(yt |y1:t−1 , θ).




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2               4/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Idealized Metropolis–Hastings for SSM



  Motivation
  Bayesian parameter inference in state space models:

                                              p(θ|y1:T )

  If only. . .
  . . . we could compute p(θ|y1:T ) ∝ p(θ)p(y1:T |θ), we could run a
  MH algorithm.




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2             5/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Valid Metropolis–Hastings for SSM



  Plug in estimates
            ˆN
  We have ZT x (θ) ≈ p(y1:T |θ) by running a SMC filter, and we can
  try to run a MH algorithm using the estimate instead of the right
  likelihood.

  Particle MCMC
  This is called Particle Marginal Metropolis-Hastings, by Andrieu,
  Doucet and Holenstein.




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2            6/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Our contribution. . .



  . . . was to use the same method to get a valid SMC sampler for
  state space models.
  Foreseen benefits
       to sample more efficiently from the posterior distribution
       p(θ|y1:T ),
         to sample sequentially from p(θ|y1 ), p(θ|y1 , y2 ), . . . p(θ|y1:T ).

  and it turns out, it allows even a bit more.




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2                        7/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Valid SMC sampler for SSM


  Plug in estimates
  Similarly to PMCMC methods, we want to replace

                                          p(yt |y1:t−1 , θ)

  with an unbiased estimate, and see what happens.

  SMC everywhere
     We associate Nx x-particles to each of the Nθ θ-particles,
         these are used to get estimates of the incremental likelihoods
         for each θ-particle.


 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2                8/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Side benefits


  Evidence
  SMC2 provides an estimate of the “evidence”:
                                                      t
                                 p(y1:t ) =               p(ys |y1:s−1 )
                                                 s=1


  Automatic tuning
      θ-particles are moved with adaptive particle MCMC steps,
         the number of Nx particles can be dynamically increased if
         need be.


 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS              SMC2            9/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Numerical illustrations: Stochastic Volatility



                                             2


                              Observations

                                             0




                                         −2




                                         −4



                                                 100   200   300   400   500   600   700
                                                               Time



          Figure: The S&P 500 data from 03/01/2005 to 21/12/2007.


 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS                         SMC2                 10/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Numerical illustrations: Stochastic Volatility



  Stochastic Volatility model
         Observations (“log returns”):
                                                      1/2
                           yt = µ + βvt + vt                t,   t   ∼ N (0, 1)

         Hidden states: the “actual volatility” (vt ), a process that
         depends on another process, the “spot volatility” (zt ).
         All these processes are parameterized by θ ∈ (µ, β, ξ, ω 2 , λ).




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS          SMC2                       11/ 16
Introduction and State Space Models
                      Quick reminder on Sequential Monte Carlo
                             Particle Markov Chain Monte Carlo
                                                        SMC2


Numerical illustrations: Stochastic Volatility



                           T = 250                           T = 500                           T = 750                           T = 1000
         8



         6
   Density




         4



         2



         0
             −1.0   −0.5     0.0     0.5   1.0 −1.0   −0.5     0.0     0.5   1.0 −1.0   −0.5     0.0     0.5   1.0 −1.0   −0.5     0.0      0.5   1.0
                                                                              µ




              Figure: Concentration of the posterior distribution for parameter µ.




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS                                      SMC2                                                                 12/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Numerical illustrations: Stochastic Volatility



  Model comparison
  For the same problem there could be various models that we want
  to compare. Here:
         the “basic” previous model,
         a similar model with more factors (= more hidden states),
         a similar model with more factors and “leverage” (= different
         likelihood function with more parameters).




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2              13/ 16
Introduction and State Space Models
                                   Quick reminder on Sequential Monte Carlo
                                          Particle Markov Chain Monte Carlo
                                                                     SMC2


Numerical illustrations: Stochastic Volatility




                                                                                  Evidence compared to the one factor model
                                                                                                                                  variable
                           20                                                                                                      Multi factor without leverage
                                                                                                                              4    Multi factor with leverage
        Squared observations




                           15

                                                                                                                              2


                           10


                                                                                                                              0

                               5


                                                                                                                         −2



                                        100   200   300   400   500   600   700                                                   100     200     300     400      500   600   700
                                                      Time                                                                                        Iterations


                                                    (a)                                                                                            (b)

  Figure: Left: observations; right: log-evidence relative to the basic model.

 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS                                                    SMC2                                                                                14/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Conclusion



  A powerful framework
         The SMC2 framework allows to obtain various quantities of
         interest, especially for sequential analysis.
         It extends the PMCMC framework introduced by Andrieu,
         Doucet and Holenstein.
         A python package is available:
                           http://code.google.com/p/py-smc2/.




 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2           15/ 16
Introduction and State Space Models
           Quick reminder on Sequential Monte Carlo
                  Particle Markov Chain Monte Carlo
                                             SMC2


Bibliography

  SMC2 : A sequential Monte Carlo algorithm with particle Markov
  chain Monte Carlo updates, N. Chopin, P.E. Jacob, O.
  Papaspiliopoulos, submitted, available on arXiv.
  Main references:
         Particle Markov Chain Monte Carlo methods, C. Andrieu, A.
         Doucet, R. Holenstein, JRSS B., 2010, 72(3):269–342
         The pseudo-marginal approach for efficient computation, C.
         Andrieu, G.O. Roberts, Ann. Statist., 2009, 37, 697–725
         Random weight particle filtering of continuous time processes,
         P. Fearnhead, O. Papaspiliopoulos, G.O. Roberts, A. Stuart,
         JRSS B., 2010, 72:497–513
         Feynman-Kac Formulae, P. Del Moral, Springer

 N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS         SMC2               16/ 16

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Lecture 3 sapienza 2017
Lecture 3 sapienza 2017Lecture 3 sapienza 2017
Lecture 3 sapienza 2017
 
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
Infinite and Standard Computation with Unconventional and Quantum Methods Usi...
 
Lecture 2 sapienza 2017
Lecture 2 sapienza 2017Lecture 2 sapienza 2017
Lecture 2 sapienza 2017
 
Particle filtering
Particle filteringParticle filtering
Particle filtering
 
Jere Koskela slides
Jere Koskela slidesJere Koskela slides
Jere Koskela slides
 
Lecture 1 sapienza 2017
Lecture 1 sapienza 2017Lecture 1 sapienza 2017
Lecture 1 sapienza 2017
 
Lecture 4 sapienza 2017
Lecture 4 sapienza 2017Lecture 4 sapienza 2017
Lecture 4 sapienza 2017
 
Hastings 1970
Hastings 1970Hastings 1970
Hastings 1970
 
Further discriminatory signature of inflation
Further discriminatory signature of inflationFurther discriminatory signature of inflation
Further discriminatory signature of inflation
 
Linear response theory and TDDFT
Linear response theory and TDDFT Linear response theory and TDDFT
Linear response theory and TDDFT
 
BSE and TDDFT at work
BSE and TDDFT at workBSE and TDDFT at work
BSE and TDDFT at work
 
Ordinal Regression and Machine Learning: Applications, Methods, Metrics
Ordinal Regression and Machine Learning: Applications, Methods, MetricsOrdinal Regression and Machine Learning: Applications, Methods, Metrics
Ordinal Regression and Machine Learning: Applications, Methods, Metrics
 
Linear response theory
Linear response theoryLinear response theory
Linear response theory
 
Sampling and Markov Chain Monte Carlo Techniques
Sampling and Markov Chain Monte Carlo TechniquesSampling and Markov Chain Monte Carlo Techniques
Sampling and Markov Chain Monte Carlo Techniques
 
Recent developments on unbiased MCMC
Recent developments on unbiased MCMCRecent developments on unbiased MCMC
Recent developments on unbiased MCMC
 
An Improved Quantum-behaved Particle Swarm Optimization Algorithm Based on Ch...
An Improved Quantum-behaved Particle Swarm Optimization Algorithm Based on Ch...An Improved Quantum-behaved Particle Swarm Optimization Algorithm Based on Ch...
An Improved Quantum-behaved Particle Swarm Optimization Algorithm Based on Ch...
 
Richard Everitt's slides
Richard Everitt's slidesRichard Everitt's slides
Richard Everitt's slides
 
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
 
Camera parameters
Camera parametersCamera parameters
Camera parameters
 
Algorithm to remove spectral leakage
Algorithm to remove spectral leakageAlgorithm to remove spectral leakage
Algorithm to remove spectral leakage
 

Andere mochten auch

Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)
Julyan Arbel
 

Andere mochten auch (13)

Berger 2000
Berger 2000Berger 2000
Berger 2000
 
Seneta 1993
Seneta 1993Seneta 1993
Seneta 1993
 
Diaconis Ylvisaker 1985
Diaconis Ylvisaker 1985Diaconis Ylvisaker 1985
Diaconis Ylvisaker 1985
 
Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)
 
Bayesian Classics
Bayesian ClassicsBayesian Classics
Bayesian Classics
 
Species sampling models in Bayesian Nonparametrics
Species sampling models in Bayesian NonparametricsSpecies sampling models in Bayesian Nonparametrics
Species sampling models in Bayesian Nonparametrics
 
Lehmann 1990
Lehmann 1990Lehmann 1990
Lehmann 1990
 
Dependent processes in Bayesian Nonparametrics
Dependent processes in Bayesian NonparametricsDependent processes in Bayesian Nonparametrics
Dependent processes in Bayesian Nonparametrics
 
Bayesian Nonparametrics, Applications to biology, ecology, and marketing
Bayesian Nonparametrics, Applications to biology, ecology, and marketingBayesian Nonparametrics, Applications to biology, ecology, and marketing
Bayesian Nonparametrics, Applications to biology, ecology, and marketing
 
A Gentle Introduction to Bayesian Nonparametrics
A Gentle Introduction to Bayesian NonparametricsA Gentle Introduction to Bayesian Nonparametrics
A Gentle Introduction to Bayesian Nonparametrics
 
A Gentle Introduction to Bayesian Nonparametrics
A Gentle Introduction to Bayesian NonparametricsA Gentle Introduction to Bayesian Nonparametrics
A Gentle Introduction to Bayesian Nonparametrics
 
R in latex
R in latexR in latex
R in latex
 
Asymptotics for discrete random measures
Asymptotics for discrete random measuresAsymptotics for discrete random measures
Asymptotics for discrete random measures
 

Ähnlich wie Presentation of SMC^2 at BISP7

Master's presentation (English)
Master's presentation (English)Master's presentation (English)
Master's presentation (English)
Alexander Tsupko
 
Suppression of correlated electron escape in double ionization in strong lase...
Suppression of correlated electron escape in double ionization in strong lase...Suppression of correlated electron escape in double ionization in strong lase...
Suppression of correlated electron escape in double ionization in strong lase...
Jakub Prauzner-Bechcicki
 
JamesDPearce_MonoX
JamesDPearce_MonoXJamesDPearce_MonoX
JamesDPearce_MonoX
James Pearce
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
Aguinaldo Flor
 

Ähnlich wie Presentation of SMC^2 at BISP7 (20)

Presentation MCB seminar 09032011
Presentation MCB seminar 09032011Presentation MCB seminar 09032011
Presentation MCB seminar 09032011
 
SMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space modelsSMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space models
 
Dealing with intractability: Recent Bayesian Monte Carlo methods for dealing ...
Dealing with intractability: Recent Bayesian Monte Carlo methods for dealing ...Dealing with intractability: Recent Bayesian Monte Carlo methods for dealing ...
Dealing with intractability: Recent Bayesian Monte Carlo methods for dealing ...
 
Hidden markovmodel
Hidden markovmodelHidden markovmodel
Hidden markovmodel
 
Master's presentation (English)
Master's presentation (English)Master's presentation (English)
Master's presentation (English)
 
Suppression of correlated electron escape in double ionization in strong lase...
Suppression of correlated electron escape in double ionization in strong lase...Suppression of correlated electron escape in double ionization in strong lase...
Suppression of correlated electron escape in double ionization in strong lase...
 
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...
 
JamesDPearce_MonoX
JamesDPearce_MonoXJamesDPearce_MonoX
JamesDPearce_MonoX
 
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...
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
 
Univariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisUnivariate Financial Time Series Analysis
Univariate Financial Time Series Analysis
 
Cyclo-stationary processes
Cyclo-stationary processesCyclo-stationary processes
Cyclo-stationary processes
 
Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods Unbiased Markov chain Monte Carlo methods
Unbiased Markov chain Monte Carlo methods
 
Quantum storage and manipulation of heralded single photons in atomic quantum...
Quantum storage and manipulation of heralded single photons in atomic quantum...Quantum storage and manipulation of heralded single photons in atomic quantum...
Quantum storage and manipulation of heralded single photons in atomic quantum...
 
Kinetic pathways to the isotropic-nematic phase transformation: a mean field ...
Kinetic pathways to the isotropic-nematic phase transformation: a mean field ...Kinetic pathways to the isotropic-nematic phase transformation: a mean field ...
Kinetic pathways to the isotropic-nematic phase transformation: a mean field ...
 
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
A Closed-Form Expression for Queuing Delay in Rayleigh Fading Channels Using ...
 
Nucleating Nematic Droplets
Nucleating Nematic DropletsNucleating Nematic Droplets
Nucleating Nematic Droplets
 
Computational methods and vibrational properties applied to materials modeling
Computational methods and vibrational properties applied to materials modelingComputational methods and vibrational properties applied to materials modeling
Computational methods and vibrational properties applied to materials modeling
 
Chemical dynamics and rare events in soft matter physics
Chemical dynamics and rare events in soft matter physicsChemical dynamics and rare events in soft matter physics
Chemical dynamics and rare events in soft matter physics
 
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
 

Mehr von Pierre Jacob

Mehr von Pierre Jacob (14)

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
 
Unbiased MCMC with couplings
Unbiased MCMC with couplingsUnbiased MCMC with couplings
Unbiased MCMC with couplings
 
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...
 
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...
 
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
 
Density exploration methods
Density exploration methodsDensity exploration methods
Density exploration methods
 
PAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ WarwickPAWL - GPU meeting @ Warwick
PAWL - GPU meeting @ Warwick
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Presentation of SMC^2 at BISP7

  • 1. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 SMC2 : A sequential Monte Carlo algorithm with particle Markov chain Monte Carlo updates N. CHOPIN1 , P.E. JACOB2 , & O. PAPASPILIOPOULOS3 BISP7 – September, 2011 1 ENSAE-CREST 2 CREST & Universit´ Paris Dauphine, funded by AXA research e 3 Universitat Pompeu Fabra N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 1/ 16
  • 2. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 State Space Models A system of equations Hidden states: p(x1 |θ) = µθ (x1 ) and for t = 1, . . . , T : p(xt+1 |x1:t , θ) = fθ (xt+1 |xt ) Observations: p(yt |y1:t−1 , x1:t−1 , θ) = gθ (yt |xt ) Parameter: θ ∈ Θ, prior p(θ). N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 2/ 16
  • 3. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Sequential Monte Carlo for filtering Suppose we are interested in pθ (xT |y1:T ), for a given θ. General idea Sample recursively from pθ (xt |y1:t ) to pθ (xt+1 |y1:t+1 ). After the SMC run, we can approximate the likelihood: T ZT (θ) = p(y1:T |θ) = p(yt |y1:t−1 , θ) p(y1 |θ) t=2 ˆN with an unbiased estimate ZT x (θ). N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 3/ 16
  • 4. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Sequential Monte Carlo Samplers Same kind of method but to perform bayesian inference: p(θ|y1:T ) General idea Sample recursively from p(θ|y1:t ) to p(θ|y1:t+1 ). MCMC moves to diversify the particles. Requires the ability to compute point-wise p(yt |y1:t−1 , θ). N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 4/ 16
  • 5. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Idealized Metropolis–Hastings for SSM Motivation Bayesian parameter inference in state space models: p(θ|y1:T ) If only. . . . . . we could compute p(θ|y1:T ) ∝ p(θ)p(y1:T |θ), we could run a MH algorithm. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 5/ 16
  • 6. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Valid Metropolis–Hastings for SSM Plug in estimates ˆN We have ZT x (θ) ≈ p(y1:T |θ) by running a SMC filter, and we can try to run a MH algorithm using the estimate instead of the right likelihood. Particle MCMC This is called Particle Marginal Metropolis-Hastings, by Andrieu, Doucet and Holenstein. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 6/ 16
  • 7. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Our contribution. . . . . . was to use the same method to get a valid SMC sampler for state space models. Foreseen benefits to sample more efficiently from the posterior distribution p(θ|y1:T ), to sample sequentially from p(θ|y1 ), p(θ|y1 , y2 ), . . . p(θ|y1:T ). and it turns out, it allows even a bit more. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 7/ 16
  • 8. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Valid SMC sampler for SSM Plug in estimates Similarly to PMCMC methods, we want to replace p(yt |y1:t−1 , θ) with an unbiased estimate, and see what happens. SMC everywhere We associate Nx x-particles to each of the Nθ θ-particles, these are used to get estimates of the incremental likelihoods for each θ-particle. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 8/ 16
  • 9. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Side benefits Evidence SMC2 provides an estimate of the “evidence”: t p(y1:t ) = p(ys |y1:s−1 ) s=1 Automatic tuning θ-particles are moved with adaptive particle MCMC steps, the number of Nx particles can be dynamically increased if need be. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 9/ 16
  • 10. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Numerical illustrations: Stochastic Volatility 2 Observations 0 −2 −4 100 200 300 400 500 600 700 Time Figure: The S&P 500 data from 03/01/2005 to 21/12/2007. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 10/ 16
  • 11. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Numerical illustrations: Stochastic Volatility Stochastic Volatility model Observations (“log returns”): 1/2 yt = µ + βvt + vt t, t ∼ N (0, 1) Hidden states: the “actual volatility” (vt ), a process that depends on another process, the “spot volatility” (zt ). All these processes are parameterized by θ ∈ (µ, β, ξ, ω 2 , λ). N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 11/ 16
  • 12. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Numerical illustrations: Stochastic Volatility T = 250 T = 500 T = 750 T = 1000 8 6 Density 4 2 0 −1.0 −0.5 0.0 0.5 1.0 −1.0 −0.5 0.0 0.5 1.0 −1.0 −0.5 0.0 0.5 1.0 −1.0 −0.5 0.0 0.5 1.0 µ Figure: Concentration of the posterior distribution for parameter µ. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 12/ 16
  • 13. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Numerical illustrations: Stochastic Volatility Model comparison For the same problem there could be various models that we want to compare. Here: the “basic” previous model, a similar model with more factors (= more hidden states), a similar model with more factors and “leverage” (= different likelihood function with more parameters). N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 13/ 16
  • 14. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Numerical illustrations: Stochastic Volatility Evidence compared to the one factor model variable 20 Multi factor without leverage 4 Multi factor with leverage Squared observations 15 2 10 0 5 −2 100 200 300 400 500 600 700 100 200 300 400 500 600 700 Time Iterations (a) (b) Figure: Left: observations; right: log-evidence relative to the basic model. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 14/ 16
  • 15. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Conclusion A powerful framework The SMC2 framework allows to obtain various quantities of interest, especially for sequential analysis. It extends the PMCMC framework introduced by Andrieu, Doucet and Holenstein. A python package is available: http://code.google.com/p/py-smc2/. N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 15/ 16
  • 16. Introduction and State Space Models Quick reminder on Sequential Monte Carlo Particle Markov Chain Monte Carlo SMC2 Bibliography SMC2 : A sequential Monte Carlo algorithm with particle Markov chain Monte Carlo updates, N. Chopin, P.E. Jacob, O. Papaspiliopoulos, submitted, available on arXiv. Main references: Particle Markov Chain Monte Carlo methods, C. Andrieu, A. Doucet, R. Holenstein, JRSS B., 2010, 72(3):269–342 The pseudo-marginal approach for efficient computation, C. Andrieu, G.O. Roberts, Ann. Statist., 2009, 37, 697–725 Random weight particle filtering of continuous time processes, P. Fearnhead, O. Papaspiliopoulos, G.O. Roberts, A. Stuart, JRSS B., 2010, 72:497–513 Feynman-Kac Formulae, P. Del Moral, Springer N. CHOPIN, P.E. JACOB, & O. PAPASPILIOPOULOS SMC2 16/ 16