{"title":"使用伪索波尔比特流的高效并行随机计算乘积 (MAC) 技术","authors":"Aokun Hu;Wenjie Li;Dongxu Lyu;Guanghui He","doi":"10.1109/TNANO.2024.3368628","DOIUrl":null,"url":null,"abstract":"Stochastic computing (SC) has emerged as a promising technique for reducing hardware costs in various applications, particularly in multiply-accumulate (MAC) intensive tasks such as neural networks. However, conventional SC still faces challenges in terms of achieving high accuracy and throughput. To enhance the precision, Sobol bit-stream has been widely adopted in SC. On the other hand, the throughput is frequently increased by means of parallel computing architecture. Nevertheless, directly increasing parallelism will incur significant additional hardware costs. In this paper, we propose Pseudo-Sobol bit-streams based on which an efficient parallel stochastic computing architecture for MAC operations is further developed. The proposed design leverages the properties of Pseudo-Sobol bit-streams and integrates the computation and conversion units to improve hardware efficiency. We evaluate the effectiveness of our design in two typical applications, general matrix multiplication (GEMM) and convolution. Experimental results show that our proposed design is capable of increasing energy efficiency by up to 36% and area efficiency by up to 70%.","PeriodicalId":449,"journal":{"name":"IEEE Transactions on Nanotechnology","volume":"23 ","pages":"170-179"},"PeriodicalIF":2.1000,"publicationDate":"2024-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient Parallel Stochastic Computing Multiply-Accumulate (MAC) Technique Using Pseudo-Sobol Bit-Streams\",\"authors\":\"Aokun Hu;Wenjie Li;Dongxu Lyu;Guanghui He\",\"doi\":\"10.1109/TNANO.2024.3368628\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Stochastic computing (SC) has emerged as a promising technique for reducing hardware costs in various applications, particularly in multiply-accumulate (MAC) intensive tasks such as neural networks. However, conventional SC still faces challenges in terms of achieving high accuracy and throughput. To enhance the precision, Sobol bit-stream has been widely adopted in SC. On the other hand, the throughput is frequently increased by means of parallel computing architecture. Nevertheless, directly increasing parallelism will incur significant additional hardware costs. In this paper, we propose Pseudo-Sobol bit-streams based on which an efficient parallel stochastic computing architecture for MAC operations is further developed. The proposed design leverages the properties of Pseudo-Sobol bit-streams and integrates the computation and conversion units to improve hardware efficiency. We evaluate the effectiveness of our design in two typical applications, general matrix multiplication (GEMM) and convolution. Experimental results show that our proposed design is capable of increasing energy efficiency by up to 36% and area efficiency by up to 70%.\",\"PeriodicalId\":449,\"journal\":{\"name\":\"IEEE Transactions on Nanotechnology\",\"volume\":\"23 \",\"pages\":\"170-179\"},\"PeriodicalIF\":2.1000,\"publicationDate\":\"2024-02-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Nanotechnology\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10443589/\",\"RegionNum\":4,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"ENGINEERING, ELECTRICAL & ELECTRONIC\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Nanotechnology","FirstCategoryId":"5","ListUrlMain":"https://ieeexplore.ieee.org/document/10443589/","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
摘要
随机计算(SC)已成为在各种应用中降低硬件成本的一种有前途的技术,特别是在神经网络等多累积(MAC)密集型任务中。然而,传统的随机计算在实现高精度和高吞吐量方面仍面临挑战。为了提高精度,Sobol 比特流被广泛应用于 SC。另一方面,吞吐量经常通过并行计算架构来提高。然而,直接提高并行性会产生大量额外的硬件成本。在本文中,我们提出了伪 Sobol 比特流,并在此基础上进一步开发了用于 MAC 运算的高效并行随机计算架构。我们提出的设计充分利用了伪索波尔比特流的特性,并整合了计算和转换单元,从而提高了硬件效率。我们在通用矩阵乘法(GEMM)和卷积这两个典型应用中评估了设计的有效性。实验结果表明,我们提出的设计能够将能效提高 36%,面积效率提高 70%。
Efficient Parallel Stochastic Computing Multiply-Accumulate (MAC) Technique Using Pseudo-Sobol Bit-Streams
Stochastic computing (SC) has emerged as a promising technique for reducing hardware costs in various applications, particularly in multiply-accumulate (MAC) intensive tasks such as neural networks. However, conventional SC still faces challenges in terms of achieving high accuracy and throughput. To enhance the precision, Sobol bit-stream has been widely adopted in SC. On the other hand, the throughput is frequently increased by means of parallel computing architecture. Nevertheless, directly increasing parallelism will incur significant additional hardware costs. In this paper, we propose Pseudo-Sobol bit-streams based on which an efficient parallel stochastic computing architecture for MAC operations is further developed. The proposed design leverages the properties of Pseudo-Sobol bit-streams and integrates the computation and conversion units to improve hardware efficiency. We evaluate the effectiveness of our design in two typical applications, general matrix multiplication (GEMM) and convolution. Experimental results show that our proposed design is capable of increasing energy efficiency by up to 36% and area efficiency by up to 70%.
期刊介绍:
The IEEE Transactions on Nanotechnology is devoted to the publication of manuscripts of archival value in the general area of nanotechnology, which is rapidly emerging as one of the fastest growing and most promising new technological developments for the next generation and beyond.