일관된 정수형 학습 및 스파이크 기반 추론을 위한 병렬 시간 정렬 스파이킹 셀프 어텐션
Parallel Time-Aligned Spiking Self-Attention for Consistent Integer-Valued Training and Spike-Driven Inference
한국어 초록
정수형 누적 누출 발화(I-LIF, Integer-valued leaky integrate-and-fire) 뉴런과 스파이크 발화 근사(SFA, spike firing approximation)는 스파이크 트레인을 각각 발화 횟수와 정규화된 발화율로 표현하여 시간적 학습(training) 비용을 줄여줍니다. 그러나 이러한 압축된 쿼리, 키, 밸류 표현에 스파이킹 셀프 어텐션(SSA)을 직접 적용하면 스파이크 기반 추론(inference) 중에는 존재하지 않는 시간 간 상호작용(cross-time interaction)이 발생합니다. 본 논문에서는 이러한 연산자 수준의 불일치를 시간 상호작용 불일치(TIM, Temporal Interaction Mismatch)라고 명명합니다. 우리는 I-LIF 횟수 또는 SFA 발화율로부터 연속적인 가상 스파이크 슬라이스를 재구성하고, 시간 정렬된 슬라이스 간에만 병렬로 어텐션(attention)을 계산한 뒤 각 스텝의 출력을 합산하는 병렬 시간 정렬 스파이킹 셀프 어텐션(PT-SSA, Parallel Time-Aligned Spiking Self-Attention)을 제안합니다. 또한 SFA 환경에서 감소하는 어텐션 출력 스케일을 수용하기 위해, 출력 SFA 뉴런 앞에서 블록별 양수 리스케일링을 학습하여 발화 수준 활용도를 향상시키는 적응형 PT-SSA(Adaptive PT-SSA)를 도입합니다. CIFAR-10, CIFAR-100 및 ImageNet-1K에 대한 실험 결과, 제안된 방법들이 학습-추론 불일치를 실질적으로 줄여줌을 보여줍니다. I-LIF를 사용한 CIFAR-100에서 PT-SSA는 평균 Top-1 격차를 1.85%p에서 0.29%p로 감소시킵니다. ImageNet-1K에서 적응형 PT-SSA는 Top-1 격차를 27.78%p에서 0.06%p로 줄이고 74.53\%의 스파이크 기반 Top-1 정확도를 달성합니다. Triton 기반으로 퓨전된 PT-SSA 학습 커널(kernel)은 순환형 LIF SSA 대비 $2.91\times$의 처리량 우위를 유지합니다.
원문 초록
Integer-valued leaky integrate-and-fire (I-LIF) neurons and spike firing approximation (SFA) reduce temporal training cost by representing spike trains as firing counts and normalized firing rates, respectively. However, applying spiking self-attention (SSA) directly to these compressed query, key, and value representations introduces cross-time interactions that are absent during spike-driven inference. We term this operator-level discrepancy Temporal Interaction Mismatch (TIM). We propose Parallel Time-Aligned Spiking Self-Attention (PT-SSA), which reconstructs consecutive virtual spike slices from either I-LIF counts or SFA firing rates, computes attention only between time-aligned slices in parallel, and sums the per-step outputs. To accommodate the reduced attention output scale under SFA, we further introduce Adaptive PT-SSA, which learns a positive per-block rescaling before the output SFA neuron to improve firing-level utilization. Experiments on CIFAR-10, CIFAR-100, and ImageNet-1K show that the proposed methods substantially reduce train--inference mismatch. On CIFAR-100 with I-LIF, PT-SSA reduces the mean Top-1 gap from 1.85 to 0.29 percentage points. On ImageNet-1K, Adaptive PT-SSA reduces the Top-1 gap from 27.78 to 0.06 percentage points and achieves 74.53\% spike-driven Top-1 accuracy. A Triton-fused PT-SSA training kernel retains a $2.91\times$ throughput advantage over recurrent LIF SSA.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.