Layered hidden Markov model

The layered hidden Markov model (LHMM) is a statistical model derived from the hidden Markov model (HMM). A layered hidden Markov model (LHMM) consists of N levels of HMMs, where the HMMs on level i + 1 correspond to observation symbols or probability generators at level i. Every level i of the LHMM consists of Ki HMMs running in parallel.[1]

## Background

[edit]

LHMMs are sometimes useful in specific structures because they can facilitate learning and generalization. For example, even though a fully connected HMM could always be used if enough training data were available, it is often useful to constrain the model by not allowing arbitrary state transitions. In the same way it can be beneficial to embed the HMM in a layered structure which, theoretically, may not be able to solve any problems the basic HMM cannot, but can solve some problems more efficiently because less training data is needed.

## The layered hidden Markov model

[edit]

A layered hidden Markov model (LHMM) consists of  N {\displaystyle N} levels of HMMs where the HMMs on level  N + 1 {\displaystyle N+1} corresponds to observation symbols or probability generators at level  N {\displaystyle N} . Every level  i {\displaystyle i} of the LHMM consists of  K i {\displaystyle K_{i}} HMMs running in parallel.

A layered hidden Markov model

At any given level  L {\displaystyle L} in the LHMM a sequence of  T L {\displaystyle T_{L}} observation symbols  o L = { o 1 , o 2 , … , o T L } {\displaystyle \mathbf {o} _{L}=\\{o_{1},o_{2},\dots ,o_{T_{L}}\\}} can be used to classify the input into one of  K L {\displaystyle K_{L}} classes, where each class corresponds to each of the  K L {\displaystyle K_{L}} HMMs at level  L {\displaystyle L} . This classification can then be used to generate a new observation for the level  L − 1 {\displaystyle L-1} HMMs. At the lowest layer, i.e. level  N {\displaystyle N} , primitive observation symbols  o p = { o 1 , o 2 , … , o T p } {\displaystyle \mathbf {o} _{p}=\\{o_{1},o_{2},\dots ,o_{T_{p}}\\}} would be generated directly from observations of the modeled process. For example, in a trajectory tracking task the primitive observation symbols would originate from the quantized sensor values. Thus at each layer in the LHMM the observations originate from the classification of the underlying layer, except for the lowest layer where the observation symbols originate from measurements of the observed process.

It is not necessary to run all levels at the same time granularity. For example, it is possible to use windowing at any level in the structure so that the classification takes the average of several classifications into consideration before passing the results up the layers of the LHMM.[2]

Instead of simply using the winning HMM at level  L + 1 {\displaystyle L+1} as an input symbol for the HMM at level  L {\displaystyle L} it is possible to use it as a probability generator by passing the complete probability distribution up the layers of the LHMM. Thus instead of having a "winner takes all" strategy where the most probable HMM is selected as an observation symbol, the likelihood  L ( i ) {\displaystyle L(i)} of observing the  i {\displaystyle i} th HMM can be used in the recursion formula of the level  L {\displaystyle L} HMM to account for the uncertainty in the classification of the HMMs at level  L + 1 {\displaystyle L+1} . Thus, if the classification of the HMMs at level  n + 1 {\displaystyle n+1} is uncertain, it is possible to pay more attention to the a-priori information encoded in the HMM at level  L {\displaystyle L} .

A LHMM could in practice be transformed into a single layered HMM where all the different models are concatenated together.[3] Some of the advantages that may be expected from using the LHMM over a large single layer HMM is that the LHMM is less likely to suffer from overfitting since the individual sub-components are trained independently on smaller amounts of data. A consequence of this is that a significantly smaller amount of training data is required for the LHMM to achieve a performance comparable of the HMM. Another advantage is that the layers at the bottom of the LHMM, which are more sensitive to changes in the environment such as the type of sensors, sampling rate etc. can be retrained separately without altering the higher layers of the LHMM.

## See also

[edit]

* Hierarchical hidden Markov model

## References

[edit]

1. ^ N. Oliver, A. Garg and E. Horvitz, "Layered Representations for Learning and Inferring Office Activity from Multiple Sensory Channels", Computer Vision and Image Understanding, vol. 96, p. 163-180, 2004.
2. ^ D. Aarno and D. Kragic "Evaluation of Layered HMM for Motion Intention Recognition", IEEE International Conference on Advanced Robotics, 2007
3. ^ D. Aarno and D. Kragic: "Layered HMM for Motion Intention Recognition", IEEE/RSJ International Conference on Intelligent Robots and Systems, 2006.