ReaLPrune: ReRAM Crossbar-aware Lottery Ticket Pruned CNNs

Biresh Kumar Joardar, Janardhan Rao Doppa, Hai Li, Krishnendu Chakrabarty, Partha Pratim PandearXiv 2021

Abstract

Training deep neural networks at the edge requires hardware that is both energy-efficient and scalable. Resistive Random-Access Memory (ReRAM) crossbars offer a promising solution for in-memory computation, yet they struggle with the massive parameter counts of modern CNNs. Traditional pruning methods often fail to translate model sparsity into actual hardware savings due to their hardware-oblivious nature. This paper presents ReaLPrune, a crossbar-aware pruning strategy based on the Lottery Ticket Hypothesis (LTH). By employing a coarse-to-fine pruning hierarchy—targeting filters, channels, and specific indices—ReaLPrune achieves over 95% sparsity and a 77% reduction in hardware requirements. Experimental results demonstrate a 20x training speedup on various benchmarks, including CIFAR and Tiny ImageNet, without sacrificing model accuracy.

Introduction: The Scalability Challenge of ReRAM

The shift toward edge computing—deploying AI on smartphones, medical devices, and robotics—demands low-latency and privacy-preserving training. ReRAM has emerged as a frontrunner for these tasks because its crossbar structures can perform matrix-vector multiplications (MVM) directly in memory with high energy efficiency. However, large CNNs require thousands of physical crossbars. While pruning is a standard technique to reduce model size, random weight pruning is often "hardware-oblivious." In a ReRAM crossbar, if even a single weight remains in a row or column, the associated peripheral circuitry must remain active. Consequently, a model can be 90% sparse but still occupy 100% of the original hardware area.

Methodology: Crossbar-Aware Lottery Tickets

ReaLPrune addresses this by aligning the pruning process with the physical layout of ReRAM. It leverages the Lottery Ticket Hypothesis (LTH), which posits that dense networks contain sparse "winning ticket" subnetworks that can achieve full accuracy when trained from scratch.

Comparison of conventional pruning and Lottery Ticket Pruning (LTP). ReaLPrune adopts the LTP flow to find hardware-efficient subnetworks.

Unlike standard LTP, ReaLPrune uses a coarse-to-fine pruning strategy to maximize hardware deactivation:

  1. Filter-wise Pruning: The coarsest level, removing entire filters to save both weights and activations.
  2. Channel-wise Pruning: Targets entire channels, effectively clearing columns in the ReRAM crossbar.
  3. Index-wise Pruning: The finest level, pruning weights at the same index across filters to clear crossbar rows.
ReaLPrune's hierarchical pruning strategies: (b) Filter-wise, (c) Channel-wise, and (d) Index-wise mapping to ReRAM crossbars.

The algorithm iteratively trains the model, prunes the least significant weights according to this hierarchy, and resets the remaining weights to their initial values. This "one-time" pruning cost results in a "winning ticket" that can be deployed and retrained on various edge datasets with minimal overhead.

Experimental Evaluation

The researchers evaluated ReaLPrune on several architectures (VGG-11/16/19, ResNet-18/34, MobileNet) using standard datasets: CIFAR-10/100, SVHN, and Tiny ImageNet.

Key Results

  • High Sparsity and Hardware Savings: ReaLPrune achieved an average of 95.5% sparsity. More importantly, it reduced the required ReRAM crossbars by 77.2%, significantly outperforming standard LTP (~58.9% savings).
  • Training Acceleration: In "iso-area" scenarios, where hardware resources are fixed, ReaLPrune-enabled training was approximately 20x faster than training unpruned models.
  • Regularization Effects: Pruning often led to higher accuracy than the baseline, likely due to the regularization effect of removing redundant parameters, which prevents overfitting on smaller edge datasets.

Conclusion and Future Work

ReaLPrune demonstrates that hardware-aware pruning is essential for making ReRAM-based edge training viable. By focusing on where to prune rather than just how much, it bridges the gap between theoretical sparsity and physical efficiency. Future research will focus on addressing real-world ReRAM non-idealities, such as limited write endurance and device-level variations, to move toward full hardware implementation.

Summary updated

BibTeX
@misc{joardar2021realprune,
  author = {Biresh Kumar Joardar and Janardhan Rao Doppa and Hai Li and Krishnendu Chakrabarty and Partha Pratim Pande},
  title = {{ReaLPrune: ReRAM Crossbar-aware Lottery Ticket Pruned CNNs}},
  year = {2021},
  eprint = {2111.09272},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.09272},
}
Figure