An All-Memristor Deep Spiking Neural Computing System: A Step Toward Realizing the Low-Power Stochastic Brain

Parami Wijesinghe, Aayush Ankit, Abhronil Sengupta, Kaushik Roy

Introduction

Modern Deep Artificial Neural Networks (ANNs) have achieved remarkable success in complex tasks like image recognition, yet they remain significantly less efficient than the human brain. While high-performance GPUs and TPUs consume hundreds of watts, the brain operates on a mere 20 watts. This disparity arises from a fundamental architectural difference: the brain utilizes sparse, asynchronous "spikes" and embraces inherent stochasticity, whereas traditional CMOS hardware is rigid and deterministic.

Researchers at Purdue University have addressed this "conceptual mismatch" by developing an all-memristor deep spiking neural network (SNN). By utilizing nanoscale memristors for both synapses and neurons, the team has created a system that naturally embodies the brain's energy-efficient, probabilistic nature.

Methodology: Embracing Stochasticity

The proposed architecture relies on memristors—nanoscale devices that change their resistance based on the history of charge passed through them.

Memristive Synapses and Neurons

In this design, memristive crossbar arrays represent synaptic weights, performing high-speed analog "inner product" computations. More innovatively, the researchers used the probabilistic switching of memristors to create stochastic neurons. Instead of viewing the unpredictable formation of conductive filaments as a defect, they leveraged this behavior to emulate the random firing patterns of biological neurons.

The physical mechanism of filament formation in a memristor, illustrating the transition from an Off state to an On state.

Hardware-Aware Training

To ensure the software model translated accurately to physical hardware, the team implemented "hardware-aware training." They modified the standard ANN training process with a custom activation function that mathematically mirrors the physical switching probability of the memristors ($P = 1 - \exp(-e^{x \cdot w})$). This approach effectively bridged the "reality gap," minimizing the accuracy loss typically encountered when deploying models on non-ideal hardware.

Performance and Efficiency

The all-memristor SNN was evaluated using the MNIST handwritten digit dataset. The results demonstrate that brain-like efficiency does not require a significant sacrifice in performance:

  • Accuracy: The system achieved a classification accuracy of 97.84%, representing only a ~1% drop from an ideal software-based baseline.
  • Energy Efficiency: The architecture consumed 6.4x less energy than a comparable SNN implemented in specialized 45nm CMOS hardware.
  • Hardware Footprint: The "Area $\times$ Delay" product was 8x better than CMOS counterparts, highlighting the compact nature of memristive circuits.
  • Robustness: The network maintained high accuracy even with 20% variation in synaptic weights, proving its resilience to the manufacturing fluctuations common in nanoscale devices.

Conclusion and Future Outlook

This work represents a significant milestone toward realizing low-power neuromorphic hardware. By treating device non-idealities as functional features rather than obstacles, the researchers have paved the way for highly efficient, brain-inspired computing.

Future research will focus on improving device endurance, as memristors currently face degradation after approximately $10^{12}$ cycles. Additionally, the team aims to scale the architecture to handle more complex datasets like ImageNet and explore "volatile" memristors that could further reduce the energy required to reset neurons after they fire.

Summary updated

Abstract

Deep analog artificial neural networks (ANNs) perform complex classification problems with remarkably high accuracy. However, they rely on humongous amount of power to perform the calculations, veiling the accuracy benefits. The biological brain, on the other hand, is significantly more powerful than such networks and consumes orders of magnitude less power, indicating us about some conceptual mismatch. Given that the biological neurons communicate using energy efficient trains of spikes, and the behavior is nondeterministic, incorporating these effects in deep artificial neural networks may drive us few steps toward a more realistic neuron. In this paper, we propose how the inherent stochasticity of nanoscale resistive devices can be harnessed to emulate the functionality of a spiking neuron that can be incorporated in deep stochastic spiking neural networks (SNN). At the algorithmic level, we propose how the training can be modified to convert an ANN to an SNN while supporting the stochastic activation function offered by these devices. We devise circuit architectures to incorporate stochastic memristive neurons along with memristive crossbars, which perform the functionality of the synaptic weights. We tested the proposed all-memristor deep stochastic SNN for image classification and observed only about ${\text{1}}\%$ degradation in accuracy with the ANN baseline after incorporating the circuit and device related nonidealities. We witnessed that the network is robust to certain variations and consumes $\sim {\text{6.4}}\;\times$ less energy than its complementary metal oxide semiconductor (CMOS) counterpart.
BibTeX
@article{wijesinghe2018all,
  author = {Parami Wijesinghe and Aayush Ankit and Abhronil Sengupta and Kaushik Roy},
  title = {{An All-Memristor Deep Spiking Neural Computing System: A Step Toward Realizing the Low-Power Stochastic Brain}},
  journal = {IEEE Trans. Emerg. Top. Comput. Intell.},
  year = {2018},
  doi = {10.1109/tetci.2018.2829924},
}

Loading related content...

Figure