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

通过知识蒸馏进行数据集蒸馏:迈向深度网络的高效自监督预训练

Dataset Distillation via Knowledge Distillation: Towards Efficient Self-Supervised Pre-Training of Deep Networks

University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Siddharth Joshi, Jiayi Ni, Baharan Mirzasoleiman

AI总结:

本文提出首个针对自监督预训练(SSL)的数据集蒸馏方法,通过知识蒸馏降低梯度方差并匹配训练轨迹生成合成数据集,在有限标注下使下游任务准确率最高提升13%。

摘要:

数据集蒸馏(DD)生成小型合成数据集,能够在有限的内存和计算资源下高效训练深度网络。尽管DD方法在监督学习方面取得了成功,但针对深度模型自监督预训练的DD问题仍未得到解决。在无标签数据上进行预训练,对于高效泛化到标注数据有限的下游任务至关重要。在本研究中,我们提出了首个有效的针对SSL预训练的DD方法。首先,我们从理论和实验两方面证明,由于SSL梯度的高方差,将监督DD方法直接应用于SSL会失败。接着,我们借鉴知识蒸馏(KD)文献中的见解来解决这一问题。具体而言,我们训练一个小型学生模型,使其匹配通过SSL训练的大型教师模型的表示。然后,我们通过匹配学生模型的训练轨迹来生成小型合成数据集。由于KD目标的方差明显低于SSL,我们的方法能够生成成功预训练高质量编码器的合成数据集。通过大量实验,我们证明在标注数据有限的情况下,与先前工作相比,我们的蒸馏数据集在各种下游任务上的准确率最高提升了13%。代码地址:https://github.com/BigML-CS-UCLA/MKDT。

英文摘要:

Dataset distillation (DD) generates small synthetic datasets that can efficiently train deep networks with a limited amount of memory and compute. Despite the success of DD methods for supervised learning, DD for self-supervised pre-training of deep models has remained unaddressed. Pre-training on unlabeled data is crucial for efficiently generalizing to downstream tasks with limited labeled data. In this work, we propose the first effective DD method for SSL pre-training. First, we show, theoretically and empirically, that naive application of supervised DD methods to SSL fails, due to the high variance of the SSL gradient. Then, we address this issue by relying on insights from knowledge distillation (KD) literature. Specifically, we train a small student model to match the representations of a larger teacher model trained with SSL. Then, we generate a small synthetic dataset by matching the training trajectories of the student models. As the KD objective has considerably lower variance than SSL, our approach can generate synthetic datasets that can successfully pre-train high-quality encoders. Through extensive experiments, we show that our distilled sets lead to up to 13% higher accuracy than prior work, on a variety of downstream tasks, in the presence of limited labeled data. Code at https://github.com/BigML-CS-UCLA/MKDT.

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

↑