Sign in

Technology

beam search

Beam search is a heuristic graph search algorithm: it efficiently prunes the search space by retaining only the top *k* (beam width) most promising partial solutions at each step.

Beam search is the go-to heuristic for sequence generation tasks, balancing speed and solution quality. It operates as a pruned breadth-first search: at each level, it expands all successor nodes but only keeps a fixed number, *k* (the beam width), of the highest-scoring candidates. This process drastically reduces memory and time complexity, making it essential for computationally intensive systems like Neural Machine Translation (NMT) and large-scale speech recognition. While it sacrifices guaranteed optimality—unlike an exhaustive search—it consistently delivers high-probability, near-optimal sequences, proving its value in real-world AI applications.

https://www.builtin.com/machine-learning/beam-search-algorithm

What builders pair with beam search

Projects using both technologies. Select a pairing to see a project.

4 more pairings

Pairing: BERT

‌AI for Cultural Preservation: Bridging Generative AI and Classical Methods to Decode East Asian Archives‌

Hong Kong · May 29, 2025

Recent Talks & Demos

Showing 1-1 of 1

Members-Only

Sign in to see who built these projects