Expanding Computation Spaces of LLMs at Inference Time

Yoonna Jang, Kisu Yang, Isabelle Augenstein · DOI

Recent advancements in Large Language Models (LLMs) have highlighted the power of Chain-of-Thought (CoT) prompting, where models are encouraged to "think" step-by-step. While this is often attributed to logical decomposition, a competing hypothesis suggests that the primary benefit comes from the increased number of forward passes—effectively expanding the model's computational budget. This paper investigates whether off-the-shelf LLMs can leverage "filler tokens" (e.g., spaces, periods) inserted at inference time to boost reasoning performance without any additional training.

The Problem: Fixed Computation in Autoregressive Models

Standard autoregressive decoding generates one token per forward pass. For complex reasoning tasks, the amount of computation is strictly tied to the number of output tokens. If a model is forced to answer immediately, it may lack the necessary "internal processing time" to arrive at the correct conclusion. Previous research has explored training models with special <pause> tokens, but this study asks if existing, unmodified models can utilize familiar characters as a temporary scratchpad to defer final predictions.

Methodology: Inference-Time Padding

The core idea is to artificially expand the sequence length before the model generates a final answer. By inserting a sequence of $M$ familiar filler tokens, the model is given more "time" to process the input context through its transformer layers before committing to a prediction.

Researchers evaluated causal decoder-only LLMs ranging from 1.7B to 32B parameters, including SmolLM2, Gemma-3, Llama-3.1, and Qwen2.5. The methodology involved a simple inference-time modification: inserting strings of filler tokens like (space), \n, \t, ., <pad>, or - into the prompt. These tokens were typically placed immediately before the final answer trigger (e.g., "Answer:"). The number of tokens varied from 16 to over 8,000 to find the optimal "thinking" window.

Figure 1: Comparison of standard causal attention (a) versus the proposed filler token mechanism (b, c). The filler tokens provide additional computation steps before the final prediction.

Key Insights: How Models "Think"

The study reveals several critical insights into how LLMs handle these expanded spaces:

  1. Attention Isn't Idle: Attention map visualizations show that middle layers of the network use these filler tokens to attend back to the original question and potential answer choices. This suggests the model is performing internal reasoning or state refinement during these extra forward passes rather than simply ignoring the padding.
  2. David vs. Goliath: Smaller models (e.g., 1.7B parameters) benefit significantly more than larger ones. This suggests that smaller models are "computationally starved" and the extra tokens compensate for their lower parameter count by providing more sequential processing steps. Larger models (like 32B) already possess high internal capacity, so their gains are more marginal.
  3. Placement is Crucial: The filler tokens must be placed before the final answer-triggering token. If placed after, the model tends to continue generating filler tokens instead of transitioning to the actual answer.
  4. Emergent Ability: Analysis of training checkpoints indicates that this ability to utilize filler tokens emerges in the mid-to-late stages of pretraining, once the model has acquired sufficient language proficiency.

Empirical Results

The empirical results across benchmarks like MMLU and ARC demonstrate clear performance peaks for specific token counts.

Figure 6: Accuracy on MMLU and ARC benchmarks across different models and filler token counts. Note the significant gains for smaller models and the eventual performance drop-off as token counts exceed 1024.

As shown in Figure 6, the SmolLM2-1.7B model achieved a remarkable 12.3% improvement on MMLU by simply adding period tokens. However, the results also highlight a "limit to thinking." Performance generally peaks between 64 and 256 tokens. Beyond 1,024 tokens, accuracy drops sharply across almost all models, likely due to the "lost-in-the-middle" effect or the model's inability to handle long, repetitive sequences of meaningless tokens that it never encountered during training.

Limitations and Future Work

While inference-time filler tokens offer a "free" performance boost, the effect is highly model-dependent. There is no universal "best" filler token or optimal count. For example, while periods worked well for SmolLM2, Llama-3.1 showed better results with <pad> (which it treats as <eos>). Furthermore, the strategy cannot be scaled infinitely; excessive padding eventually degrades performance.

Future work could explore lightweight fine-tuning methods to extend the threshold before performance degrades, or developing dynamic routing mechanisms to determine the necessary amount of "thinking time" for a specific query. This research underscores a fundamental property of transformer architectures: the decoupling of parameter count from total computation, suggesting that even small models have untapped potential if given the right "space" to think.

Summary updated

BibTeX
@misc{jang2025expanding,
  author = {Yoonna Jang and Kisu Yang and Isabelle Augenstein},
  title = {{Expanding Computation Spaces of LLMs at Inference Time}},
  year = {2025},
  eprint = {2509.24884},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.24884},
}
Figure