+ All Categories
Home > Documents > An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model...

An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model...

Date post: 13-Aug-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
28
Motivation MSUMO: A Meta Learning Algorithm for Architecture Selection Experiments Conclusions & Future Work An Incremental Model Selection Algorithm Based on Cross-Validation for Finding the Architecture of a Hidden Markov Model on Hand Gesture Data Sets Aydın Ula¸ s 1 Olcay Taner Yıldız 2 1 Department of Computer Engineering Bo˘ gaziçi University Istanbul, Turkey 2 Department of Computer Engineering sık University Istanbul, Turkey ICMLA 2009 Aydın Ula¸ s, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM
Transcript
Page 1: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

An Incremental Model Selection AlgorithmBased on Cross-Validation for Finding theArchitecture of a Hidden Markov Model on

Hand Gesture Data Sets

Aydın Ulas1 Olcay Taner Yıldız2

1Department of Computer EngineeringBogaziçi University

Istanbul, Turkey

2Department of Computer EngineeringIsık University

Istanbul, Turkey

ICMLA 2009Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 2: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Outline

1 MotivationHidden Markov ModelsModel Selection in HMM

2 MSUMO: A Meta Learning Algorithm for Architecture SelectionStructure Learning as State Space SearchMSUMO

3 ExperimentsExperimental SetupComparison of ArchitecturesResults

4 Conclusions & Future Work

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 3: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Hidden Markov ModelsGraphical network

N hidden states

M mixture components in these hidden states

Connectivity between hidden states

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 4: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Hidden Markov ModelsProbability model

Initial state probabilities

Observation probabilities

State transition probabilities

Baum-Welch algorithm using Expectation-Maximization

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 5: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Hidden Markov ModelsModels used in this paper

Left-right model

Left-right-loop model

Full model

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 6: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Hidden Markov Models

Bioinformatics (Secondary structure prediction)

Speech processing (Audio modelling)

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 7: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Model SelectionBias-variance tradeoff

Error = Bias + Variance

Small/simple model underfits (bias high, variance low)

Large/complex model overfits (bias low, variance high)

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 8: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Hidden Markov ModelsModel Selection in HMM

Model Selection in HMM

Hard to estimate number of hidden states & models ineach state

Need a methodology to optimize the model structure fornovice user

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 9: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

Structure LearningState Space Search

Huge search space: All the combinations of number ofhidden states and number of mixtures at each hidden state.

Infeasible to try and evaluate all possible architectures

Heuristic strategy visiting as few as possible states in thesearch space

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 10: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

Structure LearningOperators

Define operators. Example: ADD-1 from state HMM4,1 toHMM5,1

Add operators for forward search

Remove operators for backward search

Floating search uses both

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 11: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

Structure LearningEvaluation

Compare performance metric of next state with currentstate

Accept or reject operator based on improvement

Takes into account both generalization error andcomplexity

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 12: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

Structure LearningDimensions of Search

Initial state (HMM1,1 or HMMN,1)

State transition operators (Add or remove)

Search beam (Single or multiple operator)

State evaluation function (AIC, BIC, or CV)

Termination condition (No improvement or fixed number ofiterations)

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 13: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

MSUMO Operators

REMOVE-1: Remove a single hidden state from the HMM.

ADD-1: Add a single hidden state to the HMM.

REMOVE-L: Add a new Gaussian to the mixture.

ADD-L: Remove a Gaussian from the mixture.

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 14: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

MSUMO Pseudocode

1 BEST = initial network2 while BEST changed3 for each applicable operator OPERi4 Ci ← OPERi (BEST)5 Sort candidates Ci in the order of complexity6 for i = 1 to number of candidates7 Train and validate Ci on k folds8 if Ci is more complex than BEST

9 Test H0 : µBEST ≤ µCi10 if H0 is rejected11 BEST← Ci12 break13 else14 Test H0 : µCi

≤ µBEST15 if H0 is accepted16 BEST← Ci17 break18 return BEST;

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 15: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Structure Learning as State Space SearchMSUMO

Five MSUMO Variants

HMM 1,1

HMM 2,1

….

HMM h ,1

HMM 10,1

HMM 9,1

….

HMM h ,1

HMM 2,1

HMM 1,1

HMM 3,1 HMM 2,2 HMM 1,1

HMM 2,3 HMM 2,1

HMM 2,2 HMM 3,3 HMM 2,4 HMM 1,3

HMM 1,2

HMM 1,2 HMM 10,5

HMM 10,5

HMM 10,4

HMM 9,4

HMM 9,5 HMM 10,4 HMM 8,4

HMM 9,4 HMM 8,3 HMM 7,4 HMM 8,5

HMM 9,5

HMM 2,1

HMM 1,1

HMM 3,1 HMM 2,2 HMM 1,1

HMM 2,3

HMM 2,1

HMM 2,2 HMM 3,3 HMM 2,4 HMM 1,3

HMM 1,2

HMM 1,2

HMM 3,2

1-FW 1-BW FW BW MFW

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 16: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Experimental Factors

MSUMO variant used in search (1-FW, 1-BW, FW, BW,and MFW)

Statistical test used in comparison (k-fold paired t test)

Confidence level (1 − α) of the test (0.95)

Correction used when applying multiple tests (Holmcorrection)

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 17: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

HMM Training

HMM toolbox implemented by Kevin Murphy

Retraining of the architecture when an operator is applied

No probabilities are kept or frozen

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 18: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Sign Language Datasets

Table: Properties of data sets.

size signs featuresIDIAP 490 7 20eNTERFACE’06 760 19 32British 980 91 22Australian 6650 95 8

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 19: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Optimal Architecture

Exhaustive search over 50 architectures

Hidden states from 1 to 10

Gaussian mixtures with 1 to 5 components

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 20: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Comparison Criteria

The accuracy of the estimated architecture

The complexity of the estimated architecture

Computational complexity of the search until anarchitecture is found

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 21: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Two measures used in comparisons

Table: An example for calculation of ranks.

FW BW MFW 1-FW 1-BW

Order 3 2 1 1 2# states 10 5 3 4 5

Rank 5 3.5 1 2 3.5

Order: Has the optimal architecture in position one, secondbest architecture in position two, and the worst architecturein the last position

Rank: Takes also into account how fast we get to the finalstate, which uses the number of states visited as ameasure of the complexity of search

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 22: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Comparison of MSUMO variants using no statisticaltest

Average MFW 1-FW 1-BW FW BW BestRank 2.8 3.9 4.2 2.6 1.6Order 9 37 36 8 5

# states 14 4 2 12 5Error 28.18 36.71 34.28 28.48 28.00 27.17

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 23: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Comparison of MSUMO variants using k -fold paired ttest with no correction

Average MFW 1-FW 1-BW FW BW BestRank 3.2 2.9 3.6 2.9 2.3Order 26 35 29 25 9

# states 5 2 7 4 15Error 35.57 39.67 34.94 35.26 29.57 28.27

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 24: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Experimental SetupComparison of ArchitecturesResults

Comparison of MSUMO variants using k -fold paired ttest with Holm correction

Average MFW 1-FW 1-BW FW BW BestRank 3.0 2.5 3.8 2.7 3.0Order 18 26 24 17 10

# states 5 2 7 4 15Error 36.28 39.67 34.94 35.28 29.6 31.00

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 25: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Summary

Proposed the MSUMO algorithm for model selection inHMM

Five variants including forward/backward search withsingle and multiple operands

Compared architectures w.r.t. expected error, complexityand distance to the optimal algorithm

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 26: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Conclusions

Conservativity of the selection criteria increases, thealgorithm tends to find simpler models.

If only error is important, we should use MSUMO with nostatistical tests.

BW finds the most accurate architectures, but with anincreased number of visited states compared to otheralgorithms.

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 27: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Future Work

Architectures where states contain different gaussianmixtures

Jumps with multiple steps (Heuristics)

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM

Page 28: An Incremental Model Selection Algorithm Based on Cross ...€¦ · Model Selection in HMM Model Selection in HMM Hard to estimate number of hidden states & models in each state Need

MotivationMSUMO: A Meta Learning Algorithm for Architecture Selection

ExperimentsConclusions & Future Work

Questions?

Aydın Ulas, Olcay Taner Yıldız MSUMO: An Incremental Model Selection Algorithm for HMM


Recommended