Skip to main content
1 of 6
Lerner Zhang
  • 6.9k
  • 2
  • 44
  • 81

Why can the Viterbi algorithm find the optimal solution?

It is because of the Generalized Distributive Law.

How can Viterbi become Beam Search?

enter image description here

Source: NLP Programming Tutorial 13 - Beam and A* Search by professor Graham Neubig

Then the reverse is the process to convert beam search into Viterbi.

Lerner Zhang
  • 6.9k
  • 2
  • 44
  • 81