A full-stack memristor-based computation-in-memory system with software-hardware co-development

IF 15.7 1区 综合性期刊 Q1 MULTIDISCIPLINARY SCIENCES Nature Communications Pub Date : 2025-03-03 DOI:10.1038/s41467-025-57183-0
Ruihua Yu, Ze Wang, Qi Liu, Bin Gao, Zhenqi Hao, Tao Guo, Sanchuan Ding, Junyang Zhang, Qi Qin, Dong Wu, Peng Yao, Qingtian Zhang, Jianshi Tang, He Qian, Huaqiang Wu
{"title":"A full-stack memristor-based computation-in-memory system with software-hardware co-development","authors":"Ruihua Yu, Ze Wang, Qi Liu, Bin Gao, Zhenqi Hao, Tao Guo, Sanchuan Ding, Junyang Zhang, Qi Qin, Dong Wu, Peng Yao, Qingtian Zhang, Jianshi Tang, He Qian, Huaqiang Wu","doi":"10.1038/s41467-025-57183-0","DOIUrl":null,"url":null,"abstract":"<p>The practicality of memristor-based computation-in-memory (CIM) systems is limited by the specific hardware design and the manual parameters tuning process. Here, we introduce a software-hardware co-development approach to improve the flexibility and efficiency of the CIM system. The hardware component supports flexible dataflow, and facilitates various weight and input mappings. The software aspect enables automatic model placement and multiple efficient optimizations. The proposed optimization methods can enhance the robustness of model weights against hardware nonidealities during the training phase and automatically identify the optimal hardware parameters to suppress the impacts of analogue computing noise during the inference phase. Utilizing the full-stack system, we experimentally demonstrate six neural network models across four distinct tasks on the hardware automatically. With the help of optimization methods, we observe a 4.76% accuracy improvement for ResNet-32 during the training phase, and a 3.32% to 9.45% improvement across the six models during the on-chip inference phase.</p>","PeriodicalId":19066,"journal":{"name":"Nature Communications","volume":"66 1","pages":""},"PeriodicalIF":15.7000,"publicationDate":"2025-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nature Communications","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1038/s41467-025-57183-0","RegionNum":1,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

The practicality of memristor-based computation-in-memory (CIM) systems is limited by the specific hardware design and the manual parameters tuning process. Here, we introduce a software-hardware co-development approach to improve the flexibility and efficiency of the CIM system. The hardware component supports flexible dataflow, and facilitates various weight and input mappings. The software aspect enables automatic model placement and multiple efficient optimizations. The proposed optimization methods can enhance the robustness of model weights against hardware nonidealities during the training phase and automatically identify the optimal hardware parameters to suppress the impacts of analogue computing noise during the inference phase. Utilizing the full-stack system, we experimentally demonstrate six neural network models across four distinct tasks on the hardware automatically. With the help of optimization methods, we observe a 4.76% accuracy improvement for ResNet-32 during the training phase, and a 3.32% to 9.45% improvement across the six models during the on-chip inference phase.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于全栈忆阻器的软、硬件协同开发的内存计算系统
基于忆阻器的内存计算(CIM)系统的实用性受到特定硬件设计和手动参数调整过程的限制。本文介绍了一种软硬件协同开发方法,以提高CIM系统的灵活性和效率。硬件组件支持灵活的数据流,方便各种权重和输入映射。软件方面支持自动模型放置和多重高效优化。所提出的优化方法可以在训练阶段增强模型权重对硬件非理想性的鲁棒性,并在推理阶段自动识别最优硬件参数以抑制模拟计算噪声的影响。利用全栈系统,我们在硬件上自动演示了跨越四种不同任务的六种神经网络模型。在优化方法的帮助下,我们观察到ResNet-32在训练阶段的准确率提高了4.76%,在片上推理阶段,六个模型的准确率提高了3.32%到9.45%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Nature Communications
Nature Communications Biological Science Disciplines-
CiteScore
24.90
自引率
2.40%
发文量
6928
审稿时长
3.7 months
期刊介绍: Nature Communications, an open-access journal, publishes high-quality research spanning all areas of the natural sciences. Papers featured in the journal showcase significant advances relevant to specialists in each respective field. With a 2-year impact factor of 16.6 (2022) and a median time of 8 days from submission to the first editorial decision, Nature Communications is committed to rapid dissemination of research findings. As a multidisciplinary journal, it welcomes contributions from biological, health, physical, chemical, Earth, social, mathematical, applied, and engineering sciences, aiming to highlight important breakthroughs within each domain.
期刊最新文献
Electrochemical tyrosine-click bioconjugation enables multiplexed cytokine sensing and immunoprofiling in native serum. Carbene-catalyzed double esterification enables enantioselective conformational self-locking of pillar[5]arenes. Structural basis of the cyclin Y/14-3-3 protein-mediated activation of CDK16. International testing and refinement of AI algorithms predicting acute leukemia subtypes from routine laboratory data. Transcriptional competence defines the heterochromatin nucleating potential of isolated MSR units.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1