Abstract
Machine Learning (ML) is being widely used to enhance the performance and customize the service of different products and applications using actual operation data. Most ML-empowered systems are usually delivered as cloud solutions, which may represent different challenges specifically related to connectivity, privacy, security and stability. Different Implementation architectures of ML algorithms on edge and embedded devices have been explored in the literature. With respect to FPGAs, given that software functions can be implemented on the hardware logic fabric for acceleration purposes, synthesizing the hardware and configuring the implementation integration following changes in the ML models is a challenging task. In this paper we propose an adaptive architecture and flexible implementation model of Neural Networks (NN) on Xilinx FPGAs where changing the NN structure and/or size does not require a re-synthesis of the HW neither a reconfiguration of the system integration. Furthermore, we carried out a hardware optimization to enhance the performance of the IP acceleration cores and data transfer, and analyzed the underlying performance, accuracy and scalability for different NNs, up to 180000 parameters.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Yamashita, T., Tanaka, M., Yamauchi, Y., Fujiyoshi, H.: SWAP-NODE: a regularization approach for deep convolutional neural networks. In: 2015 IEEE International Conference on Image Processing (ICIP), pp. 2475–2479 (2015)
Boudjadar, J., Kim, J.H., Nadjm-Tehrani, S.: Performance-aware scheduling of multicore time-critical systems. In: 2016 ACM/IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE), pp. 105–114 (2016)
Semmad, A., Bahoura, M.: Serial hardware architecture of multilayer neural network for automatic wheezing detection. In: International Midwest Symposium on Circuits and Systems (2021)
Morcos, B., Stewart, T.C., Eliasmith, C., Kapre, N.: Implementing NEF neural networks on embedded FPGAs. In: International Conference on Field-Programmable Technology (FPT), pp. 22–29 (2018)
Bahoura, M., Park, C.-W.: FPGA-implementation of an adaptive neural network for RF power amplifier modeling. In: 2011 IEEE 9th International New Circuits and Systems Conference, pp. 29–32 (2011)
Taylor, B., Marco, V.S., Wolff, W., Elkhatib, Y., Wang, Z.: Adaptive selection of deep learning models on embedded systems. CoRR - Comput. Res. Repository J. (2018)
Taylor, B., Marco, V.S., Wolff, W., Elkhatib, Y., Wang, Z.: Adaptive deep learning model selection on embedded systems. In: Proceedings of the 19th ACM SIGPLAN/SIGBED International Conference LCTES 2018 (2018)
Loni, M., Daneshtalab, M., Sjodin, M.: ADONN: adaptive design of optimized deep neural networks for embedded systems. In: 2018 21st Euromicro Conference on Digital System Design (DSD), pp. 397–404 (2018)
Suda, N., et al.: Throughput-optimized OpenCL-based FPGA accelerator for large-scale convolutional neural networks. In: International Symposium on Field-Programmable Gate Arrays (2016)
Mittal, S., Vetter, J.: A survey of methods for analyzing and improving GPU energy efficiency. ACM Comput. Surv. 47, 19 (2015)
Ovtcharov, K., Ruwase, O., Kim, J.-Y., Fowers, J., Strauss, K., Chung, E.S.: Accelerating deep convolutional neural networks using specialized hardware. In: Microsoft Research White paper, vol. 2-11 (2015)
Preuveneers, D., Tsingenopoulos, I., Joosen, W.: Resource usage and performance trade-offs for machine learning models in smart environments. Sens. J. (2020)
Boudjadar, J., David, A., Kim, J.H., Larsen, K.G., Nyman, U., Skou, A.: Schedulability and energy efficiency for multi-core hierarchical scheduling systems. In: Proceedings of ERTS14, Embedded Real Time Systems and Software Conference (2014)
Boudjadar, J., Tomko, M:, A digital twin setup for safety-aware optimization of a cyber-physical system. In: Proceedings of the International Conference on Informatics in Control, Automation and Robotics (2022)
Saleem, B., Badar, R., Manzoor, A., Judge, M.A., Boudjadar, J., Islam, S.U.: Fully adaptive recurrent neuro-fuzzy control for power system stability enhancement in multi machine system. IEEE Access 10, 36464–36476 (2022)
Wu, Z., Wang, Q., Hu, J.X., Tang, Y., Zhang, Y.N.: Integrating model-driven and data-driven methods for fast state estimation. Int. J. Electr. Power Energy Syst. 139 (2022)
Banaei, M., Boudjadar, J., Khooban, M.-H.: Stochastic model predictive energy management in hybrid emission-free modern maritime vessels. In IEEE Trans. Industr. Inform. 17(8), 5430–5440 (2021)
Bega, D., Gramaglia, M., Banchs, A., Sciancalepore, V., Costa-Perez, X.: A machine learning approach to 5G infrastructure market optimization. In IEEE Trans. Mob. Comput. 19(3), 498–512 (2020)
Memon, S., Maheswaran, M.: Using machine learning for handover optimization in vehicular fog computing. In: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing (2019)
Liu, Y., Sun, Y.L., Ryoo, J., Rizvi, S., Vasilakos, A.V.: A survey of security and privacy challenges in cloud computing: solutions and future directions. J. Comput. Sci. Eng. (2015)
Shalev-Shwartz, S., Ben-David, S.: From Theory to Algorithms. Cambridge University Press, Cambridge (2014)
Wang, S., et al.: When edge meets learning: adaptive control for resource-constrained distributed machine learning. In: IEEE INFOCOM (2018)
Min, Q., Lu, Y., Liu, Z., Su, C., Wang, B.: Machine learning based digital twin framework for production optimization in petrochemical industry. Int. J. Inf. Manag. 49 (2019)
Konstantakopoulos, I.C., Barkan, A., He, S., Veeravalli, T., Liu, H., Spanos, C.: A deep learning and gamification approach to improving human-building interaction and energy efficiency in smart infrastructure. Appl. Energy J. 237 (2019)
Liu, T., Tian, B., Ai, Y., Wang, F.-Y.: Parallel reinforcement learning-based energy efficiency improvement for a cyber-physical system. In IEEE/CAA J. Automatica Sinica 7(2), 617–626 (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Jakobsen, J., Jensen, M., Sharifirad, I., Boudjadar, J. (2023). A Flexible Implementation Model for Neural Networks on FPGAs. In: Abraham, A., Pllana, S., Casalino, G., Ma, K., Bajaj, A. (eds) Intelligent Systems Design and Applications. ISDA 2022. Lecture Notes in Networks and Systems, vol 716. Springer, Cham. https://doi.org/10.1007/978-3-031-35501-1_33
Download citation
DOI: https://doi.org/10.1007/978-3-031-35501-1_33
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-35500-4
Online ISBN: 978-3-031-35501-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)