Skip to main content
QUICK REVIEW

[논문 리뷰] Bridging the Gap between ANNs and SNNs by Calibrating Offset Spikes

Zecheng Hao, Jianhao Ding|arXiv (Cornell University)|2023. 02. 21.
Advanced Memory and Neural ComputingEngineering인용 수 11
한 줄 요약

논문은 offset spikes를 정의하여 ANN-SNN 변환 오차를 정량화하고 스파이크를 보정하기 위한 초기 막전류 포텐셜 이동 전략을 제안하여 CIFAR-10/100 및 ImageNet에서 초저 지연으로 높은 정확도를 달성합니다. 또한 오차를 더 감소시키는 반복적 정제 특성을 입증합니다.

ABSTRACT

Spiking Neural Networks (SNNs) have attracted great attention due to their distinctive characteristics of low power consumption and temporal information processing. ANN-SNN conversion, as the most commonly used training method for applying SNNs, can ensure that converted SNNs achieve comparable performance to ANNs on large-scale datasets. However, the performance degrades severely under low quantities of time-steps, which hampers the practical applications of SNNs to neuromorphic chips. In this paper, instead of evaluating different conversion errors and then eliminating these errors, we define an offset spike to measure the degree of deviation between actual and desired SNN firing rates. We perform a detailed analysis of offset spike and note that the firing of one additional (or one less) spike is the main cause of conversion errors. Based on this, we propose an optimization strategy based on shifting the initial membrane potential and we theoretically prove the corresponding optimal shifting distance for calibrating the spike. In addition, we also note that our method has a unique iterative property that enables further reduction of conversion errors. The experimental results show that our proposed method achieves state-of-the-art performance on CIFAR-10, CIFAR-100, and ImageNet datasets. For example, we reach a top-1 accuracy of 67.12% on ImageNet when using 6 time-steps. To the best of our knowledge, this is the first time an ANN-SNN conversion has been shown to simultaneously achieve high accuracy and ultralow latency on complex datasets. Code is available at https://github.com/hzc1208/ANN2SNN_COS.

연구 동기 및 목표

  • 저시간 스텝에서 ANN-to-SNN 변환 정확도 향상을 위한 동기 부여.
  • 실제 fired rate와 바람직한 SNN firing rate 간의 편차를 측정하는 지표로 offset spikes를 도입.
  • 변환 오차를 감소시키기 위해 초기 막전위 포텐셜을 이동시키는 스파이크 보정 방법을 개발.
  • 최적의 이동의 이론적 특성과 보정 프로세스의 반복 가능성에 대한 이론적 속성을 입증.
  • CIFAR-10/100 및 ImageNet에서 방법을 실험적으로 검증하여 ultralow latency에서도 최첨단 결과를 보임.

제안 방법

  • 층에서 바람직한 스파크 수와 실제 스파크 수의 차이를 offset spike로 정의(식(8)).
  • offset spike 분포를 분석하고 한 개의 스파이크 편차가 오차의 주요 기여자임을 보임.
  • 잔여 막전위(v^l(T))에서 offset spike의 부호를 결정하는 부호탐지 규칙(Theorem 1)을 도출.
  • 초기 막전위를 ±1 만큼의 스파이크 수 변화가 일어나도록 최적 이동하는 방법(Derorem 2)을 제시.
  • 두 단계의 스파이크 보정 파이프라인 구성: 몇 단계에서 스파크 상태를 추정한 후 초기 전위를 이동시켜 오차를 제거; 반복해 오차를 더 줄임(Iterative property).
  • QCFS 기반 ANN-to-SNN 변환에서 CIFAR-10/100 및 ImageNet에 대해 성능을 평가하고 최첨단 방법과 비교.

실험 결과

연구 질문

  • RQ1저시간 스텝에서 offset spikes가 ANN-SNN 변환 오차를 정량적으로 설명할 수 있는가?
  • RQ2초기 막전위 이동이 SNN의 스파이크 수를 최적으로 조정하여 SNN의 firing을 ANN 출력과 일치시킬 수 있는가?
  • RQ3이동 방법의 반복 적용이 초저 지연에서 변환 오차를 추가로 줄이고 정확도를 향상시키는가?
  • RQ4제안하는 방법이 표준 벤치마크에서 기존의 ANN-SNN 변환 및 학습 방법과 비교했을 때 얼마나 우수한가?
  • RQ5스파이크 보정 절차에 대한 이론적 보장은 무엇인가?

주요 결과

  • 층마다 offset spikes(ψ^l)가 ±1일 때 변환 오오차의 주요 부분을 차지한다.
  • ψ^l의 부호는 특정 조건에서 잔여 막전위 v^l(T)로부터 유추할 수 있다.
  • 초기 막전위의 최적 이동은 특정 층의 스파이크 수를 정확히 한 만큼 증가시키거나 감소시킬 수 있다(Theorem 2).
  • 두 단계 보정(추정 + 이동)은 층별 편차를 줄이고, 반복하면 출력층의 평균 제곱 오차가 이상적인 경우 거의 제로에 수렴한다.
  • 6개의 시간 스텝에서 ImageNet에 대해 이 방법은 초-정밀 수준의 top-1 정확도 67.12%에 달하며(초록에 인용), CIFAR-10/100 및 ImageNet에서 이전의 ANN-SNN 방법과 비교하여 ultralow latency에서 최첨단 또는 경쟁력 있는 결과를 보인다.
  • 이 방법은 보정 연산을 여러 차례 적용하면 ψ^l를 0에 더 가깝게 줄이는 반복적 특성을 보인다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.