12
Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Embed Size (px)

Citation preview

Page 1: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Beam Sampling for the Infinite Hidden Markov Model

Van Gael, et al. ICML 2008Presented by Daniel Johnson

Page 2: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Introduction

• Infinite Hidden Markov Model (iHMM) is nonparametric approach to the HMM

• New inference algorithm for iHMM• Comparison with Gibbs sampling algorithm• Examples

Page 3: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Hidden Markov Model (HMM)

• Markov Chain with finite state space 1,…,K• Hidden state sequence: s = (s1, s2, … , sT)

• πij = p(st = j|st-1 = i)

• Observation sequence: y = (y1, y2, … , yT)

• Parameters ϕst such that p(yt|st) = F(ϕst

)

Known: y, π, ϕ, FUnknown: s

Page 4: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Infinite Hidden Markov Model (iHMM)

Known: y, FUnknown: s, π, ϕ, KStrategy: use BNP priors to deal with additional

unknowns:

Page 5: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Gibbs Methods

• Teh et al., 2006: marginalize out π, ϕ

• Update prediction for each st individually

• Computation of O(TK)• Non-conjugacy handled in standard Neal way• Drawback: potential slow mixing

Page 6: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Beam Sampler

• Introduce auxiliary variable u • Conditioned on u, # possible trajectories finite• Use dynamic programming filtering algorithm• Avoid marginalizing out π, ϕ• Iteratively sample u, s, π, ϕ, β, α, γ

Page 7: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Auxiliary Variable u

• Sample each ut ~ Uniform(0, πst-1st)

• u acts as a threshold on π

• Only trajectories with πst-1st ≥ ut are possible

Page 8: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Forward-Backward Algorithm

Forwards: compute p(st|y1:t,u1:t) from t = 1..T

Backward: compute p(st|st+1,y1:T,u1:T) and sample st from t = T..1

Page 9: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Non-Sticky Example

Page 10: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Sticky Example

Page 11: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Example: Well Data

Page 12: Beam Sampling for the Infinite Hidden Markov Model Van Gael, et al. ICML 2008 Presented by Daniel Johnson

Issues/Conclusions

• Beam sampler is elegant and fairly straight forward

• Beam sampler allows for bigger steps in the MCMC state space than the Gibbs method

• Computational cost similar to Gibbs method• Potential for poor mixing• Bookkeeping can be complicated