基于 Loihi 2 的对角结构状态空间模型用于高效流式序列处理
A Diagonal Structured State Space Model on Loihi 2 for Efficient Streaming Sequence Processing
AI总结:
本文在 Intel Loihi 2 神经形态处理器上实现了 SSM S4D 的逐 token 推理,相比 Jetson 循环实现,在流式处理中能耗降低 1000 倍、延迟降低 75 倍、吞吐量提升 75 倍,为 SSM 实时流式应用开辟了新途径。
摘要:
深度 State-Space Models (SSM) 在长程序列建模任务上展现出 state-of-the-art 的性能。尽管 SSM 的循环结构在训练期间可以高效地实现为卷积或并行扫描,但目前无法在 GPU 上高效实现逐 token 的循环处理。在此,我们在 Intel 的 Loihi 2 先进神经形态处理器上展示了 SSM S4D 的高效逐 token 推理。我们将 SSM 在神经形态硬件上的首次实现,在 sMNIST、psMNIST 和 sCIFAR 上与 Jetson Orin Nano (Jetson) 上的 S4D 循环和卷积实现进行了比较。我们发现 Jetson 在离线逐样本批处理模式下表现更好,而 Loihi 2 在逐 token 处理时表现更优:与 Jetson 上的 S4D 循环实现相比,其能耗低 1000 倍,延迟低 75 倍,吞吐量高 75 倍。这为 SSM 的高效实时流式应用开辟了新途径。
英文摘要:
Deep State-Space Models (SSM) demonstrate state-of-the art performance on long-range sequence modeling tasks. While the recurrent structure of SSMs can be efficiently implemented as a convolution or as a parallel scan during training, recurrent token-by-token processing cannot currently be implemented efficiently on GPUs. Here, we demonstrate efficient token-by-token inference of the SSM S4D on Intel's Loihi 2 state-of-the-art neuromorphic processor. We compare this first ever neuromorphic-hardware implementation of an SSM on sMNIST, psMNIST, and sCIFAR to a recurrent and a convolutional implementation of S4D on Jetson Orin Nano (Jetson). While we find Jetson to perform better in an offline sample-by-sample based batched processing mode, Loihi 2 outperforms during token-by-token based processing, where it consumes 1000 times less energy with a 75 times lower latency and a 75 times higher throughput compared to the recurrent implementation of S4D on Jetson. This opens up new avenues towards efficient real-time streaming applications of SSMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。