The Knowledge Within: Methods for Data-Free Model Compression
Matan Haroush, Itay Hubara, Elad Hoffer et al. · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · 2020
Background: Recently, an extensive amount of research has been focused on compressing and accelerating Deep Neural Networks (DNN). So far, high compression rate algorithms require part of the training dataset for a low precision calibration, or a fine-tuning process. However, this requirement is unacceptable when the data is unavailable or contains sensitive information, as in medical and biometric use-cases. Contributions: We present three methods for generating synthetic samples from trained models. Then, we demonstrate how these samples can be used to calibrate and fine-tune quantized models without using any real data in the process. Our best performing method has a negligible accuracy degradation compared to the original training set. This method, which leverages intrinsic batch normalization layers' statistics of the trained model, can be used to evaluate data similarity. Our approach opens a path towards genuine data-free model compression, alleviating the need for training data during model deployment.
Cited by 96 works. doi:10.1109/cvpr42600.2020.00852 Open-access PDF
Authors
References
- Deep Residual Learning for Image Recognition
- ImageNet Large Scale Visual Recognition Challenge
- Learning Multiple Layers of Features from Tiny Images
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
- Densely Connected Convolutional Networks
- MobileNetV2: Inverted Residuals and Linear Bottlenecks
- Distilling the Knowledge in a Neural Network
- Wide Residual Networks
- Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
- Automatic differentiation in PyTorch