arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.01330cs.LGcs.NE
收藏

利用非结构化稀疏性加速边缘线性循环神经网络

Accelerating Linear Recurrent Neural Networks for the Edge with Unstructured Sparsity

Neuromorphic Computing Lab, Intel Corporation, USA;Institute of Informatics, LMU Munich, Germany;Bernoulli Institute \& CogniGron, University of Groningen, Netherlands

Alessandro Pierro, Steven Abreu, Jonathan Timcheck, Philipp Stratmann, Andreas Wild, Sumit Bam Shrestha

AI总结:

本文研究非结构化稀疏性在边缘线性循环神经网络中的应用,发现高度稀疏模型在等精度下计算量减少2倍、内存减少36%,并在Intel Loihi 2芯片上实现延迟降低42倍、能耗降低149倍,显著提升了资源受限环境下的推理效率。

摘要:

线性循环神经网络(RNN)在推理过程中以恒定的内存使用量和每token时间实现了强大的长序列建模。这些架构有望应用于边缘流式处理,但在资源受限环境中部署需要硬件感知优化,以最小化延迟和能耗。非结构化稀疏性提供了一个引人注目的解决方案,当由兼容硬件平台加速时,能大幅减少计算和内存需求。本文进行了缩放研究,以探讨跨推理计算预算下性能与效率的帕累托前沿。我们发现,高度稀疏的线性RNN持续实现比稠密基线更好的效率-性能权衡,在等精度下计算量减少2倍,内存减少36%。我们的模型在实时流式音频去噪任务上取得了最先进的结果。通过将稀疏模型量化为定点算术并部署在Intel Loihi 2神经形态芯片上进行实时处理,我们将模型压缩转化为实质性收益,与边缘GPU上的稠密模型相比,延迟降低42倍,能耗降低149倍。研究结果展示了非结构化稀疏性的变革潜力,为在现实世界资源受限环境中部署高效循环神经网络铺平了道路。

英文摘要:

Linear recurrent neural networks enable powerful long-range sequence modeling with constant memory usage and time-per-token during inference. These architectures hold promise for streaming applications at the edge, but deployment in resource-constrained environments requires hardware-aware optimizations to minimize latency and energy consumption. Unstructured sparsity offers a compelling solution, enabling substantial reductions in compute and memory requirements--when accelerated by compatible hardware platforms. In this paper, we conduct a scaling study to investigate the Pareto front of performance and efficiency across inference compute budgets. We find that highly sparse linear RNNs consistently achieve better efficiency-performance trade-offs than dense baselines, with 2x less compute and 36% less memory at iso-accuracy. Our models achieve state-of-the-art results on a real-time streaming task for audio denoising. By quantizing our sparse models to fixed-point arithmetic and deploying them on the Intel Loihi 2 neuromorphic chip for real-time processing, we translate model compression into tangible gains of 42x lower latency and 149x lower energy consumption compared to a dense model on an edge GPU. Our findings showcase the transformative potential of unstructured sparsity, paving the way for highly efficient recurrent neural networks in real-world, resource-constrained environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑