OPTDTALS: Approximate Logic Synthesis via Optimal Decision Trees Approach
Hao Hu, Shaowei Cai
TL;DR
The paper tackles ALS in circuit design under the lens of XAI by enforcing interpretable models to approximate logic while controlling complexity. It introduces OPTDTALS, which learns optimal decision trees in empirical accuracy to guarantee optimality in QoR, with depth bounds serving as the primary knob controlling circuit complexity. The approach scales to large circuits through sub-circuit partitioning (KahyPar) and a design-space exploration heuristic that iteratively substitutes sub-circuits. Experimental results on IWLS 2020 benchmarks and ISCAS combinatorial circuits show substantial reductions in circuit area and gate counts with competitive accuracy, outperforming state-of-the-art ALS methods in several settings, though scalability remains a challenge for very large designs.
Abstract
The growing interest in Explainable Artificial Intelligence (XAI) motivates promising studies of computing optimal Interpretable Machine Learning models, especially decision trees. Such models generally provide optimality in compact size or empirical accuracy. Recent works focus on improving efficiency due to the natural scalability issue. The application of such models to practical problems is quite limited. As an emerging problem in circuit design, Approximate Logic Synthesis (ALS) aims to reduce circuit complexity by sacrificing correctness. Recently, multiple heuristic machine learning methods have been applied in ALS, which learns approximated circuits from samples of input-output pairs. In this paper, we propose a new ALS methodology realizing the approximation via learning optimal decision trees in empirical accuracy. Compared to previous heuristic ALS methods, the guarantee of optimality achieves a more controllable trade-off between circuit complexity and accuracy. Experimental results show clear improvements in our methodology in the quality of approximated designs (circuit complexity and accuracy) compared to the state-of-the-art approaches.
