[Paper Review] CktGNN: Circuit Graph Neural Network for Electronic Design Automation
CktGNN introduces a two-level GNN with a pre-designed subgraph basis to jointly optimize circuit topology and device sizing, validated on Open Circuit Benchmark (OCB).
The electronic design automation of analog circuits has been a longstanding challenge in the integrated circuit field due to the huge design space and complex design trade-offs among circuit specifications. In the past decades, intensive research efforts have mostly been paid to automate the transistor sizing with a given circuit topology. By recognizing the graph nature of circuits, this paper presents a Circuit Graph Neural Network (CktGNN) that simultaneously automates the circuit topology generation and device sizing based on the encoder-dependent optimization subroutines. Particularly, CktGNN encodes circuit graphs using a two-level GNN framework (of nested GNN) where circuits are represented as combinations of subgraphs in a known subgraph basis. In this way, it significantly improves design efficiency by reducing the number of subgraphs to perform message passing. Nonetheless, another critical roadblock to advancing learning-assisted circuit design automation is a lack of public benchmarks to perform canonical assessment and reproducible research. To tackle the challenge, we introduce Open Circuit Benchmark (OCB), an open-sourced dataset that contains $10$K distinct operational amplifiers with carefully-extracted circuit specifications. OCB is also equipped with communicative circuit generation and evaluation capabilities such that it can help to generalize CktGNN to design various analog circuits by producing corresponding datasets. Experiments on OCB show the extraordinary advantages of CktGNN through representation-based optimization frameworks over other recent powerful GNN baselines and human experts' manual designs. Our work paves the way toward a learning-based open-sourced design automation for analog circuits. Our source code is available at \url{https://github.com/zehao-dong/CktGNN}.
Motivation & Objective
- Motivate automated analog circuit design by jointly optimizing topology and device parameters.
- Propose a two-level GNN (CktGNN) that encodes circuits via a pre-defined subgraph basis to reduce topology search space.
- Create and release Open Circuit Benchmark (OCB) to enable reproducible benchmarking in analog circuit design automation.
- Demonstrate that CktGNN outperforms baselines on topology reconstruction, predictive accuracy, and real-world circuit generation.
Proposed method
- Represent circuits as DAGs and decompose into non-overlapping subgraphs from a pre-designed ordered subgraph basis B.
- Apply inner GNNs to learn representations of each subgraph independently (capturing contextualized information).
- Perform outer directed message passing on the transformed DAG where node embeddings combine subgraph type and inner subgraph representation.
- Use a gated summation for aggregation and a GRU-based update in the outer GNN to obtain circuit-level embeddings.
- Frame the encoding within a VAE-like learning setup to support topology and parameter optimization for circuit generation.
Experimental results
Research questions
- RQ1Can CktGNN jointly optimize circuit topology and device sizing more effectively than existing DAG encoders?
- RQ2Does the two-level GNN with a subgraph basis improve expressiveness and topology reconstruction over baselines?
- RQ3How does CktGNN perform in predictive accuracy for circuit properties and in generating valid, novel circuit topologies?
- RQ4Does the Open Circuit Benchmark (OCB) enable reproducible benchmarking and faster real-world circuit design automation?
Key findings
- CktGNN achieves state-of-the-art predictive performance and topology reconstruction accuracy on the OCB dataset across Gain, BW, PM, and FoM.
- CktGNN encodings enable faster training and inference than GRU-based encoders due to parallel inner GNNs and efficient outer DAG processing.
- In real-world circuit design tasks, CktGNN decoders generate a higher proportion of valid DAGs and circuits and achieve competitive FoM in Bayesian Optimization.
- CktGNN outperforms several baselines (PACE, DAGNN, D-VAE, GCN, GIN, NGNN, Graphormer) on topology reconstruction and predictive metrics.
- OCB provides a scalable, open benchmark for analog circuit topology generation and parameter optimization, promoting reproducible research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.