ACL Findings2023
Distilling Reasoning Capabilities into Smaller Language Models
Kumar Shridhar, Alessandro Stolfo, Mrinmaya Sachan
Abstract
Step-by-step reasoning approaches like chain of thought (CoT) have proved to be very effective in inducing reasoning capabilities in large language models.However, the success of the CoT approach is fundamentally tied to the model size, and billion parameter-scale models are often needed to get CoT to work.In this paper, we propose a knowledge distillation approach that leverages the step-by-step CoT reasoning capabilities of larger models and distills these abilities into smaller models.In this work, we propose an alternative reasoning scheme, SOCRATIC COT that learns a decomposition of the original problem into a sequence of subproblems and uses it to guide the intermediate reasoning steps.We use SO-CRATIC COT to train a combination of two small distilled models: a problem decomposer and a subproblem solver.In practice, given a new problem, the two distilled models work in sync to decompose and solve complex problems.On multiple reasoning datasets (GSM8K, StrategyQA, and SVAMP), our proposed distillation strategies boost the performance of smaller models over 70% compared to the baselines.Finally, we investigate when SOCRATIC COT is an effective alternative to CoT, demonstrating cases where a much smaller model (GPT-2 large) can outperform a 10X larger model (GPT-3 6B).Our code is available here. !LLM !Small LM Fine-tuning A robe takes 2 bolts of blue fiber and half that much white fiber.How many bolts in total does it take?" CoT: It takes 2/2=<<2/2=1>>1 bolt of white fiber.So the total amount of fabric is… Reasoning Skill TransferFew-shot Prompting Generate AnnotationCoT: How many bolts of white fiber does it take?It takes 2/2=<<2/2=1>>1 bolt of white fiber.How many bolts in total does it take?So the total amount of fabric is 2+1=<<2+1=3>>3 bolts of fabric. Socratic CoT:How many bolts of white fiber does it take?It takes… !!
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
58 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GraphGPT: Graph Instruction Tuning for Large Language Models cites Large Language Models are Zero-Shot Reasoners
- GraphGPT: Graph Instruction Tuning for Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models as Commonsense Knowledge for Large-Scale Task Planning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models Can Self-Improve cites Large Language Models are Zero-Shot Reasoners
- Large Language Models Can Self-Improve cites Solving Quantitative Reasoning Problems with Language Models
- Large Language Models Can Self-Improve cites Language Models are Few-Shot Learners
- Large Language Models Can Self-Improve cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners cites Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Solving Quantitative Reasoning Problems with Language Models cites Language Models are Few-Shot Learners
- Solving Quantitative Reasoning Problems with Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- The Pitfalls of Next-Token Prediction cites Large Language Models are Zero-Shot Reasoners
- The Pitfalls of Next-Token Prediction cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Large Language Models Can Self-Improve
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Solving Quantitative Reasoning Problems with Language Models
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Language Models are Few-Shot Learners
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers58
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu et al.ICLR 2024 · 637 citations
- Large Language Models as Commonsense Knowledge for Large-Scale Task PlanningZirui Zhao, Wee Sun Lee, David HsuNeurIPS 2023 · 423 citations
- Large Language Models Can Self-ImproveJiaxin Huang, Shixiang Gu, Le Hou, Yuexin Wu et al.EMNLP 2023 · 184 citations
- GraphGPT: Graph Instruction Tuning for Large Language ModelsJiabin Tang, Yuhao Yang, Wei Wei, Lei Shi et al.SIGIR 2024 · 182 citations
- The Pitfalls of Next-Token PredictionGregor Bachmann, Vaishnavh NagarajanICML 2024 · 163 citations
Builds on13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
Related papers
- Mentor-KD: Making Small Language Models Better Multi-step ReasonersHojae Lee, Junho Kim, SangKeun LeeEMNLP 2024
- Small Models Struggle to Learn from Strong ReasonersYuetai Li, Xiang Yue, Zhangchen Xu, Fengqing Jiang et al.ACL Findings 2025 · 5 citations
- Large Language Models Are Reasoning TeachersNamgyu Ho, Laura Schmid, Se-Young YunACL 2023 · 102 citations
- Improve Student's Reasoning Generalizability through Cascading Decomposed CoTs DistillationChengwei Dai, Kun Li, Wei Zhou, Songlin HuEMNLP 2024 · 4 citations
- MCC-KD: Multi-CoT Consistent Knowledge DistillationHongzhan Chen, Siyue Wu, Xiaojun Quan, Rui Wang et al.EMNLP Findings 2023 · 14 citations
