13
HMM Model Structure Presentation by Durga Yeluri

HMM Model Structure Presentation by Durga Yeluri

Embed Size (px)

Citation preview

Page 1: HMM Model Structure Presentation by Durga Yeluri

HMM Model Structure

Presentation by Durga Yeluri

Page 2: HMM Model Structure Presentation by Durga Yeluri

What is the problem?

So far our assumptions Transitions are possible from any state to any other state Fully connected model “let the model find out itself”

Result of our assumptions Bad model for any realistic problem, even with plenty of

training data local maxima, but not over fitting Less constrained model More local maxima

Solution ??

Page 3: HMM Model Structure Presentation by Durga Yeluri

Model Topology

Construction based on Which transitions are allowed

Knowledge about the problem

Disable transition from state k to state l by setting akl

= 0. If the probability is zero, the number of transitions

are also zero. Two types of modeling

Duration Modeling Silent States Modeling

Page 4: HMM Model Structure Presentation by Durga Yeluri

Duration Modeling

When there is no change in the distribution for a certain length of the sequence

Probability of a state transition to itself is p. Probability of leaving the state is (1-p). P(l residues) = (1-p)pl-1

Page 5: HMM Model Structure Presentation by Durga Yeluri

Example

This model gives a minimum of 5 residues.

Page 6: HMM Model Structure Presentation by Durga Yeluri

Example

This can model any distribution with length in between 2 and 6.

Page 7: HMM Model Structure Presentation by Durga Yeluri

Example of Non-geometric length Distribution

Array of n states, smallest sequence length n.

Probability of path with length l is pl-n (1-p)n.

The number of possible paths with length l is (l-1)choose(n-1).

Page 8: HMM Model Structure Presentation by Durga Yeluri

Contd..

Total probability of all possible paths is

P (l) = (l-1) choose (n-1) pl-n (1-p)n.

This is called negative binomial distribution.

Page 9: HMM Model Structure Presentation by Durga Yeluri

Silent States

States which do not emit symbols in HMM Examples are begin and end states Also called null states Very useful in reducing the number of

transitions in HMMs Leads to reduction in the number of

parameters

Page 10: HMM Model Structure Presentation by Durga Yeluri

Example

Total number of transitions are n(n+1)/2 for n states

Page 11: HMM Model Structure Presentation by Durga Yeluri

Reduction in the number of transitions with silent states

Total number of transitions for n states is nearly 3n.

Page 12: HMM Model Structure Presentation by Durga Yeluri

Discussion

Total number of transitions with a length L in a forward connected model with out silent states??

With silent states??

Page 13: HMM Model Structure Presentation by Durga Yeluri

Thank You!!!