arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2310.10053cs.AR
收藏

利用动态重配置的FPGA快速低成本近似乘法器

Fast and Low-Cost Approximate Multiplier for FPGAs using Dynamic Reconfiguration

Shervin Vakili, Mobin Vaziri, Amirhossein Zarei, J. M. Pierre Langlois

AI总结:

本文提出一种基于FPGA动态重配置LUT的近似乘法器,用于机器学习,在INT8精度下相比标准乘法器核节省64%-67%的LUT资源,且精度损失低于0.33%。

摘要:

乘法器是数字信号处理和机器学习电路中广泛使用的算术运算单元。由于其相对较高的复杂度,它们可能具有较高的延迟,并成为功耗的重要来源。缓解这些限制的一种策略是使用近似计算。因此,本文提出了一种专门针对机器学习计算优化的、基于FPGA的原创近似乘法器。它利用AMD-Xilinx技术中的动态可重配置查找表(LUT)原语来实现计算的核心部分。本文对所提出的INT8精度乘法器的硬件架构、实现结果和精度评估进行了深入分析。在AMD-Xilinx Kintex Ultrascale+ FPGA上的实现结果表明,与标准的Xilinx乘法器核相比,在有符号乘法和乘累加配置中,LUT利用率分别节省了64%和67%。在四个流行的深度学习(DL)基准上的精度测量表明,在训练后部署期间,平均精度下降最小,小于0.29%,最大下降保持在小于0.33%。本工作的源代码可在GitHub上获取。

英文摘要:

Multipliers are widely-used arithmetic operators in digital signal processing and machine learning circuits. Due to their relatively high complexity, they can have high latency and be a significant source of power consumption. One strategy to alleviate these limitations is to use approximate computing. This paper thus introduces an original FPGA-based approximate multiplier specifically optimized for machine learning computations. It utilizes dynamically reconfigurable lookup table (LUT) primitives in AMD-Xilinx technology to realize the core part of the computations. The paper provides an in-depth analysis of the hardware architecture, implementation outcomes, and accuracy evaluations of the multiplier proposed in INT8 precision. Implementation results on an AMD-Xilinx Kintex Ultrascale+ FPGA demonstrate remarkable savings of 64% and 67% in LUT utilization for signed multiplication and multiply-and-accumulation configurations, respectively, when compared to the standard Xilinx multiplier core. Accuracy measurements on four popular deep learning (DL) benchmarks indicate a minimal average accuracy decrease of less than 0.29% during post-training deployment, with the maximum reduction staying less than 0.33%. The source code of this work is available on GitHub.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑