SWAPPER: Dynamic Operand Swapping in Non-commutative Approximate Circuits for Online Error Reduction
Marcello Traiola, Nazar Misyats, Silviu-Ioan Filip, Remi Garcia, Angeliki Kritikakou
原文摘要
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.
cs.AR