[Paper Review] Neural Network-Hardware Co-design for Scalable RRAM-based BNN Accelerators
This paper proposes a neural network-hardware co-design framework that enables scalable, 1-bit analog-digital interface RRAM-based BNN accelerators by splitting inputs and retraining BNNs to compute 1-bit outputs per RRAM array. The method eliminates high-resolution ADCs entirely, achieving <1.1% accuracy loss on CIFAR-10 and reducing power consumption by up to 93.3% compared to prior works using 4-bit ADCs.
Recently, RRAM-based Binary Neural Network (BNN) hardware has been gaining interests as it requires 1-bit sense-amp only and eliminates the need for high-resolution ADC and DAC. However, RRAM-based BNN hardware still requires high-resolution ADC for partial sum calculation to implement large-scale neural network using multiple memory arrays. We propose a neural network-hardware co-design approach to split input to fit each split network on a RRAM array so that the reconstructed BNNs calculate 1-bit output neuron in each array. As a result, ADC can be completely eliminated from the design even for large-scale neural network. Simulation results show that the proposed network reconstruction and retraining recovers the inference accuracy of the original BNN. The accuracy loss of the proposed scheme in the CIFAR-10 testcase was less than 1.1% compared to the original network. The code for training and running proposed BNN models is available at: https://github.com/YulhwaKim/RRAMScalable_BNN.
Motivation & Objective
- Address the scalability and power inefficiency of RRAM-based BNN accelerators due to high-resolution ADCs required for partial sum computation in large-scale networks.
- Overcome the limitation that RRAM arrays typically support only up to ~1K rows, making full 1-bit SA operation unfeasible for large input dimensions.
- Enable the use of 1-bit sense amplifiers in every RRAM array by reconstructing and retraining BNNs to compute 1-bit outputs per array.
- Achieve power efficiency and hardware scalability without sacrificing inference accuracy, even for complex models like CNNs on CIFAR-10.
Proposed method
- Split the input features of a BNN into multiple partitions such that each partition fits within the row capacity of a single RRAM array.
- Reconstruct the BNN architecture by mapping each input split to a separate sub-network that computes a 1-bit output neuron on its own RRAM array.
- Apply parameter mapping to assign synaptic weights and activations to the RRAM arrays while preserving the original network’s functional behavior.
- Retrain the reconstructed BNN using a fine-tuning procedure to recover accuracy lost during input splitting and parameter mapping.
- Use a power estimation model based on flash ADC power scaling (P ∝ α₂(2^N − 1)) to compare power consumption across different ADC bit resolutions.
- Leverage the 1-bit SA capability in each array to eliminate the need for high-resolution ADCs entirely, even for large-scale networks.
Experimental results
Research questions
- RQ1Can input splitting and BNN retraining enable 1-bit output computation per RRAM array, thereby eliminating the need for high-resolution ADCs in large-scale BNNs?
- RQ2What is the accuracy degradation of the proposed co-designed BNN compared to the original BNN when using only 1-bit ADCs?
- RQ3How does the power consumption of the proposed RRAM-based BNN accelerator compare to prior works using 3-bit or 4-bit ADCs?
- RQ4To what extent can retraining recover accuracy after input splitting and parameter mapping in large-scale BNNs like CNNs on CIFAR-10?
- RQ5Can the proposed method maintain the benefits of RRAM-based BNN accelerators—such as 1-bit SA and in-memory computation—while scaling to large networks?
Key findings
- The proposed method achieves less than 1.1% accuracy loss on the CIFAR-10 dataset compared to the original BNN, even after input splitting and retraining.
- For the MNIST MLP, the accuracy difference between the reconstructed and baseline BNN was kept within 0.5% using only parameter mapping, with further improvement via retraining.
- The power consumption of the proposed 1-bit ADC design is reduced by 93.3% compared to BCNN-RRAM (which uses 4-bit ADCs), and by 85.7% compared to XNOR-RRAM (which uses 3-bit ADCs).
- The overall power consumption of the proposed accelerator is 60.7% lower than BCNN-RRAM and 39.9% lower than XNOR-RRAM, due to elimination of high-resolution ADCs.
- The method enables full utilization of 1-bit sense amplifiers in every RRAM array, preserving the energy efficiency and scalability of RRAM-based BNN accelerators.
- The reconstruction and retraining process successfully maintains the 1-bit output computation per array, allowing complete elimination of ADCs even in large-scale networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.