R2R: Efficiently Navigating Divergent Reasoning Paths with Small-Large Model Token Routing

Tianyu Fu, Yi Ge, Yichen You, Enshu Liu, Zhihang Yuan, Guohao Dai, Shengen Yan, Huazhong Yang, Yu Wang

Abstract

Test-time scaling through long Chain-of-Thought (CoT) reasoning has significantly enhanced the capabilities of Large Language Models (LLMs), yet it introduces substantial computational overhead. We present Roads to Rome (R2R), a novel token-level routing mechanism designed to accelerate inference by dynamically delegating computation between a Small Language Model (SLM) and an LLM. Unlike existing methods that require exact token matches or coarse query-level routing, R2R identifies "path-divergent" tokens—steps where an SLM’s output would derail the logical progression—while permitting "neutral" variations in phrasing. Our approach achieves the accuracy of a 14B parameter model using only 5.6B active parameters on average, delivering a 2.8x speedup over a 32B LLM.

1. Introduction

The emergence of reasoning-heavy models has shifted the focus of LLM efficiency toward test-time scaling. While generating extensive reasoning chains improves performance on complex tasks, the cost of using massive models for every token is prohibitive. Current efficiency strategies, such as model distillation or speculative decoding, often struggle with the balance between flexibility and precision. Distilled models frequently lose logical coherence over long sequences, while speculative decoding suffers from high rejection rates due to trivial stylistic differences between the drafter and the verifier.

2. The Challenge of Reasoning Efficiency

Efficient inference in reasoning tasks faces three primary hurdles:

  1. Logical Drift in SLMs: Small models often start correctly but eventually deviate into flawed logic, leading to incorrect final answers.
  2. Coarseness of Query Routing: Routing an entire prompt to either an SLM or LLM ignores the fact that most reasoning chains consist of a mix of trivial steps and critical logical junctions.
  3. Rigidity of Speculative Decoding: Traditional speculative decoding requires exact string matches. If an SLM produces a synonym or a different grammatical structure that is logically sound, the LLM may still reject it, wasting computation on unnecessary rollbacks.

3. The R2R Framework

R2R operates on the insight that "many roads lead to Rome"—multiple linguistic paths can lead to the same correct conclusion. The framework consists of three core components:

3.1 Path-Following Data Labeling

To train a router capable of distinguishing between harmless phrasing differences and critical errors, the authors developed an automated pipeline. By comparing SLM and LLM token predictions, the system identifies points of difference. An LLM verifier (Qwen2.5-72B) then determines if the SLM’s token led to a logical divergence or remained "neutral" (e.g., using a synonym that does not change the math).

3.2 Lightweight Neural Router

The system utilizes a 56M-parameter Feed-Forward Network (FFN) to predict these divergences in real-time. The router analyzes the SLM’s output logits (uncertainty), hidden states, and token embeddings to determine the probability of a reasoning error on the fly.

3.3 Immediate Token-Level Routing

During inference, the SLM generates tokens until the router detects a high probability of divergence. At that point, the LLM is invoked to provide the correct token, after which control is immediately returned to the SLM. This "correct-on-the-fly" approach eliminates the need for the draft-and-verify cycles and rollbacks seen in speculative decoding.

4. Key Insights and Analysis

Analysis of the R2R routing logic reveals several fundamental properties of model reasoning:

  • The 89/6/5 Rule: In 89% of cases, SLMs and LLMs agree on the exact next token. Of the remaining 11%, 6% are neutral variations, and only 5% are true logical divergences that derail the reasoning.
  • Entropy as a Signal: Divergent tokens are characterized by significantly higher entropy (3.8x) in the SLM’s output, suggesting that mathematical or logical "confusion" is a reliable predictor of error.
  • Long-Tail Vulnerability: SLMs are most likely to diverge when encountering low-frequency tokens, reflecting their limited capacity for modeling niche or complex knowledge.

5. Experimental Results

Evaluated using the DeepSeek-R1 family (1.5B SLM and 32B LLM) across benchmarks including AIME, GPQA-Diamond, and LiveCodeBench, R2R demonstrates superior efficiency:

  • Performance: R2R outperformed the distilled R1-7B model by 1.6x and surpassed the R1-14B model in accuracy, while maintaining 92% of the performance of the full R1-32B model.
  • Efficiency: The system averaged 5.6B activated parameters per token, invoking the LLM for only 11-15% of the generation.
  • Speed: R2R achieved a 2.8x wall-clock speedup compared to the 32B LLM.
  • Hardware Advantage: Compared to speculative decoding methods like EAGLE2, R2R reduced total computation by 17x and memory access by 2.4x.

6. Conclusion

R2R demonstrates that token-level routing based on logical divergence is a highly effective strategy for scaling reasoning models. By focusing LLM intervention only where it is strictly necessary to maintain logical integrity, R2R achieves significant speedups without the overhead of traditional verification methods. Future work may involve integrating this divergence-based logic into Mixture-of-Experts (MoE) architectures to allow for query-adaptive activation of different-sized experts.

Summary updated

BibTeX
@inproceedings{fu2025r,
  author = {Tianyu Fu and Yi Ge and Yichen You and Enshu Liu and Zhihang Yuan and Guohao Dai and Shengen Yan and Huazhong Yang and Yu Wang},
  title = {{R2R: Efficiently Navigating Divergent Reasoning Paths with Small-Large Model Token Routing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=DpeJYRFRQY},
}
Figure