Abstract
This paper presents a high-efficiency Computing-in-Memory (CIM) architecture designed to minimize power consumption in Deep Neural Network (DNN) hardware. By employing Modified Radix-4 (M-RD4) encoding for inputs and Modified Canonical Signed Digit (M-CSD) representation for weights, the proposed system significantly reduces the switching activity and non-zero digit count in computations. Integrated with a differential charge redistribution passive integrator, the architecture achieves a peak energy efficiency of 60.68 TOPS/s/W for 8-bit operations while maintaining software-level accuracy across standard benchmarks.
Introduction
The proliferation of Deep Neural Networks (DNNs) has led to an unprecedented demand for high-throughput Multiplication-and-Accumulation (MAC) operations. Traditional Von Neumann architectures struggle with the "memory wall," where data movement between processing units and memory consumes the majority of time and energy. Computing-in-Memory (CIM) using Resistive RAM (RRAM) crossbars addresses this by performing computations directly within the memory array. However, CIM implementations often face challenges related to the high power consumption of peripheral circuits, such as Analog-to-Digital Converters (ADCs) and operational amplifiers, as well as sensitivity to noise and RRAM variations.
Proposed CIM Architecture
The authors propose a digitized CIM core that leverages mathematical data representations to reduce hardware workload. The overall architecture, shown in Figure 4, integrates an M-RD4 Booth Encoder at the input stage and a Differential RRAM Array for weight storage.
Key components of the architecture include:
- M-RD4 Input Encoding: A modified Booth algorithm recodes binary inputs, effectively halving the encoding length and reducing the number of active rows in the RRAM array.
- M-CSD Weight Representation: Weights are stored in differential RRAM pairs. The use of M-CSD—a ternary representation—minimizes non-zero digits, allowing the system to bypass nearly 50% of multiplications.
- Passive Integration: Instead of power-hungry active amplifiers, a differential charge redistribution passive integrator is used. This component uses capacitors and precise timing to accumulate results, which are then digitized by a Successive Approximation Register (SAR) ADC.
Data Encoding and Sparsity
The core innovation lies in the use of M-RD4 and M-CSD to maximize sparsity. Traditional binary inputs often contain many "1"s, leading to high power consumption during row activation. The M-RD4 scheme, detailed in Figure 6, maps binary bits to a reduced set of digits, significantly lowering the probability of "1 × 1" operations.
By maximizing "zeros" in both inputs and weights, the hardware physically performs less work. Simulations show that this approach reduces the ratio of energy-intensive operations by 78.5% for LeNet and 80.2% for AlexNet.
Experimental Results
The architecture was evaluated using standard computer vision benchmarks, including LeNet (MNIST) and AlexNet, ResNet34, and VGG16 (ImageNet). The system achieved a computing-power rate of 60.68 TOPS/s/W at 8-bit precision, representing a 41.55% reduction in total power consumption compared to prior state-of-the-art CIM schemes.
Crucially, these power savings do not come at the cost of accuracy. For the LeNet model on MNIST, the proposed CIM core achieved a 0.91% top-1 error rate, nearly identical to the 0.90% error rate of a pure software implementation. The design's efficiency is further enhanced by its compact footprint, requiring only one 8-bit ADC for every eight integrators.
Conclusion
This work demonstrates that energy efficiency in CIM is as much a function of data representation as it is of circuit design. By combining M-RD4 and M-CSD encodings with passive integration, the proposed architecture significantly mitigates the power bottlenecks of traditional CIM. While current results are based on high-fidelity circuit simulations, they provide a strong foundation for future physical implementation and exploration of RRAM endurance and large-scale system integration.
Summary updated