Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 2
Steven Abreu, Sumit Bam Shrestha, Rui-Jie Zhu, Jason Eshraghian
TL;DR
The paper tackles the energy bottlenecks of large language models by co-designing a MatMul-free LLM for Intel Loihi 2, a neuromorphic processor optimized for low-precision, event-driven computation. It presents a 370M parameter architecture that replaces MatMuls with ternary weights, BitLinear layers, RMSNorm, GLU, and an MLGRU token mixer within a Metaformer framework, leveraging weight sparsity. Through hardware-aware quantization to 8-bit weights and 24-bit activations, fixed-point implementations, and a Loihi-specific microcode mapping with layer fusion, the authors demonstrate on-chip execution with energy-efficient inference. Preliminary results indicate up to 3x higher throughput and around 2x lower energy per token on Loihi 2 compared to transformer baselines on edge GPUs, with latency advantages and favorable scaling for longer sequences, highlighting the potential of neuromorphic hardware for efficient edge AI and scalable reasoning models.
Abstract
Large language models (LLMs) deliver impressive performance but require large amounts of energy. In this work, we present a MatMul-free LLM architecture adapted for Intel's neuromorphic processor, Loihi 2. Our approach leverages Loihi 2's support for low-precision, event-driven computation and stateful processing. Our hardware-aware quantized model on GPU demonstrates that a 370M parameter MatMul-free model can be quantized with no accuracy loss. Based on preliminary results, we report up to 3x higher throughput with 2x less energy, compared to transformer-based LLMs on an edge GPU, with significantly better scaling. Further hardware optimizations will increase throughput and decrease energy consumption. These results show the potential of neuromorphic hardware for efficient inference and pave the way for efficient reasoning models capable of generating complex, long-form text rapidly and cost-effectively.
