Data-Free Network Quantization With Adversarial Knowledge Distillation
Open accessAbstract
Network quantization is an essential procedure in deep learning for development of efficient fixed-point inference models on mobile or edge platforms. However, as datasets grow larger and privacy regulations become stricter, data sharing for model compression gets more difficult and restricted. In this paper, we consider data-free network quantization with synthetic data. The synthetic data are generated from a generator, while no data are used in training the generator and in quantization. To this end, we propose data-free adversarial knowledge distillation, which minimizes the maximum distance between the outputs of the teacher and the (quantized) student for any adversarial samples from a generator. To generate adversarial samples similar to the original data, we additionally propose matching statistics from the batch normalization layers for generated data and the original data in the teacher. Furthermore, we show the gain of producing diverse adversarial samples by using multiple generators and multiple students. Our experiments show the state-of-the-art data-free model compression and quantization results for (wide) residual networks and MobileNet on SVHN, CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets. The accuracy losses compared to using the original datasets are shown to be very minimal.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Clustering can help reduce information loss from quantization.
“In addition to rule-based and optimization-based nonuniform quantization, clustering can also be beneficial to alleviate the information loss due to quantization.”
From A Survey of Quantization Methods for Efficient Neural Network Inference (2022) · cites this paper as [38]
The Constraints section discusses network quantization generally, and Section 4.2 reports results for data-free quantization and quantization-aware training. Neither addresses whether clustering alleviates information loss from quantization; searches for clustering and cluster-centroid quantization found no supporting passage. (LLM, conf=0.75)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · see citing works
Explaining and Harnessing Adversarial Examples
Goodfellow, I. J., Shlens, J., & Szegedy, C. (2014) · arXiv · doi:10.48550/arxiv.1412.6572 · Cited by 10,381 · see citing works
Towards Evaluating the Robustness of Neural Networks
Carlini, N., & Wagner, D. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.49 · Cited by 8,859 · see citing works
Zagoruyko, S., & Komodakis, N. (2016) · Procedings of the British Machine Vision Conference 2016 · doi:10.5244/c.30.87 · Cited by 7,244 · see citing works
Efficient Processing of Deep Neural Networks: A Tutorial and Survey
Sze, V., Chen, Y.-H., Yang, T.-J., & Emer, J. S. (2017) · Proceedings of the IEEE · doi:10.1109/jproc.2017.2761740 · Cited by 4,215 · cited 1× · see citing works
“The benefit of over-parameterization is empirically shown to be the key factor of the great success of deep learning, but once we find a well-trained high-accuracy model, its deployment on various inference platforms faces different requirements and challenges [3, 4].”
Cheng, Y., Wang, D., Zhou, P., & Zhang, T. (2018) · IEEE Signal Processing Magazine · doi:10.1109/msp.2017.2765695 · Cited by 817 · see citing works
Learning Sparse Neural Networks through $L_0$ Regularization
Louizos, C., Welling, M., & Kingma, D. P. (2017) · arXiv · doi:10.48550/arxiv.1712.01312 · Cited by 628 · see citing works
Flagged first, then by citations
Research works printed but not linked: 58
- Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436-444, 2015.
- Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016.
- Song Han, Jeff Pool, John Tran, and William Dally. Learning both weights and connections for efficient neural network. In Advances in Neural Information Processing Systems, pages 1135-1143, 2015.
- Wei Wen, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Learning structured sparsity in deep neural net- works. In Advances in Neural Information Processing Sys- tems, pages 2074-2082, 2016.
- Yiwen Guo, Anbang Yao, and Yurong Chen. Dynamic net- work surgery for efficient DNNs. In Advances In Neural Information Processing Systems, pages 1379-1387, 2016.
- Dmitry Molchanov, Arsenii Ashukha, and Dmitry Vetrov. Variational dropout sparsifies deep neural networks. In In- ternational Conference on Machine Learning, pages 2498- 2507, 2017.
- Christos Louizos, Karen Ullrich, and Max Welling. Bayesian compression for deep learning. In Advances in Neural Infor- mation Processing Systems, pages 3290-3300, 2017.
- Christos Louizos, Max Welling, and Diederik P Kingma. Learning sparse neural networks through L0 regularization. In International Conference on Learning Representations, 2018.
- Jonathan Frankle and Michael Carbin. The lottery ticket hy- pothesis: Finding sparse, trainable neural networks. In Inter- national Conference on Learning Representations, 2018.
- Bin Dai, Chen Zhu, Baining Guo, and David Wipf. Com- pressing neural networks using the variational information bottleneck. In International Conference on Machine Learn- ing, pages 1135-1144, 2018.
- Song Han, Huizi Mao, and William J Dally. Deep com- pression: Compressing deep neural networks with pruning, trained quantization and Huffman coding. In International Conference on Learning Representations, 2016.
- Karen Ullrich, Edward Meeds, and Max Welling. Soft weight-sharing for neural network compression. In Inter- national Conference on Learning Representations, 2017.
- Eunhyeok Park, Junwhan Ahn, and Sungjoo Yoo. Weighted- entropy-based quantization for deep neural networks. In Pro- ceedings of the IEEE International Conference on Computer Vision, pages 7197-7205, 2017.
- Frederick Tung and Greg Mori. Deep neural network com- pression by in-parallel pruning-quantization. IEEE Transac- tions on Pattern Analysis and Machine Intelligence, 2018.
- Yoojin Choi, Mostafa El-Khamy, and Jungwon Lee. Uni- versal deep neural network compression. IEEE Journal of Selected Topics in Signal Processing, 2020.
- Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. XNOR-Net: Imagenet classification using binary convolutional neural networks. In Proceedings of the European Conference on Computer Vision, pages 525-542, 2016.
- Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. DoReFa-Net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint arXiv:1606.06160, 2016. · arXiv
- Chenzhuo Zhu, Song Han, Huizi Mao, and William J Dally. Trained ternary quantization. In International Conference on Learning Representations, 2017.
- Zhaowei Cai, Xiaodong He, Jian Sun, and Nuno Vasconce- los. Deep learning with low precision by half-wave Gaus- sian quantization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5918- 5926, 2017.
- Dongqing Zhang, Jiaolong Yang, Dongqiangzi Ye, and Gang Hua. LQ-Nets: Learned quantization for highly accurate and compact deep neural networks. In Proceedings of the Euro- pean Conference on Computer Vision, pages 365-382, 2018.
- Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceed- ings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2704-2713, 2018.
- Kuan Wang, Zhijian Liu, Yujun Lin, Ji Lin, and Song Han. HAQ: Hardware-aware automated quantization with mixed precision. In Proceedings of the IEEE Conference on Com- puter Vision and Pattern Recognition, pages 8612-8620, 2019.
- Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco An- dreetto, and Hartwig Adam. MobileNets: Efficient convolu- tional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. · arXiv
- Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distill- ing the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. · arXiv
- Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fit- Nets: Hints for thin deep nets. In International Conference on Learning Representations, 2015.
- Sergey Zagoruyko and Nikos Komodakis. Paying more at- tention to attention: Improving the performance of convolu- tional neural networks via attention transfer. In International Conference on Learning Representations, 2017.
- Sungsoo Ahn, Shell Xu Hu, Andreas Damianou, Neil D Lawrence, and Zhenwen Dai. Variational information distil- lation for knowledge transfer. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9163-9171, 2019.
- Yuntao Chen, Naiyan Wang, and Zhaoxiang Zhang. Dark- Rank: Accelerating deep metric learning via cross sample similarities transfer. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018.
- Wonpyo Park, Dongju Kim, Yan Lu, and Minsu Cho. Rela- tional knowledge distillation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3967-3976, 2019.
- Raphael Gontijo Lopes, Stefano Fenu, and Thad Starner. Data-free knowledge distillation for deep neural networks. In NeurIPS Workshop on Learning with Limited Data, 2017.
- Kartikeya Bhardwaj, Naveen Suda, and Radu Marculescu. Dream distillation: A data-independent model compression framework. In ICML Joint Workshop on On-Device Machine Learning and Compact Deep Neural Network Representa- tions (ODML-CDNNR), 2019.
- Hanting Chen, Yunhe Wang, Chang Xu, Zhaohui Yang, Chuanjian Liu, Boxin Shi, Chunjing Xu, Chao Xu, and Qi Tian. Data-free learning of student networks. In Proceed- ings of the IEEE International Conference on Computer Vi- sion, pages 3514-3522, 2019.
- Paul Micaelli and Amos J Storkey. Zero-shot knowledge transfer via adversarial belief matching. In Advances in Neural Information Processing Systems, pages 9547-9557, 2019.
- Sergey Zagoruyko and Nikos Komodakis. Wide residual net- works. In Proceedings of the British Machine Vision Confer- ence, pages 87.1-87.12, 2016.
- Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bis- sacco, Bo Wu, and Andrew Y Ng. Reading digits in natu- ral images with unsupervised feature learning. In NeurIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011.
- Hongxu Yin, Pavlo Molchanov, Zhizhong Li, Jose M Al- varez, Arun Mallya, Derek Hoiem, Niraj K Jha, and Jan Kautz. Dreaming to distill: Data-free knowledge transfer via DeepInversion. arXiv preprint arXiv:1912.08795, 2019. · arXiv
- Raghuraman Krishnamoorthi. Quantizing deep convolu- tional networks for efficient inference: A whitepaper. arXiv preprint arXiv:1806.08342, 2018. · arXiv
- Gaurav Kumar Nayak, Konda Reddy Mopuri, Vaisakh Shaj, Venkatesh Babu Radhakrishnan, and Anirban Chakraborty. Zero-shot knowledge distillation in deep networks. In In- ternational Conference on Machine Learning, pages 4743- 4751, 2019.
- Jaemin Yoo, Minyong Cho, Taebum Kim, and U Kang. Knowledge extraction with no observable data. In Advances in Neural Information Processing Systems, pages 2701- 2710, 2019.
- Markus Nagel, Mart van Baalen, Tijmen Blankevoort, and Max Welling. Data-free quantization through weight equal- ization and bias correction. In Proceedings of the IEEE Inter- national Conference on Computer Vision, pages 1325-1334, 2019.
- Aharon Ben-Tal, Laurent El Ghaoui, and Arkadi Ne- mirovski. Robust Optimization, volume 28. Princeton Uni- versity Press, 2009.
- Dimitris Bertsimas, David B Brown, and Constantine Cara- manis. Theory and applications of robust optimization. SIAM review, 53(3):464-501, 2011.
- Naveed Akhtar and Ajmal Mian. Threat of adversarial at- tacks on deep learning in computer vision: A survey. IEEE Access, 6:14410-14430, 2018.
- Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learn- ing models resistant to adversarial attacks. In International Conference on Learning Representations, 2018.
- Omid Poursaeed, Isay Katsman, Bicheng Gao, and Serge Be- longie. Generative adversarial perturbations. In Proceed- ings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4422-4431, 2018.
- Huaxia Wang and Chun-Nam Yu. A direct approach to robust deep learning using adversarial networks. In International Conference on Learning Representations, 2019.
- Yunseok Jang, Tianchen Zhao, Seunghoon Hong, and Honglak Lee. Adversarial defense via learning to generate diverse attacks. In Proceedings of the IEEE International Conference on Computer Vision, pages 2740-2749, 2019.
- Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Deep image prior. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 9446- 9454, 2018.
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems, pages 2672-2680, 2014.
- Ian Goodfellow. NIPS 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160, 2016. · arXiv
- Ishan Durugkar, Ian Gemp, and Sridhar Mahadevan. Genera- tive multi-adversarial networks. In International Conference on Learning Representations, 2017.
- Tu Nguyen, Trung Le, Hung Vu, and Dinh Phung. Dual dis- criminator generative adversarial nets. In Advances in Neural Information Processing Systems, pages 2670-2680, 2017.
- Sanjeev Arora, Rong Ge, Yingyu Liang, Tengyu Ma, and Yi Zhang. Generalization and equilibrium in generative adver- sarial nets (GANs). In International Conference on Machine Learning, pages 224-232, 2017.
- Quan Hoang, Tu Dinh Nguyen, Trung Le, and Dinh Phung. MGAN: Training generative adversarial nets with multiple generators. In International Conference on Learning Repre- sentations, 2018.
- Thomas M Cover and Joy A Thomas. Elements of Informa- tion Theory. John Wiley & Sons, 2012.
- Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.
- Yurii Nesterov. A method for unconstrained convex mini- mization problem with the rate of convergence O(1/k 2 ). In Doklady AN USSR, volume 269, pages 543-547, 1983.
- Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradi- ent descent with warm restarts. In International Conference on Learning Representations, 2017.
Cited by
Sorted by citations
A Survey of Quantization Methods for Efficient Neural Network Inference
Gholami, A., Kim, S., Dong, Z., Yao, Z., Mahoney, M. W., & Keutzer, K. (2022) · Low-Power Computer Vision · doi:10.1201/9781003162810-13 · Cited by 1,219 · see citing works
“To take a step further, recent research [37, 89, 251] finds it effective to train and exploit generative models that can better capture the real data distribution and generate more realistic synthetic data.”
Jumping through Local Minima: Quantization in the Loss Landscape of Vision Transformers
Frumkin, N., Gope, D., & Marculescu, D. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01557 · Cited by 14 · see citing works
- Authors
- Choi, Y., Choi, J., El-Khamy, M., & Lee, J.
- Affiliations
- Samsung (South Korea) (KR)
- Daegu Gyeongbuk Institute of Science and Technology (KR)
- Venue
- 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)
- Publisher
- IEEE
- Published
- 2020-06
- Pages
- 3047-3057
- OpenAlex
- W3020927126
- Cited by
- 135
- References
- 7
- Citations by year
- 2026: 3 · 2025: 21 · 2024: 31 · 2023: 33 · 2022: 20 · 2021: 25 · 2020: 2
- FWCI
- 6.17
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Keywords
- data-free quantization, neural network quantization, model compression, synthetic data generation, adversarial examples, batch normalization statistics, ResNet, MobileNet
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review