Skip to main content

A Flexible Implementation Model for Neural Networks on FPGAs

  • Conference paper
  • First Online:
Intelligent Systems Design and Applications (ISDA 2022)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 716))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. Semmad, A., Bahoura, M.: Serial hardware architecture of multilayer neural network for automatic wheezing detection. In: International Midwest Symposium on Circuits and Systems (2021)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Mittal, S., Vetter, J.: A survey of methods for analyzing and improving GPU energy efficiency. ACM Comput. Surv. 47, 19 (2015)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. Preuveneers, D., Tsingenopoulos, I., Joosen, W.: Resource usage and performance trade-offs for machine learning models in smart environments. Sens. J. (2020)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Article  Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Article  Google Scholar 

  18. 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)

    Article  Google Scholar 

  19. 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)

    Google Scholar 

  20. 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)

    Google Scholar 

  21. Shalev-Shwartz, S., Ben-David, S.: From Theory to Algorithms. Cambridge University Press, Cambridge (2014)

    Google Scholar 

  22. Wang, S., et al.: When edge meets learning: adaptive control for resource-constrained distributed machine learning. In: IEEE INFOCOM (2018)

    Google Scholar 

  23. 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)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. 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)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jalil Boudjadar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics