一种用于近似计算的改进模板
An Improved Template for Approximate Computing
AI总结:
本文提出一种基于可参数化乘积共享的新型模板方法,通过改进布尔重写技术XPAT,在微小精度损失下有效减小神经网络算术运算符的面积,其低面积收敛效果和近似能力优于现有最先进方法。
摘要:
在边缘设备上部署神经网络需要在推理所需能耗与最终分类准确率之间取得谨慎的平衡。应对这种权衡的一种技术是近似计算:即通过略微降低算术运算符的准确率来降低能耗。在此背景下,我们提出了一种方法,通过微小的精度损失来减小神经网络中使用的小型算术运算符(即加法器和乘法器)的面积,并表明在相同的精度损失下,与现有技术相比,我们提高了面积节省。为实现这一目标,我们改进了最近提出的一种名为XPAT的布尔重写技术,该技术使用可参数化模板重写电路已被证明极具优势。特别是,XPAT在利用简单的乘积和模板结构时,能够生成比同类方法更小的电路。在本研究中,我们展示了模板参数可以作为所选指标的代理,并提出了一种基于可参数化乘积共享的新型模板,它可作为综合面积的紧密代理。我们通过实验证明,我们的方法能更好地收敛到低面积解决方案,并且能够找到比原始XPAT及其他两种最先进方法更好的近似。
英文摘要:
Deploying neural networks on edge devices entails a careful balance between the energy required for inference and the accuracy of the resulting classification. One technique for navigating this tradeoff is approximate computing: the process of reducing energy consumption by slightly reducing the accuracy of arithmetic operators. In this context, we propose a methodology to reduce the area of the small arithmetic operators used in neural networks - i.e., adders and multipliers - via a small loss in accuracy, and show that we improve area savings for the same accuracy loss w.r.t. the state of the art. To achieve our goal, we improve on a boolean rewriting technique recently proposed, called XPAT, where the use of a parametrisable template to rewrite circuits has proved to be highly beneficial. In particular, XPAT was able to produce smaller circuits than comparable approaches while utilising a naive sum of products template structure. In this work, we show that template parameters can act as proxies for chosen metrics and we propose a novel template based on parametrisable product sharing that acts as a close proxy to synthesised area. We demonstrate experimentally that our methodology converges better to low-area solutions and that it can find better approximations than both the original XPAT and two other state-of-the-art approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。