journal article·2022-07-21Open access

Design and Acceleration of Field Programmable Gate Array-Based Deep Learning for Empty-Dish Recycling Robots

Zhichen Wang, Hengyi Li, Xuebin Yue, Lin Meng

Applied Sciences· Volume 12· Issue 14

Abstract

As the proportion of the working population decreases worldwide, robots with artificial intelligence have been a good choice to help humans. At the same time, field programmable gate array (FPGA) is generally used on edge devices including robots, and it greatly accelerates the inference process of deep learning tasks, including object detection tasks. In this paper, we build a unique object detection dataset of 16 common kinds of dishes and use this dataset for training a YOLOv3 object detection model. Then, we propose a formalized process of deploying a YOLOv3 model on the FPGA platform, which consists of training and pruning the model on a software platform, and deploying the pruned model on a hardware platform (such as FPGA) through Vitis AI. According to the experimental results, we successfully realize acceleration of the dish detection using a YOLOv3 model based on FPGA. By applying different sparse training and pruning methods, we test the pruned model in 18 different situations on the ZCU102 evaluation board. In order to improve detection speed as much as possible while ensuring detection accuracy, for the pruned model with the highest comprehensive performance, compared to the original model, the comparison results are as follows: the model size is reduced from 62 MB to 12 MB, which is only 19% of the origin; the number of parameters is reduced from 61,657,117 to 9,900,539, which is only 16% of the origin; the running time is reduced from 14.411 s to 6.828 s, which is only less than half of the origin, while the detection accuracy is decreased from 97% to 94.1%, which is only less than 3%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Neural Network Applications · Industrial Vision Systems and Defect Detection · Recycling and Waste Management Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Science and Engineering, Ritsumeikan University, 1-1-1, Nojihigashi, Kusatsu 525-8577, Shiga, Japan

Funding

JST, the establishment of university fellowships towards the creation of science technology innovation

References (46)

Show source-provided references
1. A sensorless state estimation for a safety-oriented cyber-physical system in urban driving: Deep learning approach
2. Underwater-drone with panoramic camera for automatic fish recognition based on deep learning10.1109/ACCESS.2018.2820326 ↗
3. Lyu, B., Tomiyama, H., and Meng, L. (2020, January 22–24). Frame Detection and Text Line Segmentation for Early Japanese Books Understanding. Proceedings of the ICPRAM, Valletta, Malta.
4. Yue, X., Li, H., and Fujikawa, Y.M.L. (2022). Dynamic Dataset Augmentation for Deep Learning-based Oracle Bone Inscriptions Recognition. ACM J. Comput. Cult. Herit., in press.10.1145/3532868 ↗
5. Comparing fusion models for DNN-based audiovisual continuous speech recognition10.1109/TASLP.2017.2783545 ↗
6. Cai, J. (2021, January 28–29). A Design of Interactive Online English Translation System Based on Deep Learning. Proceedings of the 2021 International Conference of Social Computing and Digital Economy (ICSCDE), Chongqing, China.10.1109/ICSCDE54196.2021.00011 ↗
7. Software vulnerability detection using deep neural networks: A survey10.1109/JPROC.2020.2993293 ↗
8. Shaukat, K., Alam, T.M., Hameed, I.A., Khan, W.A., Abbas, N., and Luo, S. (2021, January 2–4). A review on security challenges in internet of things (IoT). Proceedings of the 2021 26th International Conference on Automation and Computing (ICAC), Portsmouth, UK.10.23919/ICAC50006.2021.9594183 ↗
9. A novel framework for prognostic factors identification of malignant mesothelioma through association rule mining10.1016/j.bspc.2021.102726 ↗
10. Shaukat, K., Luo, S., Varadharajan, V., Hameed, I.A., Chen, S., Liu, D., and Li, J. (2020). Performance comparison and current challenges of using machine learning techniques in cybersecurity. Energies, 13.10.3390/en13102509 ↗
11. A survey on machine learning techniques for cyber security in the last decade10.1109/ACCESS.2020.3041951 ↗
12. Duan, X., Wang, Y., Kong, X., Li, M., and Yang, Y. (2013, January 25–28). Mechanical design and kinematic analysis of a medical robot assisted maxillofacial surgery. Proceedings of the 2013 ICME International Conference on Complex Medical Engineering, Beijing, China.
13. Kawashima, K., Sasaki, T., Ohkubo, A., Miyata, T., and Kagawa, T. (May, January 26). Application of robot arm using fiber knitted type pneumatic artificial rubber muscles. Proceedings of the IEEE International Conference on Robotics and Automation—ICRA’04, New Orleans, LA, USA.
14. Kim, D., Lee, K.H., Ji, S.H., Shon, W.H., and Kim, Y.S. (2011, January 2–4). Development of a medical robot system for pedicle screw surgery assisted by fluoroscopic X-ray image. Proceedings of the Advanced Robotics and its Social Impacts, Menlo Park, CA, USA.10.1109/ARSO.2011.6301959 ↗
15. The impact of artificial intelligence and robotics on the future employment opportunities
16. Setiawan, A.I., Furukawa, T., and Preston, A. (2004–1, January 26). A low-cost gripper for an apple picking robot. Proceedings of the IEEE International Conference on Robotics and Automation—ICRA’04, New Orleans, LA, USA.10.1109/ROBOT.2004.1302418 ↗
17. Khuantham, C., and Sonthitham, A. (2020, January 14–16). Spraying robot controlled by application smartphone for pepper farm. Proceedings of the 2020 International Conference on Power, Energy and Innovations (ICPEI), Chiangmai, Thailand.10.1109/ICPEI49860.2020.9431544 ↗
18. Fukuzawa, Y., Wang, Z., Mori, Y., and Kawamura, S. (2021, January 26–28). A Robotic System Capable of Recognition, Grasping, and Suction for Dishwashing Automation. Proceedings of the 2021 27th International Conference on Mechatronics and Machine Vision in Practice (M2VIP), Shanghai, China.10.1109/M2VIP49856.2021.9665169 ↗
19. Fukushima, K., and Miyake, S. (1982). Neocognitron: A self-organizing neural network model for a mechanism of visual pattern recognition. Competition and Cooperation in Neural Nets, Springer.10.1007/978-3-642-46466-9_18 ↗
20. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
21. Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012, January 3–6). Imagenet classification with deep convolutional neural networks. Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA.
22. Simonyan, K., and Zisserman, A. (2014). Very deep convolutional networks for large-scale image recognition. arXiv.
23. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. (2015, January 7–12). Going deeper with convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA.10.1109/CVPR.2015.7298594 ↗
24. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
25. Huang, G., Liu, Z., Van Der Maaten, L., and Weinberger, K.Q. (2017, January 21–26). Densely connected convolutional networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
26. Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23–28). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.81 ↗
27. Girshick, R. (2015, January 7–13). Fast r-cnn. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.169 ↗
28. Ren, S., He, K., Girshick, R., and Sun, J. (2015, January 7–12). Faster r-cnn: Towards real-time object detection with region proposal networks. Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada.
29. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). Ssd: Single shot multibox detector. Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands.10.1007/978-3-319-46448-0_2 ↗
30. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
31. Redmon, J., and Farhadi, A. (2017, January 21–26). YOLO9000: Better, faster, stronger. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.690 ↗
32. Redmon, J., and Farhadi, A. (2018). Yolov3: An incremental improvement. arXiv.
33. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv.
34. Farabet, C., Poulet, C., Han, J.Y., and LeCun, Y. (2009–2, January 31). Cnp: An fpga-based processor for convolutional networks. Proceedings of the 2009 International Conference on Field Programmable Logic and Applications, Prague, Czech Republic.10.1109/FPL.2009.5272559 ↗
35. Qiu, J., Wang, J., Yao, S., Guo, K., Li, B., Zhou, E., Yu, J., Tang, T., Xu, N., and Song, S. (2016, January 21–23). Going deeper with embedded fpga platform for convolutional neural network. Proceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Monterey, CA, USA.10.1145/2847263.2847265 ↗
36. EIE: Efficient inference engine on compressed deep neural network10.1145/3007787.3001163 ↗
37. Fujii, T., Sato, S., Nakahara, H., and Motomura, M. (2017, January 3–7). An FPGA realization of a deep convolutional neural network using a threshold neuron pruning. Proceedings of the International Symposium on Applied Reconfigurable Computing, Delft, The Netherlands.10.1007/978-3-319-56258-2_23 ↗
38. Li, H., Wang, Z., Yue, X., Wang, W., Tomiyama, H., and Meng, L. (2021, January 22–25). A Comprehensive Analysis of Low-Impact Computations in Deep Learning Workloads. Proceedings of the Great Lakes Symposium on VLSI 2021 (the 31st GLSVLSI), Virtual.10.1145/3453688.3461747 ↗
39. Optimizing the deep neural networks by layer-wise refined pruning and the acceleration on FPGA
40. Eyeriss: An energy-efficient reconfigurable accelerator for deep convolutional neural networks10.1109/JSSC.2016.2616357 ↗
41. Shaukat, K., Luo, S., Chen, S., and Liu, D. (2020, January 20–21). Cyber threat detection using machine learning techniques: A performance evaluation perspective. Proceedings of the 2020 International Conference on Cyber Warfare and Security (ICCWS), Islamabad, Pakistan.10.1109/ICCWS48432.2020.9292388 ↗
42. Liu, Z., Li, J., Shen, Z., Huang, G., Yan, S., and Zhang, C. (2017, January 22–29). Learning efficient convolutional networks through network slimming. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.298 ↗
43. (2021, April 01). Xilinx Inc. Available online: https://docs.xilinx.com/r/1.3-English/ug1414-vitis-ai.
44. Yue, X., Li, H., Shimizu, M., Kawamura, S., and Meng, L. (2022). YOLO-GD: A Deep Learning-Based Object Detection Algorithm for Empty-Dish Recycling Robots. Machines, 10.10.3390/machines10050294 ↗
45. Yue, X., Li, H., Shimizu, M., Kawamura, S., and Meng, L. (2022, January 4–7). Deep Learning-based Real-time Object Detection for Empty-Dish Recycling Robot. Proceedings of the 13th Asian Control Conference, Jeju Island, Korea.10.23919/ASCC56756.2022.9828060 ↗
46. Yin, X., Sasaki, Y., Wang, W., and Shimizu, K. (2020). 3D Object Detection Method Based on YOLO and K-Means for Image and Point Clouds. arXiv.