Can models think longer by forgetting intermediate reasoning?
Does discarding reasoning tokens outside a fixed prefix and recent window let language models extend their thinking horizon without ballooning memory costs? This matters for scaling test-time compute efficiently.
The paper's central claim is that the usual way of scaling test-time compute, letting the model reason longer while keeping "the entire reasoning trace in memory via full attention," pays for tokens that no longer matter. The authors report that "most intermediate reasoning tokens lose importance as the model continues reasoning," and ask whether retaining them "is worth the cost." Their answer, Prefix Sliding, drops every token that is neither in the prefix nor in the window of the last few thousand tokens. The abstract says this makes existing models 3x faster without training while maintaining performance, and that reinforcement learning with Prefix Sliding can scale reasoning traces beyond a hundred thousand tokens.
The mechanism rests on a division of labor between two kept regions. The prefix "has key instructions and tools available to the model," so the task specification is never evicted, while the recent window holds "the current reasoning the model is working on." Everything between is treated as spent. Because both regions are fixed in size, "the total memory requirement" is capped "regardless of how long the model reasons." The introduction frames the cost side plainly: with full attention, the cost of each new token grows linearly with the tokens already generated. It also lists reliability problems of long contexts, namely distraction by old irrelevant tokens, context poisoning, repetitive loops and lost knowledge. The discussion adds that the method is more efficient than full attention even at horizons of only thousands of tokens, and that ablations show it beating both summarizing intermediate tokens and a vanilla sliding window.
Against the neighbors, this reads as an efficiency counterpart to the accuracy findings. Does more thinking time always improve reasoning accuracy? shows that more thinking tokens can hurt, and Does reasoning ability actually degrade with longer inputs? shows that long inputs hurt reasoning. Prefix Sliding shares their suspicion that a longer trace is not automatically a better one, but it responds by pruning the trace, not by capping the budget. Its nearest architectural contrast is Can neural memory modules scale language models beyond attention limits?, which keeps old information in compressed long-term memory. Prefix Sliding keeps none of it. It also sits alongside Can diffusion models commit to answers before full decoding?, where the saving also comes from noticing that part of the computation is already unnecessary.
The excerpt does not establish how importance was measured, since that analysis is deferred to the paper's section 2. It gives no model names, benchmarks (beyond LiveCodeBench in the limitation), window sizes or accuracy figures behind the 3x and hundred-thousand-token claims, and it does not say whether the accuracy-side problems above are what pruning relieves. The authors themselves flag that "sometimes this is not the case": on LiveCodeBench a larger window is needed to match full attention, so discarded tokens can carry information that later steps need. The defensible reading is that a fixed window suffices for much reasoning but not all, and that window size is a task-dependent setting, not a constant.
Inquiring lines that read this note 7
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
What causes reasoning models to fail or wander off track? How should inference compute be allocated based on problem difficulty? Can inference-time compute effectively substitute for model scale? Why do stronger reasoning capabilities create tradeoffs with instruction following? How do prompt design choices influence model reasoning and performance? Do reasoning traces faithfully reflect actual model reasoning? Why does adding new knowledge through fine-tuning degrade existing capabilities?Related concepts in this collection 4
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Does more thinking time always improve reasoning accuracy?
Explores whether extending a model's thinking tokens linearly improves performance, or if there's a point beyond which additional reasoning becomes counterproductive.
accuracy evidence that longer thinking can hurt, which this paper answers on the cost side by pruning the trace
-
Does reasoning ability actually degrade with longer inputs?
Explores whether modern language models can maintain reasoning performance when processing long contexts, and whether technical capacity translates to practical reasoning capability over extended text.
long inputs degrade reasoning, matching the paper's listed long-context problems such as distraction by old tokens
-
Can neural memory modules scale language models beyond attention limits?
Can separating short-term attention from adaptive long-term memory allow models to efficiently handle context windows exceeding 2M tokens while maintaining competitive performance?
contrast: Titans compresses old context into long-term memory, while Prefix Sliding discards it
-
Can diffusion models commit to answers before full decoding?
Do diffusion language models settle on correct answers early in their refinement process, and if so, can we detect and exploit this convergence to speed up inference without losing quality?
another case of saving inference compute by recognizing part of it is unnecessary
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Prefix Sliding for efficient test-time scaling
- Performative Thinking? The Brittle Correlation Between CoT Length and Problem Complexity
- Demystifying Reasoning Dynamics with Mutual Information: Thinking Tokens are Information Peaks in LLM Reasoning
- What Characterizes Effective Reasoning? Revisiting Length, Review, and Structure of CoT
- Reasoning Models Can Be Effective Without Thinking
- Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens
- The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity
- Think Deep, Not Just Long: Measuring LLM Reasoning Effort via Deep-Thinking Tokens
Original note title
intermediate reasoning tokens quickly lose importance — keeping only the prefix and a recent window caps memory for long test-time reasoning