mlsanityData to 14 Oct 2026

PaD: Program-aided Distillation Can Teach Small Models Reasoning Better than Chain-of-thought Fine-tuning

arXiv 2305.13888 ↗First posted 23 May 2023cs.CLcited by 29

On the map: LLM reasoning → Prompting and chain-of-thought reasoning

Abstract (arXiv)

While large language models (LLMs) excel in various natural language processing tasks, their huge size and the inaccessibility of parameters present challenges for practical deployment. Previous studies try to distill task-specific ability from LLMs to smaller models, using data synthesis and chain-of-thought (CoT) fine-tuning. However, synthetic CoT data often contains faulty reasoning, which deteriorates the quality of distillation, especially in reasoning capabilities. In this work, we propose Program-aided Distillation (PaD), which introduces reasoning programs to suppress the errors in distilled data, and thus achieves better distillation quality for reasoning tasks. In PaD, we utilize the reasoning program to substitute the CoT, allowing automated error checking of synthetic data. Further, through error injecting and further training, the small distilling model could iteratively self-refine the reasoning. Moreover, we conduct a step-wise beam search by step-by-step verifying to acquire more exact reasoning chains. We evaluate PaD on arithmetic reasoning, symbolic reasoning, and general ability. Experimental results demonstrate that smaller models using PaD can not only outperform certain LLMs~(e.g., LLaMA-1 13B) but also achieve strong improvement over baselines with a significantly smaller scale of parameters and data. The source code is publicly available at https://github.com/Xuekai-Zhu/pad.

Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 34 of its 71 references that are in the map. First posted on arXiv 23 May 2023.

Builds on

34 of 71 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023SCOTT: Self-Consistent Chain-of-Thought Distillation3 May
  2. 2022Large Language Models Are Reasoning Teachers20 Dec
  3. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Tasks22 Nov
  4. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them17 Oct

Other references · 30

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  8. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  9. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  11. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  12. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
18 more
  1. 2023LIMA: Less Is More for Alignmentcited by 1,100
  2. 2023Teaching Large Language Models to Self-Debugcited by 988
  3. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
  4. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  5. 2022PAL: Program-aided Language Modelscited by 652
  6. 2016Solving General Arithmetic Word Problemscited by 360
  7. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
  8. 2022Teaching language models to support answers with verified quotescited by 292
  9. 2023Mathematical Capabilities of ChatGPTcited by 268
  10. 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 251
  11. 2022Making Large Language Models Better Reasoners with Step-Aware Verifiercited by 233
  12. 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 197
  13. 2023Self-Evaluation Guided Beam Search for Reasoningcited by 196
  14. 2017Data-Free Knowledge Distillation for Deep Neural Networkscited by 136
  15. 2020Language Models are Open Knowledge Graphscited by 95
  16. 2021Data-Free Knowledge Transfer: A Surveycited by 31
  17. 2019Dream Distillation: A Data-Independent Model Compression Frameworkcited by 19
  18. 2022BERT on a Data Diet: Finding Important Examples by Gradient-Based Pruningcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 13; 2025: 10; 2026: 2.

29 papers.

Sort:

By area:

  1. 2023A Survey on Model Compression for Large Language Modelscited by 269
  2. 2025GenPRM: Scaling Test-Time Compute of Process Reward Models via Generative Reasoningcited by 97
  3. 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
  4. 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 64
  5. 2025Distilling LLM Agent into Small Models with Retrieval and Code Toolscited by 47
  6. 2023Large Language Models are Zero Shot Hypothesis Proposerscited by 45
  7. 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
  8. 2023Mixed Distillation Helps Smaller Language Model Better Reasoningcited by 19
  9. 2024RAT: Adversarial Attacks on Deep Reinforcement Agents for Targeted Behaviorscited by 16
  10. 2025Skip-Thinking: Chunk-wise Chain-of-Thought Distillation Enable Smaller Language Models to Reason Better and Fastercited by 16
  11. 2025Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compressioncited by 16
  12. 2024Distilling Mathematical Reasoning Capabilities into Small Language Modelscited by 14
17 more
  1. 2023Mind's Mirror: Distilling Self-Evaluation Capability and Comprehensive Thinking from Large Language Modelscited by 13
  2. 2024Distilling Reasoning Ability from Large Language Models with Adaptive Thinkingcited by 13
  3. 2025Retrieval-Augmented Visual Question Answering via Built-in Autoregressive Search Enginescited by 13
  4. 2024Abstraction-of-Thought Makes Language Models Better Reasonerscited by 11
  5. 2025Mitigating Spurious Correlations Between Question and Answer via Chain-of-Thought Correctness Perception Distillationcited by 6
  6. 2025Position: AI Scaling: From Up to Down and Outcited by 5
  7. 2025Putting on the Thinking Hats: A Survey on Chain of Thought Fine-tuning from the Perspective of Human Reasoning Mechanismcited by 4
  8. 2024Visual Program Distillation with Template-Based Augmentationcited by 3
  9. 2024Inference Optimizations for Large Language Models: Effects, Challenges, and Practical Considerationscited by 2
  10. 2024ToW: Thoughts of Words Improve Reasoning in Large Language Modelscited by 2
  11. 2025Honey, I Shrunk the Language Model: Impact of Knowledge Distillation Methods on Performance and Explainabilitycited by 2
  12. 2024Key-Point-Driven Mathematical Reasoning Distillation of Large Language Modelcited by 1
  13. 2024Improving Mathematical Reasoning Capabilities of Small Language Models via Feedback-Driven Distillationcited by 1
  14. 2024Dynamic Self-Distillation via Previous Mini-batches for Fine-tuning Small Language Modelscited by 0
  15. 2025BRIDGE: Budget-aware Reasoning via Intermediate Distillation with Guided Examplescited by 0
  16. 2026GateKD: Confidence-Gated Closed-Loop Distillation for Robust Reasoningcited by 0
  17. 2026Gold-Guided Programmatic Distillation for Financial Reasoning over Hybrid Tables and Textcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Not All Correct Answers Are Equal: Why Your Distillation Source Matters
  2. 2025Small Models Struggle to Learn from Strong Reasoners
  3. 2023Effective Distillation of Table-based Reasoning Ability from LLMs
  4. 2025Deconstructing Long Chain-of-Thought: A Structured Reasoning Optimization Framework for Long CoT Distillation
  5. 2022Distilling Reasoning Capabilities into Smaller Language Models
  6. 2025Distilling the Essence: Efficient Reasoning Distillation via Sequence Truncation
  7. 2025Towards Efficient CoT Distillation: Self-Guided Rationale Selector for Better Performance with Fewer Rationales
  8. 2025Beyond Scaling Law: A Data-Efficient Distillation Framework for Reasoning