1 ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005 Trans-dimensional MCMC Frank Dellaert ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005 References • Peter Green, Reversible jump Markov chain Monte Carlo computation and Bayesian model determination, Biometrika, 1995 • Peter Green, Trans-dimensional Markov chain Monte Carlo, in “Highly Structured Stochastic Systems”, 2003 • David Hastie, Ph.D. Thesis, 2005 • Paskin & Thrun, Robotic Mapping with Polygonal Random Fields, UAI 2005 ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005 Outline • Model Selection • Reversible Jump MCMC • Regression Example • Rao-Blackwellized Sampling • Polygonal Random Fields ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005 Model Selection • Most common case: inference on p(x|z), x continuous parameters • What if there are competing models ? p( x 1 | z), x 1 " R 3 p( x 2 | z), x 2 " R 5 p( x 3 | z), x 3 " R 7
12
Embed
Trans-dimensional MCMC Peter Greendellaert/pub/Dellaert05RJMCMC.pdf•Peter Green, Reversible jump Markov chain Monte Carlo computation and Bayesian model determination, Biometrika,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Trans-dimensional MCMC
Frank Dellaert
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
References
• Peter Green, Reversible jump Markov chain MonteCarlo computation and Bayesian model determination,Biometrika, 1995
• Peter Green, Trans-dimensional Markov chain MonteCarlo, in “Highly Structured Stochastic Systems”, 2003
• David Hastie, Ph.D. Thesis, 2005• Paskin & Thrun, Robotic Mapping with Polygonal
Random Fields, UAI 2005
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Outline
• Model Selection• Reversible Jump MCMC• Regression Example• Rao-Blackwellized Sampling• Polygonal Random Fields
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Model Selection
• Most common case: inference on p(x|z), xcontinuous parameters
• What if there are competing models ?
!
p(x1 | z),x1 " R3
!
p(x2 | z),x2 " R5
!
p(x3 | z),x3 " R7
2
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Ex. 1: Regression
• Degree of polynomial ?
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Ex.2: 3D Curve Fitting
• How many control points ?• How many sharp corners ?
Image courtesy of Michael Kaess
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Ex.3: Tracking Multiple Targets
• With an unknown number of targetsImage courtesy of Zia Khan
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Union Space
• Model indicator k• Parameter vector• State space = union space
!
"k# R
nk
!
X = Uk"K ({k}# R
nk )
!
{1}" R3
!
{2}" R5
!
{3}" R7
!
"
!
"
!
"K
3
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Graphical Model
k
θk
z• Joint density factors as
p(z,θk,k)= p(z|θk,k) p(θk|k) p(k)
Model indicatorp(k)
Datap(z|θk,k)
Model parametersp(θk |k)
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Outline
• Model Selection• Reversible Jump MCMC• Regression Example• Rao-Blackwellized Sampling• Polygonal Random Fields
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Trans-Dimensional MCMC
• set up Markov chain in union space X• allow trans-dimensional jumps
!
{1}" R3
!
{2}" R5
!
{3}" R7
!
"
!
"
!
"K
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Regression Example
• Live Demo !
4
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Explicit Jump Random Variables
• Re-state MCMC to avoid measure theory• Explicit jump random variable u• Proposal density q(x,x’) replaced by
– draw u ~ g(u)– calculate x’=h(x,u)
Pictorial representationinspired by Peter Green
g(u)
u
xx’=h(x,u)
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Example (single dimension)
• Random walk on SO(2)
!
q(x,x ') = N(x';x," 2)
#
u ~ N(0," 2)
x'= h(x,u) = x + u
g(u)
u
x
x’=x+u
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
“Jacobian”
A New Proposal Ratio
g(u)
u
xx’=h(x,u)
g(u’)
u’
=h’(x’,u’)
!
a =" (x')q(x',x)
" (x)q(x,x ')
!
a =" (x')g(u')
" (x)g(u)
#(x',u')
#(x,u)
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005
Jacobians• Jacobian arises from change of variable• Review from probability 101:
!
x ~ g(x)
y = t(x)
f (y) ="t(x)
"x
#1
g(t#1(y)) =
"x
"yg(x)
!
x ~ g(x)
y = t(x) = x /2
f (y) ="t(x)
"x
#1
g(t#1(y)) = 2g(2y)
g(x)
f(y)
Simple example:
5
ICCV05 Tutorial: MCMC for Vision. Zhu / Dellaert / Tu October 2005