相变记忆漂移对模拟内存中计算深度学习推理能量效率和精度的影响(特邀)

M. Frank, Ning Li, M. Rasch, Shubham Jain, Ching-Tzu Chen, R. Muralidhar, Jin P. Han, V. Narayanan, T. Philip, K. Brew, A. Simon, Iqbal Saraf, N. Saulnier, I. Boybat, Stanisław Woźniak, A. Sebastian, P. Narayanan, C. Mackin, An Chen, H. Tsai, G. Burr
{"title":"相变记忆漂移对模拟内存中计算深度学习推理能量效率和精度的影响(特邀)","authors":"M. Frank, Ning Li, M. Rasch, Shubham Jain, Ching-Tzu Chen, R. Muralidhar, Jin P. Han, V. Narayanan, T. Philip, K. Brew, A. Simon, Iqbal Saraf, N. Saulnier, I. Boybat, Stanisław Woźniak, A. Sebastian, P. Narayanan, C. Mackin, An Chen, H. Tsai, G. Burr","doi":"10.1109/IRPS48203.2023.10117874","DOIUrl":null,"url":null,"abstract":"Among the emerging approaches for deep learning acceleration, compute-in-memory (CIM) in crossbar arrays, in conjunction with optimized digital computation and communication, is attractive for achieving high execution speeds and energy efficiency. Analog phase-change memory (PCM) is particularly promising for this purpose. However, resistance typically drifts, which can degrade deep learning accuracy over time. Herein, we first discuss drift and noise mitigation by integrating projection liners into analog mushroom-type PCM devices, as well as tradeoffs with dynamic range. We then study their impact on inference accuracy for the Transformer-based language model BERT. We find that accuracy loss after extended drift can be minimal with an optimized mapping of weights to cells comprising two pairs of liner PCM devices of varying significance. Finally, we address the impact of drift on energy consumption during inference through a combination of drift, circuit, and architecture simulations. For a range of typical drift coefficients, we show that the peak vector-matrix multiplication (VMM) energy efficiency of a recently proposed heterogeneous CIM accelerator in 14 nm technology can increase by 3% to 15% over the course of one day to ten years. For convolutional neural network (CNN), long short-term memory (LSTM) and Transformer benchmarks, the increase in sustained energy efficiency remains below 10%, being greatest for models dominated by analog computation. Longer VMM integration times increase the energy impact of drift.","PeriodicalId":159030,"journal":{"name":"2023 IEEE International Reliability Physics Symposium (IRPS)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Impact of Phase-Change Memory Drift on Energy Efficiency and Accuracy of Analog Compute-in-Memory Deep Learning Inference (Invited)\",\"authors\":\"M. Frank, Ning Li, M. Rasch, Shubham Jain, Ching-Tzu Chen, R. Muralidhar, Jin P. Han, V. Narayanan, T. Philip, K. Brew, A. Simon, Iqbal Saraf, N. Saulnier, I. Boybat, Stanisław Woźniak, A. Sebastian, P. Narayanan, C. Mackin, An Chen, H. Tsai, G. Burr\",\"doi\":\"10.1109/IRPS48203.2023.10117874\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Among the emerging approaches for deep learning acceleration, compute-in-memory (CIM) in crossbar arrays, in conjunction with optimized digital computation and communication, is attractive for achieving high execution speeds and energy efficiency. Analog phase-change memory (PCM) is particularly promising for this purpose. However, resistance typically drifts, which can degrade deep learning accuracy over time. Herein, we first discuss drift and noise mitigation by integrating projection liners into analog mushroom-type PCM devices, as well as tradeoffs with dynamic range. We then study their impact on inference accuracy for the Transformer-based language model BERT. We find that accuracy loss after extended drift can be minimal with an optimized mapping of weights to cells comprising two pairs of liner PCM devices of varying significance. Finally, we address the impact of drift on energy consumption during inference through a combination of drift, circuit, and architecture simulations. For a range of typical drift coefficients, we show that the peak vector-matrix multiplication (VMM) energy efficiency of a recently proposed heterogeneous CIM accelerator in 14 nm technology can increase by 3% to 15% over the course of one day to ten years. For convolutional neural network (CNN), long short-term memory (LSTM) and Transformer benchmarks, the increase in sustained energy efficiency remains below 10%, being greatest for models dominated by analog computation. Longer VMM integration times increase the energy impact of drift.\",\"PeriodicalId\":159030,\"journal\":{\"name\":\"2023 IEEE International Reliability Physics Symposium (IRPS)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-03-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 IEEE International Reliability Physics Symposium (IRPS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IRPS48203.2023.10117874\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE International Reliability Physics Symposium (IRPS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IRPS48203.2023.10117874","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

模拟相变存储器(PCM)在这方面特别有前途。然而,阻力通常会随着时间的推移而漂移,这可能会降低深度学习的准确性。在本文中,我们首先讨论了通过将投影衬垫集成到模拟蘑菇型PCM器件中的漂移和噪声缓解,以及动态范围的权衡。然后,我们研究了它们对基于transformer的语言模型BERT的推理精度的影响。我们发现扩展漂移后的精度损失可以通过优化权重映射到包含两对不同意义的线性PCM设备的单元中来最小化。最后,我们通过漂移、电路和架构模拟的组合来解决漂移对推理过程中能量消耗的影响。对于典型漂移系数的范围,我们表明,最近提出的14纳米技术异构CIM加速器的峰值矢量矩阵乘法(VMM)能效在一天到十年的过程中可以增加3%到15%。对于卷积神经网络(CNN)、长短期记忆(LSTM)和Transformer基准测试,持续能源效率的增长保持在10%以下,在以模拟计算为主的模型中增幅最大。较长的VMM积分时间增加了漂移的能量影响。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Impact of Phase-Change Memory Drift on Energy Efficiency and Accuracy of Analog Compute-in-Memory Deep Learning Inference (Invited)
Among the emerging approaches for deep learning acceleration, compute-in-memory (CIM) in crossbar arrays, in conjunction with optimized digital computation and communication, is attractive for achieving high execution speeds and energy efficiency. Analog phase-change memory (PCM) is particularly promising for this purpose. However, resistance typically drifts, which can degrade deep learning accuracy over time. Herein, we first discuss drift and noise mitigation by integrating projection liners into analog mushroom-type PCM devices, as well as tradeoffs with dynamic range. We then study their impact on inference accuracy for the Transformer-based language model BERT. We find that accuracy loss after extended drift can be minimal with an optimized mapping of weights to cells comprising two pairs of liner PCM devices of varying significance. Finally, we address the impact of drift on energy consumption during inference through a combination of drift, circuit, and architecture simulations. For a range of typical drift coefficients, we show that the peak vector-matrix multiplication (VMM) energy efficiency of a recently proposed heterogeneous CIM accelerator in 14 nm technology can increase by 3% to 15% over the course of one day to ten years. For convolutional neural network (CNN), long short-term memory (LSTM) and Transformer benchmarks, the increase in sustained energy efficiency remains below 10%, being greatest for models dominated by analog computation. Longer VMM integration times increase the energy impact of drift.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信