Beam search is a decoding algorithm that keeps track of the k most probable partial sequences (beams) at each generation step, rather than just the single best option. It balances between greedy search (k=1) and exhaustive search.
Beam search is commonly used for translation and summarization where output quality matters more than diversity.