TGBNN: Training Algorithm of Binarized Neural Network With Ternary Gradients for MRAM-Based Computing-in-Memory Architecture

计算机科学 三元运算 人工神经网络 磁阻随机存取存储器 培训(气象学) 并行计算 计算科学 内存体系结构 计算机体系结构 算法 计算机工程 人工智能 随机存取存储器 计算机硬件 程序设计语言 气象学 物理
作者
Yuya Fujiwara,T. Kawahara
出处
期刊:IEEE Access [Institute of Electrical and Electronics Engineers]
卷期号:12: 150962-150974 被引量:1
标识
DOI:10.1109/access.2024.3476417
摘要

To build Neural Networks (NNs) on edge devices, Binarized Neural Network (BNN) has been proposed on the software side, while Computing-in-Memory (CiM) architecture has been proposed on the hardware side. For use on CiM architecture-based BNN, Magnetic Random Access Memory (MRAM) has been attracting interest thanks to its low power consumption and fast write operation. In this study, we propose a new BNN training algorithm utilizing ternarized gradients (TGBNN) for MRAM-based CiM architecture to enable both training BNN and inference on edge devices. TGBNN has only ternary gradients, binary weights, binary activations, binary inputs in both training and inference phases. In other words, real-valued weights and real-valued gradients, which are necessary on conventional BNNs in the training phase, never appear on our BNN. TGBNN uses three key techniques: ternarized gradients, improved straight through estimator, and stochastic weights update. In addition, to build TGBNN on edge devices, we propose a new MRAM-based CiM architecture. Our MRAM array consists of an MRAM cell-based XNOR gate utilizing Voltage Controlled Magnetic Anisotropy (VCMA) and MRAM cell-based stochastic updating utilizing Spin Orbit Torque (SOT). Owning to our MRAM-based CiM architecture, we can halve the scale of the Multiply-and-Accumulate (MAC) operation circuit in comparison with the conventional method. Lastly, we evaluated TGBNN on our MRAM utilizing the MNIST handwriting dataset. The result showed that the accuracy of TGBNN was only 0.92 % lower than that of regular BNN has the same structure, and the training of TGBNN can converge faster than it of regular BNN. In addition, we found 88.28 % accuracy with ECOC-based learning TGBNN. Therefore, we can build a BNN on the edge side in both inference and training phases owning to TGBNN on our MRAM-based CiM architecture.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
三川完成签到,获得积分10
1秒前
1秒前
呆萌的樱桃完成签到 ,获得积分10
1秒前
ava发布了新的文献求助10
2秒前
binban128发布了新的文献求助10
2秒前
2秒前
天天快乐应助迁湾采纳,获得10
2秒前
李爱国应助xxxxx采纳,获得10
3秒前
热衷完成签到,获得积分10
3秒前
3秒前
俭朴灵寒完成签到,获得积分10
3秒前
小叶完成签到,获得积分10
3秒前
3秒前
星辰大海应助zhaojin采纳,获得10
4秒前
思源应助吾日三省吾身采纳,获得10
4秒前
4秒前
FangLL完成签到,获得积分10
4秒前
开坦克的贝塔完成签到,获得积分10
5秒前
lijiabo发布了新的文献求助10
5秒前
无花果应助hongzhihu采纳,获得10
5秒前
嚼嚼嚼发布了新的文献求助10
5秒前
5秒前
顺利毕业就好完成签到 ,获得积分10
6秒前
李欣宇完成签到,获得积分20
6秒前
闪电完成签到 ,获得积分10
6秒前
852应助Pan采纳,获得10
6秒前
6秒前
慕青应助杨宝仪采纳,获得10
7秒前
7秒前
完美世界应助楠猫采纳,获得10
7秒前
7秒前
无极微光应助大可采纳,获得20
8秒前
顾大大完成签到,获得积分10
8秒前
Carrie完成签到,获得积分10
8秒前
清秀苗条完成签到,获得积分10
8秒前
闭上眼睛发布了新的文献求助10
8秒前
无奈馒头完成签到,获得积分20
8秒前
简爱发布了新的文献求助10
8秒前
传奇3应助小曹采纳,获得10
8秒前
孤独的巨人完成签到,获得积分10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Principles of town planning: translating concepts to applications 1000
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The Effective Clinical Neurologist 3ed 500
The Great Hymn to Šamaš 500
Positive Obsession: The Life and Times of Octavia E. Butler 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7697434
求助须知:如何正确求助?哪些是违规求助? 9257498
关于积分的说明 20008705
捐赠科研通 7272106
什么是DOI,文献DOI怎么找? 3293080
关于科研通互助平台的介绍 2448568
邀请新用户注册赠送积分活动 2299015