跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 硬件体系结构

arXiv:2504.09072 (cs)
[提交于 2025年4月12日]

标题:MGS: Markov Greedy Sums for Accurate Low-Bitwidth Floating-Point Accumulation

作者:Vikas Natesh, H. T. Kung, David Kong
查看论文《MGS: Markov Greedy Sums for Accurate Low-Bitwidth Floating-Point Accumulation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We offer a novel approach, MGS (Markov Greedy Sums), to improve the accuracy of low-bitwidth floating-point dot products in neural network computations. In conventional 32-bit floating-point summation, adding values with different exponents may lead to loss of precision in the mantissa of the smaller term, which is right-shifted to align with the larger term's exponent. Such shifting (a.k.a. 'swamping') is a significant source of numerical errors in accumulation when implementing low-bitwidth dot products (e.g., 8-bit floating point) as the mantissa has a small number of bits. We avoid most swamping errors by arranging the terms in dot product summation based on their exponents and summing the mantissas without overflowing the low-bitwidth accumulator. We design, analyze, and implement the algorithm to minimize 8-bit floating point error at inference time for several neural networks. In contrast to traditional sequential summation, our method has significantly lowered numerical errors, achieving classification accuracy on par with high-precision floating-point baselines for multiple image classification tasks. Our dMAC hardware units can reduce power consumption by up to 34.1\% relative to conventional MAC units.
主题: 硬件体系结构 (cs.AR); 机器学习 (cs.LG)
引用方式: arXiv:2504.09072 [cs.AR]
  (或者 arXiv:2504.09072v1 [cs.AR] 对于此版本)
  https://doi.org/10.48550/arXiv.2504.09072

提交历史

来自:Vikas Natesh
[v1] 2025年4月12日 星期六 04:19:03 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AR
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站