GNN-based Path-aware multi-view Circuit Learning for Technology Mapping

Wentao Jiang, Jingxin Wang, Zhang Hu, Zhengyuan Shi, Chengyu Ma, Qiang Xu, Weikang Qian, Zhufei ChuarXiv 2026

TL;DR

The paper introduces GPA (GNN-based Path-Aware multi-view circuit learning), a novel deep learning framework designed to bridge the "semantic gap" in logic synthesis by predicting accurate post-mapping circuit delays. By integrating functional, structural, and technology-specific views with a path-aware Transformer pooling mechanism, GPA guides technology mapping engines to achieve up to a 19.9% reduction in critical-path delay over traditional heuristic methods without sacrificing area efficiency.

What Problem Does This Paper Address?

In electronic design automation (EDA), technology mapping is the crucial step that transforms a technology-independent Boolean network (like an And-Inverter Graph, or AIG) into a gate-level netlist using cells from a specific manufacturing library. The primary goal is to minimize critical-path delay while keeping area overhead low.

However, traditional mapping tools suffer from a fundamental limitation: they rely on abstract, technology-agnostic delay models during the early stages of optimization. These models fail to account for real-world physical factors like load capacitance, signal transitions, and downstream logic context. As a result, early-stage delay estimates deviate significantly from actual post-mapping timing behavior. As shown in Figure 1, even minor perturbations in how candidate "cuts" (sub-graphs mapped to single gates) are selected can lead to wildly suboptimal implementations, proving that standard heuristics struggle to find the true timing-optimal configuration.

Figure 1: Experimental Results by Random Cuts Selection

Methods

GPA addresses this challenge by acting as an intelligent, data-driven guidance mechanism for the mapping engine. The framework consists of three core components that process the circuit from multiple "views":

  1. AIG Encoder: Extracts node-level representations from the technology-independent graph. It splits embeddings into a structural part (capturing graph topology) and a functional part (capturing logic operations like AND/NOT).
  2. Post-Mapping (PM) Encoder: A simple multi-layer perceptron (MLP) that embeds the physical constraints and characteristics of the target technology library, providing a global context to the model.
  3. Path-Aware GAT Transformer Pooling: This is the core innovation. First, a global Graph Attention Network (GAT) layer allows nodes to aggregate information from their multi-hop neighborhoods, capturing path-level context. Then, a dedicated cut-transformer models the complex intra-cut interactions among the leaf nodes of a candidate cut, which are averaged to form a final predictive cut embedding.
Figure 2: Model overview of GPA: First, the AIG Encoder and PM Encoder extract node embeddings from the logic network and technology-specific constraints, respectively, optimized via structural mask modeling and functional probability prediction tasks. Then, the Path-aware Transformer Pooling module aggregates context from the leaf nodes of a target cut. Finally, an MLP classifier utilizes the generated cut embedding to predict the post-mapping delay class.

Pre-training and Downstream Mapping

To ensure the AIG encoder understands general circuit properties, it undergoes self-supervised pre-training using a multi-task objective: predicting randomly masked edges (structural task) and predicting node logic types (functional task).

For the downstream task, GPA is trained as a classifier. Real cell delays from post-mapping netlists are discretized into $K=8$ delay classes (e.g., 0–100 ps, 100–200 ps, etc.). During logic synthesis, GPA infers the delay class for every candidate cut, serving as a highly accurate cost metric that guides the mapper's dynamic programming algorithm to select the optimal path.

Figure 3: Work Flow of the proposed framework: First, the technology-independent AIG netlist is input into the logic synthesis tool to generate candidate cut sets. Then, the pre- trained GPA model performs inference on these cuts to pre- dict their post-mapping delay classes. Finally, these predic- tions serve as guidance (cost metric) for the mapper’s dy- namic programming algorithm to select the optimal cuts, yielding the final technology-mapped results.

Datasets

  • Pre-training & Fine-tuning: The authors utilized 15,000 randomly selected sub-circuits for pre-training and 5,000 for fine-tuning, sourced from the open-source ForgeEDA and DeepCircuitX datasets (containing designs up to 4,096 nodes).
  • Evaluation: The framework was validated using the standard 19 EPFL combinational benchmarks.
  • Technology Libraries: Netlists were generated and evaluated using the open-source SkyWater 130nm and ASAP 7nm process design kits (PDKs).

Key Insights and Ideas

  • Fusing Function and Structure: Unlike prior machine learning approaches that rely on rigid, handcrafted features, GPA learns expressive node embeddings directly from the graph. Handcrafted features often conflate structurally distinct sub-circuits, whereas GPA's dual-view encoding preserves unique Boolean functionality alongside topology.
  • Path-Awareness via Transformers: Circuit delay is inherently path-dependent. By utilizing a Transformer architecture over the cut's leaf nodes, GPA successfully captures long-range context and downstream loading effects that local graph convolutions typically miss.
  • Breaking the Area-Delay Trade-off: When swapping the AIG encoder for an XOR-Majority Graph (XMG) encoder to handle heterogeneous logic, GPA achieved simultaneous reductions in both delay and area compared to the state-of-the-art MCH heuristic. This indicates that data-driven models can discover non-obvious structural compositions that rigid human-designed heuristics overlook.

Key Results

GPA was integrated into ALSO, an open-source logic synthesis framework built on mockturtle, yielding significant performance improvements across the 19 EPFL benchmarks:

  • vs. Traditional Heuristics (techmap): Achieved an average 19.9% delay reduction under the SkyWater 130nm library, with strong gains (up to 65% reduction) on timing-critical circuits like adders.
  • vs. Mixed Structural Choices (mch): Outperformed MCH in 13 out of 19 circuits, providing a 2.1% average delay reduction alongside a 2.4% area reduction.
  • vs. ML State-of-the-Art (SLAP): Achieved a 4.1% average delay reduction under the ASAP 7nm library, with a dramatic 69.3% delay improvement on the dec benchmark, demonstrating superior generalization over handcrafted feature methods.

Limitations and Future Work

While GPA shows impressive gains, the authors note a few areas for improvement:

  • Discretization Granularity: The current framework bins delays into 8 distinct classes. Expanding the model to predict finer-grained delay classes or continuous values could improve mapping precision.
  • Feature Integration: Future iterations will focus on integrating more post-mapping physical information directly into the training loop and developing tighter architectural modules to link technology-independent logic networks with final gate-level netlists.

Summary updated

BibTeX
@misc{jiang2026gnn,
  author = {Wentao Jiang and Jingxin Wang and Zhang Hu and Zhengyuan Shi and Chengyu Ma and Qiang Xu and Weikang Qian and Zhufei Chu},
  title = {{GNN-based Path-aware multi-view Circuit Learning for Technology Mapping}},
  year = {2026},
  eprint = {2601.14286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.14286},
}
Figure