arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.15913cs.LGcs.AI
收藏

用于Few-Shot模拟电路建模与设计的预训练图神经网络

Pretraining Graph Neural Networks for few-shot Analog Circuit Modeling and Design

University of California, Berkeley(加州大学伯克利分校);Intel AI Labs(英特尔人工智能实验室)

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

摘要:

能够预测电路的性能而无需运行昂贵的仿真是一种可以促进自动化设计的期望能力。在本文中,我们提出了一种有监督的预训练方法来学习电路表示,这些电路表示可以适应新的电路拓扑结构或看不见的预测任务。我们假设,如果我们训练一个神经网络(NN),可以预测的输出直流电压的广泛的电路实例,它将被迫学习每个电路元件的作用,以及它们如何相互作用的一般知识。这个监督学习目标的数据集可以很容易地大规模收集,因为获得地面真实标签所需的DC模拟相对便宜。然后,这种表示将有助于对看不见的电路度量进行Few-Shot推广,这些电路度量需要更耗时的仿真来获得地面实况标签。为了处理不同电路的可变拓扑结构,我们将每个电路描述为一个图,并使用图神经网络(GNNs)来学习节点嵌入。我们表明,对输出节点电压预测的预训练GNN可以鼓励学习表示,这些表示可以适应新的看不见的拓扑结构或新的电路级属性的预测,与随机初始化模型相比,样本效率高达10倍。我们进一步表明,通过微调预训练的GNN作为学习模型的特征提取器,我们可以将先前基于SoTA模型的优化方法的样本效率提高2倍(几乎与使用Oracle模型一样好)。

英文摘要:

Being able to predict the performance of circuits without running expensive simulations is a desired capability that can catalyze automated design. In this paper, 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 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 neural networks (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 sample efficiency of prior SoTA model-based optimization methods by 2x (almost as good as using an oracle model) via fintuning pretrained GNNs as the feature extractor of the learned models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑