When In-memory Computing Meets Spiking Neural Networks - A Perspective on Device-Circuit-System-and-Algorithm Co-design

Abhishek Moitra, Abhiroop Bhattacharjee, Yuhang Li, Youngeun Kim, Priyadarshini PandaarXiv 2024

Abstract

This review explores the intersection of bio-plausible artificial intelligence in the form of Spiking Neural Networks (SNNs) with the analog In-Memory Computing (IMC) domain, highlighting their collective potential for low-power edge computing environments. Through detailed investigation at the device, circuit, and system levels, we highlight the pivotal synergies between SNNs and IMC architectures. Additionally, we emphasize the critical need for comprehensive system-level analyses, considering the inter-dependencies between algorithms, devices, circuit & system parameters, crucial for optimal performance. An in-depth analysis leads to identification of key system-level bottlenecks arising from device limitations which can be addressed using SNN-specific algorithm-hardware co-design techniques. This review underscores the imperative for holistic device to system design space co-exploration, highlighting the critical aspects of hardware and algorithm research endeavors for low-power neuromorphic solutions.

Introduction: The Sustainability Crisis in AI

Modern artificial intelligence is facing a sustainability crisis. The energy demands of standard Deep Learning models are driven largely by the "von-Neumann memory wall"—the energy-intensive process of moving data (weights) between separate memory and processing units. Spiking Neural Networks (SNNs) offer a bio-inspired, energy-efficient alternative by using sparse, binary "spikes." However, to fully realize their potential, they require hardware that natively exploits these features. Analog In-Memory Computing (IMC) using crossbar arrays of non-volatile memory (NVM) provides a solution by performing computations directly where data is stored.

The Co-design Framework

Achieving peak efficiency requires bridging the gap between device-level research and algorithmic innovation. This paper proposes a holistic co-design framework that balances trade-offs across the entire stack, from device physics to neural network training.

Figure 3: Holistic co-design framework integrating system parameters and SNN algorithmic features.

The framework utilizes evaluation tools like SpikeSim to simulate SNN performance on IMC hardware, accounting for peripheral overheads such as Analog-to-Digital Converters (ADCs). Key algorithmic strategies include Backpropagation Through Time (BPTT) with surrogate gradients and quantization-aware training techniques like MINT.

Hardware Architecture and Device Considerations

The core of IMC architectures lies in NVM crossbar arrays (using RRAM, PCM, or FeFET) that perform analog Multiply-Accumulate (MAC) operations using Ohm’s Law and Kirchhoff’s Current Law.

Figure 2: Non-volatile memory (NVM) device structures, including FeFET and RRAM, and their associated variability parameters.

A significant finding is the LIF Area Bottleneck: the Leaky-Integrate-and-Fire (LIF) neuron module, which must store membrane potentials, can consume up to 25% of the total chip area. The authors suggest that replacing standard SRAM with FeFET for the membrane potential cache can reduce this area by up to 7x.

System-Level Insights and Results

  • The Precision Paradox: Higher device precision requires higher ADC precision, leading to an explosion in area and energy. The "sweet spot" is typically 4-bit device precision with 5-bit ADC precision.
  • Timesteps as a Control Knob: SNN efficiency is tied to the number of timesteps. The DT-SNN algorithm, which uses fewer timesteps for simpler inputs, resulted in an 81% reduction in the Energy-Delay Product (EDP).
  • Efficiency Gains: Implementing SNNs on IMC yields 26x higher energy efficiency and 4x lower area compared to standard ANN-based IMC architectures.

Conclusion and Future Work

While SNN-IMC architectures show immense promise, challenges remain in online learning due to NVM write endurance and interconnect bottlenecks in scaling. Future research should explore 3D crossbar architectures and layer-specific hardware optimizations to further enhance neuromorphic edge AI solutions.

Summary updated

BibTeX
@misc{moitra2024when,
  author = {Abhishek Moitra and Abhiroop Bhattacharjee and Yuhang Li and Youngeun Kim and Priyadarshini Panda},
  title = {{When In-memory Computing Meets Spiking Neural Networks - A Perspective on Device-Circuit-System-and-Algorithm Co-design}},
  year = {2024},
  eprint = {2408.12767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.12767},
}
Figure