SWAPPER:非交换近似电路中动态交换操作数以降低在线误差
SWAPPER: Dynamic Operand Swapping in Non-commutative Approximate Circuits for Online Error Reduction
SWAPPER 通过动态重排输入操作数顺序来降低非交换近似电路的误差,每次交换决策仅需 1 个 bit。该框架可适配不同粒度以筛选最有效的交换位,在元件级将平均绝对误差最多降低 50%,在 AxBench 套件上实现最高 90% 的误差下降,Vision Transformer 的 top-1 准确率提升 66.7%。
arXiv:2503.02608v2 Announce Type: replace Abstract: 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.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org