arXiv:2505.05375cs.CVcs.AI2025-05中稿 · IJCNN 2025

提出阈值调制方法,让脉冲神经网络在边缘设备上实时适应数据分布变化。

Threshold Modulation for Online Test-Time Adaptation of Spiking Neural Networks

  • 通过神经元动态归一化调节发放阈值,适配类脑硬件。
  • 在多个基准数据集上提升SNN对分布偏移的鲁棒性,计算开销极低。
  • 适合部署在类脑芯片上的在线自适应场景,如智能传感与边缘计算。

近年来,部署在类脑芯片上的脉冲神经网络(SNN)在各类边缘场景中提供了高效解决方案。然而,其在部署后应对数据分布偏移的能力成为关键挑战。在线测试时自适应(OTTA)通过无需源数据或目标标注样本来动态调整模型,为该问题提供潜在解法。但现有方法主要面向传统人工神经网络,不适用于SNN。为此,本文提出一种低功耗、类脑芯片友好的在线测试时自适应框架——阈值调制(TM),通过受神经元动力学启发的归一化机制动态调整发放阈值,更契合类脑硬件特性。在多个基准数据集上的实验表明,该方法能有效提升SNN在分布偏移下的泛化能力,同时保持极低计算成本。该方法为SNN的在线自适应提供了实用方案,也为未来类脑芯片设计提供启示。演示代码见github.com/NneurotransmitterR/TM-OTTA-SNN。

原文摘要 · Abstract (English)

Recently, spiking neural networks (SNNs), deployed on neuromorphic chips, provide highly efficient solutions on edge devices in different scenarios. However, their ability to adapt to distribution shifts after deployment has become a crucial challenge. Online test-time adaptation (OTTA) offers a promising solution by enabling models to dynamically adjust to new data distributions without requiring source data or labeled target samples. Nevertheless, existing OTTA methods are largely designed for traditional artificial neural networks and are not well-suited for SNNs. To address this gap, we propose a low-power, neuromorphic chip-friendly online test-time adaptation framework, aiming to enhance model generalization under distribution shifts. The proposed approach is called Threshold Modulation (TM), which dynamically adjusts the firing threshold through neuronal dynamics-inspired normalization, being more compatible with neuromorphic hardware. Experimental results on benchmark datasets demonstrate the effectiveness of this method in improving the robustness of SNNs against distribution shifts while maintaining low computational cost. The proposed method offers a practical solution for online test-time adaptation of SNNs, providing inspiration for the design of future neuromorphic chips. The demo code is available at github.com/NneurotransmitterR/TM-OTTA-SNN.

脉冲神经网络在线自适应类脑计算边缘智能

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。