Merge-of-Thought Distillation

Zhanming Shen, Zeyu Qin, Zenan Huang, Hao Chen, Jiaqi Hu, yihong zhuang, Guoshan Lu, Gang Chen, Junbo Zhao · Submission to ICLR 2026 · Rejected

TL;DR

Instead of relying on a single "oracle" teacher model to distill complex reasoning into compact language models, Merge-of-Thought Distillation (MoT) periodically trains separate branches of a student model on diverse teacher reasoning trajectories and averages their weights. Using just 200 chain-of-thought examples, MoT enables a 14B student to outperform OpenAI-o1 and DeepSeek-R1 on competition mathematics while suppressing teacher-specific stylistic noise and catastrophic forgetting.

What Problem Does This Paper Address?

Distilling long Chain-of-Thought (CoT) reasoning into smaller, cost-effective models is standard practice, but conventional setups assume there is a single "best" teacher. The authors show this assumption is flawed:

  • Teacher suitability is fickle: Different student architectures prefer different teachers, and even for the same student, the optimal teacher changes across datasets.
  • Supervision conflicts: Naively combining datasets from multiple teachers (data union) or merging independently distilled student models once post-hoc fails because heterogeneous styles, reasoning paths, and token distributions clash.
  • Noise amplification: Long CoT paths often contain stylistic quirks, hedges, and conversational filler that distract students from core logical derivations.

The paper tackles how to harvest complementary reasoning strengths from multiple, potentially conflicting teachers without getting trapped in teacher selection or suffering from negative transfer.

Methods

MoT alternates between teacher-specific supervised fine-tuning (SFT) and weight-space merging over multiple rounds ($T$ rounds, typically 5):

  1. Teacher-Specific Branching: In round $t$, $K$ identical branches are initialized from the previous round's merged student parameters $\theta^{(t-1)}$. Each branch trains independently for a small number of steps (e.g., 50 steps) on verifiably correct rationales from a single teacher $k$ using token-level cross-entropy loss.
  2. Weight-Space Merging: The parameters of all $K$ branches are averaged uniformly: $$\theta^{(t)} = \frac{1}{K} \sum_{k=1}^K \theta^{(t,k)}$$
  3. Iterative Consensus: $\theta^{(t)}$ serves as the starting checkpoint for round $t+1$.

By alternating local branch training with parameter averaging, MoT repeatedly reinforces reasoning steps shared across teachers while canceling out idiosyncrasies unique to individual teachers.

Datasets

  • Training Sets: Subsets of 200 questions sampled from two mathematical datasets:
  • BOBA-200 (derived from AReaL-boba-Data)
  • S1K-200 (derived from the $s1$ dataset, filtered to questions with verifiable answers)
  • Also tested on 178 code-reasoning problems for domain generalization.
  • Teacher Models: Qwen3-32B, QWQ, DeepSeek-R1, and Qwen3-235B (generating candidate rationales per problem).
  • Evaluation Benchmarks:
  • Math: AIME 2024, AIME 2025, Math500, and HMMT.
  • General & Multi-Task: CEVAL, SuperGPQA, and IFEVAL (catastrophic-forgetting tests); SimpleQA, MMLU-Pro, and MMLU-Redux (reasoning & knowledge); PhyBench, LiveCodeBench, and GPQA-Diamond (pure reasoning).

Key Insights and Ideas

  • Consensus Filtering of Stylistic Quirks: Probing token-level probabilities shows that MoT selectively drops confidence on teacher-specific conversational filler (e.g., discourse markers, rhetorical phrases) while maintaining high confidence on core derivation tokens (equations, operators, intermediate numerical values).
  • Training Loss $\neq$ Reasoning Ability: MoT models consistently maintain higher training loss than single-teacher distillation (STD) models, yet achieve much higher benchmark accuracy. STD models quickly overfit teacher-specific styles, whereas MoT regularizes training toward generalizable logic.
  • Distribution-Shifted and Peer Teachers Add Value: DeepSeek-R1 rationales degrade Qwen students when used alone due to distribution shift. However, including DeepSeek-R1 within the MoT pool boosts performance beyond using Qwen teachers alone. Even peer-level teachers (same model scale as the student) provide complementary signals that improve student accuracy.
  • Theoretical Flatter Landscape: The authors demonstrate via a second-order Taylor expansion that MoT provides an expert-wise preconditioning benefit and provably contracts cross-teacher gradient disagreement, yielding smoother, flatter loss basins verified through linear mode connectivity.

Key Results

  • Beating Frontier Models with 200 Samples: Applying MoT to a Qwen3-14B student achieves 78.13% (BOBA-200) and 78.65% (S1K-200) average on AIME 24/25, surpassing DeepSeek-R1 (74.90%), Qwen3-32B (76.77%), and OpenAI-o1 (76.75%).
  • Lifting Small Models: Qwen3-8B jumps from a 71.46% base score to 74.59%, effectively matching the base performance of the much larger Qwen3-14B (74.59%).
  • Cross-Architecture Generalization: When applied to Llama-3.1-8B-Instruct, MoT improves Math500 accuracy from 49.65% to 62.65%, beating the best single-teacher baseline (57.45%).
  • Controlled Compute: When baseline single-teacher distillation is matched for total gradient steps (1,000 steps) and distinct trajectory samples (800 CoTs), MoT still outperforms it (74.48% vs. 72.82% AIME average), confirming gains stem from teacher diversity rather than extra compute.
  • Mitigating Forgetting: Across non-math evaluations (IFEVAL, CEVAL, MMLU), MoT incurs substantially smaller performance drops than single-teacher models while improving general coding and physics reasoning.

Limitations and Future Work

  • Uniform Weight Averaging: The framework currently relies on simple, uniform parameter averaging; more sophisticated merging operators (e.g., task-arithmetic variants or dynamic weight assignment) could potentially improve scaling with larger teacher pools.
  • Extreme Teacher Sets: While robust to mildly shifted or peer-level teachers, it remains unverified whether MoT can gracefully handle adversarial or low-quality teachers without explicit quality-filtering mechanisms.
  • Benchmark Saturation: Beyond AIME24/25, there is a shortage of verified, contamination-free, ultra-challenging math benchmarks to stress-test high-end CoT reasoning capabilities.

Summary updated

Abstract

Efficient reasoning distillation for long chain-of-thought (CoT) models is increasingly constrained by the assumption of a single oracle teacher, despite the practical availability of multiple candidate teachers and growing CoT corpora. We revisit teacher selection and observe that different students have different “best teachers,” and even for the same student, the best teacher can vary across datasets. Therefore, to unify multiple teachers’ reasoning abilities into a student to overcome conflicts among various teachers’ supervision, we propose Merge-of-Thought Distillation (MoT), a lightweight framework that alternates between teacher-specific supervised fine-tuning branches and weight-space merging of the resulting student variants. On competition math benchmarks, using only about 200 CoT samples, applying MoT to a Qwen3-14B student surpasses strong models including Deepseek-R1, Qwen3-32B, and OpenAI-O1, demonstrating substantial gains. Besides, MoT consistently outperforms the best single-teacher distillation, improves general reasoning beyond mathematics while reducing catastrophic forgetting, and shows robustness to distribution-shifted and peer-level teachers. Finally, we have demonstrated MoT possesses consensus CoT by eliminating teacher-specific inductive biases and inter-teacher conflicts while repeatedly reinforcing the learning of consensus reasoning features. These results position MoT as a simple, effective route to efficiently distilling long CoT capabilities from diverse teachers into compact students.
BibTeX
@misc{shen2025merge,
  author = {Zhanming Shen and Zeyu Qin and Zenan Huang and Hao Chen and Jiaqi Hu and yihong zhuang and Guoshan Lu and Gang Chen and Junbo Zhao},
  title = {{Merge-of-Thought Distillation}},
  year = {2025},
  eprint = {2509.08814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.08814},
}
Figure