본문 바로가기
KERD
논문KCI 등재

패턴 기반 정렬을 활용한 고속-에너지 효율적인 컨볼루션 스파이킹 신경망 하드웨어 가속기의 모델 기반 동적 가지치기

High-Speed Energy-Efficient Model based Dynamic Pruning using Pattern-based Alignment for Convolutional Spiking Neural Network Hardware Accelerators

0

조회

0

다운로드

0

인용

0

참고문헌

키워드

초록

Spiking neural network (SNN) is a structure that mimics biological neurons and processes through time-dependent signals called spikes. It resembles the functions of a biologꠓical brain, enabling energy-efficient and real-time processing. Despite being hardware-friendly, SNNs still require considerable computational resources. In this paper, we propose a Convolutional Spiking Neural Network (CSNN) architecture that leverages a preprocessed dataset for hardware accelerator-based pruning to reduce latency and power consumption. The dataset is encoded as binary data and preprocessed on the front-end by sorting it based on patterns. Once the dataset is input into the hardware accelerator, the system identifies data that does not require convolution operations. This allows the removal of inactive neurons at the Register Transfer Level (RTL). Since the neurons to be removed follow a similar pattern to the pruned neurons in the previous time step, the cost of removal is almost negligible. By pruning neurons dynamically for each input image, a more efficient, high-speed, low-power hardware accelerator can be achieved. The pattern-based dataset classification was implemented in Python, while the hardware accelerator was developed using Verilog and synthesized on an FPGA. This approach reduces power consumption by 80.02%, while also requiring 7.27% fewer gates and achieving a 90.1% improvement compared to traditional convolutional spiking neural networks and conventional CNNs. The accuracy reaches 90.56% and each input is calculated in 8955 clock cycles, which takes 0.53s for 60000 images in 100MHz board. This approach demonstrates the potential for enabling real-time learning on NPUs by integrating learning accelerators in future applications.

Abstract

Spiking neural network (SNN) is a structure that mimics biological neurons and processes through time-dependent signals called spikes. It resembles the functions of a biologꠓical brain, enabling energy-efficient and real-time processing. Despite being hardware-friendly, SNNs still require considerable computational resources. In this paper, we propose a Convolutional Spiking Neural Network (CSNN) architecture that leverages a preprocessed dataset for hardware accelerator-based pruning to reduce latency and power consumption. The dataset is encoded as binary data and preprocessed on the front-end by sorting it based on patterns. Once the dataset is input into the hardware accelerator, the system identifies data that does not require convolution operations. This allows the removal of inactive neurons at the Register Transfer Level (RTL). Since the neurons to be removed follow a similar pattern to the pruned neurons in the previous time step, the cost of removal is almost negligible. By pruning neurons dynamically for each input image, a more efficient, high-speed, low-power hardware accelerator can be achieved. The pattern-based dataset classification was implemented in Python, while the hardware accelerator was developed using Verilog and synthesized on an FPGA. This approach reduces power consumption by 80.02%, while also requiring 7.27% fewer gates and achieving a 90.1% improvement compared to traditional convolutional spiking neural networks and conventional CNNs. The accuracy reaches 90.56% and each input is calculated in 8955 clock cycles, which takes 0.53s for 60000 images in 100MHz board. This approach demonstrates the potential for enabling real-time learning on NPUs by integrating learning accelerators in future applications.

참고문헌 (21)

  1. AI Now Report 2018, "M. Whittaker", AI Now Institute at New York University, ~ (2018)
  2. M. Rahimi Azghadi, "Complementary Metal-oxide Semiconductor and Memristive Hardware for Neuromorphic Computing", Advanced Intelligent Systems, 2(5), pp.1900189~ (2020)
  3. F. Cai, "Power-efficient Combinatorial Optimiza tion Using Intrinsic Noise in Memristor Hopfield Neural Networks", Nature Electronics, 3(7), pp.409~418 (2020)
  4. M. Davies, "Advancing Neuromorphic Com puting with Loihi : A Survey of Results and Outlook", Proceedings of the IEEE, 109(5), pp.911~934 (2021)
  5. M. Bouvier, "Spiking Neural Networks Hardware Im plementations and Challenges : A Survey", ACM Journal on Emerging Technologies in Computing Systems(JETC), 15(2), pp.1~35 (2019)
  6. H. Fang, "Encoding, Model, and Architecture: Systematic Optimization for Spiking Neural Network in FPGAs", Proceedings of the 39th International Conference on Computer-Aided Design, (62), pp.1~9 (2020)
  7. J. K. Eshraghian, "Training Spiking Neural Networks Using Lessons from Deep Learning", Proceedings of the IEEE, 111(9), pp.1016~1054 (2023)
  8. Q. Su, "Deep Directly trained Spiking Neural Networks for Object Detection", Proceedings of the IEEE, 2023, 6555~6565
  9. C. Lee, "Deep Spiking Convolu tional Neural Network Trained with Unsupervised Spike-timing-dependent Plasticity", IEEE Transactions on Cognitive and Developmental Systems, 11(3), pp.384~394 (2018)
  10. R. Vaila, "Feature Extraction Using Spiking Convolutional Neural Networks", Proceedings of the International Conference on Neuromorphic Systems, pp.1~8 (2019)
  11. V. Saranirad, "Cdna-snn: A New Spiking Neural Network for Pattern Classification Using Neuronal Assemblies", IEEE Transactions on Neural Networks and Learning Systems (2024)
  12. L. Y. Niu, "Cirm-snn : Certainty Interval Reset Mechanism Spiking Neuron for Enabling High Accuracy Spiking Neural Network", Neural Processing Letters, 55(6), pp.7561~7582 (2023)
  13. Y. Han, "Conversion of a Single-layer ANN to Photonic SNN for Pattern Recognition", Science China Information Sciences, 67(1), pp.112403~ (2024)
  14. "Neuroscience Online: An Electronic Textbook for the Neurosciences"[URL]
  15. B. Dai, "Multivariate Bernoulli Distribution", 19(4), pp.1465~1483 (2013)
  16. I. B. Levitan, "The Neuron : Cell and Molecular Biology" (2015), Oxford University Press
  17. S. A. Prescott, "Spike-rate Coding and Spike-time Coding are Affected Oppositely by Different Adaptation Mechanisms", Journal of Neuroscience, 28(50), pp.13649~13661 (2008)
  18. L. Deng, "The Mnist Database of Handwritten Digit Images for Machine Learning Research", IEEE Signal Processing Magazine, 29(6), pp.141~142 (2012)
  19. L. Xie, "Genetic cnn", Proceedings of the IEEE International Conference on Computer Vision, pp.1379~1388 (2017)
  20. Y. Wu, "Direct Training for Spiking Neural Networks : Faster, Larger, Better", Proceedings of the AAAI Conference on Artificial Intelligence, 33(1), pp.1311~1318 (2019)
  21. "ARTY S7 Digilent Reference"[URL]

관련 논문AI추천

이 간행물의 다른 논문 (6건)