CAT SNN: Conversion Aware Training for High Accuracy and Hardware Friendly Spiking Neural Networks

IF 5.4 2区 计算机科学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS IEEE Transactions on Emerging Topics in Computing Pub Date : 2024-08-02 DOI:10.1109/TETC.2024.3435135
Dongwoo Lew;Jongsun Park
{"title":"CAT SNN: Conversion Aware Training for High Accuracy and Hardware Friendly Spiking Neural Networks","authors":"Dongwoo Lew;Jongsun Park","doi":"10.1109/TETC.2024.3435135","DOIUrl":null,"url":null,"abstract":"Among the various training algorithms for spiking neural network (SNN), ANN-to-SNN conversion gained popularity due to high accuracy and scalability to deep networks. By converting artificial neural network (ANN) to SNN and employing conversion loss reduction techniques, previous ANN-to-SNN conversion approaches achieved good accuracies. However, previous works do not consider the overheads to implement conversion loss reductions in hardware, thereby limiting its feasibility of hardware implementation. In this paper, we present conversion aware training (CAT), where SNN is simulated as closely as possible during ANN training for obtaining SNN-like ANN. So, our approach does not need any conversion loss reduction techniques after conversion, thus reducing hardware overhead while achieving state-of-the-art accuracies for SNNs using various neural coding methods. In addition, as an application of CAT for obtaining a hardware friendly SNN, we demonstrate a lightweight time-to-first-spike (TTFS) coding that adopts logarithmic computations enabled by CAT. An SNN processor that supports the logarithmic TTFS is implemented in 28nm CMOS process, achieving 91.7/67.9/57.4% accuracy and 486.7/503.6/1426uJ inference energy on CIFAR-10/100/Tiny-ImageNet, when running 5-bit logarithmic weight VGG-16. The key contributions are 1) proposing CAT as an ANN-to-SNN conversion guideline 2) applying CAT on various neural codings 3) presenting co-designed TTFS coding and processor.","PeriodicalId":13156,"journal":{"name":"IEEE Transactions on Emerging Topics in Computing","volume":"13 2","pages":"512-524"},"PeriodicalIF":5.4000,"publicationDate":"2024-08-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Emerging Topics in Computing","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10622017/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Among the various training algorithms for spiking neural network (SNN), ANN-to-SNN conversion gained popularity due to high accuracy and scalability to deep networks. By converting artificial neural network (ANN) to SNN and employing conversion loss reduction techniques, previous ANN-to-SNN conversion approaches achieved good accuracies. However, previous works do not consider the overheads to implement conversion loss reductions in hardware, thereby limiting its feasibility of hardware implementation. In this paper, we present conversion aware training (CAT), where SNN is simulated as closely as possible during ANN training for obtaining SNN-like ANN. So, our approach does not need any conversion loss reduction techniques after conversion, thus reducing hardware overhead while achieving state-of-the-art accuracies for SNNs using various neural coding methods. In addition, as an application of CAT for obtaining a hardware friendly SNN, we demonstrate a lightweight time-to-first-spike (TTFS) coding that adopts logarithmic computations enabled by CAT. An SNN processor that supports the logarithmic TTFS is implemented in 28nm CMOS process, achieving 91.7/67.9/57.4% accuracy and 486.7/503.6/1426uJ inference energy on CIFAR-10/100/Tiny-ImageNet, when running 5-bit logarithmic weight VGG-16. The key contributions are 1) proposing CAT as an ANN-to-SNN conversion guideline 2) applying CAT on various neural codings 3) presenting co-designed TTFS coding and processor.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
CAT SNN:针对高精度和硬件友好型尖峰神经网络的转换感知训练
在尖峰神经网络(SNN)的各种训练算法中,ann -SNN转换因其精度高、可扩展到深度网络而受到广泛欢迎。通过将人工神经网络(ANN)转换为SNN并采用转换损失降低技术,以往的ANN- SNN转换方法取得了较好的精度。然而,以往的工作没有考虑在硬件上实现降低转换损耗的开销,从而限制了其硬件实现的可行性。在本文中,我们提出了转换感知训练(CAT),在神经网络训练过程中尽可能地模拟SNN,以获得类SNN神经网络。因此,我们的方法在转换后不需要任何转换损耗降低技术,从而减少硬件开销,同时使用各种神经编码方法实现最先进的snn精度。此外,作为CAT获得硬件友好SNN的一个应用,我们演示了一种轻量级的TTFS编码,该编码采用了CAT支持的对数计算。采用28nm CMOS工艺实现了支持对数TTFS的SNN处理器,在CIFAR-10/100/Tiny-ImageNet上运行5位对数权值vug -16时,实现了91.7/67.9/57.4%的精度和486.7/503.6/1426uJ的推理能量。主要贡献有:1)提出CAT作为ann到snn转换指南;2)将CAT应用于各种神经编码;3)提出共同设计的TTFS编码和处理器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
IEEE Transactions on Emerging Topics in Computing
IEEE Transactions on Emerging Topics in Computing Computer Science-Computer Science (miscellaneous)
CiteScore
12.10
自引率
5.10%
发文量
113
期刊介绍: IEEE Transactions on Emerging Topics in Computing publishes papers on emerging aspects of computer science, computing technology, and computing applications not currently covered by other IEEE Computer Society Transactions. Some examples of emerging topics in computing include: IT for Green, Synthetic and organic computing structures and systems, Advanced analytics, Social/occupational computing, Location-based/client computer systems, Morphic computer design, Electronic game systems, & Health-care IT.
期刊最新文献
Breakout Local Search for Load-Balanced Federated Learning in Multi-BS Networks Graph-Based Anomaly APT Attack Detection via Threat Intelligence Anonymous Task Assignment and Worker Payment in Mobile Crowdsensing FairRFL: Fair and Robust Federated Learning in the Presence of Selfish Clients Toward Scalable Multi-Chip Wireless Networks With Near-Field Time Reversal
×
引用
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