Data-Free Knowledge Distillation for Deep Neural Networks
Raphael Gontijo Lopes, Stefano Fenu, Thad Starner
TL;DR
The paper tackles the challenge of compressing large neural networks when the original training data is unavailable. It introduces data-free knowledge distillation, leveraging activation-based metadata (top-layer, all-layer, and spectral records) to reconstruct surrogate training data and train a smaller student model. Through experiments on MNIST and CelebA, it demonstrates that richer activation records, especially spectral methods, substantially improve data-free distillation performance, approaching traditional distillation under certain conditions. The work highlights practical benefits for distributing compressed models when data handling or privacy concerns prohibit data sharing, and it calls for standardized metadata formats to support such techniques.
Abstract
Recent advances in model compression have provided procedures for compressing large neural networks to a fraction of their original size while retaining most if not all of their accuracy. However, all of these approaches rely on access to the original training set, which might not always be possible if the network to be compressed was trained on a very large dataset, or on a dataset whose release poses privacy or safety concerns as may be the case for biometrics tasks. We present a method for data-free knowledge distillation, which is able to compress deep neural networks trained on large-scale datasets to a fraction of their size leveraging only some extra metadata to be provided with a pretrained model release. We also explore different kinds of metadata that can be used with our method, and discuss tradeoffs involved in using each of them.
