Large language models typically read every token in their input context, even when the information needed to answer a query sits in just a few passages. This indiscriminate processing wastes computation. The authors propose dynamic context cutoff, a method that lets a model self-terminate processing once it has acquired enough task-relevant information.
By analyzing model internals, they found that certain attention heads inherently encode "sufficiency signals" that indicate when critical information has been seen. Lightweight classifiers can detect these signals during inference, allowing the model to stop early. This differs from external compression heuristics because the stopping decision comes from the model's own internal understanding.
Experiments across six question-answering datasets with contexts up to 40K tokens, using LLaMA, Qwen, and Mistral models ranging from 1B to 70B parameters, show a 3.4% accuracy improvement and an average 1.33x token reduction. The method also outperforms other context-efficiency approaches at equivalent token reduction rates.
The authors also observe an emergent scaling phenomenon: smaller models require probing classifiers to detect sufficiency, while larger models can self-assess through prompting alone. This suggests that the ability to know when to stop may arise naturally as models scale. The paper was accepted to NeurIPS 2025.