paper-with-me

홈 › Papers

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

2023-05-23 · Xuekai Zhu, Biqing Qi, Kaiyan Zhang, Xinwei Long, Zhouhan Lin, BoWen Zhou

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.

📄 PDF Abstract BibTeX arXiv:2305.13888

Code (1)

xuekai-zhu/pad 공식 구현 pytorch

Tasks

Arithmetic ReasoningGSM8KHallucination

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Gold-Guided Programmatic Distillation for Financial Reasoning over Hybrid Tables and Text

2026-07-16 · Yun Dong, Erica Zhao, Elana Chen arxiv

Financial question answering over hybrid tabular and textual data may require multi-source reasoning and precise numerical computation. While large language models (LLMs) can generate intermediate reasoning steps, natura…

Question AnsweringProgram Synthesis

Reasoning Distillation for Lightweight Automated Program Repair

2026-01-16 · Aanand Balasubramanian, Sashank Silwal arxiv

We study whether lightweight symbolic reasoning supervision can improve fix type classification in compact automated program repair models. Small code models are attractive for resource-constrained settings, but they typ…

Type predictionProgram Repair

Reasoning Compression with Mixed-Policy Distillation

2026-05-09 · Han Yang, Mingyan Wu, Bailan He, Zeyu Cao 외 arxiv

Reasoning-centric large language models (LLMs) achieve strong performance by generating intermediate reasoning trajectories, but often incur excessive token usage and high inference-time decoding cost. We observe that, w…

Improving Reasoning Capabilities in Small Models through Mixture-of-Layers Distillation with Stepwise Attention on Key Information

2026-04-17 · Yao Chen, Jiawei Sheng, Wenyuan Zhang, Tingwen Liu arxiv

The significant computational demands of large language models have increased interest in distilling reasoning abilities into smaller models via Chain-of-Thought (CoT) distillation. Current CoT distillation methods mainl…

Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models

2026-01-26 · Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang 외 arxiv

Knowledge distillation improves large language model (LLM) reasoning by compressing the knowledge of a teacher LLM to train smaller LLMs. On-policy distillation advances this approach by having the student sample its own…

Knowledge DistillationMathematical ReasoningReinforcement Learning