Skip to content
AImpact
IT EN
Inference Intermediate Also known as: Ricerca a fascio

Beam Search

A decoding algorithm that keeps the N most likely sequences in parallel and finally picks the one with the best overall score.

ShareLinkedInX

In practice

It produces "safer" results than greedy, but tends to be repetitive and unnatural on long text. It used to be standard for machine translation; in modern conversational LLMs it is mostly replaced by top-p sampling. It still helps on structured tasks like translation and summarization.

Related terms

Seen in the wild

0 entries mentioning it

No archive entry mentions it explicitly. Appears in broader contexts.

← All terms