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

Ivan Knunyants, Maryam Tavakol, Manolis Sifalakis, Yingfu Xu, Amirreza Yousefzadeh +1 more
1/9/2025
cs.NEcs.AIcs.AR

No official code found. Best implementation: ERNIS-LAB/LLM-activation-sparsity (2 stars, last commit 2025-01-07).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

20C, C++Jul 5, 20241 years ago

Similar Papers

Cite this paper

@article{knunyants2025explore,
  title  = {Explore Activation Sparsity in Recurrent LLMs for Energy-Efficient Neuromorphic Computing},
  author = {Ivan Knunyants and Maryam Tavakol and Manolis Sifalakis and Yingfu Xu and Amirreza Yousefzadeh and Guangzhi Tang},
  year   = {2025},
  eprint = {2501.16337},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16337v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.16337.svg)](https://codeofpaper.com/paper/2501.16337)

Discussion