CoChat

From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks

Open access
Geng, Xue, Wang, Zhe, Chen, Chunyun, Xu, Qing, Xu, Kaixin, Jin, Chao, Gupta, Manas, Yang, Xulei, Chen, Zhenghua, Sabry Aly, Mohamed M., Lin, Jie, Wu, Min, Li, Xiaoli · 2025 · IEEE Transactions on Neural Networks and Learning Systems

The DOI matches its Crossref record; 294 of the 296 references it cites were found in a registry or an index, and 2 are not checked yet.

Abstract

Deep neural networks (DNNs) have been widely used in many artificial intelligence (AI) tasks. However, deploying them brings significant challenges due to the huge cost of memory, energy, and computation. To address these challenges, researchers have developed various model compression techniques such as model quantization and model pruning. Recently, there has been a surge in research on compression methods to achieve model efficiency while retaining performance. Furthermore, more and more works focus on customizing the DNN hardware accelerators to better leverage the model compression techniques. In addition to efficiency, preserving security and privacy is critical for deploying DNNs. However, the vast and diverse body of related works can be overwhelming. This inspires us to conduct a comprehensive survey on recent research toward the goal of high-performance, cost-efficient, and safe deployment of DNNs. Our survey first covers the mainstream model compression techniques, such as model quantization, model pruning, knowledge distillation, and optimizations of nonlinear operations. We then introduce recent advances in designing hardware accelerators that can adapt to efficient model compression approaches. In addition, we discuss how homomorphic encryption can be integrated to secure DNN deployment. Finally, we discuss several issues, such as hardware evaluation, generalization, and integration of various compression approaches. Overall, we aim to provide a big picture of efficient DNNs from algorithm to hardware accelerators and security perspectives.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/tnnls.2024.3394494

Cites

294 of 296 references verified0 citation errors · 0 not checkable

Statistics

Figures

Fig. 1 (a) Quantization with uniform quantizer: the space is divided into equidistant quantization centroids. (b) Quantization with non-uniform quantizer: the space can be divided into polygonal cells based on data distribution. (c) Mixed-precision quantization: different dimensions (layers, channels, or kernels in the case of neural network quantization) are quantized with different bit widths. (d) Transform quantization with mixed precision: the space is first rotated and then quantized with mixed precision.
Fig. 1 (a) Quantization with uniform quantizer: the space is divided into equidistant quantization centroids. (b) Quantization with non-uniform quantizer: the space can be divided into polygonal cells based on data distribution. (c) Mixed-precision quantization: different dimensions (layers, channels, or kernels in the case of neural network quantization) are quantized with different bit widths. (d) Transform quantization with mixed precision: the space is first rotated and then quantized with mixed precision.CC-BY-NC-SA · From the PDF
Fig. 2 Homomorphic neural network for secure cloud computing in Secure Machine Learning as a Service scenario.
Fig. 2 Homomorphic neural network for secure cloud computing in Secure Machine Learning as a Service scenario.CC-BY-NC-SA · From the PDF
Algorithm 1: The classical greedy NMS.
Algorithm 1: The classical greedy NMS.CC-BY-NC-SA · From the PDF
Fig. 1 Simplified Eyeriss v2 PE Architecture. The PE is designed for CSC data format; the address scratchpad for both input activation and weight is used to store the address vector in the CSC compressed data, while the data scratchpad stores the data and count vectors. Figure adapted and simplified from [63]
Fig. 1 Simplified Eyeriss v2 PE Architecture. The PE is designed for CSC data format; the address scratchpad for both input activation and weight is used to store the address vector in the CSC compressed data, while the data scratchpad stores the data and count vectors. Figure adapted and simplified from [63]CC-BY-NC-SA · From the PDF
Fig. 2 a) The decoding modules in SNAP, where the comparator array is used to find the matched valid input activation and corresponding weight. Figure adopted and from [64]. b) The Neuron selector module in Cambrion-S, where AND gates decode the input activation and weight. Figure adopted from [65].
Fig. 2 a) The decoding modules in SNAP, where the comparator array is used to find the matched valid input activation and corresponding weight. Figure adopted and from [64]. b) The Neuron selector module in Cambrion-S, where AND gates decode the input activation and weight. Figure adopted from [65].CC-BY-NC-SA · From the PDF
Fig. 3 System architecture which is illustrated with 4 RRWs ( N = 4 ) and 8 memory banks in SMMs ( M = 8 ). The depth of the FIFOs is 4.
Fig. 3 System architecture which is illustrated with 4 RRWs ( N = 4 ) and 8 memory banks in SMMs ( M = 8 ). The depth of the FIFOs is 4.CC-BY-NC-SA · From the PDF

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

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?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 69

  1. Q. Lou, F. Guo, M. Kim, L. Liu, and L. Jiang, "Autoq: Automated kernel-wise neural network quantizations," in ICLR, 2020.
  2. S. W. et al., "Deepcabac: Context-adaptive binary arithmetic coding for deep neural network compression," in ICML Workshop, 2019.
  3. D. Oktay, J. Ballé, S. Singh, and A. Shrivastava, "Scalable model compression by entropy penalized reparameterization," in ICLR, 2020.
  4. Y. Wang, C. Xu, S. You, D. Tao, and C. Xu, "Cnnpack: packing convolutional neural networks in the frequency domain," in NIPS, 2016.
  5. E. L. Denton, W. Zaremba, J. Bruna, Y. LeCun, and R. Fergus, "Exploiting linear structure within convolutional networks for efficient evaluation," in NIPS, 2014.
  6. X. Zhang, J. Zou, X. Ming, K. He, and J. Sun, "Efficient and accurate approximations of nonlinear convolutional networks," CVPR, 2015.
  7. Y.-D. Kim, E. Park, S. Yoo, T. Choi, L. Yang, and D. Shin, "Com- pression of deep convolutional neural networks for fast and low power mobile applications," in ICLR, 2016.
  8. Y. Li, S. Gu, L. V. Gool, and R. Timofte, "Learning filter basis for convolutional neural network compression," ICCV, 2019.
  9. T. Dettmers, M. Lewis, Y. Belkada, and L. Zettlemoyer, "Gpt3. int8 (): 8-bit matrix multiplication for transformers at scale," BIPS, 2022.
  10. B. P. Tunstall, "Synthesis of noiseless compression codes," in PhD diss., Georgia Institute of Technology, 1967.
  11. R. Banner, Y. Nahshan, and D. Soudry, "Post training 4-bit quantization of convolutional networks for rapid-deployment," NIPS, 2019.
  12. G. Chen, W. Choi, X. Yu, T. Han, and M. Chandraker, "Learning efficient object detection models with knowledge distillation," in NIPS, 2017.
  13. Y. Tian, D. Krishnan, and P. Isola, "Contrastive representation distilla- tion," in ICLR, 2020.
  14. Nvidia. (2018) NVIDIA Deep Learning Accelerator. [Online]. Available: http://nvdla.org/primer.html
  15. S. Ben-Yacoub, "Fast object detection using mlp and fft," IDIAP, Tech. Rep., 1997.
  16. S. Han, H. Mao, and W. J. Dally, "Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding," in ICLR, 2016.
  17. T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to algorithms. MIT press, 2009.
  18. M. Rabbani, "Jpeg2000: Image compression fundamentals, standards and practice," Journal of Electronic Imaging, 2002. · DOI · Paper page
  19. J. J. Zhang, P. Raj, S. Zarar, A. Ambardekar, and S. Garg, "Compact: On-chip compression of activations for low power systolic array based cnn acceleration," TECS, 2019.
  20. J. H. Cheon, A. Kim, M. Kim, and Y. Song, "Homomorphic encryption for arithmetic of approximate numbers," in ASIACRYPT, 2017.
  21. T. Brown, B. Mann, N. Ryder, M. Subbiah, J. D. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell et al., "Language models are few-shot learners," NIPS, 2020.
  22. F. Li, B. Zhang, and B. Liu, "Ternary weight networks," in NIPS Workshop, 2016.
  23. D. Zhang, J. Yang, D. Ye, and G. Hua, "Lq-nets: learned quantization for highly accurate and compact deep neural networks," in ECCV, 2018.
  24. A. Zhou, A. Yao, Y. Guo, L. Xu, and Y. Chen, "Incremental network quantization: Towards lossless cnns with low-precision weights," in arXiv preprint arXiv:1702.03044, 2017. · arXiv
  25. S. Zhou, Y. Wu, Z. Ni, X. Zhou, H. Wen, and Y. Zou, "Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients," in arXiv preprint arXiv:1606.06160, 2016. · arXiv
  26. M. Nagel, M. Baalen, T. Blankevoort, and M. Welling, "Datafree quantization through weight equalization and bias correction," CVPR, 2019.
  27. R. Gong, X. Liu, S. Jiang, T. Li, P. Hu, J. Lin, F. Yu, and J. Yan, "Differentiable soft quantization: Bridging full-precision and low-bit neu-ral networks," in ICCV, 2019.
  28. S. Chen, W. Wang, and S. J. Pan, "Deep neural network quantization via layer-wise optimization using limited training data," in AAAI, 2019.
  29. B. Zhuang, C. Shen, M. Tan, L. Liu, and I. Reid, "Towards effective low-bitwidth convolutional neural networks," in CVPR, 2018.
  30. S. Jung, C. Son, S. Lee, J. Son, J.-J. Han, Y. Kwak, S. J. Hwang, and C. Choi, "Learning to quantize deep networks by optimizing quantization intervals with task loss," in CVPR, 2019.
  31. Q. Jin, L. Yang, Z. Liao, and X. Qian, "Neural network quantization with scale-adjusted training," BMVC, 2020.
  32. B. Zhuang, L. Liu, M. Tan, C. Shen, and I. Reid, "Training quantized neural networks with a full-precision auxiliary module," in CVPR, 2020.
  33. Y. Gong, L. Liu, M. Yang, and L. Bourdev, "Compressing deep convo- lutional networks using vector quantization," in ICLR, 2015.
  34. W. Chen, J. T. Wilson, S. Tyree, K. Q. Weinberger, and Y. Chen, "Compressing neural networks with the hashing trick," in ICML, 2015.
  35. W. Chen, J. Wilson, S. Tyree, K. Q. Weinberger, and Y. Chen, "Com- pressing convolutional neural networks in the frequency domain," in SIGKDD, 2016.
  36. P. Stock, A. Joulin, R. Gribonval, B. Graham, and H. Jegou, "And the bit goes down: revisiting the quantization of neural networks," in ICLR, 2020.
  37. Y. Li, X. Dong, and W. Wang, "Additive powers-of-two quantization: An efficient non-uniform discretization for neural networks," in ICLR, 2020.
  38. J. Faraone, N. Fraser, M. Blott, and P. H. Leong, "Syq: Learning symmetric quantization for efficient deep neural networks," in arXiv, 2018.
  39. G. Hinton, O. Vinyals, J. Dean et al., "Distilling the knowledge in a neural network," arXiv preprint arXiv:1503.02531, 2015. · arXiv
  40. C. Wang, X. Lan, and Y. Zhang, "Model distillation with knowledge transfer from face classification to alignment and verification," arXiv preprint arXiv:1709.02929, 2017. · arXiv
  41. T. Wang, L. Yuan, X. Zhang, and J. Feng, "Distilling object detectors with fine-grained feature imitation," in CVPR, 2019.
  42. Q. Xu, Z. Chen, K. Wu, C. Wang, M. Wu, and X. Li, "Kdnet-rul: A knowledge distillation framework to compress deep neural networks for machine remaining useful life prediction," IEEE Transactions on Industrial Electronics, 2021.
  43. Z. Xu, Y.-C. Hsu, and J. Huang, "Training shallow and thin networks for acceleration via knowledge distillation with conditional adversarial networks," in ICLR Workshop, 2018.
  44. L. Gao, H. Mi, B. Zhu, D. Feng, Y. Li, and Y. Peng, "An adversarial feature distillation method for audio classification," IEEE Access, 2019.
  45. I. Chung, S. Park, J. Kim, and N. Kwak, "Feature-map-level online adversarial knowledge distillation," in ICML, 2020.
  46. Y. Liu, K. Wang, G. Li, and L. Lin, "Semantics-aware adaptive knowl- edge distillation for sensor-to-vision action recognition," IEEE TIP, 2021.
  47. Y. Chebotar and A. Waters, "Distilling knowledge from ensembles of neural networks for speech recognition." in Interspeech, 2016.
  48. M.-C. Wu, C.-T. Chiu, and K.-H. Wu, "Multi-teacher knowledge distilla- tion for compressed video action recognition on deep neural networks," in ICASSP, 2019.
  49. T. Fukuda, M. Suzuki, G. Kurata, S. Thomas, J. Cui, and B. Ramabhad- ran, "Efficient knowledge distillation from an ensemble of teachers." in Interspeech, 2017.
  50. F. Yuan, L. Shou, J. Pei, W. Lin, M. Gong, Y. Fu, and D. Jiang, "Reinforced multi-teacher selection for knowledge distillation," in AAAI, 2021.
  51. Y. Zhang, T. Xiang, T. M. Hospedales, and H. Lu, "Deep mutual learning," in CVPR, 2018.
  52. M. Ji, S. Shin, S. Hwang, G. Park, and I.-C. Moon, "Refine myself by teaching myself: Feature refinement via self-knowledge distillation," in CVPR, 2021.
  53. R. G. Lopes, S. Fenu, and T. Starner, "Data-free knowledge distillation for deep neural networks," NIPS LLD Workshop, 2017.
  54. H. Chen, Y. Wang, C. Xu, Z. Yang, C. Liu, B. Shi, C. Xu, C. Xu, and Q. Tian, "Data-free learning of student networks," in ICCV, 2019.
  55. Y. Zhang, H. Chen, X. Chen, Y. Deng, C. Xu, and Y. Wang, "Data-free knowledge distillation for image super-resolution," in CVPR, 2021.
  56. G. K. Nayak, K. R. Mopuri, V. Shaj, V. B. Radhakrishnan, and A. Chakraborty, "Zero-shot knowledge distillation in deep networks," in ICML, 2019.
  57. H. Ma and T. Chen, "Undistillable: Making a nasty teacher that cannot teach students," in ICLR, 2021.
  58. S. Jandial, Y. Khasbage, A. Pal, V. N. Balasubramanian, and B. Krish- namurthy, "Distilling the undistillable: Learning from a nasty teacher," in ECCV, 2022.
  59. V. Sze, "Efficient processing of deep neural networks: from algorithms to hardware architectures," in NIPS, 2019.
  60. Y.-H. Chen, T.-J. Yang, J. Emer, and V. Sze, "Eyeriss v2: A flexible accelerator for emerging deep neural networks on mobile devices," IEEE Journal on Emerging and Selected Topics in Circuits and Systems, 2019.
  61. J.-F. Zhang, C.-E. Lee, C. Liu, Y. S. Shao, S. W. Keckler, and Z. Zhang, "Snap: A 1.67-21.55 tops/w sparse neural acceleration processor for unstructured sparse deep neural network inference in 16nm cmos," in VLSIC. IEEE, 2019.
  62. T. Zhang et al., "Psrr-maxpoolnms: Pyramid shifted maxpoolnms with relationship recovery," in CVPR, 2021.
  63. D. Oro et al., "Work-Efficient Parallel Non-Maximum Suppression Kernels," The Computer Journal, 08 2020.
  64. A. Krizhevsky, I. Sutskever, and G. Hinton, "ImageNet classification with deep convolutional neural networks," in NIPS, 2012.
  65. C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, "Going deeper with convolutions," in CVPR, 2015.
  66. K. Simonyan and A. Zisserman, "Very deep convolutional networks for large-scale image recognition," in ICLR, 2015.
  67. K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," in CVPR, 2016.
  68. G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger, "Densely connected convolutional networks," in CVPR, 2017.
  69. A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, "Attention is all you need," NIPS, 2017.

Cited by

See all 26

Metadata

Authors
Geng, X., Wang, Z., Chen, C., Xu, Q., Xu, K., Jin, C., Gupta, M., Yang, X., Chen, Z., Sabry Aly, M. M., Lin, J., Wu, M., & Li, X.
Affiliations
  • Agency for Science, Technology and Research (SG)
  • Nanyang Technological University (SG)
  • College of Computing and Data Science (CCDS), Nanyang Technological University, Jurong West, Singapore
Venue
IEEE Transactions on Neural Networks and Learning Systems
Published
2025-04
Volume
36
Issue
4
Pages
5837-5857
ISSN
  • 2162-237X (ISSN-L)
  • 2162-2388
OpenAlex
W4399666094
Cited by
26
References
268
Citations by year
2026: 17 · 2025: 9
FWCI
3.62
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Neural Networks and Learning Systems (publishedVersion)
  • PubMed (publishedVersion)
  • arXiv (Cornell University) (submittedVersion, cc-by-nc-sa)
  • DR-NTU (Nanyang Technological University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • Advanced Manufacturing and Engineering (AME) Programmatic Fund (RIE2020/RIE2025, A1892b0026, A19E3b0099)
  • Manufacturing, Trade and Connectivity (M23L7b0021)
  • AME Young Individual Research (A2084c0167)
  • Career Development Fund (C210812035)
  • Agency for Science, Technology and Research
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
Keywords
deep neural network deployment, model compression, model quantization, model pruning, knowledge distillation, hardware accelerators, homomorphic encryption, privacy-preserving machine learning, energy efficiency, hardware evaluation

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

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.