Skip to main content
QUICK REVIEW

[논문 리뷰] P-SpikeSSM: Harnessing Probabilistic Spiking State Space Models for Long-Range Dependency Tasks

Malyaban Bal, Abhronil Sengupta|arXiv (Cornell University)|2024. 06. 05.
Advanced Memory and Neural ComputingEngineering인용 수 3
한 줄 요약

이 논문은 전통적인 LIF 뉴런을 n차원의 은닉 상태와 학습 가능한 동역학으로 대체함으로써 스파iking 신경망(SNNs)을 확장하는 새로운 확률적 스파이크 상태공간모델(P-SpikeSSM)을 소개한다. 이는 Long Range Arena 및 Speech Command 데이터셋과 같은 장거리 의존성 작업에서 최고 성능을 달성하며, 희소 스파이크 패턴과 뉴로모픽 하드웨어에서의 효율적 추론 덕분에 최대 30배의 에너지 효율성을 확보한다.

ABSTRACT

Spiking neural networks (SNNs) are posited as a computationally efficient and biologically plausible alternative to conventional neural architectures, with their core computational framework primarily using the leaky integrate-and-fire (LIF) neuron model. However, the limited hidden state representation of LIF neurons, characterized by a scalar membrane potential, and sequential spike generation process, poses challenges for effectively developing scalable spiking models to address long-range dependencies in sequence learning tasks. In this study, we develop a scalable probabilistic spiking learning framework for long-range dependency tasks leveraging the fundamentals of state space models. Unlike LIF neurons that rely on the deterministic Heaviside function for a sequential process of spike generation, we introduce a SpikeSampler layer that samples spikes stochastically based on an SSM-based neuronal model while allowing parallel computations. To address non-differentiability of the spiking operation and enable effective training, we also propose a surrogate function tailored for the stochastic nature of the SpikeSampler layer. To enhance inter-neuron communication, we introduce the SpikeMixer block, which integrates spikes from neuron populations in each layer. This is followed by a ClampFuse layer, incorporating a residual connection to capture complex dependencies, enabling scalability of the model. Our models attain state-of-the-art performance among SNN models across diverse long-range dependency tasks, encompassing the Long Range Arena benchmark, permuted sequential MNIST, and the Speech Command dataset and demonstrate sparse spiking pattern highlighting its computational efficiency.

연구 동기 및 목표

  • 기존 SNNs가 전통적인 LIF 뉴런 동역학의 제약으로 인해 장거리 의존성 작업에서 성능이 제한되는 문제를 해결하기 위해.
  • 스칼라 막전위를 n차원의 은닉 상태와 학습 가능한 파rameter로 대체하여 SNNs의 표현 능력을 향상시키기 위해.
  • 스파이크 동작의 비가역성으로 인해 비가역적인 SNNs의 깊은 신경망을 위한 확장 가능한, 미분 가능한 학습 프레임워크를 개발하기 위해.
  • 희소 스파이크 활동과 누적 연산(ACC)을 활용하여 뉴로모픽 하드웨어에서 에너지 효율적인 추론을 가능하게 하기 위해.
  • 기존 SNNs와 비스파이크 트랜스포머를 초월하는 새로운 SOTA 기준을 설정하여 장거리 시퀀스 모델링 분야에서 SNNs의 성능을 제고하기 위해.

제안 방법

  • 각 뉴런이 n차원 은닉 상태를 유지하는 확률적 스파이크 구조적 상태공간모델(S6)을 제안하여 스칼라 LIF 모델보다 풍부한 시간 동역학을 가능하게 한다.
  • 뉴런의 동역학을 지배하는 학습 가능한 파rameter를 도입하여, 층 간 다양한 시간 의존 패턴에 적응할 수 있도록 한다.
  • 스파이크 지표의 기대값 $\mathbb{E}[S_t]$을 사용하는 서로그레이드 방법을 적용하여 비가역적인 확률적 스파이크 함수를 통해 역전파를 가능하게 한다.
  • 상태 전이 행렬 $A$의 초기화에 HiPPO 행렬을 활용하여 다양한 작업에서 안정적이고 빠른 수렴을 보장한다.
  • 부동소수점 행렬 곱셈을 스파이크 기반 이벤트 기반 계산으로 대체하는 아키텍처를 설계하여 뉴로모픽 하드웨어에서의 효율적 추론을 가능하게 한다.
  • 에너지 효율성을 정량화하기 위해 정규화된 연산 프레임워크를 적용하여 $Norm\#OPS = 0.17$를 계산하고, ListOps 작업에서 에너지 효율성 요소 $e \approx 30$을 달성한다.
Figure 1: High-level overview of the underlying dynamics of a conventional LIF neuronal model ( $left$ ) compared to our proposed S6 model ( $right$ ) . In contrast to the single-dimensional membrane potential $u[t]$ representing the hidden state in an LIF model at time $t$ , our approach expands th
Figure 1: High-level overview of the underlying dynamics of a conventional LIF neuronal model ( $left$ ) compared to our proposed S6 model ( $right$ ) . In contrast to the single-dimensional membrane potential $u[t]$ representing the hidden state in an LIF model at time $t$ , our approach expands th

실험 결과

연구 질문

  • RQ1학습 가능한 고차원 은닉 상태를 가진 확률적 스파이크 상태공간모델이 기존 LIF 기반 SNNs보다 장거리 의존성 작업에서 슈퍼리어한 성능을 낼 수 있는가?
  • RQ2확률적 스파이크의 비가역성 문제를 효과적으로 해결하여 깊은 SNNs의 엔드 투 엔드 학습을 가능하게 할 수 있는가?
  • RQ3S6 기반 SNNs가 표준 인공신경망(ANNs)에 비해 희소 스파이크와 ACC 연산을 통해 어느 정도의 에너지 효율성을 달성할 수 있는가?
  • RQ4제안된 모델이 계산 비용과 에너지 소비를 낮은 수준으로 유지하면서도 비스파이크 트랜스포머 아키텍처를 초월하여 장문의 시퀀스 작업에서 성능을 뛰어나게 할 수 있는가?
  • RQ5S6 프레임워크는 깊은 SNN 아키텍처로 확장 가능하며 다양한 장거리 벤치마크에서 SOTA 성능을 달성할 수 있는가?

주요 결과

  • P-SpikeSSM 모델은 Long Range Arena 벤치마크에서 SNNs 중 최고 성능을 기록하였으며, 평가된 다섯 가지 작업 전부에서 이전 SNNs를 압도하였다.
  • ListOps 작업에서 모델은 에너지 효율성 요소 $e \approx 30$을 달성하여 동등한 비스파이크 ANN 대비 에너지 소비가 약 30배 감소한 것을 확인하였다.
  • 모든 LRA 작업의 평균 파라미터 수는 약 250K로, 유사 규모의 트랜스포머 모델 대비 2.4배 감소한 것으로 나타났다.
  • 히스토그램 및 KDE 분석(그림 4)에 따르면, 약 90%의 S6 뉴런이 시퀀스 기간 동안 거의 영점에 가까운 스파이크 확률을 가지며, 매우 희소한 스파이크 패턴임을 확인하였다.
  • 상태 행렬 $A$가 HiPPO-legS 행렬로 초기화된 경우 대부분의 작업에서 빠른 수렴과 최적의 성능를 보였다.
  • MAC 연산 대신 누적 연산(ACC)을 사용할 경우 기존의 곱셈-덧셈 단위 대비 에너지 소비가 5.1배 감소하였다.
Figure 2: Results obtained after passing randomly sampled inputs from ListOps dataset of LRA benchmark through our S6-based SNN model. (a) Layer-wise spiking activity of neurons, measured as the average number of active neurons (spiking) in a layer at a particular time step, of the model is given wi
Figure 2: Results obtained after passing randomly sampled inputs from ListOps dataset of LRA benchmark through our S6-based SNN model. (a) Layer-wise spiking activity of neurons, measured as the average number of active neurons (spiking) in a layer at a particular time step, of the model is given wi

이 논문 읽기

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

누빈트에서 이 논문 읽기

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