arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.16337cs.NEcs.AIcs.ARcs.LG
收藏

探索循环LLM中的激活稀疏性以实现节能神经形态计算

Explore Activation Sparsity in Recurrent LLMs for Energy-Efficient Neuromorphic Computing

imec Netherlands(荷兰微电子研究中心);TU Eindhoven(埃因霍温理工大学);University of Twente(特温特大学);Maastricht University(马斯特里赫特大学)

Ivan Knunyants, Maryam Tavakol, Manolis Sifalakis, Yingfu Xu, Amirreza Yousefzadeh, Guangzhi Tang

AI总结:

提出一种低成本的无需训练算法,通过稀疏化循环LLM的激活来提升神经形态硬件的能效,在保持准确率的同时显著降低计算需求、能耗和延迟。

摘要:

大型语言模型(LLMs)的近期崛起彻底改变了深度学习领域。然而,在边缘设备上部署LLMs的愿望带来了能效和延迟挑战。循环LLM(R-LLM)架构已被证明能有效缓解自注意力的二次复杂度,使其成为片上神经形态处理器计算的潜在范式。在这项工作中,我们提出了一种低成本的、无需训练的算法来稀疏化R-LLMs的激活,以增强神经形态硬件上的能效。我们的方法利用了这些模型的固有结构,使其非常适合能耗受限的环境。尽管主要为R-LLMs设计,该方法也可推广到其他LLM架构,如transformers,正如在OPT模型上所证明的那样,实现了可比的稀疏性和效率提升。实证研究表明,我们的方法显著降低了计算需求,同时在多个零样本学习基准上保持了有竞争力的准确率。此外,使用SENECA神经形态处理器的硬件模拟突显了显著的节能和延迟改进。这些结果为LLMs的低功耗、实时神经形态部署铺平了道路,并证明了使用激活稀疏性进行无需训练的片上适应的可行性。

英文摘要:

The recent rise of Large Language Models (LLMs) has revolutionized the deep learning field. However, the desire to deploy LLMs on edge devices introduces energy efficiency and latency challenges. Recurrent LLM (R-LLM) architectures have proven effective in mitigating the quadratic complexity of self-attention, making them a potential paradigm for computing on-edge neuromorphic processors. In this work, we propose a low-cost, training-free algorithm to sparsify R-LLMs' activations to enhance energy efficiency on neuromorphic hardware. Our approach capitalizes on the inherent structure of these models, rendering them well-suited for energy-constrained environments. Although primarily designed for R-LLMs, this method can be generalized to other LLM architectures, such as transformers, as demonstrated on the OPT model, achieving comparable sparsity and efficiency improvements. Empirical studies illustrate that our method significantly reduces computational demands while maintaining competitive accuracy across multiple zero-shot learning benchmarks. Additionally, hardware simulations with the SENECA neuromorphic processor underscore notable energy savings and latency improvements. These results pave the way for low-power, real-time neuromorphic deployment of LLMs and demonstrate the feasibility of training-free on-chip adaptation using activation sparsity.

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

↑