arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.05464cs.LG
收藏

渐进蒸馏诱导隐式课程

Progressive distillation induces an implicit curriculum

Carnegie Mellon University(卡内基梅隆大学);Princeton University(普林斯顿大学);University of Pennsylvania(宾夕法尼亚大学)

Abhishek Panigrahi, Bingbin Liu, Sadhika Malladi, Andrej Risteski, Surbhi Goel

AI总结:

该研究揭示渐进蒸馏通过隐式课程机制加速学生模型学习,在稀疏奇偶校验任务中证实其经验加速与样本复杂度优势,并在Transformer及真实数据集上验证了该机制的普适性。

摘要:

知识蒸馏利用教师模型来改进学生模型的训练。一个长期存在的挑战是,更好的教师并不总能培养出更好的学生,对此的一种常见缓解方法是使用来自多个“中间”教师的额外监督。该原理的一种经实验验证的变体是渐进蒸馏,即学生从教师的连续中间检查点中学习。我们以稀疏奇偶校验为试验平台,发现隐式课程是渐进蒸馏加速学生学习的一种机制。这种课程仅存在于中间检查点中,最终收敛的检查点并不具备,它既能为学生带来经验上的加速,又能带来可证明的样本复杂度优势。随后我们将研究扩展到在概率上下文无关文法(PCFGs)以及真实预训练数据集(Wikipedia和Books)上训练的Transformer。通过探测教师模型,我们发现了一种类似的隐式课程:模型会逐步学习捕捉更长上下文的特征。我们在稀疏奇偶校验上的理论与实证发现,辅以在更复杂任务上的实证观察,凸显了通过隐式课程实现的渐进蒸馏在不同设置下的优势。

英文摘要:

Knowledge distillation leverages a teacher model to improve the training of a student model. A persistent challenge is that a better teacher does not always yield a better student, to which a common mitigation is to use additional supervision from several ``intermediate'' teachers. One empirically validated variant of this principle is progressive distillation, where the student learns from successive intermediate checkpoints of the teacher. Using sparse parity as a sandbox, we identify an implicit curriculum as one mechanism through which progressive distillation accelerates the student's learning. This curriculum is available only through the intermediate checkpoints but not the final converged one, and imparts both empirical acceleration and a provable sample complexity benefit to the student. We then extend our investigation to Transformers trained on probabilistic context-free grammars (PCFGs) and real-world pre-training datasets (Wikipedia and Books). Through probing the teacher model, we identify an analogous implicit curriculum where the model progressively learns features that capture longer context. Our theoretical and empirical findings on sparse parity, complemented by empirical observations on more complex tasks, highlight the benefit of progressive distillation via implicit curriculum across setups.

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

↑