[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3649329.3656227acmconferencesArticle/Chapter ViewAbstractPublication PagesdacConference Proceedingsconference-collections
research-article

RWriC: A Dynamic Writing Scheme for Variation Compensation for RRAM-based In-Memory Computing

Published: 07 November 2024 Publication History

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.

References

[1]
H-S Philip Wong, Heng-Yuan Lee, Shimeng Yu, Yu-Sheng Chen, Yi Wu, Pang-Shiu Chen, Byoungil Lee, Frederick T Chen, and Ming-Jinn Tsai. 2012. Metal-oxide rram. Proceedings of the IEEE, 100, 6, 1951--1970.
[2]
Yangyin Chen. 2020. Reram: history, status, and future. IEEE Transactions on Electron Devices, 67, 4, 1420--1433.
[3]
Yun Long, Xueyuan She, and Saibal Mukhopadhyay. 2019. Design of reliable dnn accelerator with un-reliable reram. In 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 1769--1774.
[4]
Gouranga Charan, Jubin Hazra, Karsten Beckmann, Xiaocong Du, Gokul Krishnan, Rajiv V Joshi, Nathaniel C Cady, and Yu Cao. 2020. Accurate inference with inaccurate rram devices: statistical data, model transfer, and on-line adaptation. In 2020 57th ACM/IEEE Design Automation Conference (DAC). IEEE, 1--6.
[5]
Beiye Liu, Hai Li, Yiran Chen, Xin Li, Qing Wu, and Tingwen Huang. 2015. Vortex: variation-aware training for memristor x-bar. In Proceedings of the 52nd Annual Design Automation Conference, 1--6.
[6]
Peng Yao, Huaqiang Wu, Bin Gao, Jianshi Tang, Qingtian Zhang, Wenqiang Zhang, J Joshua Yang, and He Qian. 2020. Fully hardware-implemented memristor convolutional neural network. Nature, 577, 7792, 641--646.
[7]
Jilan Lin, Cheng-Da Wen, Xing Hu, Tianqi Tang, Chao Lin, Yu Wang, and Yuan Xie. 2020. Rescuing rram-based computing from static and dynamic faults. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 40, 10, 2049--2062.
[8]
Jingyu He, Yucong Huang, Miguel Lastras, Terry Tao Ye, Chi-Ying Tsui, and Kwang-Ting Cheng. 2023. Rvcomp: analog variation compensation for rram-based in-memory computing. In Proceedings of the 28th Asia and South Pacific Design Automation Conference, 246--251.
[9]
Ziqi Meng, Weikanu Oian, Yilonz Zhao, Yanan Sun, Rui Yang, and Li Jiang. 2021. Digital offset for rram-based neuromorphic computing: a novel solution to conquer cycle-to-cycle variation. In 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 1078--1083.
[10]
Sujan K Gonugondla, Ameya D Patil, and Naresh R Shanbhag. 2020. Swipe: enhancing robustness of reram crossbars for in-memory computing. In Proceedings of the 39th International Conference on Computer-Aided Design, 1--9.
[11]
Miao Hu et al. 2018. Memristor-based analog computation and neural network classification with a dot product engine. Advanced Materials, 30, 9, 1705914.
[12]
Can Li et al. 2018. Analogue signal and image processing with large memristor crossbars. Nature electronics, 1, 1, 52--59.
[13]
Yan Liao, Bin Gao, Feng Xu, Peng Yao, Junren Chen, Wenqiang Zhang, Jianshi Tang, Huaqiang Wu, and He Qian. 2020. A compact model of analog rram with device and array nonideal effects for neuromorphic systems. IEEE Transactions on Electron Devices, 67, 4, 1593--1599.

Index Terms

  1. RWriC: A Dynamic Writing Scheme for Variation Compensation for RRAM-based In-Memory Computing
            Index terms have been assigned to the content through auto-classification.

            Recommendations

            Comments

            Please enable JavaScript to view thecomments powered by Disqus.

            Information & Contributors

            Information

            Published In

            cover image ACM Conferences
            DAC '24: Proceedings of the 61st ACM/IEEE Design Automation Conference
            June 2024
            2159 pages
            ISBN:9798400706011
            DOI:10.1145/3649329
            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

            Sponsors

            In-Cooperation

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            Published: 07 November 2024

            Check for updates

            Qualifiers

            • Research-article

            Conference

            DAC '24
            Sponsor:
            DAC '24: 61st ACM/IEEE Design Automation Conference
            June 23 - 27, 2024
            CA, San Francisco, USA

            Acceptance Rates

            Overall Acceptance Rate 1,770 of 5,499 submissions, 32%

            Upcoming Conference

            DAC '25
            62nd ACM/IEEE Design Automation Conference
            June 22 - 26, 2025
            San Francisco , CA , USA

            Contributors

            Other Metrics

            Bibliometrics & Citations

            Bibliometrics

            Article Metrics

            • 0
              Total Citations
            • 121
              Total Downloads
            • Downloads (Last 12 months)121
            • Downloads (Last 6 weeks)37
            Reflects downloads up to 02 Mar 2025

            Other Metrics

            Citations

            View Options

            Login options

            View options

            PDF

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader

            Figures

            Tables

            Media

            Share

            Share

            Share this Publication link

            Share on social media