Self-Route: Automatic Mode Switching via Capability Estimation for Efficient Reasoning

Yang He, Xiao Ding, Bibo Cai, Yufei Zhang, Kai Xiong, Zhouhao Sun, Bing Qin, Ting LiuarXiv 2025 · DOI

Abstract

Reasoning Large Language Models (RLLMs) often suffer from "overthinking," generating excessive tokens for simple tasks. We present Self-Route, a dynamic framework that uses internal model states to switch between efficient Short Chain-of-Thought (CoT) and intensive Long CoT. By leveraging a lightweight pre-inference step and a linear router trained on a "dense difficulty gradient" dataset (Gradient-10K), Self-Route reduces token consumption by 30–55% with minimal accuracy loss (<2%).

Introduction: The Overthinking Problem

The evolution of models like OpenAI’s o1 and DeepSeek-R1 has popularized "test-time scaling," where models are encouraged to "think" longer to solve complex problems. However, this leads to significant computational waste when models generate thousands of reasoning tokens for trivial queries. Current paradigms often force a static choice between fast general-purpose models and slow reasoning-heavy models.

Conceptual overview of reasoning trade-offs: (a) Long CoT waste, (b) Short CoT accuracy loss, and (c) the Self-Route balance.

Self-Route addresses this by enabling dynamic routing: the system "looks" at a problem and decides whether to take a shortcut or commit to deep reasoning.

Methodology: The Self-Route Framework

Self-Route operates through a three-stage pipeline designed for both cross-model and intra-model routing.

The Self-Route architecture, detailing Gradient-10K dataset construction, router training, and the inference workflow.

1. Pre-inference and Capability Estimation

The process begins with a "pre-inference" step where the model generates a brief, abstract plan under a strict token budget. A key insight of this work is that internal hidden layer representations are more predictive of success than the generated text itself. Self-Route extracts embeddings from the final token of the pre-inference step. Analysis shows that layers at 60% to 80% of the network's depth provide the most reliable signals for difficulty estimation.

2. The Router and Mode Switching

A lightweight linear classifier (the Router) processes these embeddings to predict the probability $P(q)$ that the model can solve the query correctly. If $P(q)$ is high, the system triggers Short CoT (fast/cheap); otherwise, it defaults to Long CoT (intensive reasoning).

3. Gradient-10K Dataset

To train the router effectively, the authors developed Gradient-10K. Unlike binary "easy/hard" datasets, Gradient-10K uses model-based difficulty estimation to sample 10,000 questions across a continuous spectrum. This "dense difficulty gradient" ensures the router can accurately identify the model's capability boundary across diverse tasks.

Experimental Results

Self-Route was evaluated across major benchmarks including MATH500, AIME-2024, and GPQA Diamond.

  • Efficiency: The framework achieved a 30% to 55% reduction in token usage compared to full reasoning models.
  • Accuracy: Accuracy loss was consistently under 2%, demonstrating that the router effectively identifies when deep reasoning is truly necessary.
  • Versatility: The system proved effective for both switching between different models (e.g., Qwen2.5 to R1-Distill) and switching modes within a single hybrid model.

Conclusion

Self-Route demonstrates that LLMs possess internal awareness of their own limitations. By tapping into these hidden states, we can significantly optimize inference costs without sacrificing reasoning power. Future work will explore multi-expert routing for specialized domains and the use of more sophisticated non-linear routers.

Summary updated

BibTeX
@misc{he2025self,
  author = {Yang He and Xiao Ding and Bibo Cai and Yufei Zhang and Kai Xiong and Zhouhao Sun and Bing Qin and Ting Liu},
  title = {{Self-Route: Automatic Mode Switching via Capability Estimation for Efficient Reasoning}},
  year = {2025},
  eprint = {2505.20664},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.20664},
}
Figure