← Back to feed

Long-Context Generation Is a Sampling Problem (When You Turn Up the Heat)

L5 · ResearcherResearcharXiv· 11/17/2026

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

Read Original
0 upvotes · 0 downvotes · 1 min read

Related Articles

L5 · ResearcherResearcharXiv
RAG in a Trenchcoat: When Minimal Memory Is Enough for Agentic Systems, and When It Isn't

Researchers challenge conventional agentic memory architectures, showing minimal RAG systems match SOTA benchmarks while introducing adversarial probes that reveal different memory designs excel at different agentic tasks.

L4 · DeveloperResearchHacker News
Harvard researchers find AI coding agents shifted the bottleneck to code review

Harvard study of 718 companies found AI coding agents increased code output by 30% but created 49% longer review times without increasing finished work.

L5 · ResearcherResearcharXiv
Fine-Grained Japanese Clinical Named Entity Recognition: A Controlled Comparison of BERT and Open-Weight Large Language Models

Researchers compare BERT and open-weight LLMs on Japanese clinical NER, finding fine-tuned LLMs with adequate generation capacity outperform BERT baselines.

L5 · ResearcherResearcharXiv
Communicate the Change: Efficient Expert Parallelism via Activation Compression

EchoMoE reduces MoE model communication overhead by 58% via compressed activation differences, improving throughput by 22.6% while maintaining performance.

L5 · ResearcherResearcharXiv
An Optimization Framework for Denoising Generation

Researchers propose an optimization framework for denoising generation that establishes convergence guarantees and diversity preservation in gradient ascent trajectories.