Learning a Continue-Thinking Token for Enhanced Test-Time Scaling

Liran Ringel, Elad Tolochinsky, Yaniv Romano · OpenReview

Abstract

Test-time scaling has emerged as an effective approach for improving language model performance by utilizing additional compute at inference time. Recent studies have shown that overriding end-of-thinking tokens (e.g., replacing "</think>" with "Wait") can extend reasoning steps and improve accuracy. In this work, we explore whether a dedicated continue-thinking token can be learned to trigger extended reasoning. We augment a distilled version of DeepSeek-R1 with a single learned "<|continue-thinking|>" token, training only its embedding via reinforcement learning while keeping the model weights frozen. Our experiments show that this learned token achieves improved accuracy on standard math benchmarks compared to both the baseline model and a test-time scaling approach that uses a fixed token (e.g., "Wait") for budget forcing. In particular, we observe that in cases where the fixed-token approach enhances the base model's accuracy, our method achieves a markedly greater improvement. For example, on the GSM8K benchmark, the fixed-token approach yields a 1.3% absolute improvement in accuracy, whereas our learned-token method achieves a 4.2% improvement over the base model that does not use budget forcing.

Introduction

Reasoning models, such as OpenAI’s o1 or DeepSeek-R1, utilize Chain-of-Thought (CoT) processing to solve complex problems. These models typically signal the conclusion of their internal reasoning with a specific token, such as </think>. However, the decision to stop reasoning is internal to the model and may not always align with the optimal amount of computation required for a correct answer.

A technique known as budget forcing attempts to extend this reasoning by manually replacing the termination token with a natural language prompt like "Wait," forcing the model to continue its monologue. While effective, using a static, human-chosen word is likely suboptimal. This paper investigates whether a specialized, learned signal can more effectively trigger the model to revisit, validate, and refine its reasoning process.

Methodology: Single Token Optimization

The researchers utilized a distilled version of DeepSeek-R1 (the 1.5B Qwen variant) and introduced a new special token: <|continue-thinking|>. The core of the approach is Single Token Optimization, characterized by three main pillars:

  1. Frozen Backbone: All original model weights remain frozen to preserve the model's underlying knowledge.
  2. Learned Embedding: Only the high-dimensional vector (embedding) representing the new <|continue-thinking|> token is trained.
  3. Reinforcement Learning: The embedding is tuned using Group Relative Policy Optimization (GRPO). The reward function is based on the final mathematical correctness of the model's output.

During inference, whenever the model generates a </think> token, it is replaced by the learned <|continue-thinking|> token, forcing the model to extend its reasoning trace until a pre-defined compute budget is reached.

Comparison between standard inference (top) and the proposed method (bottom), where the model is forced to continue thinking by replacing the end-of-thought token with a learned embedding.

Experimental Results

The method was evaluated on four standard mathematical reasoning benchmarks: GSM8K-Platinum, MATH500, AIME24, and AIME25. The results demonstrate that the learned token significantly outperforms both the baseline and the standard "Wait" forcing method.

Performance comparison across four benchmarks. The learned token (star) consistently outperforms the fixed 'Wait' token (triangle) and the baseline (diamond) as the token budget increases.

Key Findings

  • Superiority over Fixed Tokens: On GSM8K, the learned token achieved a 4.2% absolute improvement in accuracy (82.63% vs. 78.41%), whereas the fixed "Wait" token only provided a 1.3% boost. On MATH500, accuracy reached 81.67%.
  • Generalization of Reasoning: Although the token was trained using only a single forced continuation ($C_{max}=1$), the model performed even better when forced to continue multiple times during inference. This suggests the learned embedding captures a general "keep thinking" signal rather than a specific sequence.
  • Self-Correction Triggers: Analysis of the tokens generated immediately after the learned signal showed a high frequency of words like "no," "actually," and "let's." This indicates that the token effectively prompts the model to backtrack and identify errors in its previous logic.
  • Knowledge Limits: Improvements on the highly difficult AIME datasets were marginal. This suggests that for extremely complex problems, the 1.5B parameter model may lack the fundamental knowledge required, meaning additional compute time cannot compensate for a lack of underlying capability.

Conclusion and Future Work

Learning a dedicated continue-thinking token provides a memory-efficient and highly effective way to implement test-time scaling. By optimizing only a single embedding, researchers achieved significant gains without the computational cost of full-model fine-tuning.

Future research may explore whether this approach generalizes to non-mathematical domains such as coding or creative writing. Additionally, the authors suggest that learning multiple distinct tokens for different stages of the reasoning process (e.g., one for initial verification and another for final refinement) could further enhance performance.

Summary updated

BibTeX
@misc{ringel2025learning,
  author = {Liran Ringel and Elad Tolochinsky and Yaniv Romano},
  title = {{Learning a Continue-Thinking Token for Enhanced Test-Time Scaling}},
  year = {2025},
  eprint = {2506.11274},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.11274},
}
Figure