Vibeleaderboard
← All Intel
Intel / post

Prefix Sliding: A Cheaper Alternative to Full Attention for Long Reasoning

Source
Stanford AI Lab
Date
Stanford AI Lab@StanfordAILab

Long reasoning traces are expensive because full attention grows with context length. @Muennighoff et al find that maybe LLMs can stand to forget a little… with Prefix Sliding! https://t.co/SFpPUjbycB

Terms in this piece · Glossary
  • attentionThe mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
  • context compactionSummarizing an agent's earlier conversation to free room in the context window so a long session can keep going.
  • context windowThe maximum amount of text a model can consider at once — its working memory for the current conversation or task.
  • inferenceRunning a trained model to get answers — the phase where AI is actually used, as opposed to trained.
Why it matters

Prefix Sliding lets models drop earlier reasoning selectively during long chains, avoiding both the memory blowup of full and the accuracy loss of , without retraining.

More from Stanford AI Lab
Recommended reads
Comments

Checking sign-in…

Loading comments…