An 8-bit In Resistive Memory Computing Core with Regulated Passive Neuron and Bit Line Weight Mapping

Yewei Zhang, Kejie Huang, Rui Xiao, Haibin ShenarXiv 2020

Abstract

This paper presents a highly energy-efficient 8-bit Computing-In-Memory (CIM) core utilizing Resistive RAM (RRAM) for edge AI applications. To address the high power consumption of traditional active amplifiers and the accuracy degradation caused by RRAM device inconsistencies, the authors propose a "regulated passive neuron" architecture and a hardware-aware bit line weight mapping algorithm. The proposed 256x256 CIM core achieves a 98.2% reduction in power consumption compared to state-of-the-art designs, reaching an energy efficiency of 33.63 TMACs/s/W for 8-bit operations while maintaining high model accuracy through intelligent weight mapping.

Introduction

The proliferation of edge AI in IoT and wearable devices necessitates ultra-low-power computing solutions. Computing-In-Memory (CIM) using non-volatile memory like RRAM offers a path forward by performing matrix-vector multiplications directly within the memory array, minimizing data movement. However, two primary bottlenecks persist: the excessive power consumption of peripheral active integrators (operational amplifiers), which can account for over 95% of the total energy, and the inherent physical variability of RRAM cells in the Low Resistance State (LRS), which leads to significant quantization errors.

Methods

The researchers address these challenges through a combined hardware-software approach.

Proposed CIM architecture featuring regulated passive neurons and 1R1T memory units.

1. Regulated Passive Integrator

The design replaces power-hungry active operational amplifiers with a passive capacitor-based integrator. To overcome the non-linearity typically associated with passive integration, the standard 1T1R cell is inverted to a 1R1T structure. An isolating NMOS transistor and a feedback regulator are integrated at the bit line to stabilize the drain voltage, ensuring mathematical linearity without the energy overhead of active components.

Mechanism of the passive integrator showing current discharge and voltage linearity.

2. Pseudo-Binary Quantization and Bit Line Weight Mapping

To mitigate RRAM inconsistency, the authors developed a software-based mapping strategy. The actual resistance values of the RRAM array are first measured using an on-chip ADC. A greedy mapping algorithm then assigns the most significant bits (MSBs) of the neural network weights to the physical cells that minimize the overall quantization error. This approach treats hardware imperfections as known variables to be optimized during deployment, reducing mapping complexity to $O(n^2)$.

Results

The proposed 256x256 CIM core demonstrates exceptional performance:

  • Massive Power Reduction: The core consumes only 3.61 mW, representing a 98.2% reduction over the previous state-of-the-art MBRAI architecture.
  • High Energy Efficiency: It achieves 33.63 TMACs/s/W for 8-bit operations and up to 553.01 TMACs/s/W for 2-bit operations.
  • Accuracy Recovery: On the ImageNet benchmark, the bit line weight mapping algorithm improved top-1 accuracy by 2.46% for AlexNet and 3.47% for VGG16 compared to standard mapping techniques.
  • Strong Linearity: Differential and Integral Nonlinearity (DNL/INL) remained largely under 1 LSB, confirming the precision of the passive regulated design.

Conclusion

By rethinking the peripheral circuitry and embracing hardware variability through intelligent software mapping, this work provides a scalable template for ultra-low-power edge AI. While the initial resistance characterization phase introduces a one-time overhead, the massive gains in energy efficiency and accuracy recovery make this architecture highly suitable for resource-constrained environments.

Summary updated

BibTeX
@misc{zhang2020bit,
  author = {Yewei Zhang and Kejie Huang and Rui Xiao and Haibin Shen},
  title = {{An 8-bit In Resistive Memory Computing Core with Regulated Passive Neuron and Bit Line Weight Mapping}},
  year = {2020},
  eprint = {2008.11669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.11669},
}
Figure