StrideHD:利用窗口步进进行图像分类的二进制超维计算系统

IF 2.4 Q2 ENGINEERING, ELECTRICAL & ELECTRONIC
Dehua Liang;Jun Shiomi;Noriyuki Miura;Hiromitsu Awano
{"title":"StrideHD:利用窗口步进进行图像分类的二进制超维计算系统","authors":"Dehua Liang;Jun Shiomi;Noriyuki Miura;Hiromitsu Awano","doi":"10.1109/OJCAS.2024.3401028","DOIUrl":null,"url":null,"abstract":"Hyper-Dimensional (HD) computing is a brain-inspired learning approach for efficient and fast learning on today’s embedded devices. HDC first encodes all data points to high-dimensional vectors called hypervectors and then efficiently performs the classification task using a well-defined set of operations. Although HDC achieved reasonable performances in several practical tasks, it comes with huge memory requirements since the data point should be stored in a very long vector having thousands of bits. To alleviate this problem, we propose a novel HDC architecture, called StrideHD. By utilizing the window striding in image classification, StrideHD enables HDC system to be trained and tested using binary hypervectors and achieves high accuracy with fast training speed and significantly low hardware resources. StrideHD encodes data points to distributed binary hypervectors and eliminates the expensive Channel item Memory (CiM) and item Memory (iM) in the encoder, which significantly reduces the required hardware cost for inference. Our evaluation also shows that compared with two popular HD algorithms, the singlepass StrideHD model achieves a 27.6\n<inline-formula> <tex-math>$\\times$ </tex-math></inline-formula>\n and 8.2\n<inline-formula> <tex-math>$\\times$ </tex-math></inline-formula>\n reduction in inference memory cost without hurting the classification accuracy, while the iterative mode further provides 8.7\n<inline-formula> <tex-math>$\\times$ </tex-math></inline-formula>\n memory efficiency. Under the same inference memory cost, our single-pass mode StrideHD averagely achieves 13.56% accuracy improvement in comparison with the single-pass baseline HD, which is a similar performance even in comparison with the costly iterative baseline HD models. As an extension, the iterative retraining mode of StrideHD averagely provides 11.33% accuracy improvement to its single-pass mode, which can be accomplished in fewer iterations in comparison with the baseline HD algorithms. The hardware implementation also demonstrates that StrideHD achieves over 9.9\n<inline-formula> <tex-math>$\\times$ </tex-math></inline-formula>\n and 28.8\n<inline-formula> <tex-math>$\\times$ </tex-math></inline-formula>\n reduction compared with baseline in area and power, respectively.","PeriodicalId":93442,"journal":{"name":"IEEE open journal of circuits and systems","volume":null,"pages":null},"PeriodicalIF":2.4000,"publicationDate":"2024-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10530353","citationCount":"0","resultStr":"{\"title\":\"StrideHD: A Binary Hyperdimensional Computing System Utilizing Window Striding for Image Classification\",\"authors\":\"Dehua Liang;Jun Shiomi;Noriyuki Miura;Hiromitsu Awano\",\"doi\":\"10.1109/OJCAS.2024.3401028\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Hyper-Dimensional (HD) computing is a brain-inspired learning approach for efficient and fast learning on today’s embedded devices. HDC first encodes all data points to high-dimensional vectors called hypervectors and then efficiently performs the classification task using a well-defined set of operations. Although HDC achieved reasonable performances in several practical tasks, it comes with huge memory requirements since the data point should be stored in a very long vector having thousands of bits. To alleviate this problem, we propose a novel HDC architecture, called StrideHD. By utilizing the window striding in image classification, StrideHD enables HDC system to be trained and tested using binary hypervectors and achieves high accuracy with fast training speed and significantly low hardware resources. StrideHD encodes data points to distributed binary hypervectors and eliminates the expensive Channel item Memory (CiM) and item Memory (iM) in the encoder, which significantly reduces the required hardware cost for inference. Our evaluation also shows that compared with two popular HD algorithms, the singlepass StrideHD model achieves a 27.6\\n<inline-formula> <tex-math>$\\\\times$ </tex-math></inline-formula>\\n and 8.2\\n<inline-formula> <tex-math>$\\\\times$ </tex-math></inline-formula>\\n reduction in inference memory cost without hurting the classification accuracy, while the iterative mode further provides 8.7\\n<inline-formula> <tex-math>$\\\\times$ </tex-math></inline-formula>\\n memory efficiency. Under the same inference memory cost, our single-pass mode StrideHD averagely achieves 13.56% accuracy improvement in comparison with the single-pass baseline HD, which is a similar performance even in comparison with the costly iterative baseline HD models. As an extension, the iterative retraining mode of StrideHD averagely provides 11.33% accuracy improvement to its single-pass mode, which can be accomplished in fewer iterations in comparison with the baseline HD algorithms. The hardware implementation also demonstrates that StrideHD achieves over 9.9\\n<inline-formula> <tex-math>$\\\\times$ </tex-math></inline-formula>\\n and 28.8\\n<inline-formula> <tex-math>$\\\\times$ </tex-math></inline-formula>\\n reduction compared with baseline in area and power, respectively.\",\"PeriodicalId\":93442,\"journal\":{\"name\":\"IEEE open journal of circuits and systems\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":2.4000,\"publicationDate\":\"2024-03-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10530353\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE open journal of circuits and systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10530353/\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"ENGINEERING, ELECTRICAL & ELECTRONIC\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE open journal of circuits and systems","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10530353/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0

摘要

超维(HD)计算是一种受大脑启发的学习方法,可在当今的嵌入式设备上实现高效、快速的学习。HDC 首先将所有数据点编码为称为超向量的高维向量,然后使用一组定义明确的操作高效地执行分类任务。虽然 HDC 在一些实际任务中取得了合理的性能,但由于数据点应存储在一个有数千比特的超长向量中,因此它需要巨大的内存。为了缓解这一问题,我们提出了一种名为 StrideHD 的新型 HDC 架构。通过在图像分类中利用窗口跨步,StrideHD 使 HDC 系统能够使用二进制超向量进行训练和测试,并以较快的训练速度和显著较低的硬件资源达到较高的准确率。StrideHD 将数据点编码为分布式二进制超向量,省去了编码器中昂贵的通道项存储器(CiM)和项存储器(iM),从而大大降低了推理所需的硬件成本。我们的评估还表明,与两种流行的高清算法相比,单通道 StrideHD 模型在不影响分类准确性的情况下,分别降低了 27.6 美元/次和 8.2 美元/次的推理内存成本,而迭代模式则进一步提供了 8.7 美元/次的内存效率。在相同的推理内存成本下,与单通道基线高清模型相比,我们的单通道模式 StrideHD 平均提高了 13.56% 的准确率,即使与成本高昂的迭代基线高清模型相比,表现也相差无几。作为扩展,StrideHD 的迭代再训练模式比其单通模式平均提高了 11.33% 的准确率,与基线高清算法相比,可以在更少的迭代次数内完成。硬件实现也表明,与基线算法相比,StrideHD的面积和功耗分别减少了9.9倍和28.8倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
StrideHD: A Binary Hyperdimensional Computing System Utilizing Window Striding for Image Classification
Hyper-Dimensional (HD) computing is a brain-inspired learning approach for efficient and fast learning on today’s embedded devices. HDC first encodes all data points to high-dimensional vectors called hypervectors and then efficiently performs the classification task using a well-defined set of operations. Although HDC achieved reasonable performances in several practical tasks, it comes with huge memory requirements since the data point should be stored in a very long vector having thousands of bits. To alleviate this problem, we propose a novel HDC architecture, called StrideHD. By utilizing the window striding in image classification, StrideHD enables HDC system to be trained and tested using binary hypervectors and achieves high accuracy with fast training speed and significantly low hardware resources. StrideHD encodes data points to distributed binary hypervectors and eliminates the expensive Channel item Memory (CiM) and item Memory (iM) in the encoder, which significantly reduces the required hardware cost for inference. Our evaluation also shows that compared with two popular HD algorithms, the singlepass StrideHD model achieves a 27.6 $\times$ and 8.2 $\times$ reduction in inference memory cost without hurting the classification accuracy, while the iterative mode further provides 8.7 $\times$ memory efficiency. Under the same inference memory cost, our single-pass mode StrideHD averagely achieves 13.56% accuracy improvement in comparison with the single-pass baseline HD, which is a similar performance even in comparison with the costly iterative baseline HD models. As an extension, the iterative retraining mode of StrideHD averagely provides 11.33% accuracy improvement to its single-pass mode, which can be accomplished in fewer iterations in comparison with the baseline HD algorithms. The hardware implementation also demonstrates that StrideHD achieves over 9.9 $\times$ and 28.8 $\times$ reduction compared with baseline in area and power, respectively.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
审稿时长
19 weeks
×
引用
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学术官方微信