Skip to main content

Hardware Acceleration for 1D-CNN Based Real-Time Edge Computing

  • Conference paper
  • First Online:
Book cover Network and Parallel Computing (NPC 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13615))

Included in the following conference series:

  • 841 Accesses

Abstract

One-dimensional convolutional neural network (1D-CNN) has a major advantage of low-cost implementation on edge devices, for time series classification. However, for the edge devices working in real-time computing (RTC) systems, the nonconcurrent availability of input signals leads to a more complex computing process and a bigger challenge to satisfy the resource and timing constraints. In this paper, an energy-efficient high-performance 1D-CNN architecture is proposed for edge inference of RTC systems, which performs 1D-CNN operations element-wisely and simultaneously when the input sequence is streamed. We present a data reuse scheme to maximally reduce the computational and memory resources, based on the generation of 1D-CNN feature maps during RTC. A compiler is developed to generate the hardware architecture in pipeline, for any given 1D-CNN model. We implement our proposed architecture by a 65-nm CMOS technology, and show this design realizes up to 1.72 TOPs/W power efficiency. Regarding computational latency, our design can outperform state-of-the-art CNN accelerators with a reduction of more than one order of magnitude.

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 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.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. Aytar, Y., Vondrick, C., Torralba, A.: SoundNet: learning sound representations from unlabeled video. In: Advances in Neural Information Processing Systems 29 (2016)

    Google Scholar 

  2. Bagnall, A., et al.: The UEA multivariate time series classification archive. arXiv:1811.00075 (2018)

  3. Batra, G., Jacobson, Z., Madhav, S., Queirolo, A., Santhanam, N.: Artificial-intelligence hardware: new opportunities for semiconductor companies. McKinsey and Company 2 (2019)

    Google Scholar 

  4. Du, Y., Du, L., Li, Y., Su, J., Chang, M.C.F.: A streaming accelerator for deep convolutional neural networks with image and feature decomposition for resource-limited system applications. arXiv:1709.05116 (2017)

  5. Im, D., Han, D., Choi, S., Kang, S., Yoo, H.J.: DT-CNN: dilated and transposed convolution neural network accelerator for real-time image segmentation on mobile devices. In: IEEE International Symposium Circuits Systems (ISCAS), pp. 1–5 (2019)

    Google Scholar 

  6. Izraelevitz, A., et al.: Reusability is FIRRTL ground: Hardware construction languages, compiler frameworks, and transformations. In: IEEE/ACM International Conference on Computer-Aided Design (ICCAD), pp. 209–216 (2017)

    Google Scholar 

  7. Kiranyaz, S., Avci, O., Abdeljaber, O., Ince, T., Gabbouj, M., Inman, D.J.: 1D convolutional neural networks and applications: a survey. Mech. Syst. Signal Process. 151, 107398 (2021)

    Article  Google Scholar 

  8. Mo, H., et al.: A 1.17 TOPS/W, 150fps accelerator for multi-face detection and alignment. In: Proceedings of the 56th Annual Design Automation Conference, pp. 1–6 (2019)

    Google Scholar 

  9. Sanchez, J., Sawant, A., Neff, C., Tabkhi, H.: Aware-CNN: automated workflow for application-aware real-time edge acceleration of CNNs. IEEE Internet Things J. 7(10), 9318–9329 (2020)

    Article  Google Scholar 

  10. Wei, L., Liu, D., Lu, J., Zhu, L., Cheng, X.: A low-cost hardware architecture of convolutional neural network for ECG classification. In: 9th International Symposium on Next Generation Electronics (ISNE), pp. 1–4 (2021)

    Google Scholar 

  11. Zhang, J., Cheng, L., Li, C., Li, Y., He, G., Xu, N., Lian, Y.: A low-latency FPGA implementation for real-time object detection. In: International Symposium on Circuits and Systems (ISCAS), pp. 1–5 (2021)

    Google Scholar 

  12. Zhang, X., Gao, Y., Lin, J., Lu, C.T.: TapNet: multivariate time series classification with attentional prototypical network. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 6845–6852 (2020)

    Google Scholar 

  13. Zheng, Y., Liu, Q., Chen, E., Ge, Y., Zhao, J.L.: Time series classification using multi-channels deep convolutional neural networks. In: Li, F., Li, G., Hwang, S., Yao, B., Zhang, Z. (eds.) WAIM 2014. LNCS, vol. 8485, pp. 298–310. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-08010-9_33

    Chapter  Google Scholar 

  14. Zhu, L., Liu, D., Li, X., Lu, J., Wei, L., Cheng, X.: An efficient hardware architecture for epileptic seizure detection using EEG signals based on 1D-CNN. In: IEEE 14th International Conference on ASIC (ASICON), pp. 1–4 (2021)

    Google Scholar 

Download references

Acknowledgement

The work was supported by State Key Laboratory of Computer Architecture (ICT, CAS) under Grant No. CARCH201909.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shengyu Duan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Liu, X., Sai, G., Duan, S. (2022). Hardware Acceleration for 1D-CNN Based Real-Time Edge Computing. In: Liu, S., Wei, X. (eds) Network and Parallel Computing. NPC 2022. Lecture Notes in Computer Science, vol 13615. Springer, Cham. https://doi.org/10.1007/978-3-031-21395-3_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-21395-3_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-21394-6

  • Online ISBN: 978-3-031-21395-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics