[Paper Review] Large Language Models Are Reasoning Teachers
This paper proposes Fine-tune-CoT, a method that uses large language models (e.g., GPT-3 175B) as reasoning teachers to generate multi-step rationales, which are then used to fine-tune smaller student models, enabling them to achieve strong reasoning performance. The key contribution is that small models (as small as 0.3B parameters) can outperform both larger student models and even the 175B teacher model on complex reasoning tasks, especially when augmented with diverse reasoning paths from the teacher.
Recent works have shown that chain-of-thought (CoT) prompting can elicit language models to solve complex reasoning tasks, step-by-step. However, prompt-based CoT methods are dependent on very large models such as GPT-3 175B which are prohibitive to deploy at scale. In this paper, we use these large models as reasoning teachers to enable complex reasoning in smaller models and reduce model size requirements by several orders of magnitude. We propose Fine-tune-CoT, a method that generates reasoning samples from very large teacher models to fine-tune smaller models. We evaluate our method on a wide range of public models and complex tasks. We find that Fine-tune-CoT enables substantial reasoning capability in small models, far outperforming prompt-based baselines and even the teacher model in many tasks. Additionally, we extend our method by leveraging the teacher model's ability to generate multiple distinct rationales for each original sample. Enriching the fine-tuning data with such diverse reasoning results in a substantial performance boost across datasets, even for very small models. We conduct ablations and sample studies to understand the emergence of reasoning capabilities of student models. Our code implementation and data are available at https://github.com/itsnamgyu/reasoning-teacher.
Motivation & Objective
- To enable complex reasoning in small language models without relying on large-scale inference or costly human-annotated rationales.
- To reduce the dependency on very large models (e.g., 175B parameters) for reasoning by transferring reasoning capabilities via distillation.
- To improve student model performance through diverse reasoning generation from teacher models, avoiding manual annotation.
- To investigate the emergence of reasoning capabilities in small models after fine-tuning on teacher-generated rationales.
- To provide a scalable, deployment-friendly alternative to prompt-based chain-of-thought methods that require massive models.
Proposed method
- Use a very large language model (e.g., GPT-3 175B) as a teacher to generate multi-step reasoning rationales via zero-shot chain-of-thought prompting.
- Filter generated rationales based on the correctness of the final answer to ensure high-quality training data.
- Fine-tune smaller student models on curated question-rationale-answer triples to transfer reasoning capabilities.
- Extend the method with diverse reasoning by using temperature sampling (T=0.7) to generate multiple distinct reasoning paths per input, enriching the training data.
- Apply both vanilla fine-tuning and diverse reasoning fine-tuning across a range of open-source and proprietary models on 12 diverse reasoning tasks.
- Use a consistent training setup for open-source models (fixed LR=3e-4, batch size=8, up to 20 epochs) and default OpenAI API settings for proprietary models.
Experimental results
Research questions
- RQ1Can very large language models effectively serve as reasoning teachers to enable complex reasoning in much smaller student models?
- RQ2How does generating multiple diverse reasoning paths from the teacher model affect student model performance?
- RQ3To what extent can small student models (e.g., 0.3B parameters) outperform larger models and even the teacher model after fine-tuning on teacher-generated rationales?
- RQ4What factors—such as dataset size, teacher quality, or student size—influence the scalability and generalization of the Fine-tune-CoT method?
- RQ5What mechanisms underlie the emergence of reasoning capabilities in small models fine-tuned on distilled reasoning data?
Key findings
- Small student models fine-tuned with teacher-generated rationales achieve reasoning performance that significantly exceeds prompt-based baselines and even surpasses the 175B teacher model on several tasks.
- Models as small as 0.3B parameters outperform larger student models (e.g., 3B–12B) when trained with diverse reasoning data from the teacher.
- The use of diverse reasoning paths—generated via temperature sampling—leads to substantial performance gains across all datasets, even with minimal additional computational cost at training time.
- Performance is consistently scalable across model size, dataset size, teacher quality, and the use of diverse reasoning, indicating robustness and generalization.
- Ablation studies confirm that fine-tuning with rationales is essential for reasoning performance, as vanilla fine-tuning without rationales fails to elicit reasoning in small models.
- Sample-level analysis reveals that student models learn to generalize reasoning patterns from diverse teacher rationales, suggesting emergent reasoning capabilities through data augmentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.