Abstract
Convolutional neural networks (CNNs) demonstrate promising accuracy in a wide range of applications. Among all layers in CNNs, convolution layers are the most computation-intensive and consume the most energy. As the maturity of device and fabrication technology, 3D resistive random access memory (ReRAM) receives substantial attention for accelerating large vector-matrix multiplication and convolution due to its high parallelism and energy efficiency benefits. However, implementing multi-channel convolution naively in 3D ReRAM will either produce incorrect results or exploit only partial parallelism of 3D ReRAM. In this paper, we propose a 3D ReRAM-based convolution accelerator architecture, which efficiently maps multi-channel convolution to monolithic 3D ReRAM. Our design has two key principles. First, we exploit the intertwined structure of 3D ReRAM to implement multi-channel convolution by using a state-of-the-art convolution algorithm. Second, we propose a new approach to efficiently implement negative weights by separating them from non-negative weights using configurable interconnects. Our evaluation demonstrates that our mapping scheme in 16-layer 3D ReRAM achieves a speedup of 5.79X, 927.81X, and 36.8X compared with a custom 2D ReRAM baseline and state-of-the-art CPU and GPU. Our design also reduces energy consumption by 2.12X, 1802.64X, and 114.1X compared with the same baseline.
Introduction
Deep learning, particularly Convolutional Neural Networks (CNNs), is notoriously power-hungry and computationally expensive. While Processing-in-Memory (PIM) using 2D ReRAM crossbars has emerged as a promising solution—performing matrix-vector multiplication directly in the analog domain—it faces scaling limits. Monolithic 3D ReRAM offers higher density and better energy efficiency, but it introduces a major architectural challenge: intertwined structures.
In 3D ReRAM, wordlines (WLs) and bitlines (BLs) are often shared between adjacent layers to save space. A naive mapping of neural network weights to these layers results in "crosstalk" where signals from different layers merge, leading to incorrect calculations. Furthermore, implementing negative weights (essential for filters like edge detectors) in an analog crossbar is historically inefficient.
Proposed Architecture and Mapping Scheme
The proposed 3D ReRAM-based convolution accelerator is based on two core innovations designed to turn the physical constraints of 3D memory into computational advantages.
Exploiting Kirchhoff’s Law for Convolution
Instead of fighting the shared bitlines in 3D ReRAM, the authors use them as a feature. They adopt the Multiple Kernel Multiple Channel (MKMC) algorithm, which breaks down convolutions into $1 \times 1$ operations. By mapping these to different layers, the natural summation of currents on shared bitlines (governed by Kirchhoff's Current Law) performs the necessary "superimposition" step of the convolution algorithm for free.
Configurable Negative Weight Mapping
To handle negative weights, the system scans kernels and separates negative from non-negative weights. Negative weights are mapped to lower layers and non-negative to upper layers, separated by a "voltage separation plane." A modified inverting operational amplifier circuit takes the accumulated currents from the "negative" and "positive" layers and outputs the difference ($I_{out} = I_{pos} - I_{neg}$), allowing for accurate analog computation of signed weights.
Evaluation and Results
The architecture was evaluated using the inference phases of VGG-16, GoogLeNet, and AlexNet trained on the ImageNet database. Hardware performance was simulated using the DESTINY tool for memory modeling and CACTI for interconnects at a 32nm process node.
The proposed 3D ReRAM design was compared against a custom 2D ReRAM baseline, a high-end CPU (Intel Core i7-5700HQ), and a GPU (NVIDIA GTX 1080 Ti).
| Metric | vs. 2D ReRAM | vs. GPU (GTX 1080 Ti) | vs. CPU (i7-5700HQ) |
|---|---|---|---|
| Speedup | 5.79× | 36.8× | 927.81× |
| Energy Efficiency | 2.12× | 114.1× | 1802.64× |
The design achieves the same inference accuracy as the baselines because it maintains the mathematical integrity of the convolution operations. The authors found that 16 layers provided an optimal balance between parallelism and parasitic-induced latency for typical $3 \times 3$ kernels.
Conclusion
This work demonstrates that the "intertwined" nature of 3D ReRAM, often seen as a drawback, can be leveraged for efficient CNN acceleration through hardware-algorithm co-design. By aligning the MKMC algorithm's requirements with the physical properties of 3D crossbars, the proposed architecture achieves significant gains in both performance and energy efficiency. Future work will address scaling to larger kernel sizes and mitigating manufacturing variations in monolithic 3D integration.
Summary updated