Learning to Insert [PAUSE] Tokens for Better Reasoning

Eunki Kim, Sangryul Kim, James Thorne

Abstract

To enhance reasoning capabilities, previous works have explored incorporating special-purpose tokens into the training process. These strategies strengthen the learning mechanism of transformer-based large language models (LLMs). Building on prior research, in which inserting dummy tokens consecutively just before reasoning steps can enhance effectiveness, we introduce a novel approach termed Dynamic Inserting Tokens Training (DIT). Our method identifies positions within sequences where model confidence is lowest according to token log-likelihood. Strategically inserting [PAUSE] tokens on these positions bolsters the model’s predictive capabilities for subsequent tokens. Experimental results across diverse datasets and models, from the 2.7B model to the 8B model, demonstrate that DIT consistently outperforms traditional fine-tuning and previous token insertion methods. With this simple yet effective method, we achieve accuracy gains of up to 4.7%p on GSM8K, 3.23%p on AQUA-RAT, and pass@1 improvements of up to 3.4%p on MBPP datasets. Our work shows a model-based, dynamic approach rather than a heuristic one, thereby broadening the scope of research in reasoning.

Introduction

Large Language Models (LLMs) typically allocate a uniform computational budget to every token during autoregressive generation. Whether predicting a common stopword or the pivotal step in a complex mathematical derivation, the model performs exactly one forward pass. This fixed-compute paradigm often fails on challenging reasoning tasks where certain tokens require more "thought" than others.

Recent research suggests that injecting dummy tokens (e.g., <pause>) can improve performance by creating additional computational pathways within the transformer's attention layers, effectively delaying the output and allowing for more internal processing. However, previous methods relied on rigid heuristics or expensive pre-training. This paper introduces Dynamic Inserting Tokens Training (DIT), a targeted fine-tuning approach that dynamically allocates extra compute where the model needs it most.

Methodology: Dynamic Inserting Tokens Training (DIT)

DIT moves beyond static rules by using the model's own uncertainty to guide token insertion. The process occurs during the fine-tuning phase in three primary steps:

  1. Uncertainty Identification: The model performs an initial forward pass on the training data to calculate the log-likelihood of each target token.
  2. Strategic Insertion: Tokens with the lowest log-likelihoods—indicating high model uncertainty—are flagged. A fixed number of [PAUSE] tokens (e.g., 5) are then inserted immediately preceding these challenging tokens.
  3. Optimized Fine-Tuning: The model is trained on these augmented sequences. The loss for the [PAUSE] tokens themselves is masked; they serve purely as computational "stepping stones" to improve the prediction of the subsequent difficult token.
Extracted figure from page 1 of Learning to Insert [PAUSE] Tokens for Better Reasoning

This mechanism acts similarly to a focal loss: by inserting a pause before a difficult token, the model is forced to update its parameters more aggressively at these critical reasoning junctions.

Experimental Results

The authors evaluated DIT across three models—Phi-2 (2.7B), Phi-3 Mini (3.8B), and Llama 3 (8B)—on math (GSM8K, AQUA-RAT) and coding (MBPP) benchmarks.

Performance Gains

DIT consistently outperformed standard Supervised Fine-Tuning (SFT) and other insertion baselines (such as random insertion or appending pauses at the end):

  • Phi-2: Demonstrated the most significant gains, with a +4.7%p increase on GSM8K and +3.4%p on MBPP.
  • Phi-3 Mini: Achieved a +3.4%p improvement on MBPP over SFT.
  • Llama 3 8B: Showed robust improvements, including a +1.82%p gain on GSM8K.

Probability Robustness

A key finding is that DIT improves the model's confidence during inference. Analysis shows that the average log-probability of previously "difficult" tokens increases significantly when the model is trained with DIT, making the model more robust at handling complex reasoning steps.

Impact of DIT on inference: increased probability robustness for challenging tokens.

Discussion and Limitations

While DIT offers a simple and effective way to boost reasoning, it introduces some trade-offs:

  • Computational Overhead: The training process requires an additional forward pass to identify low-likelihood tokens, increasing the cost per iteration.
  • Token Noise: In some cases, the introduction of pauses can lead to novel errors not seen in the baseline models.
  • Interpretability: The exact internal mechanics of how transformers leverage these dummy tokens remain a subject for future research.

Despite these limitations, DIT represents a significant step toward model-driven, dynamic compute allocation, proving that "thinking longer" at the right moments is a powerful strategy for complex reasoning.

Summary updated

BibTeX
@inproceedings{kim2025learning,
  author = {Eunki Kim and Sangryul Kim and James Thorne},
  title = {{Learning to Insert [PAUSE] Tokens for Better Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=nlNsK6MX80},
}

Loading related content...

Figure