A decoding method that keeps a few top paths at each step.
Beam Search is like a GPS trying a few good routes at once. It kicks out bad routes before you end up behind a mall.
AI uses it for translation and speech text. It is steadier than one guess, but costs more computer work.
Seq2Seq
Beam Search helps Seq2Seq decode better sequences.
Autoregressive Model
Beam Search keeps several paths as the model writes step by step.
Inference
Beam Search runs during Inference, not during training.
Token
Beam Search expands one Token at a time and scores the whole path.