next up previous
次へ: The path calculation for 上へ: RECOGNITION ALGORITHM REDUCING THE 戻る: RECOGNITION ALGORITHM REDUCING THE

Beam search

Beam search is employed to decrease the computational cost. In Viterbi search, at each time t, we compute the probability of all possible combinations. In comparison with beam search algorithm, at time t, we only compute the probability of most likely word combinations within a beam width $B$. Assuming a large enough beam, we can be confident that the globally optimal Viterbi path almost always exists within that beam. So the beam search algorithm reduces computation while still providing globally optimal solutions. In step5 of the algorithm, the best $B$ value of $G_t(w_1,w_0,i)$ for each frame is calculated. Beam search has the following advantages.

  1. Reduction of Memory and Computational Cost
    For Viterbi search, $ Q \times Q \times l_{w} $ memory cells are needed to store $G_t(w_1,w_0,i)$. The beam search, however only needs $B$. Therefore, the memory needed to use this algorithm is significantly reduced. The computational cost is also reduced by the same ratio.

  2. Reduction of the Access Count to Obtain Trigram Probability
    The trigram probabilities when using the beam search are best stored in a list structure to save memory. Therefore, to obtain the trigram probabilities, the indices needed to be calculated. As a result, with beam search, the total number of indices to obtain trigram probabilities is reduced. As a result, the computational cost is reduced.


next up previous
次へ: The path calculation for 上へ: RECOGNITION ALGORITHM REDUCING THE 戻る: RECOGNITION ALGORITHM REDUCING THE
Jin'ichi Murakami 平成13年2月19日