A neuromorphic hardware architecture based on TTFS coding with temporal quantization for spiking neural networks

IF 2.2 3区 工程技术 Q3 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Yuxuan Yang , Qihu Xie , Zihao Xuan , Song Chen , Yi Kang
{"title":"A neuromorphic hardware architecture based on TTFS coding with temporal quantization for spiking neural networks","authors":"Yuxuan Yang ,&nbsp;Qihu Xie ,&nbsp;Zihao Xuan ,&nbsp;Song Chen ,&nbsp;Yi Kang","doi":"10.1016/j.vlsi.2025.102403","DOIUrl":null,"url":null,"abstract":"<div><div>In recent years, spiking neural networks (SNNs) have gained significant attention due to their biologically realistic and event-driven properties. Time-to-First-Spike (TTFS) coding is a coding scheme for SNNs where neurons are fired only once throughout the inference process, reducing the number of spikes and improving energy efficiency. However, the SNNs with TTFS coding have an issue of low classification accuracy. This paper first introduces TQ-TTFS, a temporal quantization on the TTFS neuron model to address this issue. TQ-TTFS significantly alleviates overfitting caused by early firing and improves the classification accuracy of SNNs. Based on TQ-TTFS, we design a hardware architecture with a new inference scheme called Hybrid Priority Inference (HPI) which greatly reduces the frequency of weight access and supports temporal parallel computation. To further decrease storage overhead, we also introduce shared storage and membrane potential quantization. The proposed temporal quantization neuron model and hardware architecture demonstrate excellent performance. Our simulations show that TQ-TTFS achieves classification accuracy of 98.6% on the MNIST dataset, 90.2% on the FashionMNIST dataset, and 80.54% on the CIFAR-10 dataset, which are better than SOTA among temporal coded SNNs. Our FPGA implementation of the proposed hardware architecture has inference time of only 4.4 <span><math><mi>μ</mi></math></span>s per image on the MNIST dataset and 24 <span><math><mi>μ</mi></math></span>s per image on the FashionMNIST dataset. The energy consumption for these inferences is only 4 <span><math><mi>μ</mi></math></span>J and 32 <span><math><mi>μ</mi></math></span>J, respectively.</div></div>","PeriodicalId":54973,"journal":{"name":"Integration-The Vlsi Journal","volume":"103 ","pages":"Article 102403"},"PeriodicalIF":2.2000,"publicationDate":"2025-03-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Integration-The Vlsi Journal","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167926025000604","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

In recent years, spiking neural networks (SNNs) have gained significant attention due to their biologically realistic and event-driven properties. Time-to-First-Spike (TTFS) coding is a coding scheme for SNNs where neurons are fired only once throughout the inference process, reducing the number of spikes and improving energy efficiency. However, the SNNs with TTFS coding have an issue of low classification accuracy. This paper first introduces TQ-TTFS, a temporal quantization on the TTFS neuron model to address this issue. TQ-TTFS significantly alleviates overfitting caused by early firing and improves the classification accuracy of SNNs. Based on TQ-TTFS, we design a hardware architecture with a new inference scheme called Hybrid Priority Inference (HPI) which greatly reduces the frequency of weight access and supports temporal parallel computation. To further decrease storage overhead, we also introduce shared storage and membrane potential quantization. The proposed temporal quantization neuron model and hardware architecture demonstrate excellent performance. Our simulations show that TQ-TTFS achieves classification accuracy of 98.6% on the MNIST dataset, 90.2% on the FashionMNIST dataset, and 80.54% on the CIFAR-10 dataset, which are better than SOTA among temporal coded SNNs. Our FPGA implementation of the proposed hardware architecture has inference time of only 4.4 μs per image on the MNIST dataset and 24 μs per image on the FashionMNIST dataset. The energy consumption for these inferences is only 4 μJ and 32 μJ, respectively.
一种基于时间量化的脉冲神经网络TTFS编码的神经形态硬件结构
近年来,尖峰神经网络(SNNs)因其生物现实性和事件驱动特性而受到广泛关注。TTFS编码是snn的一种编码方案,其中神经元在整个推理过程中只被激发一次,减少了尖峰的数量并提高了能量效率。然而,使用TTFS编码的snn存在分类精度低的问题。本文首先介绍了TQ-TTFS,一种基于TTFS神经元模型的时间量化方法来解决这个问题。TQ-TTFS显著缓解了早期发射引起的过拟合,提高了snn的分类精度。基于TQ-TTFS,我们设计了一种新的推理方案混合优先级推理(HPI)的硬件架构,该方案大大降低了权重访问的频率,并支持时间并行计算。为了进一步降低存储开销,我们还引入了共享存储和膜电位量化。所提出的时间量化神经元模型和硬件结构均表现出优异的性能。仿真结果表明,TQ-TTFS在MNIST数据集上的分类准确率为98.6%,在FashionMNIST数据集上的分类准确率为90.2%,在CIFAR-10数据集上的分类准确率为80.54%,在时间编码snn中优于SOTA。我们提出的硬件架构的FPGA实现在MNIST数据集上每幅图像的推理时间仅为4.4 μs,在FashionMNIST数据集上每幅图像的推理时间仅为24 μs。这些推论的能量消耗分别仅为4 μJ和32 μJ。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Integration-The Vlsi Journal
Integration-The Vlsi Journal 工程技术-工程:电子与电气
CiteScore
3.80
自引率
5.30%
发文量
107
审稿时长
6 months
期刊介绍: Integration''s aim is to cover every aspect of the VLSI area, with an emphasis on cross-fertilization between various fields of science, and the design, verification, test and applications of integrated circuits and systems, as well as closely related topics in process and device technologies. Individual issues will feature peer-reviewed tutorials and articles as well as reviews of recent publications. The intended coverage of the journal can be assessed by examining the following (non-exclusive) list of topics: Specification methods and languages; Analog/Digital Integrated Circuits and Systems; VLSI architectures; Algorithms, methods and tools for modeling, simulation, synthesis and verification of integrated circuits and systems of any complexity; Embedded systems; High-level synthesis for VLSI systems; Logic synthesis and finite automata; Testing, design-for-test and test generation algorithms; Physical design; Formal verification; Algorithms implemented in VLSI systems; Systems engineering; Heterogeneous systems.
×
引用
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学术官方微信