NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pruning random resistive memory for optimizing analogue AI

Yi Li, Songqi Wang, Yaping Zhao, Shaocong Wang, Woyu Zhang, Yangu He, Ning Lin, Binbin Cui, Xi Chen, Shiming Zhang, Hao Jiang, Peng Lin, Xumeng Zhang, Xiaojuan Qi, Zhongrui Wang, Xiaoxin Xu, Dashan Shang, Qi Liu, Kwang-Ting Cheng, Ming LiuarXiv 2023

Abstract

The rapid advancement of artificial intelligence (AI) has been marked by the large language models exhibiting human-like intelligence. However, these models also present unprecedented challenges to energy consumption and environmental sustainability. One promising solution is to revisit analogue computing, a technique that predates digital computing and exploits emerging analogue electronic devices, such as resistive memory, which features in-memory computing, high scalability, and nonvolatility. However, analogue computing still faces the same challenges as before: programming nonidealities and expensive programming due to the underlying devices physics. Here, we report a universal solution, software-hardware co-design using structural plasticity-inspired edge pruning to optimize the topology of a randomly weighted analogue resistive memory neural network. Software-wise, the topology of a randomly weighted neural network is optimized by pruning connections rather than precisely tuning resistive memory weights. Hardware-wise, we reveal the physical origin of the programming stochasticity using transmission electron microscopy, which is leveraged for large-scale and low-cost implementation of an overparameterized random neural network containing high-performance sub-networks. We implemented the co-design on a 40nm 256K resistive memory macro, observing 17.3% and 19.9% accuracy improvements in image and audio classification on FashionMNIST and Spoken digits datasets, as well as 9.8% (2%) improvement in PR (ROC) in image segmentation on DRIVE datasets, respectively. This is accompanied by 82.1%, 51.2%, and 99.8% improvement in energy efficiency thanks to analogue in-memory computing. By embracing the intrinsic stochasticity and in-memory computing, this work may solve the biggest obstacle of analogue computing systems and thus unleash their immense potential for next-generation AI hardware.

Introduction

Modern AI models are increasingly energy-intensive, primarily due to the "von Neumann bottleneck"—the constant data movement between separate memory and processing units. Analogue In-Memory Computing (IMC) using resistive memory (RRAM) offers a solution by performing calculations directly within the storage medium. However, RRAM is notoriously difficult to program precisely due to its inherent physical stochasticity. Traditional approaches attempt to force precision through expensive programming cycles, which often negate the energy benefits of analogue hardware.

Methodology: Bio-inspired Edge Pruning

This research proposes a paradigm shift: instead of struggling to tune individual weights, the system optimizes the network's topology through pruning. This approach is inspired by the brain's "structural plasticity," where an initial overproduction of synapses is followed by the pruning of redundant connections to refine neural circuits.

Overview of the bio-inspired co-design across algorithm, architecture, and circuit levels.

The methodology relies on the "Lottery Ticket Hypothesis," suggesting that a large, randomly initialized network contains a "winning" sub-network capable of matching full-network performance. By using RRAM's natural electroforming stochasticity for "free" random initialization, the researchers can then identify and isolate these sub-networks. During training, the RRAM weights remain fixed, and only the connection topology is updated by physically setting or resetting cells based on importance scores.

Hardware Implementation and Physical Insights

The co-design was implemented on a 40nm 256K RRAM macro. Transmission Electron Microscopy (TEM) was used to visualize the physical origin of RRAM stochasticity—the random formation of oxygen-vacancy filaments. By embracing this randomness as a natural initialization state, the system bypasses the need for fine-grained conductance tuning. This binary-like pruning operation is significantly more robust to device non-idealities and reduces the required number of weight updates by over 99.9% compared to traditional weight optimization methods.

Experimental Results

The system's performance was evaluated on image classification (FashionMNIST), audio classification (Spoken Digits), and medical image segmentation (DRIVE).

Experimental validation on the FashionMNIST dataset using a CNN architecture.

Key results include:

  • Accuracy: On FashionMNIST, the pruning approach (Topology Optimization) achieved 87.4% accuracy, a 17.3% improvement over traditional weight optimization under limited update conditions.
  • Energy Efficiency: The hybrid system demonstrated an 82.1% energy reduction compared to a GPU for image tasks and a 51.2% reduction for audio tasks.
  • Sparsity: The pruning process naturally creates sparse networks, further reducing inference energy by approximately 30% compared to dense analogue implementations.

Conclusion

By transforming the inherent "noise" of resistive memory into a functional feature, this hardware-software co-design provides a robust path for scalable analogue AI. While current implementations utilize a hybrid digital-analogue architecture, the significant gains in energy efficiency and accuracy highlight the potential of bio-inspired pruning for next-generation, sustainable AI hardware. Future work will focus on scaling these architectures to larger models and enhancing the endurance of RRAM cells in continuously learning systems.

Summary updated

BibTeX
@misc{li2023pruning,
  author = {Yi Li and Songqi Wang and Yaping Zhao and Shaocong Wang and Woyu Zhang and Yangu He and Ning Lin and Binbin Cui and Xi Chen and Shiming Zhang and Hao Jiang and Peng Lin and Xumeng Zhang and Xiaojuan Qi and Zhongrui Wang and Xiaoxin Xu and Dashan Shang and Qi Liu and Kwang-Ting Cheng and Ming Liu},
  title = {{Pruning random resistive memory for optimizing analogue AI}},
  year = {2023},
  eprint = {2311.07164},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.07164},
}
Figure