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

无数据模型压缩的双鉴别器对抗蒸馏

Dual Discriminator Adversarial Distillation for Data-free Model Compression

Ocean University of China(中国海洋大学);Technical University of Munich(慕尼黑工业大学);Virginia Commonwealth University(弗吉尼亚联邦大学);University of Leicester(莱斯特大学);University of Portsmouth(朴茨茅斯大学)

Haoran Zhao, Xin Sun, Junyu Dong, Hui Yu, Huiyu Zhou

摘要:

知识蒸馏已被广泛用于产生可移植的、高效的神经网络,这些神经网络可以很好地应用于边缘设备上,用于计算机视觉任务。然而,几乎所有性能最好的知识蒸馏方法都需要访问原始训练数据,这些数据通常具有巨大的规模并且通常不可用。为了解决这个问题,我们提出了一种新的无数据的方法,命名为双鉴别器对抗蒸馏(DDAD)提取神经网络没有任何训练数据或元数据。具体地说,我们使用一个生成器来通过双重对抗蒸馏来创建样本,这模仿了原始的训练数据。该生成器不仅在现有的批量归一化层中使用预先训练的教师的内在统计数据,而且还从学生模型中获得最大差异。然后在教师的监督下,使用生成的样本来训练紧凑的学生网络。所提出的方法获得了一个有效的学生网络,非常接近其教师网络,尽管没有使用原始的训练数据。在CIFAR-10、CIFAR-100和Caltech 101数据集上进行了大量的实验,以证明所提出的方法在分类任务中的有效性。此外,我们将我们的方法扩展到几个公共数据集,如CamVid和NYUv 2上的语义分割任务。所有实验表明,我们的方法优于所有基线的无数据知识蒸馏。

英文摘要:

Knowledge distillation has been widely used to produce portable and efficient neural networks which can be well applied on edge devices for computer vision tasks. However, almost all top-performing knowledge distillation methods need to access the original training data, which usually has a huge size and is often unavailable. To tackle this problem, we propose a novel data-free approach in this paper, named Dual Discriminator Adversarial Distillation (DDAD) to distill a neural network without any training data or meta-data. To be specific, we use a generator to create samples through dual discriminator adversarial distillation, which mimics the original training data. The generator not only uses the pre-trained teacher's intrinsic statistics in existing batch normalization layers but also obtains the maximum discrepancy from the student model. Then the generated samples are used to train the compact student network under the supervision of the teacher. The proposed method obtains an efficient student network which closely approximates its teacher network, despite using no original training data. Extensive experiments are conducted to to demonstrate the effectiveness of the proposed approach on CIFAR-10, CIFAR-100 and Caltech101 datasets for classification tasks. Moreover, we extend our method to semantic segmentation tasks on several public datasets such as CamVid and NYUv2. All experiments show that our method outperforms all baselines for data-free knowledge distillation.

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

↑