Beam search's specific beam width, how many candidate partial sequences it actually tracks simultaneously at each generation step, directly trades off final output quality against computational cost, since tracking more parallel candidate sequences generally increases the chance of ultimately finding a higher-probability complete final sequence, but at the direct cost of proportionally more total computation required to track and expand all of those additional parallel candidates. This beam-width tuning tradeoff is why beam search's own specific beam-width hyperparameter must itself be deliberately chosen based on a given application's own specific quality-versus-compute-cost requirements, rather than there existing one single universally correct beam-width value for every possible application.