Implementing Binarized Neural Networks with Magnetoresistive RAM without Error Correction

T. Hirtzlin, Bogdan Penkovsky, Jacques-Olivier Klein, N. Locatelli, A. Vincent, M. Bocquet, J. Portal, D. Querlioz
{"title":"Implementing Binarized Neural Networks with Magnetoresistive RAM without Error Correction","authors":"T. Hirtzlin, Bogdan Penkovsky, Jacques-Olivier Klein, N. Locatelli, A. Vincent, M. Bocquet, J. Portal, D. Querlioz","doi":"10.1109/NANOARCH47378.2019.181300","DOIUrl":null,"url":null,"abstract":"One of the most exciting applications of Spin Torque Magnetoresistive Random Access Memory (ST-MRAM) is the in-memory implementation of deep neural networks, which could allow improving the energy efficiency of Artificial Intelligence by orders of magnitude with regards to its implementation on computers and graphics cards. In particular, ST-MRAM could be ideal for implementing Binarized Neural Networks (BNNs), a type of deep neural networks discovered in 2016, which can achieve state-of-the-art performance with a highly reduced memory footprint with regards to conventional artificial intelligence approaches. The challenge of ST-MRAM, however, is that it is prone to write errors and usually requires the use of error correction. In this work, we show that these bit errors can be tolerated by BNNs to an outstanding level, based on examples of image recognition tasks (MNIST, CIFAR-10 and ImageNet): bit error rates of ST-MRAM up to 0.1% have little impact on recognition accuracy. The requirements for ST-MRAM are therefore considerably relaxed for BNNs with regards to traditional applications. By consequence, we show that for BNNs, ST-MRAMs can be programmed with weak (low-energy) programming conditions, without error correcting codes. We show that this result can allow the use of low energy and low area ST-MRAM cells, and show that the energy savings at the system level can reach a factor two.","PeriodicalId":229795,"journal":{"name":"2019 IEEE/ACM International Symposium on Nanoscale Architectures (NANOARCH)","volume":"112 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE/ACM International Symposium on Nanoscale Architectures (NANOARCH)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NANOARCH47378.2019.181300","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

One of the most exciting applications of Spin Torque Magnetoresistive Random Access Memory (ST-MRAM) is the in-memory implementation of deep neural networks, which could allow improving the energy efficiency of Artificial Intelligence by orders of magnitude with regards to its implementation on computers and graphics cards. In particular, ST-MRAM could be ideal for implementing Binarized Neural Networks (BNNs), a type of deep neural networks discovered in 2016, which can achieve state-of-the-art performance with a highly reduced memory footprint with regards to conventional artificial intelligence approaches. The challenge of ST-MRAM, however, is that it is prone to write errors and usually requires the use of error correction. In this work, we show that these bit errors can be tolerated by BNNs to an outstanding level, based on examples of image recognition tasks (MNIST, CIFAR-10 and ImageNet): bit error rates of ST-MRAM up to 0.1% have little impact on recognition accuracy. The requirements for ST-MRAM are therefore considerably relaxed for BNNs with regards to traditional applications. By consequence, we show that for BNNs, ST-MRAMs can be programmed with weak (low-energy) programming conditions, without error correcting codes. We show that this result can allow the use of low energy and low area ST-MRAM cells, and show that the energy savings at the system level can reach a factor two.
用无纠错磁阻RAM实现二值化神经网络
自旋扭矩磁阻随机存取存储器(ST-MRAM)最令人兴奋的应用之一是深度神经网络的内存实现,它可以提高人工智能在计算机和显卡上实现的数量级的能源效率。特别是,ST-MRAM可能是实现二值化神经网络(bnn)的理想选择,bnn是2016年发现的一种深度神经网络,与传统的人工智能方法相比,它可以实现最先进的性能,同时大大减少内存占用。然而,ST-MRAM的挑战在于它容易出现写入错误,并且通常需要使用纠错。在这项工作中,基于图像识别任务(MNIST, CIFAR-10和ImageNet)的示例,我们证明了这些误码率可以被bnn容忍到一个出色的水平:ST-MRAM的误码率高达0.1%对识别精度的影响很小。因此,与传统应用相比,bnn对ST-MRAM的要求相当宽松。因此,我们证明了对于bnn, st - mram可以在弱(低能量)编程条件下编程,而无需纠错码。我们表明,这一结果可以允许使用低能量和低面积的ST-MRAM电池,并表明在系统层面上的节能可以达到两倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书