Week 5 Flashcards
What’s the time complexity of the algorithm used for local decoding?
Polynomial time
What are the three steps in the local decoding algorithm?
<ul>
<li>Calculate the forward probability</li>
<li>Calculate the backward probability</li>
<li>Combine both to find retrospective distribution</li>
</ul>
How do we intuitively decode t?
Fuse information from the past observations and the future observations
What does the forward probability calculate?
The sum of probabilities of all paths from given sequence of observable symbols
What is the difference between local decoding forward and viterbi algorithm?
Viterbi takes the max where forward algorithm sums
What is unsupervised learning?
Estimating the HMMs parameters without annotated tags
What is replaced in the Baum Welch algorithm?
The counts are replaced with their estimates
What are the three stages in the Baum Welch algorithm?
<ul> <li>Initialisation</li> <li>E step</li> <li>M step</li> </ul>
Describe the initialisation step in the Baum Welch algorithm
Randomly guess some starting value for A0 and B0
Describe the E step in the Baum Welch algorithm
<ul>
<li>Apply forward and backward probabilities to calculate</li>
<li>Calculate retrospective distribution</li>
<li>Calculate pseudo transition estimate for all i, q, q'</li>
</ul>
Describe the M step in the Baum Welch algorithm
<ul> <li>Re-estimate A for all q, q'</li> <li>Re-estimate b for all q,w</li> <li>Update iteration counter</li> </ul>
How does the likelihood change with each re-estimation step in the Baum Welch algorithm?
It increases, till the likelihood converges for the E and the M step
What are the four probabilities for each pair of characters in P(O|C)?
<ul> <li>rev(i,e)</li> <li>insp(p,h)</li> <li>del(k,n)</li> <li>sub(f,v)</li> </ul>
What does rev(i,e) indicate in misspelling probabilities?
Order has been reversed : ie -> ei
What does ins(p,h) indicate in misspelling probabilities?
Second h is inserted after the first letter :
p -> ph
What does del(k,n) indicate in misspelling probabilities?
The first letter, preceeding the second is deleted : kn -> n