AI Dictionary › AI Fundamentals
Beam search (ricerca a fascio)
Beam search is a decoding strategy that, instead of choosing one word at a time, keeps several candidate sequences alive in parallel to find the overall most probable sentence. Imagine exploring a maze while keeping the five most promising paths (the "beam") open at once: at each fork you extend all five, discard the worst, and open new ones. In the end you pick the route with the best total score, not the one that merely looked good at the first step. This avoids the trap of a greedy early choice leading to a dead end.
Beam search matters mostly in machine translation and tasks with a well-defined "correct" answer. In conversational models it is less used because it tends to produce generic, repetitive text, trading naturalness for probability.
From our network
Magellano GPS: Fleet Tracking Made Simple
Real-time GPS tracking, remote engine lock, fuel and CO₂ reporting for your fleet.
Visit magellanogps.com →From the Agora Intelligence blog
📱 Download the Android app (beta) iOS coming soon
Say what you mean. Get what you need.
Grace Certified, the AI coach that trains and certifies your prompt engineering, by Agora Intelligence.