SWAPPER:非交换近似电路中的动态操作数交换用于在线错误降低
SWAPPER: Dynamic Operand Swapping in Non-commutative Approximate Circuits for Online Error Reduction
AI总结:
针对非交换近似电路因数据处理顺序导致的错误累积问题,提出轻量级方法SWAPPER,利用单比特决策动态改变输入操作数顺序,在组件和应用层面分别实现高达50%和90%以上的错误降低。
摘要:
容错应用,如多媒体处理、机器学习、信号处理和科学计算,即使在执行近似计算时也能产生令人满意的输出。近似计算(AxC)如今是一种成熟的设计与计算范式,通过审慎降低计算质量来构建更高效的计算系统。AxC已被应用于算术电路,改变了其逻辑行为。根据近似过程的不同,诸如交换性等算术属性并不总是得以保持。当缺乏这些属性时,错误累积和应用输出便取决于数据处理的顺序。在本研究中,我们证明了在非交换近似电路中控制操作数顺序可以大幅减少计算错误。我们提出了SWAPPER,这是一种轻量级方法,仅使用单比特进行决策,通过动态改变输入操作数的顺序来急剧降低近似错误。为了探索并确定最适合进行交换选择的比特位,我们提出了一个可应用于不同粒度的框架,从而实现大幅度的错误减少和显著的精度提升。在组件和应用层面的实验结果表明,在组件层面的平均绝对误差降低了高达50%,在AxBench应用套件的应用层面降低了超过90%。
英文摘要:
Error-tolerant applications, such as multimedia processing, machine learning, signal processing, and scientific computing can still produce satisfactory results under approximate computation. Approximate computing (AxC) is a well-established paradigm that improves efficiency by judiciously reducing computation quality, and has been widely applied to arithmetic circuits by modifying their logic behavior. However, depending on the approximation, arithmetic properties, such as commutativity, may no longer hold, causing error accumulation and making the output depend on the operand order. In this work, we show that controlling operand order in non-commutative approximate circuits can significantly reduce computational errors. We propose SWAPPER, a lightweight approach that drastically reduces approximation error by dynamically reordering input operands using only a single bit for the decision. To identify the most effective bit for swapping, we propose a framework applicable at different granularities, achieving large error reductions and significant accuracy gains. We evaluate SWAPPER at both component and application levels: at the component level, it reduces the mean absolute error by up to 50%, and at the application level it achieves up to 90% error reduction for AxBench suite and 66.7% top-1 improvement on a Vision Transformer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。