Litcius/Paper detail

Pretraining Graph Neural Networks for Few-Shot Analog Circuit Modeling and Design

Kourosh Hakhamaneshi, Marcel Nassar, Mariano Phielipp, Pieter Abbeel, Vladimir Stojanović

2022IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems51 citationsDOI

Abstract

Being able to predict the performance of circuits without running expensive simulations is a desired capability that can catalyze automated design. In this article, we present a supervised pretraining approach to learn circuit representations that can be adapted to new circuit topologies or unseen prediction tasks. We hypothesize that if we train a neural network (NN) that can predict the output direct current (dc) voltages of a wide range of circuit instances it will be forced to learn generalizable knowledge about the role of each circuit element and how they interact with each other. The dataset for this supervised learning objective can be easily collected at scale since the required dc simulation to get ground truth labels is relatively cheap. This representation would then be helpful for few-shot generalization to unseen circuit metrics that require more time-consuming simulations for obtaining the ground-truth labels. To cope with the variable topological structure of different circuits we describe each circuit as a graph and use graph NNs (GNNs) to learn node embeddings. We show that pretraining GNNs on prediction of output node voltages can encourage learning representations that can be adapted to new unseen topologies or prediction of new circuit-level properties with up to 10x more sample efficiency compared to a randomly initialized model. We further show that we can improve the sample efficiency of prior SoTA model-based optimization methods by <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$2\times $ </tex-math></inline-formula> (almost as good as using an oracle model) via fintuning pretrained GNNs as the feature extractor of the learned models.

Topics & Concepts

Computer scienceGraphGeneralizationNetwork topologyArtificial neural networkElectronic circuitGround truthRepresentation (politics)Node (physics)Artificial intelligenceTopology (electrical circuits)Machine learningTheoretical computer scienceMathematicsElectrical engineeringEngineeringMathematical analysisPoliticsStructural engineeringOperating systemLawPolitical scienceMachine Learning in Materials ScienceVLSI and FPGA Design TechniquesLow-power high-performance VLSI design
Pretraining Graph Neural Networks for Few-Shot Analog Circuit Modeling and Design | Litcius