Abstract
Motivated by the puzzling observation that inserting long sequences of meaningless tokens before a query prompt can consistently enhance Large Language Model (LLM) reasoning performance, this work analyzes the underlying mechanism driving this phenomenon. We find that these improvements arise from a redistribution of activations in the LLM's MLP layers, where near-zero activations become less frequent while large-magnitude activations increase. This redistribution enhances the model's representational capacity by suppressing weak signals and promoting stronger, more informative ones. Building on this insight, we propose the Activation Redistribution Module (ARM), a lightweight inference-time technique that modifies activations directly without altering the input sequence. ARM adaptively identifies near-zero activations after the non-linear function and shifts them outward, implicitly reproducing the beneficial effects of meaningless tokens in a controlled manner. Extensive experiments across diverse benchmarks and model architectures show that ARM consistently improves LLM performance on reasoning tasks while requiring only a few lines of code to implement.
Introduction
Large Language Models (LLMs) are highly sensitive to prompt structure. While techniques like "Chain-of-Thought" prompting have become standard, researchers recently discovered a counterintuitive "meaningless-token effect": inserting long sequences of filler characters (e.g., "////") into a prompt can significantly boost reasoning performance. This study investigates why adding semantic noise helps models solve complex problems and proposes a principled method to harness this effect without manual prompt engineering.
Mechanistic Analysis: From Attention Sinks to Activation Shifts
Our analysis reveals that meaningless tokens act as "attention sinks." While they contribute no semantic value, they trigger an affine transformation (a shift and scale) of the attention outputs in the model's initial layers. This shift propagates to the Multi-Layer Perceptron (MLP) layers, leading to a fundamental redistribution of activation values.
As shown in the figure above, the insertion of meaningless tokens pushes the activation distribution away from zero. Specifically, it reduces the frequency of "near-zero" activations and increases the proportion of neurons in higher-magnitude ranges. We hypothesize that reasoning-critical tokens—such as digits and mathematical operators—often suffer from "under-activation." By redistributing these values, the model effectively "wakes up" these critical neurons, strengthening their internal representation.
The Activation Redistribution Module (ARM)
To replicate this benefit more reliably, we developed the Activation Redistribution Module (ARM). Instead of modifying the input text, ARM operates during the forward pass in the model's first layer:
- Identification: It adaptively identifies a specific proportion of activations that fall near zero following the non-linear activation function (e.g., SiLU).
- Extrapolation: It shifts these values outward, away from zero, mimicking the effect of meaningless tokens.
- Implementation: This technique requires no additional training and introduces negligible latency, making it a highly efficient inference-time enhancement.
Empirical Results and Cross-Model Analysis
We evaluated ARM across various architectures, including Qwen2.5, Llama-3.1, and Gemma3. The results demonstrate consistent gains in reasoning-heavy benchmarks such as MATH-500 and AIME. For instance, ARM improved Qwen2.5-Math-1.5B's performance on MATH-500 from 63.9% to 65.9% and provided a significant boost on the challenging AIME 2024 benchmark (from 14.4% to 18.9%).
As illustrated in the cross-model comparison, the presence of meaningless tokens consistently alters the attention weight landscape. This effect is most pronounced in the first layer; by the time information reaches deeper layers, the semantic context often washes out the initial shift. Furthermore, the method appears specific to reasoning; benchmarks focused on factual recall (like MMLU) showed minimal improvement, suggesting the benefit lies in reorganizing internal logic rather than accessing stored knowledge.
Conclusion and Future Work
This work provides a mechanistic explanation for the unexpected benefits of meaningless tokens and introduces ARM as a stable, principled alternative. While the current study focuses on the first layer and smaller-to-mid-sized models (1.5B to 8B), future research may explore multi-layer redistribution and optimization for larger, more saturated models. ARM offers a simple yet effective path toward enhancing LLM reasoning through the controlled manipulation of internal activation dynamics.
Summary updated