TL;DR
ARITH-DAS is the first framework to optimize the fine-grained "wiring" (interconnects) of arithmetic circuits using differentiable architecture search. By formulating interconnect optimization as an edge prediction problem on a multi-relational graph and training directly on real hardware metrics, it achieves up to a 27.05% improvement in area-delay efficiency over previous state-of-the-art methods.
The Challenge in Arithmetic Circuit Design
Arithmetic circuits, particularly multipliers and multiply-accumulate (MAC) units, are the computational workhorses of modern hardware. In deep neural networks, they account for over 99% of operations. Optimizing these circuits for speed (delay) and size (area) is an NP-hard combinatorial challenge.
While recent "Learning to Optimize" (L2O) approaches have made strides, they suffer from two major flaws:
- Coarse-grained Focus: They mostly optimize allocation (how many components to use) but rely on simple heuristics for interconnection (how those components are wired together).
- The Proxy Gap: They often optimize against oversimplified "proxy" models of delay rather than actual physical hardware metrics. As circuits grow in complexity, these proxies become increasingly inaccurate, leading to suboptimal designs.
The ARITH-DAS Solution
To bridge the gap between high-level architectural design and low-level physical implementation, the authors propose ARITH-DAS, a two-stage framework.
- Adaptable Allocation Search: The framework uses a circuit evolutionary strategy to determine the high-level structure—specifically, the number and types of "compressors" (the basic building blocks of a multiplier's reduction tree) at each bit position.
- Differentiable Interconnect Search: This is the core innovation. ARITH-DAS represents the circuit as a Multi-Relational Directed Acyclic Graph (DAG).
To navigate this complex graph, the framework leverages several advanced techniques:
- Multi-Relational GNN: Because compressor input ports are physically asymmetric (e.g., a 'carry-in' port behaves differently than a standard input), the model uses a specialized Graph Neural Network to capture these distinct semantic relationships.
- Graphormer-style Attention: It employs an attention mechanism to predict the probability of a connection between any two nodes.
- Proxy-Free Training: Instead of using a simplified formula, the framework is trained using a PPO-like (Proximal Policy Optimization) reinforcement learning approach. The "reward" comes directly from the output of professional Electronic Design Automation (EDA) tools (Yosys and OpenROAD), ensuring the optimization aligns with real-world hardware performance.
Key Insights
- Interconnects are a Hidden Goldmine: The authors demonstrate that even with a fixed number of components, different wiring strategies can change a circuit's delay by over 10%. Previous methods were leaving this performance on the table.
- Differentiable Relaxation: By turning the discrete "yes/no" wiring decision into a continuous probability distribution, the model can use gradient-based optimization. This is a vastly more efficient way to navigate the astronomical search space ($O(2^{4N^2})$) than pure trial-and-error.
- Port-Specific Semantics: Treating a circuit as a simple graph is insufficient. By using a multi-relational approach, the model learns that where a wire connects is just as important as that it connects.
Results and System-Level Impact
The researchers evaluated ARITH-DAS on a comprehensive suite of arithmetic circuit design tasks, including 8-bit to 64-bit multipliers (using both AND-gate and Booth encoding) and 16-bit/32-bit MAC units.
ARITH-DAS consistently outperformed both classical heuristics (like Wallace trees) and modern RL-based methods (like MUTE). It discovered designs that were simultaneously smaller and faster than existing baselines across all bit-widths, achieving up to a 27.05% gain in the hypervolume of the area-delay Pareto frontier.
Crucially, these component-level gains translate to system-level benefits. When the optimized multipliers were integrated into large-scale AI accelerators (like LSTMs and Conv-layers from the Koios 2.0 Benchmark), the total system delay was reduced by up to 6.59%.
Limitations and Future Work
The primary limitation of the current framework is that it operates at the post-synthesis stage. It does not yet account for the "back-end" of the chip design process, such as physical placement and routing (P&R) on a silicon die. These final stages can introduce further parasitic delays and congestion that might alter the performance of the optimized netlist. Future research will focus on developing backend-aware optimization strategies that can predict and account for these physical layout effects during the architecture search.
Summary updated