Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat)
Critical for researchers optimizing LLM sampling strategies for long-context applications.
AI Summary
Research paper shows that sampling methods like top-nsigma maintain long-context generation quality at high temperatures while traditional samplers collapse.
Excerpt
Open-weight language models are widely observed to get worse the longer they generate. Often, attempts to fix this involve more training. At high temperature, The sampler, i.e. the rule that picks the next token out of the model's probabilities, decides whether long and agentic generation survives and/or thrives. We test 29 open-weight models from 1B to 122B parameters on ten established benchmarks plus needle retrieval out to one million tokens, covering SWE-bench Verified coding agents, long c
