TL;DR
Distilling Chain-of-Thought (CoT) reasoning from Large Language Models (LLMs) into Small Language Models (SLMs) isn't as simple as providing more detail from the biggest model available. This study reveals that SLMs have a "sweet spot" for explanation detail and that overcomplicating reasoning formats can actually hinder their learning. To build the best small reasoning models, we must carefully tailor the teacher's granularity and style to the student's inherent capacity.
What Problem Does This Paper Address?
Chain-of-Thought (CoT) prompting allows large language models to tackle complex, multi-step problems by thinking out loud. However, generating all those intermediate reasoning tokens is computationally expensive and slow. Naturally, researchers want to distill this reasoning capability into Small Language Models (SLMs) that can run efficiently on edge devices.
While distilling CoT via supervised fine-tuning is common practice, the choice of training data has largely been an arbitrary art. How detailed should the teacher's explanations be? Does the structure of the explanation (e.g., formal logic vs. sub-questions) matter? Is the strongest LLM always the best teacher? This paper systematically evaluates these factors to turn CoT distillation into a rigorous science.
Methods
The authors analyze CoT distillation through three pedagogical dimensions: Choice of Teacher, Granularity of Teaching, and Format of Teaching.
Using a 1-shot prompting framework to ensure consistency, they generated CoT datasets from three LLM teachers (GPT-4o, LLaMA 3 70B, Gemini-1.5-Flash) and human experts.
- Granularity Control: They prompted teachers to generate six distinct levels of detail, ranging from concise direct paths (Level 1) to exhaustive step-by-step breakdowns (Level 6). Crucially, they introduced a dynamic padding procedure using non-informative filler text to isolate whether performance gains came from the depth of reasoning or simply longer sequence lengths.
- Format Variation: They tested four reasoning structures: Original CoT, Least-to-Most (decomposing into sub-problems), Rephrase and Respond (RaR), and Symbolic CoT (translating natural language into symbolic logic).
Finally, seven different student models (from the BLOOM, Gemma, and LLaMA families) were fine-tuned on these variations.
Datasets
The benchmarks spanned seven datasets across two core domains:
- Mathematical Reasoning: SVAMP, GSM8K, AQuA-RAT, and MATH.
- Commonsense Reasoning: CommonsenseQA (CSQA), OpenBookQA (OBQA), and StrategyQA (STQA).
Key Insights and Ideas
- The Granularity Sweet Spot: Unlike LLMs, which generally perform better with increasingly detailed steps, SLMs exhibit a non-monotonic relationship with granularity. Intermediate levels of detail often yield the best results. Overly verbose reasoning chains introduce redundant information that overwhelms smaller models.
- The Matthew Effect & ZPD: The authors observe a "rich get richer" phenomenon. Stronger student models (e.g., LLaMA 3.2 3B) possess a wider Zone of Proximal Development (ZPD), allowing them to absorb and benefit from highly detailed, complex reasoning. Weaker models (e.g., BLOOM 3B) quickly plateau or degrade when fed high-granularity data.
- Format Complexity Overloads SLMs: Advanced prompting formats like Symbolic CoT or Least-to-Most frequently boost LLM performance. However, for SLMs, the added structural complexity increases cognitive load during fine-tuning. The simpler, original CoT format usually wins out.
- Humans for Intuition, LLMs for Rules: A more accurate teacher does not automatically make a better student. LLM teachers excel at generating structured data for procedural math tasks. However, human-annotated CoTs significantly outperform LLMs in commonsense reasoning because humans naturally capture nuanced contextual understanding and creative inferences.
Key Results
- Granularity Performance: As shown in Figure 2, smaller models like BLOOM 3B peak early; on GSM8K, its accuracy hits a high of 23.81% at Level 3 but drops to 20.85% at Level 6. Conversely, stronger models like LLaMA 3.2 3B scale much better with higher granularity.
- Format Impact: Across most datasets, the original CoT format matched or outperformed modified structures. For instance, on SVAMP with LLaMA 3.2 3B, the original CoT achieved 69.78% accuracy, while the highly structured Symbolic CoT actually degraded performance for several smaller student variants due to variable mismanagement.
- Teacher Trade-offs: When comparing human vs. LLM teachers (Figure 5), human annotations dramatically improved student performance on commonsense tasks like StrategyQA, while LLM-generated chains dominated on math benchmarks like GSM8K.
Limitations and Future Work
The authors note several practical hurdles encountered during data generation:
- Safety Filter Refusals: Teacher models occasionally triggered safety guardrails on benign reasoning tasks, refusing to generate CoTs and forcing a fallback to direct answers.
- Reverse-Engineering Failures: LLM teachers sometimes struggled to logically back-solve or reverse-engineer a plausible reasoning chain when forced to match a specific ground-truth answer.
- Algorithmic Scope: This study focused entirely on standard supervised fine-tuning (SFT) data characteristics. It did not explore how these data factors interact with advanced distillation algorithms like logit-based distillation or reinforcement learning (RLHF).
For future work, the authors advocate for curriculum-based distillation, where the granularity and complexity of the CoT supervision are progressively ramped up as the student model matures during training.
Summary updated