ZeroSim:基于统一Transformer嵌入的零样本模拟电路评估
ZeroSim: Zero-Shot Analog Circuit Evaluation with Unified Transformer Embeddings
AI总结:
针对模拟电路性能评估瓶颈,提出基于Transformer的ZeroSim框架,通过多样化训练语料、统一拓扑嵌入和拓扑条件参数映射,实现训练拓扑新参数下的分布内泛化与未见过拓扑的零样本泛化,性能优于基线模型且集成优化流水线可提速13倍。
摘要:
尽管基于学习的模拟电路设计自动化近期取得进展,解决了拓扑生成、器件尺寸确定和布局合成等任务,但高效性能评估仍是主要瓶颈。传统SPICE仿真耗时,而现有机器学习方法常需针对特定拓扑重新训练或手动分割子结构以进行微调,阻碍了可扩展性和适应性。在本研究中,我们提出ZeroSim——一个基于Transformer的性能建模框架,旨在实现对训练过的拓扑在新参数配置下的鲁棒分布内泛化,以及无需任何微调即可对未见过的拓扑进行零样本泛化。我们应用了三个关键支持策略:(1)涵盖60多种放大器拓扑的360万实例的多样化训练语料库;(2)利用全局感知令牌和分层注意力以稳健泛化到新电路的统一拓扑嵌入;(3)独立于参数变化保持一致结构表示的拓扑条件参数映射方法。我们的实验结果表明,ZeroSim显著优于多层感知机、图神经网络和Transformer等基线模型,在不同放大器拓扑上提供准确的零样本预测。此外,当集成到基于强化学习的参数优化流水线中时,ZeroSim与传统SPICE仿真相比实现了显著的加速(13倍),突显了其在各类模拟电路设计自动化任务中的实用价值。
英文摘要:
Although recent advancements in learning-based analog circuit design automation have tackled tasks such as topology generation, device sizing, and layout synthesis, efficient performance evaluation remains a major bottleneck. Traditional SPICE simulations are time-consuming, while existing machine learning methods often require topology-specific retraining or manual substructure segmentation for fine-tuning, hindering scalability and adaptability. In this work, we propose ZeroSim, a transformer-based performance modeling framework designed to achieve robust in-distribution generalization across trained topologies under novel parameter configurations and zero-shot generalization to unseen topologies without any fine-tuning. We apply three key enabling strategies: (1) a diverse training corpus of 3.6 million instances covering over 60 amplifier topologies, (2) unified topology embeddings leveraging global-aware tokens and hierarchical attention to robustly generalize to novel circuits, and (3) a topology-conditioned parameter mapping approach that maintains consistent structural representations independent of parameter variations. Our experimental results demonstrate that ZeroSim significantly outperforms baseline models such as multilayer perceptrons, graph neural networks and transformers, delivering accurate zero-shot predictions across different amplifier topologies. Additionally, when integrated into a reinforcement learning-based parameter optimization pipeline, ZeroSim achieves a remarkable speedup (13x) compared to conventional SPICE simulations, underscoring its practical value for a wide range of analog circuit design automation tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。