arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.06253cs.LGcs.AI
收藏

最多100个$\times$更快的无数据知识蒸馏

Up to 100$\times$ Faster Data-free Knowledge Distillation

Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);Alibaba-Zhejiang University Joint Research Institute of Frontier Technologies(阿里巴巴-浙江大学前沿技术联合研究中心)

Gongfan Fang, Kanya Mo, Xinchao Wang, Jie Song, Shitao Bei, Haofei Zhang, Mingli Song

摘要:

无数据知识蒸馏(DFKD)由于其仅使用合成数据压缩模型的能力,近年来引起了研究界越来越多的关注。尽管取得了令人鼓舞的结果,但最先进的DFKD方法仍然存在数据合成效率低下的问题,使得无数据训练过程非常耗时,因此不适用于大规模任务。在这项工作中,我们引入了一个有效的计划,称为FastDFKD,使我们能够加速DFKD的数量级的因素。在我们的方法的核心是一种新的策略,重用共享的共同特征的训练数据,以综合不同的数据实例。与独立优化一组数据的现有方法不同,我们建议学习一个元合成器,该元合成器寻求共同的特征作为快速数据合成的初始化。因此,FastDFKD仅需几步即可实现数据合成,显著提高了无数据训练的效率。在CIFAR,NYUv2和ImageNet上的实验表明,所提出的FastDFKD实现了10 $\times$甚至100 $\times$的加速,同时保持了与最先进水平相当的性能。代码可在\url{https://github.com/zju-vipa/Fast-Datafree}上获得。

英文摘要:

Data-free knowledge distillation (DFKD) has recently been attracting increasing attention from research communities, attributed to its capability to compress a model only using synthetic data. Despite the encouraging results achieved, state-of-the-art DFKD methods still suffer from the inefficiency of data synthesis, making the data-free training process extremely time-consuming and thus inapplicable for large-scale tasks. In this work, we introduce an efficacious scheme, termed as FastDFKD, that allows us to accelerate DFKD by a factor of orders of magnitude. At the heart of our approach is a novel strategy to reuse the shared common features in training data so as to synthesize different data instances. Unlike prior methods that optimize a set of data independently, we propose to learn a meta-synthesizer that seeks common features as the initialization for the fast data synthesis. As a result, FastDFKD achieves data synthesis within only a few steps, significantly enhancing the efficiency of data-free training. Experiments over CIFAR, NYUv2, and ImageNet demonstrate that the proposed FastDFKD achieves 10$\times$ and even 100$\times$ acceleration while preserving performances on par with state of the art. Code is available at \url{https://github.com/zju-vipa/Fast-Datafree}.

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

↑