arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.29327cs.CLcs.LG
收藏

保留推理能力的大语言模型高效蒸馏:基于激活感知初始化

Reasoning-preserved Efficient Distillation of Large Language Models via Activation-aware Initialization

The Hong Kong Polytechnic University, Hong Kong SAR, China(香港理工大学);McGill University, Montreal, QC, Canada(麦吉尔大学)

Junlin He, Yihong Tang, Tong Nie, Guilong Li, Binyu Yang, Jinxiao Du, Lijun Sun, Wei Ma

AI总结:

针对高效蒸馏导致的多步推理能力严重下降(推理崩溃),提出RED方法,通过激活感知初始化投影矩阵为通道选择矩阵,理论缓解有效秩崩溃,恢复推理能力并保持高效训练与通用性能。

摘要:

高效蒸馏(EDistill)通过结构化剪枝参数和调优轻量模块以高训练效率压缩大语言模型(LLM)。尽管这些EDistill LLM在通用能力基准上相对于类似大小的LLM取得了最先进的(SOTA)性能,但我们发现其多步推理能力严重下降,我们称之为推理崩溃。我们系统分析了推理崩溃的几何起源,并表明基于宽度缩减投影矩阵的SOTA EDistill方法遭受有效秩(eRank)崩溃,即隐藏表示的有效秩下降。我们从理论上解释了随机初始化投影矩阵的奇异值如何变得分布不均,导致eRank崩溃,进而导致token不可区分性。为解决此问题,我们提出了RED(保留推理能力的高效蒸馏)方法,该方法引入激活感知初始化,将投影矩阵初始化为通道选择矩阵,从而在理论上缓解eRank崩溃。在Llama和Qwen系列上的实验表明,RED在保持高训练效率和SOTA通用能力的同时,显著恢复了推理能力。

英文摘要:

Efficient Distillation (EDistill) compresses large language models (LLMs) by structured pruning parameters and tuning lightweight modules with high training efficiency. Although these EDistilled LLMs achieve state-of-the-art (SOTA) performance on general ability benchmarks relative to similarly sized LLMs, we identify a severe degradation in their multi-step reasoning ability, which we term reasoning collapse. We systematically analyze the geometric origins of reasoning collapse and show that the SOTA EDistill method based on width-reducing projection matrices suffers from eRank collapse, in which the effective rank (eRank) of hidden representations drops. We theoretically explain how singular values of randomly initialized projection matrices become unevenly distributed, leading to eRank collapse and thus token indistinguishability. To address this issue, we propose RED (Reasoning-preserved Efficient Distillation) for LLMs, which introduces activation-aware initialization to initialize projection matrices as channel-selection matrices, thus theoretically mitigating eRank collapse. Experiments on Llama and Qwen series demonstrate that RED substantially recovers reasoning while maintaining high training efficiency and SOTA general ability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑