SlideShare a Scribd company logo
1 of 2
Download to read offline
Nidhal Selmi,
Tanishka Singh
Hidden Markov Models
common probabilities
nselmi@asu.edu
Spring 2019
HMM Diagram:
Latent Q: { q1 qt
si
qt+1
sj
qt+2 qT }
o1 ot ot+1 ot+2 oTObserved O: { }
. . .
aij
. . .
. . . . . .
bi(ot) bj(ot+1)
o1:t ot+2:T
ξt(i, j):Probability to be in state si at t, and si+1 at t + 1
Let oi:j denote the sequence of j − i + 1 observations (oi, oi+1, ..., oj−1, oj).
λ is ommitted since the model is a given for all the probabilities presented.
αt(i) =P(o1:t, qt = si) Backward prob of observations 1...t and state j after
βt+1(j) =P(ot+2:T |qt+1 = sj) Forward prob of observations t+2...T given state j
To decompose ξ into a product of backward, forward and transition probabilities,
we use a combination of Bayes theorem (1,4,6) and d-separation (5,8).
ξt(i, j) = P(qt = si, qt+1 = sj|O) =
P(qt = si, qt+1 = sj, O)
P(O)
(1)
P(O)ξt(i, j) = P(qt = si, qt+1 = sj, O) = P(qt = si, qt+1 = sj, o1:t, ot+1:T ) (2)
P(O)ξt(i, j) = P(qt = si, qt+1 = sj, o1:t, ot+1:T ) (3)
P(O)ξt(i, j) = P(o1:t, qt = si , ot+1:T , qt+1 = sj) (4)
P(O)ξt(i, j) = P(o1:t, qt = si)
αt(i)
P(ot+1:T , qt+1 = sj|o1:t, qt = si) (5)
P(O)ξt(i, j) = αt(i)P(ot+1:T , qt+1 = sj|qt = si) (6)
P(O)ξt(i, j) = αt(i)P(ot+1:T |qt+1 = sj, qt = si)P(qt+1 = sj|qt = si)
aij
(7)
P(O)ξt(i, j) = αt(i)aijP(ot+1, ot+2:T |qt+1 = sj, qt = si) (8)
P(O)ξt(i, j) = αt(i)aijP(ot+1|qt+1 = sj)
bj(ot+1)
P(ot+2:T |qt+1 = sj)
βt+1(j)
(9)
ξt(i, j) =
αt(i)aijbj(ot+1)βt+1(j)
P(O|λ)
(10)
1
Nidhal Selmi,
Tanishka Singh
Hidden Markov Models
common probabilities
nselmi@asu.edu
Spring 2019
βt(i) Forward probability recursively in terms of βt+1(j)
βt(i) = P(ot+1:T |qt = si)
βt(i) = P(ot+1, ot+2:T |qt = si) (separate ot+1 given qt)
βt(i) = P(ot+1|qt = si)P(ot+2:T |qt = si)
Marginalizing over all next possible states j (with transitions and observations) given state i.
βt(i) =
N
j=1
P(qt+1 = sj|qt = si)P(ot+1|qt+1 = sj)P(ot+2:T |qt+1 = sj)
βt(i) =
N
j=1
aijbj(ot+1)βt+1(j)
γt(j):Probability to be in state sj given observations O
γt(j) = P(qt = sj|O) =
P(qt = sj, O)
P(O)
(Bayes)
P(O)γt(j) = P(qt = sj, O)
P(O)γt(j) = P(qt = sj, o1:t, ot+1:T ) (split O)
P(O)γt(j) = P(o1:t, qt = sj, ot+1:T )
P(O)γt(j) = P(o1:t, qt = sj)P(ot+1:T |o1:t, qt = sj) (Bayes)
P(O)γt(j) = P(o1:t, qt = sj)P(ot+1:T |qt = sj) (separate o1:t)
γt(j) =
αt(j)βt(j)
P(O|λ)
References
[1] L. R. Rabiner, ”A tutorial on hidden Markov models and selected applications in speech
recognition,” in Proceedings of the IEEE, vol. 77, no. 2, pp. 257-286, Feb. 1989.
2

More Related Content

Similar to Hidden Markov Models common probability formulas

確率的推論と行動選択
確率的推論と行動選択確率的推論と行動選択
確率的推論と行動選択Masahiro Suzuki
 
An Introduction to Hidden Markov Model
An Introduction to Hidden Markov ModelAn Introduction to Hidden Markov Model
An Introduction to Hidden Markov ModelShih-Hsiang Lin
 
Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...IJRTEMJOURNAL
 
Introduction to Polyhedral Compilation
Introduction to Polyhedral CompilationIntroduction to Polyhedral Compilation
Introduction to Polyhedral CompilationAkihiro Hayashi
 
Control as Inference (強化学習とベイズ統計)
Control as Inference (強化学習とベイズ統計)Control as Inference (強化学習とベイズ統計)
Control as Inference (強化学習とベイズ統計)Shohei Taniguchi
 
Notes.on.popularity.versus.similarity.model
Notes.on.popularity.versus.similarity.modelNotes.on.popularity.versus.similarity.model
Notes.on.popularity.versus.similarity.modelsun peiyuan
 
Query Suggestion @ tokyotextmining#2
Query Suggestion @ tokyotextmining#2Query Suggestion @ tokyotextmining#2
Query Suggestion @ tokyotextmining#2ybenjo
 
Notes - Probability, Statistics and Data Visualization.pdf
Notes - Probability, Statistics and Data Visualization.pdfNotes - Probability, Statistics and Data Visualization.pdf
Notes - Probability, Statistics and Data Visualization.pdfAmaanAnsari49
 
Design and Analysis of Algorithms - Divide and Conquer
Design and Analysis of Algorithms - Divide and ConquerDesign and Analysis of Algorithms - Divide and Conquer
Design and Analysis of Algorithms - Divide and ConquerSeshu Chakravarthy
 
Simplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsSimplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsPK Lehre
 
Simplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsSimplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsPer Kristian Lehre
 
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended ProblemsSara Alvarez
 
2003 Ames.Models
2003 Ames.Models2003 Ames.Models
2003 Ames.Modelspinchung
 
情報幾何の基礎とEMアルゴリズムの解釈
情報幾何の基礎とEMアルゴリズムの解釈情報幾何の基礎とEMアルゴリズムの解釈
情報幾何の基礎とEMアルゴリズムの解釈Fukumu Tsutsumi
 
7. toda yamamoto-granger causality
7. toda yamamoto-granger causality7. toda yamamoto-granger causality
7. toda yamamoto-granger causalityQuang Hoang
 

Similar to Hidden Markov Models common probability formulas (20)

確率的推論と行動選択
確率的推論と行動選択確率的推論と行動選択
確率的推論と行動選択
 
An Introduction to Hidden Markov Model
An Introduction to Hidden Markov ModelAn Introduction to Hidden Markov Model
An Introduction to Hidden Markov Model
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...Existence of positive solutions for fractional q-difference equations involvi...
Existence of positive solutions for fractional q-difference equations involvi...
 
ตรรกวิทยา
ตรรกวิทยาตรรกวิทยา
ตรรกวิทยา
 
HMM, MEMM, CRF メモ
HMM, MEMM, CRF メモHMM, MEMM, CRF メモ
HMM, MEMM, CRF メモ
 
Introduction to Polyhedral Compilation
Introduction to Polyhedral CompilationIntroduction to Polyhedral Compilation
Introduction to Polyhedral Compilation
 
Control as Inference (強化学習とベイズ統計)
Control as Inference (強化学習とベイズ統計)Control as Inference (強化学習とベイズ統計)
Control as Inference (強化学習とベイズ統計)
 
Notes.on.popularity.versus.similarity.model
Notes.on.popularity.versus.similarity.modelNotes.on.popularity.versus.similarity.model
Notes.on.popularity.versus.similarity.model
 
Hidden markovmodel
Hidden markovmodelHidden markovmodel
Hidden markovmodel
 
convulution
convulutionconvulution
convulution
 
Query Suggestion @ tokyotextmining#2
Query Suggestion @ tokyotextmining#2Query Suggestion @ tokyotextmining#2
Query Suggestion @ tokyotextmining#2
 
Notes - Probability, Statistics and Data Visualization.pdf
Notes - Probability, Statistics and Data Visualization.pdfNotes - Probability, Statistics and Data Visualization.pdf
Notes - Probability, Statistics and Data Visualization.pdf
 
Design and Analysis of Algorithms - Divide and Conquer
Design and Analysis of Algorithms - Divide and ConquerDesign and Analysis of Algorithms - Divide and Conquer
Design and Analysis of Algorithms - Divide and Conquer
 
Simplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsSimplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution Algorithms
 
Simplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution AlgorithmsSimplified Runtime Analysis of Estimation of Distribution Algorithms
Simplified Runtime Analysis of Estimation of Distribution Algorithms
 
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems8 Continuous-Time Fourier Transform Solutions To Recommended Problems
8 Continuous-Time Fourier Transform Solutions To Recommended Problems
 
2003 Ames.Models
2003 Ames.Models2003 Ames.Models
2003 Ames.Models
 
情報幾何の基礎とEMアルゴリズムの解釈
情報幾何の基礎とEMアルゴリズムの解釈情報幾何の基礎とEMアルゴリズムの解釈
情報幾何の基礎とEMアルゴリズムの解釈
 
7. toda yamamoto-granger causality
7. toda yamamoto-granger causality7. toda yamamoto-granger causality
7. toda yamamoto-granger causality
 

Recently uploaded

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 

Recently uploaded (20)

GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 

Hidden Markov Models common probability formulas

  • 1. Nidhal Selmi, Tanishka Singh Hidden Markov Models common probabilities nselmi@asu.edu Spring 2019 HMM Diagram: Latent Q: { q1 qt si qt+1 sj qt+2 qT } o1 ot ot+1 ot+2 oTObserved O: { } . . . aij . . . . . . . . . bi(ot) bj(ot+1) o1:t ot+2:T ξt(i, j):Probability to be in state si at t, and si+1 at t + 1 Let oi:j denote the sequence of j − i + 1 observations (oi, oi+1, ..., oj−1, oj). λ is ommitted since the model is a given for all the probabilities presented. αt(i) =P(o1:t, qt = si) Backward prob of observations 1...t and state j after βt+1(j) =P(ot+2:T |qt+1 = sj) Forward prob of observations t+2...T given state j To decompose ξ into a product of backward, forward and transition probabilities, we use a combination of Bayes theorem (1,4,6) and d-separation (5,8). ξt(i, j) = P(qt = si, qt+1 = sj|O) = P(qt = si, qt+1 = sj, O) P(O) (1) P(O)ξt(i, j) = P(qt = si, qt+1 = sj, O) = P(qt = si, qt+1 = sj, o1:t, ot+1:T ) (2) P(O)ξt(i, j) = P(qt = si, qt+1 = sj, o1:t, ot+1:T ) (3) P(O)ξt(i, j) = P(o1:t, qt = si , ot+1:T , qt+1 = sj) (4) P(O)ξt(i, j) = P(o1:t, qt = si) αt(i) P(ot+1:T , qt+1 = sj|o1:t, qt = si) (5) P(O)ξt(i, j) = αt(i)P(ot+1:T , qt+1 = sj|qt = si) (6) P(O)ξt(i, j) = αt(i)P(ot+1:T |qt+1 = sj, qt = si)P(qt+1 = sj|qt = si) aij (7) P(O)ξt(i, j) = αt(i)aijP(ot+1, ot+2:T |qt+1 = sj, qt = si) (8) P(O)ξt(i, j) = αt(i)aijP(ot+1|qt+1 = sj) bj(ot+1) P(ot+2:T |qt+1 = sj) βt+1(j) (9) ξt(i, j) = αt(i)aijbj(ot+1)βt+1(j) P(O|λ) (10) 1
  • 2. Nidhal Selmi, Tanishka Singh Hidden Markov Models common probabilities nselmi@asu.edu Spring 2019 βt(i) Forward probability recursively in terms of βt+1(j) βt(i) = P(ot+1:T |qt = si) βt(i) = P(ot+1, ot+2:T |qt = si) (separate ot+1 given qt) βt(i) = P(ot+1|qt = si)P(ot+2:T |qt = si) Marginalizing over all next possible states j (with transitions and observations) given state i. βt(i) = N j=1 P(qt+1 = sj|qt = si)P(ot+1|qt+1 = sj)P(ot+2:T |qt+1 = sj) βt(i) = N j=1 aijbj(ot+1)βt+1(j) γt(j):Probability to be in state sj given observations O γt(j) = P(qt = sj|O) = P(qt = sj, O) P(O) (Bayes) P(O)γt(j) = P(qt = sj, O) P(O)γt(j) = P(qt = sj, o1:t, ot+1:T ) (split O) P(O)γt(j) = P(o1:t, qt = sj, ot+1:T ) P(O)γt(j) = P(o1:t, qt = sj)P(ot+1:T |o1:t, qt = sj) (Bayes) P(O)γt(j) = P(o1:t, qt = sj)P(ot+1:T |qt = sj) (separate o1:t) γt(j) = αt(j)βt(j) P(O|λ) References [1] L. R. Rabiner, ”A tutorial on hidden Markov models and selected applications in speech recognition,” in Proceedings of the IEEE, vol. 77, no. 2, pp. 257-286, Feb. 1989. 2