RWriC: A Dynamic Writing Scheme for Variation Compensation for RRAM-based In-Memory Computing
Yucong Huang, Jingyu He, Kwang-Ting (Tim) Cheng, Chi-Ying Tsui, Terry Tao Ye
Abstract
RRAM-based compute-in-memory (CIM) suffers from programming variation issues, specifically device-to-device variation (DDV) and cycle-to-cycle variation (CCV), which can have a detrimental impact on inference accuracy. To address these variation issues, we propose RWriC, a dynamic Writing scheme for variation Compensation for RRAM-based CIM. RWriC sequentially programs the weights, implemented by multiple RRAM cells, starting from the high significance cell (HSC) and moving towards the low significance cell (LSC). This approach leverages the knowledge of current cumulative errors and the programming targets (PTs) of other RRAM cells to dynamically adjust the PT of the RRAM currently under programming. By shifting the PT of HSC, RWriC enables the LSC to compensate for the programming errors of the HSC. Moreover, when the variation is substantial, RWriC allows the magnitude of LSC to be scaled up, providing an even wider compensation range. Through the combined application of the shifting and scaling techniques, experimental results show that the inference accuracy for ResNet50 on the CIFAR-10 dataset only drops by 0.9% under 18% device variation. In comparison to the conventional writing scheme, our RWriC approach achieves a 5-11x improvement in variation robustness for ResNet50 and Yolov8 across different tasks.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 93c19229-7389-46a7-ab33-59f5472cb9d4Related papers
- ER-DCIM: Error-Resilient Digital CIM Architecture with Run-Time MAC-Cell Error CorrectionZhen He, Yiqi Wang, Zihan Wu, Shaojun Wei et al.HPCA 2025 · 3 citations
- Improving compute in-memory ECC reliability with successive correctionBrian Crafton, Zishen Wan, Samuel Spetalnick, Jong-Hyeok Yoon et al.DAC 2022 · 17 citations
- YOLoC: deploy large-scale neural network by ROM-based computing-in-memory using residual branch on a chipYiming Chen, Guodong Yin, Zhanhong Tan, Mingyen Lee et al.DAC 2022 · 21 citations
- SWIM: selective write-verify for computing-in-memory neural acceleratorsZheyu Yan, Xiaobo Sharon Hu, Yiyu ShiDAC 2022 · 28 citations
- Victor: A Variation-resilient Approach Using Cell-Clustered Charge-domain computing for High-density High-throughput MLC CiMMingyen Lee, Wenjun Tang, Yiming Chen, Juejian Wu et al.DAC 2023 · 10 citations
