paper-with-me

Papers

Prefix Sliding for efficient test-time scaling

2026-08-26 · Niklas Muennighoff, Zhengyang Wang, Zeyi Chen, Weijia Shi, Binyuan Hui, John Yang, Dapeng Jiang, Mika Senghaas, Fares Obeid, Johannes Hagemann, Sami Jaghouar, Ludwig Schmidt, Percy Liang, Jason Wei, Andrew Y. Ng, Luke Zettlemoyer, Yejin Choi, Mike Lewis arxiv

Test-time scaling uses extra test-time compute to improve performance, such as letting language models reason longer when solving a problem. As models keep the entire reasoning trace in memory via full attention, hard tasks that need long thinking can be prohibitively expensive. However, we find most intermediate reasoning tokens lose importance as the model continues reasoning. This calls into question whether retaining them is worth the cost. Based on this insight, we propose Prefix Sliding, which discards tokens during reasoning that are not part of the prefix or the window of the last few thousand tokens. The prefix has key instructions and tools available to the model, while the most recent tokens are the current reasoning the model is working on. This caps the total memory requirement regardless of how long the model reasons, allowing for efficient long-horizon test-time scaling. Without training, Prefix Sliding can make existing models 3x faster while maintaining performance. Training with Prefix Sliding using reinforcement learning can achieve better performance by enabling scaling to reasoning traces beyond a hundred thousand tokens. Ablations show Prefix Sliding outperforms summarizing intermediate tokens or vanilla sliding window. Our code is at https://github.com/Muennighoff/prefix-sliding

📄 PDF Abstract BibTeX arXiv:2608.26070

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Maximizing Prefix-Confidence at Test-Time Efficiently Improves Mathematical Reasoning

2025-07-24 · Matthias Otth, Jonas Hübotter, Ido Hakimi, Andreas Krause arxiv

Recent work has shown that language models can self-improve by maximizing their own confidence in their predictions, without relying on external verifiers or reward signals. In this work, we study the test-time scaling o…

Mathematical Reasoning

Beyond the Frontier: Stochastic Backtracking for Efficient Test-Time Scaling

2026-05-24 · Dao Tran, Duc Anh Le, Ngoc Luu, Quan Pham 외 arxiv

Test-time scaling improves language model reasoning by spending additional compute to explore multiple solution trajectories. The key challenge is to maximize accuracy while minimizing the total number of generated token…

Mathematical Reasoning

Multilingual Test-Time Scaling via Initial Thought Transfer

2025-05-21 · Prasoon Bajpai, Tanmoy Chakraborty

Test-time scaling has emerged as a widely adopted inference-time strategy for boosting reasoning performance. However, its effectiveness has been studied almost exclusively in English, leaving its behavior in other langu…

Revisiting Test-Time Scaling: A Survey and a Diversity-Aware Method for Efficient Reasoning

2025-06-05 · Ho-Lam Chung, Teng-Yun Hsiao, Hsiao-Ying Huang, Chunerh Cho 외

Test-Time Scaling (TTS) improves the reasoning performance of Large Language Models (LLMs) by allocating additional compute during inference. We conduct a structured survey of TTS methods and categorize them into samplin…

DiversityMathematical Reasoning

ScaMo: Exploring the Scaling Law in Autoregressive Motion Generation Model

2024-12-19 · CVPR 2025 1 · Shunlin Lu, Jingbo Wang, Zeyu Lu, Ling-Hao Chen 외

The scaling law has been validated in various domains, such as natural language processing (NLP) and massive computer vision tasks; however, its application to motion generation remains largely unexplored. In this paper,…

Motion Generation