###
计算机系统应用英文版:2026,35(5):1-11
本文二维码信息
码上扫一扫!
面向大语言模型的渐进式思维链蒸馏方法
(武汉科技大学 计算机科学与技术学院, 武汉 430081)
Progressive Chain-of-thought Distillation Method for Large Language Model
(School of Computer Science and Technology, Wuhan University of Science and Technology, Wuhan 430081, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 291次   下载 183
Received:October 10, 2025    Revised:October 30, 2025
中文摘要: 大语言模型(large language model, LLM)凭借先进的推理能力和海量数据训练展现出优异的性能, 但其庞大的规模会导致高计算成本与部署挑战. 知识蒸馏, 尤其是思维链蒸馏(chain-of-thought distillation, CoTD), 通过用教师模型的推理过程指导学生模型, 能有效压缩模型并保持推理能力. 然而, 传统CoTD方法存在两个关键问题: 一是步骤级监督不足, 仅以完整推理链作为监督信号会忽略推理过程的中间决策, 导致学生模型难以全面掌握教师的推理逻辑; 二是暴露偏差, 即训练阶段依赖教师提供的推理链作为输入, 而推理阶段需基于自身生成的结果进行预测, 训练与推理分布的不一致会导致误差累积, 显著降低模型性能. 为此本文提出一种渐进式思维链蒸馏方法, 将教师模型思维链分解为细粒度语义推理单元, 提供步骤级监督, 同时采用渐进式调度方法, 逐步从教师生成输入过渡到学生自生成输入, 弥合训练与推理分布的差异. 本文还设计了灵活的调度函数确保平滑过渡, 并通过调整最大学生输入概率和增长动态进行优化. 实验结果表明, 所提方法在StrategyQA和ARC等多个数据集上优于多个现有的CoTD方法, 提升了学生模型的性能.
Abstract:Large language models (LLMs) demonstrate superior performance due to their advanced reasoning capabilities and extensive training on massive datasets. However, their large scale leads to high computational costs and deployment challenges. Knowledge distillation, particularly chain-of-thought distillation (CoTD), effectively compresses models while preserving reasoning ability by transferring the teacher model’s reasoning process to the student model. Nevertheless, traditional CoTD suffers from two key limitations: insufficient step-level supervision, where using only the complete reasoning chains as supervision ignores intermediate decisions and hinders the student model from fully mastering the teacher’s reasoning logic; and exposure bias, where training depends on teacher-provided reasoning chains while inference relies on the student’s self-generated outputs, causing a training-inference distribution mismatch that accumulates errors and degrades performance. To address these issues, a progressive CoTD method is proposed. The teacher’s reasoning chain is decomposed into fine-grained semantic reasoning units to provide step-level supervision, while a progressive scheduling approach is introduced to gradually transition from teacher-generated inputs to student self-generated inputs, thereby bridging the distribution gap. A flexible scheduling function is designed to ensure a smooth transition, optimized by adjusting the maximum student input probability and growth dynamics. Experimental results show that the proposed method outperforms several existing CoTD approaches on multiple datasets including StrategyQA and ARC, demonstrating enhanced student model performance.
文章编号:     中图分类号:    文献标志码:
基金项目:公安部科技计划 (2022JSM08)
引用文本:
尹鑫,朱子奇.面向大语言模型的渐进式思维链蒸馏方法.计算机系统应用,2026,35(5):1-11
YIN Xin,ZHU Zi-Qi.Progressive Chain-of-thought Distillation Method for Large Language Model.COMPUTER SYSTEMS APPLICATIONS,2026,35(5):1-11