Gradient-based Neuromorphic Learning on Dynamical RRAM Arrays

Peng Zhou, Jason Kamran Eshraghian, Dong-Uk Choi, Wei D. Lu, Sung-Mo KangIEEE J. Emerg. Sel. Topics Circuits Syst 2022

Abstract

Traditional Spiking Neural Networks (SNNs) often rely on non-differentiable step functions and hybrid CMOS-memristor architectures that necessitate power-hungry conversion circuitry. This paper introduces MEMprop, a novel training methodology that treats the physical dynamics of Resistive Random-Access Memory (RRAM) as a differentiable program. By leveraging the continuous analog voltage transitions of memristive neurons, MEMprop enables exact gradient-based learning directly on neuromorphic hardware, eliminating the need for surrogate gradients and significantly reducing hardware overhead.

Introduction

Spiking Neural Networks (SNNs) are widely regarded as the next frontier for energy-efficient artificial intelligence due to their biological inspiration. However, two primary obstacles have hindered their practical deployment: the "dead neuron" problem and hardware integration overhead. The former arises because discrete spikes are mathematically represented as step functions, which have zero or undefined derivatives, making standard backpropagation impossible without approximate "surrogate gradients." The latter stems from the reliance on traditional CMOS circuits for neuronal logic, requiring Analog-to-Digital Converters (ADCs) that consume substantial area and power.

MEMprop addresses these challenges by implementing a fully memristive system where both synapses and neurons are governed by RRAM dynamics. By backpropagating through the physical equations of the devices themselves, the researchers achieve high-precision learning without mathematical approximations.

Methodology: Physics as a Differentiable Program

The core innovation of MEMprop lies in its treatment of memristive circuits as a computational graph. The system utilizes a Memristive Integrate-and-Fire (MIF) neuron, which consists of two memristors and a capacitor. Unlike digital SNNs, the "spikes" in this system are continuous analog voltage transitions driven by internal ion dynamics.

Differentiable Physics

Because these voltage transitions are governed by continuous differential equations, they are naturally differentiable. The researchers unrolled these physical processes into a computational graph using Forward Euler Integration. This allows the application of Backpropagation Through Time (BPTT) directly to SPICE-level models of the memristive circuits. In this framework, the metastable switching of the memristor serves as the network's non-linearity, effectively replacing traditional activation functions like ReLU or Sigmoid with the rate of change of ion movement.

Fully Memristive Architecture

To eliminate the "ADC tax," the architecture maintains signals in the analog domain throughout the entire pipeline. Synaptic weights are stored as conductances in an RRAM crossbar, and the resulting output currents directly drive the subsequent layer of memristive neurons. This seamless integration removes the need for data movement between analog memristor arrays and digital logic.

Experimental Results

The MEMprop framework was evaluated across three benchmarks, demonstrating its capability to handle both static images and temporal neuromorphic data:

  • MNIST: Achieved 93.08% accuracy, a significant improvement over previous rate-based memristive models.
  • FashionMNIST: Achieved 84.77% accuracy.
  • DVS128 Gesture: This neuromorphic dataset, featuring 11 hand gestures captured by event-based cameras, was successfully classified with 82.63% accuracy. This represents the first successful demonstration of a fully memristive SNN on such a complex temporal dataset.

Efficiency Gains

Beyond accuracy, the fully memristive approach yielded dramatic improvements in hardware efficiency. The researchers estimated a 38.3× reduction in power and a 5.33× improvement in area compared to traditional mixed-signal Compute-In-Memory (CIM) designs. A 10-tile RRAM system was estimated to consume only 0.21 mW with a latency of 0.64 ms, marking an 11.6× improvement over conventional approaches. Furthermore, the network exhibited natural sparsity; in the MNIST task, only 2% of neurons were active at any given time.

Discussion and Future Work

While MEMprop represents a significant leap forward for on-chip learning, several challenges remain. Device endurance is a primary concern, as the high-frequency switching required for spiking can degrade memristors over time. Although the observed sparsity helps mitigate this, long-term reliability must be addressed. Additionally, while the current 3-layer dense architecture is effective, scaling the differentiable physics approach to deeper convolutional or Transformer architectures will increase the complexity of the computational graphs during training.

Future research may explore "hardware-in-the-loop" training to reduce the computational cost of SPICE-level simulations and further optimize the endurance of fully memristive systems. By treating hardware as a differentiable entity, MEMprop opens a new pathway for truly autonomous and ultra-low-power neuromorphic systems.

Summary updated

BibTeX
@article{zhou2022gradient,
  author = {Peng Zhou and Jason Kamran Eshraghian and Dong-Uk Choi and Wei D. Lu and Sung-Mo Kang},
  title = {{Gradient-based Neuromorphic Learning on Dynamical RRAM Arrays}},
  journal = {IEEE J. Emerg. Sel. Topics Circuits Syst.},
  year = {2022},
  url = {https://openreview.net/forum?id=NRQEwLYKWJD},
}
Figure