DeepGate3: Towards Scalable Circuit Representation Learning
Zhengyuan Shi, Ziyang Zheng, Sadaf Khan, Jianyuan Zhong, Min Li, Qiang Xu
TL;DR
GNN-based circuit representation learning faces scalability and generalization challenges on large netlists. DeepGate3 addresses these issues by fusing a DeepGate2 GNN backbone with two Transformer modules (Refine Transformer and Pooling Transformer), a workload-aware tokenization strategy, and a multi-task pre-training regime, complemented by a window-shifting fine-tuning approach for large AIGs. The work introduces a subgraph pooling mechanism, explicit attention masking via fanin/fanout cones, and ten cross-level losses that tie gate- and graph-level representations, achieving superior scalability and generalization, including enhanced performance in SAT solving. Together, these contributions deliver robust, scalable circuit representations applicable to large-scale EDA tasks and challenging downstream reasoning.
Abstract
Circuit representation learning has shown promising results in advancing the field of Electronic Design Automation (EDA). Existing models, such as DeepGate Family, primarily utilize Graph Neural Networks (GNNs) to encode circuit netlists into gate-level embeddings. However, the scalability of GNN-based models is fundamentally constrained by architectural limitations, impacting their ability to generalize across diverse and complex circuit designs. To address these challenges, we introduce DeepGate3, an enhanced architecture that integrates Transformer modules following the initial GNN processing. This novel architecture not only retains the robust gate-level representation capabilities of its predecessor, DeepGate2, but also enhances them with the ability to model subcircuits through a novel pooling transformer mechanism. DeepGate3 is further refined with multiple innovative supervision tasks, significantly enhancing its learning process and enabling superior representation of both gate-level and subcircuit structures. Our experiments demonstrate marked improvements in scalability and generalizability over traditional GNN-based approaches, establishing a significant step forward in circuit representation learning technology.
