arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.15495cs.AR
收藏

AMG:基于贝叶斯优化的FPGA自动化高效近似乘法器生成器

AMG: Automated Efficient Approximate Multiplier Generator for FPGAs via Bayesian Optimization

Zhen Li, Hao Zhou, Lingli Wang

AI总结:

本文提出AMG,一个基于贝叶斯优化与并行评估的FPGA自动化近似乘法器生成器,通过简化部分积压缩中的精确半加器并保留粗粒度累加,在可接受误差下显著降低硬件成本,相比已有1167个乘法器平均改进28.70%-38.47%。

摘要:

近似计算是一种很有前景的方法,可在许多容错应用(如机器学习(ML)和数字信号处理(DSP)系统)的硬件设计中降低功耗、延迟和面积,其中乘法器通常是关键的算术单元。由于ASIC与FPGA之间底层架构的差异,现有的基于ASIC的近似乘法器在由FPGA资源实现时并不能提供对称的收益。在本文中,我们提出了AMG,一个开源的、由带并行评估的贝叶斯优化(BO)驱动的FPGA自动化近似乘法器生成器。所提出的方法简化了乘法器中初始部分积(PP)压缩所用的精确半加器(HA),同时为后续累加保留粗粒度加法。生成的乘法器可以有效地映射到现代FPGA提供的查找表(LUT)和进位链上,在可接受的误差下降低硬件成本。与以往工作中的1167个乘法器相比,我们生成的乘法器能够形成帕累托前沿,在硬件成本与误差的乘积方面平均实现28.70%-38.47%的改进。所有源代码、复现的乘法器以及我们生成的乘法器均可在https://github.com/phyzhenli/AMG获取。

英文摘要:

Approximate computing is a promising approach to reduce the power, delay, and area in hardware design for many error-resilient applications such as machine learning (ML) and digital signal processing (DSP) systems, in which multipliers usually are key arithmetic units. Due to the underlying architectural differences between ASICs and FPGAs, existing ASIC-based approximate multipliers do not offer symmetrical gains when they are implemented by FPGA resources. In this paper, we propose AMG, an open-source automated approximate multiplier generator for FPGAs driven by Bayesian optimization (BO) with parallel evaluation. The proposed method simplifies the exact half adders (HAs) for the initial partial product (PP) compression in a multiplier while preserving coarse-grained additions for the following accumulation. The generated multipliers can be effectively mapped to lookup tables (LUTs) and carry chains provided by modern FPGAs, reducing hardware costs with acceptable errors. Compared with 1167 multipliers from previous works, our generated multipliers can form a Pareto front with 28.70%-38.47% improvements in terms of the product of hardware cost and error on average. All source codes, reproduced multipliers, and our generated multipliers are available at https://github.com/phyzhenli/AMG.

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

↑