MixReasoning: Switching Modes to Think

Haiquan Lu, Gongfan Fang, Xinyin Ma, Qi Li, Xinchao Wang

TL;DR

Large Reasoning Models often waste massive amounts of compute by "overthinking" simple, routine steps within a problem. MixReasoning introduces a dynamic, human-like mode-switching mechanism that toggles between detailed deliberation and concise execution within a single response. By tracking sliding-window token confidence and adjusting a lightweight LoRA adapter online, it cuts token usage by 13%–49% while maintaining or even boosting accuracy.

What Problem Does This Paper Address?

Modern Large Reasoning Models (LRMs), like DeepSeek-R1, achieve impressive accuracy by generating long Chains of Thought (CoT). However, uniformly applying elaborate reasoning to every single step introduces substantial redundancy. Within any complex problem, only a few pivotal steps are genuinely challenging (e.g., initial planning or key mathematical derivations), while many others involve routine arithmetic, formatting, or straightforward transformations.

Existing efficiency methods either compress the entire reasoning trace globally—which can cause "underthinking" and degrade accuracy on hard steps—or route entire problems to a binary mode (reason vs. no-reason). MixReasoning addresses this gap by enabling fine-grained, intra-response mode switching, mimicking the human cognitive dual-process theory (fast, intuitive System 1 vs. slow, deliberative System 2).

Figure 1. The comparison among Long-to-short compression, Hybrid reasoning, and MixReasoning. MixReasoning adaptively switches between different thinking modes during inference based on local uncertainty, achieving a balance of conciseness and detail.

Methods

The MixReasoning framework relies on two core components: a control mechanism to switch modes and a signal to decide when to switch.

  1. How to Switch (LoRA Strength Control): Instead of co-serving two separate models, the authors train a lightweight, concise LoRA adapter ($\Delta\theta$) that distills short reasoning behaviors into the base model. During inference, they dynamically scale the LoRA adapter's strength ($\alpha$). Setting $\alpha = 0$ preserves the base model's deep reasoning mode, while increasing $\alpha$ smoothly transitions the model into a concise inference mode.
  2. When to Switch (Sliding-Window Token Confidence): The model monitors its own internal token distribution uncertainty. Token-level confidence is calculated as the negative average log-probability of the top-$k$ candidates. To make this signal robust against local noise, they aggregate it over a sliding window ($m=16$).

A hysteresis controller manages the transitions: low-confidence windows trigger a switch to the detailed "thinking" mode, while high-confidence windows anneal back to the concise mode. Crucially, when switching to thinking mode, the model rolls back one window of tokens to re-generate the segment, allowing it to correct early missteps made during the fast mode.

Figure 2. MixReasoning overview. A concise LoRA adapter is attached to a base reasoning model, and its strength α is scaled during inference to interpolate between detailed and concise reasoning; Sliding-window token confidence estimates local difficulty: low-confidence segments trigger a switch to thinking mode (with one-window rollback for re-generation), and confidence recovery switches back to concise mode via a hysteresis controller.

To ensure serving efficiency, MixReasoning reuses the KV-cache already built for the destination mode, meaning it only needs to prefill the short span of tokens generated since the last switch.

Datasets

  • Training: The concise LoRA adapter was primarily trained on the DeepScaleR-40K dataset (a collection of competition-style math problems). Short-form target rationales were distilled using a compact, non-thinking model (Qwen3-14B-nonthinking). Ablation studies also explored training on GSM8K and OpenMathReasoning-300K.
  • Evaluation: The framework was evaluated across diverse scales using four primary benchmarks: AIME24, MATH-500, GPQA-Diamond, and GSM8K. To test downstream task diversity, they also evaluated on code generation (HumanEval, LiveCodeBench) and commonsense reasoning (StrategyQA, CommonsenseQA).

Key Insights and Ideas

  • Confidence Maps to Cognitive Phases: A key "aha moment" is that local token confidence distributions are highly stable and map beautifully to human problem-solving behavior. Low-confidence spikes consistently concentrate on analysis, planning, and verification, whereas high-confidence regions align with routine execution and summarization.
  • LoRA as a Task Vector for Length: The concise LoRA adapter acts effectively as a task vector that primarily modifies generation length and verbosity without destroying the base model's underlying capability to deliberate when the adapter is dialed back down.
  • The Power of the Rollback: Simply switching modes on the fly isn't enough. Incorporating a one-window rollback mechanism when entering thinking mode is vital because it allows the model to re-evaluate and correct subtle errors introduced during its "fast" concise phase.

Key Results

  • Substantial Token Savings: MixReasoning shortened reasoning lengths by 13% to 49% across all evaluated benchmarks.
  • Maintained or Improved Accuracy: On Qwen3-8B, MixReasoning reduced average token usage by 28% while actually improving AIME24 accuracy from 64.67% to 67.33%. Similar efficiency gains with stable performance were observed for DeepSeek-R1-7B, Qwen3-14B, and QwQ-32B.
  • True Wall-Clock Speedups: Because KV-cache prefilling is highly parallelized, the overhead of mode switching remains negligible, translating directly into significant end-to-end latency reductions.

Limitations and Future Work

  • Adapter Quality Dependency: The framework's performance is inherently bounded by the quality of the concise adapter. If the distilled short responses introduce errors, the model might inherit those flaws during concise segments.
  • Threshold Tuning: Although the sliding-window confidence distributions are stable across different datasets, the switching thresholds ($\tau_{low}, \tau_{high}$) remain hyperparameters that control the explicit trade-off between efficiency and robustness.
  • Extension Beyond Text: The authors suggest that exploring adaptive, intra-response compute allocation could be highly valuable for multi-modal reasoning workloads or latency-sensitive interactive applications.

Summary updated

BibTeX
@inproceedings{lu2026mixreasoning,
  author = {Haiquan Lu and Gongfan Fang and Xinyin Ma and Qi Li and Xinchao Wang},
  title = {{MixReasoning: Switching Modes to Think}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=CX6KJksKqR},
}
Figure