Activation Control for Efficiently Eliciting Long Chain-of-thought Ability of Language Models

Zekai Zhao, Qi Liu, Kun Zhou, Zihan Liu, Yifei Shao, Zhiting Hu, Biwei Huang

TL;DR

Eliciting long chain-of-thought (CoT) reasoning in large language models usually requires computationally expensive reinforcement learning or supervised fine-tuning. This paper reveals that long CoT capabilities are governed by a sparse set of high-impact activations concentrated in the model's final layers. By dynamically amplifying these activations and strategically inserting "wait" tokens at inference time, the authors successfully trigger complex, self-reflective reasoning completely training-free, or via a highly parameter-efficient tuning method that updates just 1.51% of parameters.

What Problem Does This Paper Address?

State-of-the-art reasoning models like OpenAI-o1 and DeepSeek-R1 achieve remarkable accuracy on complex tasks by executing human-like "slow thinking"—deliberating, verifying intermediate steps, and correcting their own mistakes before producing a final answer. However, unlocking this long CoT behavior typically demands massive, expertly annotated datasets for supervised fine-tuning (SFT) or complex, unstable reinforcement learning (RL) pipelines.

The authors address a fundamental question: Is long CoT reasoning an entirely new capability injected during post-training, or does it already lie latent within base models? By investigating the internal activation mechanics of LLMs, they target a more efficient way to "wake up" and control these latent reasoning pathways without the prohibitive costs of standard training.

Methods

The researchers first use contrastive analysis (comparing model activations on correct, long, self-reflective answers versus short, incorrect ones) to pinpoint the exact internal features tied to long CoT. Based on their findings, they introduce two novel approaches:

  1. Training-free Activation Control (EELo-CoT): The authors discovered that key activations spike sharply after specific trigger words (like "Wait") and then decay exponentially. They model this behavior using a simple logarithmic decay function: $$f(t) = a - b \cdot \log(t + c)$$ During inference, when the model generates a complex reasoning step (triggered by a heuristic rule tracking the density of mathematical digits), the system forces a self-reflection phase by inserting a "wait" token. It then dynamically scales up the identified key activations according to the decay function, guiding the model into an extended deliberation mode without modifying any weights.

  2. Parameter-Efficient Fine-Tuning (PEFT): For scenarios where training data is available, they design a lightweight architecture. Instead of standard LoRA which applies uniform rank updates across all layers, they place a specialized, learnable Activation Amplification Module (a gated linear layer with a sigmoid function) exclusively on the final layer's MLP, combined with low-rank LoRA layers in earlier blocks. This approach freezes the rest of the network and trains only 1.51% of the total parameters.

Datasets

The approach was evaluated across several rigorous mathematical and scientific reasoning benchmarks:

  • MATH (Math500): A subset of 500 high-school level competition problems spanning algebra, geometry, and calculus.
  • AMC23: Problems from the 2023 American Mathematics Competitions (AMC 10 and 12).
  • GPQA-Diamond: A highly challenging, graduate-level Google-proof science Q&A benchmark.
  • LIMO: A dataset containing 817 curated high-quality mathematical problems, used specifically to train and validate their parameter-efficient fine-tuning method.

Key Insights and Ideas

  • Localization in the Final Layers: Long CoT activations are highly localized. Virtually no reasoning-specific activation differences occur before the 18th layer of a 28-layer model. More than 50% of the critical activations reside entirely within the very last layer.
Figure 1: (a) Sparse Activations when processing Long CoT
  • Predictable Trajectories: The internal mechanics of self-reflection are not chaotic. The activation values follow a predictable, mathematically modelable trajectory: a sharp rise immediately following a trigger token, followed by a smooth logarithmic decay.
Figure 4: (a) Wait Token Insert Induces Long-CoT Reasoning
  • The "Dead" Activations of Instruct Models: Standard instruction-tuned models (like Qwen2.5-7B-Instruct) exhibit almost completely flat, "inactive" lines for these specific reasoning pathways compared to base models. This suggests that aggressive optimization for short, direct answers during standard SFT can accidentally suppress or "kill" latent slow-thinking capabilities.

Key Results

The training-free EELo-CoT method consistently outperformed standard base models and simple heuristic baselines:

  • Qwen2.5-7B-base: On Math500, accuracy jumped from 69.20% to 72.00%, while the self-reflection rate skyrocketed from 10.20% to 49.40%.
  • AMC23: EELo-CoT boosted Qwen2.5-7B-base accuracy from 45.00% to 57.50%.

When evaluating their Parameter-Efficient Fine-Tuning method on Qwen2.5-32B-Instruct using the LIMO dataset, the results challenged conventional wisdom about large-scale training:

  • Updating just 1.51% of parameters matched or exceeded full-parameter fine-tuning (100%) and standard LoRA (6.15%).
  • On the science-focused GPQA benchmark, their method achieved 70.02% accuracy, outperforming both standard LoRA (66.17%) and full fine-tuning (69.19%), proving that steering localized activation patterns generalizes well outside the pure math domain.

Limitations and Future Work

While highly effective, the current activation intervention relies on relatively simple, hardcoded triggers (such as counting digits to insert a "wait" token). This heuristic approach might fail to capture more subtle opportunities for self-correction. The authors note that future work should explore more adaptive, context-aware trigger mechanisms.

Additionally, due to hardware constraints, the study was limited to models up to 32 billion parameters. Testing whether these localized activation patterns hold true in ultra-large models (72B+) or Mixture-of-Experts (MoE) architectures remains an open avenue for exploration.

Summary updated

BibTeX
@inproceedings{zhao2025activation,
  author = {Zekai Zhao and Qi Liu and Kun Zhou and Zihan Liu and Yifei Shao and Zhiting Hu and Biwei Huang},
  title = {{Activation Control for Efficiently Eliciting Long Chain-of-thought Ability of Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=XNo4yS9n1k},
}
Figure