arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.22355stat.MLcs.CLcs.LG
收藏

解析大型语言模型中低秩知识蒸馏:收敛性、泛化能力和信息论保证

Demystifying Low-Rank Knowledge Distillation in Large Language Models: Convergence, Generalization, and Information-Theoretic Guarantees

Department of Computer Science, University of Brasilia(巴西布拉兹利亚大学计算机科学系)

Alberlucia Rafael Soarez, Daniel Kim, Mariana Costa, Alejandro Torre

AI总结:

本文研究了大型语言模型中低秩知识蒸馏的理论基础,推导了收敛率、泛化界限及信息论分析,提出最优秩选择原则,并通过实验验证理论结果。

摘要:

知识蒸馏已成为压缩大型语言模型 (LLMs) 以获得高效可部署架构的强大技术,同时保持其先进能力。近年来,低秩知识蒸馏方法,如低秩克隆 (LRC),在经验上取得了显著成功,实现了与全参数蒸馏相当的性能,但其理论基础仍不明确。本文建立了低秩知识蒸馏在语言模型中的严格理论框架。我们证明,在温和假设下,低秩投影保留了优化动态,得出显式收敛率 $O(1/\sqrt{T})$。我们推导了泛化界限,刻画了模型压缩与泛化能力之间的根本权衡,显示泛化误差随秩参数按 $O(r(m+n)/\sqrt{n})$ 缩放。此外,我们提供了激活克隆机制的信息论分析,揭示其在最大化教师和学生中间表示之间的互信息中的作用。我们的理论结果提供了选择秩的原则性指南,数学上建议最优秩 $r^* = O(\sqrt{n})$,其中 $n$ 是样本量。在标准语言建模基准上的实验验证确认了我们的理论预测,显示经验收敛、秩缩放和泛化行为与我们的界限紧密一致。

英文摘要:

Knowledge distillation has emerged as a powerful technique for compressing large language models (LLMs) into efficient, deployable architectures while preserving their advanced capabilities. Recent advances in low-rank knowledge distillation, particularly methods like Low-Rank Clone (LRC), have demonstrated remarkable empirical success, achieving comparable performance to full-parameter distillation with significantly reduced training data and computational overhead. However, the theoretical foundations underlying these methods remain poorly understood. In this paper, we establish a rigorous theoretical framework for low-rank knowledge distillation in language models. We prove that under mild assumptions, low-rank projection preserves the optimization dynamics, yielding explicit convergence rates of $O(1/\sqrt{T})$. We derive generalization bounds that characterize the fundamental trade-off between model compression and generalization capability, showing that the generalization error scales with the rank parameter as $O(r(m+n)/\sqrt{n})$. Furthermore, we provide an information-theoretic analysis of the activation cloning mechanism, revealing its role in maximizing the mutual information between the teacher's and student's intermediate representations. Our theoretical results offer principled guidelines for rank selection, mathematically suggesting an optimal rank $r^* = O(\sqrt{n})$ where $n$ is the sample size. Experimental validation on standard language modeling benchmarks confirms our theoretical predictions, demonstrating that the empirical convergence, rank scaling, and generalization behaviors align closely with our bounds.

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

↑