본문 바로가기
KERD
논문KCI 등재

임베디드 시스템에서의 객체 분류를 위한 TVM기반의 성능 최적화 연구

TVM-based Performance Optimization for Image Classification in Embedded Systems

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

초록

Optimizing the performance of deep neural networks on embedded systems is a challenging task that requires efficient compilers and runtime systems. We propose a TVM-based approach that consists of three steps: quantization, auto-scheduling, and ahead-of-time compilation. Our approach reduces the computational complexity of models without significant loss of accuracy, and generates optimized code for various hardware platforms. We evaluate our approach on three representative CNNs using ImageNet Dataset on the NVIDIA Jetson AGX Xavier board and show that it outperforms baseline methods in terms of processing speed.

Abstract

Optimizing the performance of deep neural networks on embedded systems is a challenging task that requires efficient compilers and runtime systems. We propose a TVM-based approach that consists of three steps: quantization, auto-scheduling, and ahead-of-time compilation. Our approach reduces the computational complexity of models without significant loss of accuracy, and generates optimized code for various hardware platforms. We evaluate our approach on three representative CNNs using ImageNet Dataset on the NVIDIA Jetson AGX Xavier board and show that it outperforms baseline methods in terms of processing speed.

참고문헌 (35)

  1. R. Padilla, "A Survey on Performance Metrics for Object-detection Algorithms", 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), pp.237~242 (2020)
  2. A. Kumar, "Face Detection Techniques: A Review", Artificial Intelligence Review, 52, pp.927~948 (2019)
  3. Y. Kang, "Natural Language Processing (NLP) in Management Research:A Literature Review", Journal of Management Analytics, 7(2), pp.139~172 (2020)
  4. J ,Chen, "Deep Learning with Edge Computing:A Review", Proceedings of the IEEE, 107(8), pp.1655~1674 (2019)
  5. T. Chen, "TVM: An Automated End-to-end Optimizing Compiler for Deep Learning", ~ (2018)
  6. H. Wu, "Integer Quantization for Deep Learning Inference:Principles and Empirical Evaluation", ~ (2020)
  7. M. A. C. Fernandes, "A Novel Training Strategy for Deep Learning Model Compression Applied to Viral Classifications", 2021 International Joint Conference on Neural Networks (IJCNN), pp.1~9 (2021)
  8. Y. Zhou, "QuantBayes: Weight Optimization for Memristive Neural Networks Via Quantization-aware Bayesian Inference", IEEE Transactions on Circuits and Systems I : Regular Papers, 68(12), pp.4851~4861 (2021)
  9. N. Shoghi, "SmaQ:Smart Quantization for DNN Training by Exploiting Value Clustering", IEEE Computer Architecture Letters, 20(2), pp.126~129 (2021)
  10. B. Liberatori, "YOLO-Based Face Mask Detection on Low-End Devices Using Pruning and Quantization", 2022 45th Jubilee International Convention on Information, Communication and Electronic Technology (MIPRO), pp.900~905 (2022)
  11. S. Zhang, "Neural Network Quantization Methods For Voice Wake Up Network", Journal of Physics : Conference Series, 1871(1), pp.012049~ (2021)
  12. Performance Analysis on TVM Optimization for AI Framework in Autonomous Vehicles, "M. H. Shin", Institute of Embedded Engineering of Korea, ~ (2021)
  13. L. Zheng, "Ansor:Generating High-performance Tensor Programs for Deep Learning", Proceedings of the 14th USENIX Conference on Operating Systems Design and Implementation, pp.863~879 (2020)
  14. A Study on the Effect of Low-level Code Optimization for DNNs via TVM Optimization Performance Analysis, "M. H. Shin", Korea Institute of Military Science and Technology, ~ (2021)
  15. M. H. Shin, "A Study on TVM for the Embedded Software in Weapon Systems", The Korea Institute of Intelligent Transport Systems, 2022(6), pp.246~251 (2022)
  16. H. A. Abdelhafez, "Snowflakes at the Edge: A Study of Variability Among NVIDIA Jetson AGX Xavier Boards", Proceedings of the 4th International Workshop on Edge Systems, Analytics and Networking, pp.1~6 (2021)
  17. K. He, "Deep Residual Learning for Image Recognition", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.770~778 (2016)
  18. M. Sandler, "Mobilenetv2: Inverted Residuals and Linear Bottlenecks", Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp.4510~4520 (2018)
  19. M. Tan, "Efficientnetv2: Smaller Models and Faster Training", International Conference on Machine Learning, pp.10096~10106 (2021)
  20. J. Deng, "Imagenet: A Large-scale Hierarchical Image Database", 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp.248~255 (2009)
  21. Y. Wei-Wei, "Real-Time Drivers' Violation Behaviors Detection Based on Improved YOLOv3-tiny Algorithm-Based on Model Pruning and Half-Precision Acceleration", Computer Systems & Applications, 29(04), pp.41~47 (2020)
  22. D. Lin, "Fixed Point Quantization of Deep Convolutional Networks", International Conference on Machine Learning, pp.2849~2858 (2016)
  23. P. Nayak, "Bit Efficient Quantization for Deep Neural Networks", 2019 Fifth Workshop on Energy Efficient Machine Learning and Cognitive Computing-NeurIPS Edition (EMC2-NIPS), pp.52~56 (2019)
  24. S. Yang, "Evolutionary Clustering Based Vector Quantization and SPIHT Coding for Image Compression", Pattern Recognition Letters, 31(13), pp.1773~1780 (2010)
  25. R. C. O. Rocha, "Vectorization-aware Loop Unrolling with Seed Forwarding", Proceedings of the 29th International Conference on Compiler Construction, pp.1~13 (2020)
  26. K. Hammond, "Profiling Scheduling Strategies on the GRIP Parallel Reducer", Submitted to Journal of Parallel and Distributed Computing (1991)
  27. S. D. Hammond, "Sandia ATDM Performance Execution Tools & Analysis", ~ (2018)
  28. M. Abadi, "Tensorflow: Large-scale Machine Learning on Heterogeneous Distributed Systems", ~ (2016)
  29. A. Paszke, "Pytorch: An Imperative Style, High-performance Deep Learning Library", Advances in Neural Information Processing Systems, 32 (2019)
  30. J. Bai, "Onnx: Open Neural Network Exchange", pp.54~ (2019), GitHub Repository
  31. G. Bradski, "The OpenCV Library", Dr. Dobb's Journal : Software Tools for the Professional Programmer, 25(11), pp.120~123 (2000)
  32. "S32V Vision and Sensor Fusion Evaluation Board"[URL]
  33. D. H. Son, "Development of High Reliable Real-Time Operating System (RTWORKS)Based on Partitioning and Application of Weapon System", Communications of the Korean Institute of Information Scientists and Engineers, 34(10), pp.53~59 (2016)

관련 논문AI추천

이 간행물의 다른 논문 (5건)