1 / 33

Hidden Markov Models David Meir Blei November 1, 1999

Hidden Markov Models David Meir Blei November 1, 1999. Graphical Model Circles indicate states Arrows indicate probabilistic dependencies between states. What is an HMM?. Green circles are hidden states Dependent only on the previous state

lincoln
Download Presentation

Hidden Markov Models David Meir Blei November 1, 1999

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Hidden Markov Models David Meir Blei November 1, 1999

  2. Graphical Model Circles indicate states Arrows indicate probabilistic dependencies between states What is an HMM?

  3. Green circles are hidden states Dependent only on the previous state “The past is independent of the future given the present.” What is an HMM?

  4. Purple nodes are observed states Dependent only on their corresponding hidden state What is an HMM?

  5. {S, K, P, A, B} S : {s1…sN } are the values for the hidden states K : {k1…kM } are the values for the observations HMM Formalism S S S S S K K K K K

  6. {S, K, P, A, B} P = {pi} are the initial state probabilities A = {aij} are the state transition probabilities B = {bik} are the observation state probabilities HMM Formalism A A A A S S S S S B B B K K K K K

  7. Compute the probability of a given observation sequence Given an observation sequence, compute the most likely hidden state sequence Given an observation sequence and set of possible models, which model most closely fits the data? Inference in an HMM

  8. oT Decoding o1 ot-1 ot ot+1 Given an observation sequence and a model, compute the probability of the observation sequence

  9. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Decoding

  10. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Decoding

  11. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Decoding

  12. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Decoding

  13. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Decoding

  14. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure • Special structure gives us an efficient solution using dynamic programming. • Intuition: Probability of the first t observations is the same for all possible t+1 length state sequences. • Define:

  15. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  16. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  17. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  18. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  19. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  20. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  21. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  22. x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure

  23. Backward Procedure x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Probability of the rest of the states given the first state

  24. Decoding Solution x1 xt-1 xt xt+1 xT o1 ot-1 ot ot+1 oT Forward Procedure Backward Procedure Combination

  25. Find the state sequence that best explains the observations Viterbi algorithm o1 ot-1 ot ot+1 oT Best State Sequence

  26. Viterbi Algorithm x1 xt-1 j o1 ot-1 ot ot+1 oT The state sequence which maximizes the probability of seeing the observations to time t-1, landing in state j, and seeing the observation at time t

  27. o1 ot-1 ot ot+1 oT Viterbi Algorithm x1 xt-1 xt xt+1 Recursive Computation

  28. o1 ot-1 ot ot+1 oT Viterbi Algorithm x1 xt-1 xt xt+1 xT Compute the most likely state sequence by working backwards

  29. o1 ot-1 ot ot+1 oT Parameter Estimation A A A A B B B B B • Given an observation sequence, find the model that is most likely to produce that sequence. • No analytic method • Given a model and observation sequence, update the model parameters to better fit the observations.

  30. o1 ot-1 ot ot+1 oT Parameter Estimation A A A A B B B B B Probability of traversing an arc Probability of being in state i

  31. o1 ot-1 ot ot+1 oT Parameter Estimation A A A A B B B B B Now we can compute the new estimates of the model parameters.

  32. Generating parameters for n-gram models Tagging speech Speech recognition HMM Applications

  33. o1 ot-1 ot ot+1 oT The Most Important Thing A A A A B B B B B We can use the special structure of this model to do a lot of neat math and solve problems that are otherwise not solvable.

More Related