Zenaique
Glossary · Inference

Beam Search

Also known as: Beam decoding

Keep the K best partial sequences at each step; deterministic, breadth-first decoding.

A deterministic decoding strategy that maintains the top-K highest-probability partial sequences (beams) at each step. Trades exploration for breadth; often produces bland or repetitive output for open-ended generation.

In practice

Standard for translation/summarization, rarely for chat. Interviews probe why temperature sampling won for open-ended generation.

How it compares

Beam search is deterministic and breadth-first; temperature sampling is stochastic and single-path.

Comparisons that include Beam Search

Related topics

Related terms