MONETA: A Processing-In-Memory-Based Hardware Platform for the Hybrid Convolutional Spiking Neural Network With Online Learning

Daehyun Kim, Biswadeep Chakraborty, Xueyuan She, Edward Lee, Beomseok Kang, Saibal MukhopadhyayFrontiers in Neuroscience 2022

Abstract

This paper introduces MONETA, a processing-in-memory (PIM)-based hardware platform designed to accelerate inference and learning in hybrid convolutional spiking neural networks (ConvSNNs). Utilizing 8T SRAM-based PIM cores, MONETA implements vector-matrix multiplication (VMM) and spike-time-dependent-plasticity (STDP) for on-chip weight updates. By employing a novel SNN-focused data flow, the architecture minimizes data movement while maintaining high learning accuracy. Physical design in 65 nm CMOS demonstrates significant power efficiency, reaching up to 18.69 TOPS/W for inference.

Introduction

Spiking Neural Networks (SNNs) represent a bio-inspired approach to artificial intelligence, utilizing discrete electrical pulses or "spikes" to achieve high energy efficiency. However, mapping these networks to conventional hardware architectures often results in significant performance bottlenecks due to the "memory wall"—the energy and time cost of moving data between memory and processors. MONETA addresses these challenges by performing computations directly within memory using a PIM-based approach, specifically optimized for the unique temporal dynamics of SNNs.

Problem Statement: The Memory Wall in SNNs

Implementing Convolutional SNNs (ConvSNNs) on standard hardware faces two primary hurdles:

  1. Excessive Data Movement: In ConvSNNs, images are processed over multiple time steps. Traditional architectures repeatedly fetch massive amounts of data from off-chip memory for each step, leading to high latency and power consumption.
  2. Scaling Bio-inspired Learning: While Spike-Time-Dependent Plasticity (STDP) is a promising unsupervised learning rule, implementing it efficiently in deep convolutional layers without sacrificing accuracy or incurring heavy hardware overhead is complex.

The MONETA Architecture

MONETA leverages 8T SRAM-based PIM cores to perform Vector-Matrix Multiplication (VMM) directly inside the memory array. This eliminates the need to move weights to a separate processing unit.

Key Innovations

  • Sequential IFM Processing: To minimize DRAM access, MONETA reorders operations. Instead of processing all Input Feature Maps (IFMs) for a single time step, it processes one IFM across all time steps sequentially. This strategy significantly reduces the global buffer requirements for membrane potentials.
  • Central STDP Controller: A specialized controller manages weight updates by tracking the maximum membrane potential across inputs, preventing "sequential bias" where early inputs might disproportionately influence learning.
  • Transposable 8T SRAM Cells: The use of 8-transistor cells allows for transposable access, enabling the hardware to efficiently read weights for inference and update them during the STDP learning phase.
Comparison of standard convolutional processing (A) and the MONETA data flow (B) incorporating a hidden layer for membrane potential storage.
  • Hybrid Learning Strategy: MONETA supports a hybrid model where initial layers are pre-trained using supervised backpropagation off-chip, while subsequent layers perform local feature extraction on-chip via unsupervised STDP.

Experimental Setup and Datasets

The performance of MONETA was evaluated using standard computer vision benchmarks:

  • MNIST: For initial validation on handwritten digit recognition.
  • CIFAR-10: A complex dataset of 60,000 images across 10 classes, used to test the hybrid learning model's efficacy.
  • CIFAR-100: Utilized for broader accuracy and scalability analysis.

Results and Discussion

The MONETA platform demonstrates state-of-the-art efficiency and competitive accuracy:

  • Power Efficiency: In a 65nm CMOS process, the design achieved 18.69 TOPS/W for inference, 7.25 TOPS/W for learning, and 10.41 TOPS/W for the hybrid learning mode.
  • Accuracy Gains: On the CIFAR-10 dataset, the hybrid network reached an accuracy of 77.83%. This represents a 10.84% improvement over pure STDP-trained models and a 1.4% improvement over standard backpropagation-trained ConvSNNs.
  • Hardware Throughput: By eliminating the arithmetic unit bottleneck found in traditional logic-based neuromorphic engines like TrueNorth or Loihi, MONETA achieves significantly higher throughput.

Conclusion and Future Work

MONETA successfully demonstrates that PIM-based architectures can effectively bridge the gap between bio-inspired SNN algorithms and high-performance hardware. By reordering temporal data flow and utilizing hybrid learning, it achieves high efficiency without compromising accuracy on complex datasets.

Future research will focus on moving the supervised training portion on-chip to create a completely autonomous learning system and developing a dedicated programming model and compiler to simplify the mapping of diverse ConvSNN topologies onto the MONETA hardware grid.

Summary updated

BibTeX
@inproceedings{kim2022moneta,
  author = {Daehyun Kim and Biswadeep Chakraborty and Xueyuan She and Edward Lee and Beomseok Kang and Saibal Mukhopadhyay},
  title = {{MONETA: A Processing-In-Memory-Based Hardware Platform for the Hybrid Convolutional Spiking Neural Network With Online Learning}},
  booktitle = {Frontiers in Neuroscience},
  year = {2022},
  doi = {10.3389/fnins.2022.775457},
}
Figure