Design of Low-Cost and High-Accurate 8-bit Logarithmic Floating-Point Arithmetic Circuits

IF 3.1 2区 工程技术 Q2 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Botao Xiong;Xingyu Shao;Chang Liu;Shize Zhang;Yuchun Chang
{"title":"Design of Low-Cost and High-Accurate 8-bit Logarithmic Floating-Point Arithmetic Circuits","authors":"Botao Xiong;Xingyu Shao;Chang Liu;Shize Zhang;Yuchun Chang","doi":"10.1109/TVLSI.2025.3563950","DOIUrl":null,"url":null,"abstract":"Recent studies suggest that the 8-bit floating-point (FP) format plays an important role in the deep learning, where the <inline-formula> <tex-math>$E4M3$ </tex-math></inline-formula> (4-bit exponent, 3-bit mantissa) is suited for the natural language processing model and the <inline-formula> <tex-math>$E3M4$ </tex-math></inline-formula> is better on computer vision task. In this brief, the logarithmic number system (LNS) is used to simplify the design of FP8 multipliers and dividers because the multiplication and division can be performed by the addition and subtraction in the logarithmic domain. Furthermore, this brief finds that the 3- and 4-bit logarithmic and anti-logarithmic (Antilog) converters can be effectively realized by {<italic>x</i>, <inline-formula> <tex-math>$x+1$ </tex-math></inline-formula>} and {<italic>x</i>, <inline-formula> <tex-math>$x-1$ </tex-math></inline-formula>}. As a result, compared to the standard <inline-formula> <tex-math>$E4M3$ </tex-math></inline-formula> and <inline-formula> <tex-math>$E3M4$ </tex-math></inline-formula> multipliers, the cell area can be reduced by 32% and 40%. Compared to the standard <inline-formula> <tex-math>$E4M3$ </tex-math></inline-formula> and <inline-formula> <tex-math>$E3M4$ </tex-math></inline-formula> divider, the cell area can be reduced by 61% and 67%. In addition, compared with the INT8-based design, the area of convolution core using proposed multiplier is reduced by 33%. The accuracy loss of the quantized ResNet-50, MobileNet, and ViT-B based on the proposed convolution core are −0.12%, +0.38%, and +0.8%, which are better than the INT8-based design. In the end, the proposed divider can be used in the image change detection. The false rate is slightly reduced from 2.97% to 2.95% compared to the standard <inline-formula> <tex-math>$E3M4$ </tex-math></inline-formula> divider.","PeriodicalId":13425,"journal":{"name":"IEEE Transactions on Very Large Scale Integration (VLSI) Systems","volume":"33 7","pages":"2094-2098"},"PeriodicalIF":3.1000,"publicationDate":"2025-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Very Large Scale Integration (VLSI) Systems","FirstCategoryId":"5","ListUrlMain":"https://ieeexplore.ieee.org/document/11005497/","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Recent studies suggest that the 8-bit floating-point (FP) format plays an important role in the deep learning, where the $E4M3$ (4-bit exponent, 3-bit mantissa) is suited for the natural language processing model and the $E3M4$ is better on computer vision task. In this brief, the logarithmic number system (LNS) is used to simplify the design of FP8 multipliers and dividers because the multiplication and division can be performed by the addition and subtraction in the logarithmic domain. Furthermore, this brief finds that the 3- and 4-bit logarithmic and anti-logarithmic (Antilog) converters can be effectively realized by {x, $x+1$ } and {x, $x-1$ }. As a result, compared to the standard $E4M3$ and $E3M4$ multipliers, the cell area can be reduced by 32% and 40%. Compared to the standard $E4M3$ and $E3M4$ divider, the cell area can be reduced by 61% and 67%. In addition, compared with the INT8-based design, the area of convolution core using proposed multiplier is reduced by 33%. The accuracy loss of the quantized ResNet-50, MobileNet, and ViT-B based on the proposed convolution core are −0.12%, +0.38%, and +0.8%, which are better than the INT8-based design. In the end, the proposed divider can be used in the image change detection. The false rate is slightly reduced from 2.97% to 2.95% compared to the standard $E3M4$ divider.
低成本高精度8位对数浮点运算电路的设计
最近的研究表明,8位浮点(FP)格式在深度学习中起着重要的作用,其中$E4M3$(4位指数,3位尾数)适合于自然语言处理模型,$E3M4$更适合于计算机视觉任务。在本文中,使用对数数系统(LNS)来简化FP8乘法器和除法器的设计,因为乘法和除法可以通过对数域中的加减运算来完成。此外,本文还发现3位和4位对数和反对数(Antilog)转换器可以通过{x, $x+1$}和{x, $x-1$}有效地实现。因此,与标准的$E4M3$和$E3M4$倍增器相比,单元面积可减少32%和40%。与标准的$E4M3$和$E3M4$分隔器相比,单元面积可减少61%和67%。此外,与基于int8的设计相比,使用该乘法器的卷积核面积减小了33%。基于该卷积核的量化ResNet-50、MobileNet和vitb的精度损失分别为- 0.12%、+0.38%和+0.8%,优于基于int8的设计。最后,本文提出的分频器可用于图像变化检测。与标准的$E3M4$分压器相比,误报率从2.97%略微降低到2.95%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.40
自引率
7.10%
发文量
187
审稿时长
3.6 months
期刊介绍: The IEEE Transactions on VLSI Systems is published as a monthly journal under the co-sponsorship of the IEEE Circuits and Systems Society, the IEEE Computer Society, and the IEEE Solid-State Circuits Society. Design and realization of microelectronic systems using VLSI/ULSI technologies require close collaboration among scientists and engineers in the fields of systems architecture, logic and circuit design, chips and wafer fabrication, packaging, testing and systems applications. Generation of specifications, design and verification must be performed at all abstraction levels, including the system, register-transfer, logic, circuit, transistor and process levels. To address this critical area through a common forum, the IEEE Transactions on VLSI Systems have been founded. The editorial board, consisting of international experts, invites original papers which emphasize and merit the novel systems integration aspects of microelectronic systems including interactions among systems design and partitioning, logic and memory design, digital and analog circuit design, layout synthesis, CAD tools, chips and wafer fabrication, testing and packaging, and systems level qualification. Thus, the coverage of these Transactions will focus on VLSI/ULSI microelectronic systems integration.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信