MLoF: Machine Learning Accelerators for the Low-Cost FPGA Platforms
Source abstract
Abstract
In Internet of Things (IoT) scenarios, it is challenging to deploy Machine Learning (ML) algorithms on low-cost Field Programmable Gate Arrays (FPGAs) in a real-time, cost-efficient, and high-performance way. This paper introduces Machine Learning on FPGA (MLoF), a series of ML IP cores implemented on the low-cost FPGA platforms, aiming at helping more IoT developers to achieve comprehensive performance in various tasks. With Verilog, we deploy and accelerate Artificial Neural Networks (ANNs), Decision Trees (DTs), K-Nearest Neighbors (k-NNs), and Support Vector Machines (SVMs) on 10 different FPGA development boards from seven producers. Additionally, we analyze and evaluate our design with six datasets, and compare the best-performing FPGAs with traditional SoC-based systems including NVIDIA Jetson Nano, Raspberry Pi 3B+, and STM32L476 Nucle. The results show that Lattice’s ICE40UP5 achieves the best overall performance with low power consumption, on which MLoF averagely reduces power by 891% and increases performance by 9 times. Moreover, its cost, power, Latency Production (CPLP) outperforms SoC-based systems by 25 times, which demonstrates the significance of MLoF in endpoint deployment of ML algorithms. Furthermore, we make all of the code open-source in order to promote future research.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Neural Network Applications · Parallel Computing and Optimization Techniques · CCD and CMOS Imaging Sensors
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
VeriMake Innovation Lab, Nanjing Renmian Integrated Circuit Co., Ltd., Nanjing 210088, China
Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, BC V6T 1Z4, Canada
Department of Computer Science, University of North Carolina at Chapel Hill, Chapel Hill, NC 27514, USA
National ASIC System Engineering Technology Research Center, Southeast University, Nanjing 210096, China
Funding
Jiangsu Academy of Agricultural Sciences
References (42)
Show source-provided references
1. Learning IoT in edge: Deep learning for the Internet of Things with edge computing10.1109/MNET.2018.1700202 ↗
2. Sakr, F., Bellotti, F., Berta, R., and De Gloria, A. (2020). Machine Learning on Mainstream Microcontrollers. Sensors, 20.10.3390/s20092638 ↗
3. (2021, April 01). Deploy Machine Learning Models on Mobile and IoT Devices. Available online: https://www.tensorflow.org/lite.
4. (2021, April 01). STMicroelectronics X-CUBE-AI—AI Expansion Pack for STM32CubeMX. Available online: http://www.st.com/en/embedded-software/x-cube-ai.html.
5. Lai, L., Suda, N., and Chandra, V. (2018). CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUs. arXiv.
6. DiCecco, R., Lacey, G., Vasiljevic, J., Chow, P., Taylor, G., and Areibi, S. (2016, January 7–9). Caffeinated FPGAs: FPGA Framework for Convolutional Neural Networks. Proceedings of the IEEE 2016 International Conference on Field-Programmable Technology (FPT), Xi’an, China.10.1109/FPT.2016.7929549 ↗
7. Brandalero, M., Ali, M., Le Jeune, L., Hernandez, H.G.M., Veleski, M., da Silva, B., Lemeire, J., Van Beeck, K., Touhafi, A., and Goedemé, T. (September, January 31). AITIA: Embedded AI Techniques for Embedded Industrial Applications. Proceedings of the IEEE 2020 International Conference on Omni-layer Intelligent Systems (COINS), Barcelona, Spain.10.1109/COINS49042.2020.9191672 ↗
8. Kathail, V. (2020, January 23–25). Xilinx Vitis Unified Software Platform. Proceedings of the 2020 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Seaside, CA, USA.10.1145/3373087.3375887 ↗
9. Aydonat, U., O’Connell, S., Capalija, D., Ling, A.C., and Chiu, G.R. (2017, January 22–25). An OpenclTM Deep Learning Accelerator on Arria 10. Proceedings of the 2017 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Monterey, CA, USA.10.1145/3020078.3021738 ↗
10. Intelligent Automation, Inc. (2021, May 02). DeepIP-FNN. Available online: https://www.xilinx.com/products/intellectual-property/1-15kaxa2.html.
11. (2021, May 02). Intel Intel® FPGA Technology Solutions for Artificial Intelligence (AI). Available online: https://www.intel.com/content/www/us/en/artificial-intelligence/programmable/solutions.html.
12. FPGA-Based Accelerators of Deep Learning Networks for Learning and Classification: A Review10.1109/ACCESS.2018.2890150 ↗
13. Holanda Noronha, D., Zhao, R., Goeders, J., Luk, W., and Wilton, S.J. (2019, January 24–26). On-Chip Fpga Debug Instrumentation for Machine Learning Applications. Proceedings of the 2019 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, Seaside, CA, USA.10.1145/3289602.3293922 ↗
14. Pipelined Decision Tree Classification Accelerator Implementation in FPGA (DT-CAIF)10.1109/TC.2013.204 ↗
15. Embedded Low-Power Processor for Personalized Stress Detection
16. A Low-Power Asynchronous Hardware Implementation of a Novel SVM Classifier, with an Application in a Speech Recognition System10.1016/j.mejo.2020.104907 ↗
17. Very Low Power Neural Network FPGA Accelerators for Tag-Less Remote Person Identification Using Capacitive Sensors10.1109/ACCESS.2019.2931392 ↗
18. DLAU: A Scalable Deep Learning Accelerator Unit on FPGA
19. Ge, F., Wu, N., Xiao, H., Zhang, Y., and Zhou, F. (2019). Compact Convolutional Neural Network Accelerator for Iot Endpoint Soc. Electronics, 8.10.3390/electronics8050497 ↗
20. Jindal, M., Gupta, J., and Bhushan, B. (2019, January 18–19). Machine Learning Methods for IoT and Their Future Applications. Proceedings of the IEEE 2019 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS), Greater Noida, India.10.1109/ICCCIS48478.2019.8974551 ↗
21. Orchestrating the Development Lifecycle of Machine Learning-Based Iot Applications: A Taxonomy and Survey10.1145/3398020 ↗
22. Scikit-Learn: Machine Learning in Python
23. Applications of Machine Learning in Agriculture Domain: A State-of-Art Survey
24. Diversity in Machine Learning10.1109/ACCESS.2019.2917620 ↗
25. On Hyperparameter Optimization of Machine Learning Algorithms: Theory and Practice10.1016/j.neucom.2020.07.061 ↗
26. Venieris, S.I., and Bouganis, C.-S. (2016, January 1–3). FpgaConvNet: A Framework for Mapping Convolutional Neural Networks on FPGAs. Proceedings of the 2016 IEEE 24th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), Washington, DC, USA.10.1109/FCCM.2016.22 ↗
27. Faraji, S.R., Abillama, P., Singh, G., and Bazargan, K. (2020, January 12–14). Hbucnna: Hybrid Binary-Unary Convolutional Neural Network Accelerator. Proceedings of the 2020 IEEE International Symposium on Circuits and Systems (ISCAS), Seville, Spain.10.1109/ISCAS45731.2020.9180836 ↗
28. A New Method of Interpolation and Smooth Curve Fitting Based on Local Procedures10.1145/321607.321609 ↗
29. Chen, H., Jiang, L., Yang, H., Lu, Z., Fu, Y., Li, L., and Yu, Z. (2020). An Efficient Hardware Architecture with Adjustable Precision and Extensible Range to Implement Sigmoid and Tanh Functions. Electronics, 9.10.3390/electronics9101739 ↗
30. Ramachandran, S. (2007). Synthesis of Designs–Synplify Tool. Digital VLSI Systems Design: A Design Manual for Implementation of Projects on FPGAs and ASICs Using Verilog, Springer.
31. (2021, May 02). Verimake Gutter Oil Dataset. Available online: https://github.com/verimake-team/Gutteroildetector/tree/master/data.
32. Taming Instabilities in Power Grid Networks by Decentralized Control10.1140/epjst/e2015-50136-y ↗
33. Arzamasov, V., Böhm, K., and Jochem, P. (2018, January 29–31). Towards Concise Models of Grid Stability. Proceedings of the 2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Aalborg, Denmark.10.1109/SmartGridComm.2018.8587498 ↗
34. Modeling Wine Preferences by Data Mining from Physicochemical Properties10.1016/j.dss.2009.05.016 ↗
35. (2021, May 02). Climate Data Online-Map Search-Bureau of Meteorology, Available online: http://www.bom.gov.au/climate/data/.
36. (2021, May 02). Individual Household Electric Power Consumption Data Set. Available online: https://archive.ics.uci.edu/ml/datasets/individual+household+electric+power+consumption.
37. Accuracy and Precision of End-Expiratory Lung-Volume Measurements by Automated Nitrogen Washout/Washin Technique in Patients with Acute Respiratory Distress Syndrome10.1186/cc10587 ↗
38. Hu, Y., Zhu, Y., Chen, H., Graham, R., and Cheng, C.-K. (2006, January 24–28). Communication Latency Aware Low Power NoC Synthesis. Proceedings of the IEEE 43rd annual Design Automation Conference, San Francisco, CA, USA.10.1145/1146909.1147058 ↗
39. Garofalo, A., Rusci, M., Conti, F., Rossi, D., and Benini, L. (2020). PULP-NN: Accelerating Quantized Neural Networks on Parallel Ultra-Low-Power RISC-V Processors. Philos. Trans. R. Soc. A, 378.10.1098/rsta.2019.0155 ↗
40. Slater, W.S., Tiwari, N.P., Lovelly, T.M., and Mee, J.K. (2020, January 22–24). Total Ionizing Dose Radiation Testing of NVIDIA Jetson Nano GPUs. Proceedings of the 2020 IEEE High Performance Extreme Computing Conference (HPEC), Waltham, MA, USA.10.1109/HPEC43674.2020.9286222 ↗
41. Selecting a Development Board for Your Capstone or Course Project10.1109/MPOT.2017.2716778 ↗
42. Li-Ion Batteries Parameter Estimation with Tiny Neural Networks Embedded on Intelligent IoT Microcontrollers10.1109/ACCESS.2020.3007046 ↗