the.ai

Structure / Decoding

verified

Beam Search Tradeoffs

Widening the beam finds sequences the model likes better. It also, past a small width, produces worse output — a result that looks like a bug and is not. If a better search yields a worse answer, then the thing the search is optimising was not what you wanted, and the search's own limitations had been hiding that.

Viz primitive · budget-splitmodel-errors = 5

model-errors holds 11% of the budget; rest holds the remaining 89%.

Errors that remain because the model's highest-scoring sequence is bad, against errors from the search not finding it, in errors. Drag the beam width up to watch model error take everything — a wider beam does not fix the output, it stops hiding what was wrong with it.

5

Reviewed by opendroid · 2026-08-18