DOI QR코드

DOI QR Code

Deep Neural Network Weight Transformation for Spiking Neural Network Inference

스파이킹 신경망 추론을 위한 심층 신경망 가중치 변환

  • 이정수 (한성대학교 컴퓨터공학과) ;
  • 허준영 (한성대학교 컴퓨터공학과)
  • Received : 2022.03.07
  • Accepted : 2022.03.18
  • Published : 2022.04.30

Abstract

Spiking neural network is a neural network that applies the working principle of real brain neurons. Due to the biological mechanism of neurons, it consumes less power for training and reasoning than conventional neural networks. Recently, as deep learning models become huge and operating costs increase exponentially, the spiking neural network is attracting attention as a third-generation neural network that connects convolution neural networks and recurrent neural networks, and related research is being actively conducted. However, in order to apply the spiking neural network model to the industry, a lot of research still needs to be done, and the problem of model retraining to apply a new model must also be solved. In this paper, we propose a method to minimize the cost of model retraining by extracting the weights of the existing trained deep learning model and converting them into the weights of the spiking neural network model. In addition, it was found that weight conversion worked correctly by comparing the results of inference using the converted weights with the results of the existing model.

스파이킹 신경망은 실제 두뇌 뉴런의 작동원리를 적용한 신경망으로, 뉴런의 생물학적 메커니즘으로 인해 기존 신경망보다 학습과 추론에 소모되는 전력이 적다. 최근 딥러닝 모델이 거대해지며 운용에 소모되는 비용 또한 기하급수적으로 증가함에 따라 스파이킹 신경망은 합성곱, 순환 신경망을 잇는 3세대 신경망으로 주목받으며 관련 연구가 활발히 진행되고 있다. 그러나 스파이킹 신경망 모델을 산업에 적용하기 위해서는 아직 선행되어야 할 연구가 많이 남아있고, 새로운 모델을 적용하기 위한 모델 재학습 문제 역시 해결해야 한다. 본 논문에서는 기존의 학습된 딥러닝 모델의 가중치를 추출하여 스파이킹 신경망 모델의 가중치로 변환하는 것으로 모델 재학습 비용을 최소화하는 방법을 제안한다. 또한, 변환된 가중치를 사용한 추론 결과와 기존 모델의 결과를 비교해 가중치 변환이 올바르게 작동함을 보인다.

Keywords

Acknowledgement

본 연구는 한성대학교 교내학술연구비 지원과제임

References

  1. 박선, 김종원, "오픈 소스 기반의 딥러닝을 이용한 적조생물 이미지 분류," 스마트미디어저널, 제7권, 제2호, 34-39쪽, 2018년 6월 https://doi.org/10.30693/SMJ.2018.7.2.34
  2. 김진수, 김민구, 반성범, "임베디드 모듈 기반 지능형 영상감시 시스템의 최적화에 관한 연구," 스마트미디어저널, 제7권, 제2호, 40-46쪽, 2018년 6월 https://doi.org/10.30693/SMJ.2018.7.2.40
  3. 김운기, Fatemeh. Dehghan, 조성원, "SSD-Mobilenet과 ResNet을 이용한 모바일 기기용 자동차 번호판 인식시스템," 스마트미디어저널, 제9권, 제2호, 92-98쪽, 2020년 6월 https://doi.org/10.30693/SMJ.2020.9.2.92
  4. K.I. Oh, S.E. Kim, and Y.H. Bae, "Trend of AI Neuromorphic Semiconductor Technology," Electronics and telecommunications trends, vol. 35, no. 3, pp. 76-84, Jun. 2020. https://doi.org/10.22648/ETRI.2020.J.350308
  5. Amirhossein Tavanaei, Masoud Ghodrati, Saeed Reza Kherad pisheh, Timothee Masquelier and Anthony Maida, "Deep Learning in Spiking Neural Networks," arXiv:1804.08150, Apr, 2018.
  6. 유우종, Vu Quoc An, 원의연, "엠리스터 기반 뉴런-시냅스 소자 및 뉴로모픽 시스템," 정보과학회지, vol. 36, no. 6, pp. 71-80, 2018년 6월
  7. 박성식, 윤성로, "STDP 알고리즘과 스파이크 간의 시간적 상호작용에 따른 SNN의 학습 성능 및 시간 분석" 정보과학회 컴퓨팅의 실제 논문지, 제24권, 제9호, 482-486쪽, 2018년 9월 https://doi.org/10.5626/KTCP.2018.24.9.482
  8. 강대기, "딥러닝을 위한 인공신경망 표준 포맷 동향" TTA. Journal, 제179호. 85-90쪽, 2018년
  9. 박상민, 허준영, "ONNX기반 스파이킹 심층 신경망 변환 도구," 한국인터넷방송통신학회논문지, 제20권, 제2호, 165-170쪽, 2020년 6월 https://doi.org/10.7236/JIIBC.2020.20.2.165
  10. Eric Hunsberger, and Chris Eliasmith, "Training Spiking Deep Networks for Neuromorphic Hardware" arXiv:1611.05141, Nov, 2016.