Abstract
One of the most striking findings in modern research on large language models(LLMs) is that scaling up compute during training leads to better results.However, less attention has been given to the benefits of scaling computeduring inference. This survey focuses on these inference-time approaches. Weexplore three areas under a unified mathematical formalism: token-levelgeneration algorithms, meta-generation algorithms, and efficient generation.Token-level generation algorithms, often called decoding algorithms, operate bysampling a single token at a time or constructing a token-level search spaceand then selecting an output. These methods typically assume access to alanguage model's logits, next-token distributions, or probability scores.Meta-generation algorithms work on partial or full sequences, incorporatingdomain knowledge, enabling backtracking, and integrating external information.Efficient generation methods aim to reduce token costs and improve the speed ofgeneration. Our survey unifies perspectives from three research communities:traditional natural language processing, modern LLMs, and machine learningsystems.