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

NAYER:用于高效且有效的无数据知识蒸馏的噪声层数据生成

NAYER: Noisy Layer Data Generation for Efficient and Effective Data-free Knowledge Distillation

Monash University(莫纳什大学);University of Melbourne(墨尔本大学);ServiceNow(ServiceNow公司);VinAI Research(VinAI研究院)

Minh-Tuan Tran, Trung Le, Xuan-May Le, Mehrtash Harandi, Quan Hung Tran, Dinh Phung

AI总结:

提出NAYER方法,将随机源从输入移至噪声层并使用常量标签文本嵌入作为输入,解决无数据知识蒸馏中从随机噪声生成样本的难题,实现更高质量样本生成并显著提升训练速度。

摘要:

无数据知识蒸馏(DFKD)通过在不访问原始数据的情况下将知识从教师神经网络转移到学生神经网络,近期取得了重大进展。然而,现有方法在尝试从随机噪声输入生成样本时遇到了重大挑战,因为这些输入本质上缺乏有意义的信息。因此,这些模型难以有效地将这种噪声映射到真实样本分布,导致训练时间延长和输出质量低下。在本文中,我们提出了一种新颖的噪声层生成方法(NAYER),它将随机源从输入重新定位到噪声层,并利用有意义的常量标签文本嵌入(LTE)作为输入。LTE 使用语言模型生成一次,然后存储在内存中供所有后续训练过程使用。LTE 的重要性在于它能够包含大量有意义的类间信息,使得仅需少量训练步骤即可生成高质量样本。同时,噪声层在解决样本生成多样性问题方面发挥关键作用,通过防止模型过度强调受限的标签信息。通过在每次迭代中重新初始化噪声层,我们旨在促进多样化样本的生成,同时由于 LTE 提供的易学习性,仍保持方法的高效性。在多个数据集上进行的实验表明,我们的 NAYER 不仅优于最先进的方法,而且实现了比以前方法快 5 到 15 倍的速度。代码可在 https://github.com/tmtuan1307/nayer 获取。

英文摘要:

Data-Free Knowledge Distillation (DFKD) has made significant recent strides by transferring knowledge from a teacher neural network to a student neural network without accessing the original data. Nonetheless, existing approaches encounter a significant challenge when attempting to generate samples from random noise inputs, which inherently lack meaningful information. Consequently, these models struggle to effectively map this noise to the ground-truth sample distribution, resulting in prolonging training times and low-quality outputs. In this paper, we propose a novel Noisy Layer Generation method (NAYER) which relocates the random source from the input to a noisy layer and utilizes the meaningful constant label-text embedding (LTE) as the input. LTE is generated by using the language model once, and then it is stored in memory for all subsequent training processes. The significance of LTE lies in its ability to contain substantial meaningful inter-class information, enabling the generation of high-quality samples with only a few training steps. Simultaneously, the noisy layer plays a key role in addressing the issue of diversity in sample generation by preventing the model from overemphasizing the constrained label information. By reinitializing the noisy layer in each iteration, we aim to facilitate the generation of diverse samples while still retaining the method's efficiency, thanks to the ease of learning provided by LTE. Experiments carried out on multiple datasets demonstrate that our NAYER not only outperforms the state-of-the-art methods but also achieves speeds 5 to 15 times faster than previous approaches. The code is available at https://github.com/tmtuan1307/nayer.

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

↑