arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.23704cs.AR
收藏

PCB-QA:首个印刷电路板设计问答数据集评估大语言模型

PCB-QA: Evaluating LLMs over the First Printed Circuit Board Design Question-Answer Dataset

UNSW Sydney(新南威尔士大学);University of Calgary(卡尔加里大学);UNSW Canberra(堪培拉新南威尔士大学)

Sahana Srinivasan, Benjamin Tan, Benjamin Turnbull, Hammond Pearce

AI总结:

针对大语言模型在PCB设计应用中缺乏文本数据集和评估方法的问题,提出PCB-QA数据集(480个问答对),通过不同文件格式提示LLM,发现基于JSON的文本格式使Gemini 3 Flash Preview达到93%准确率。

摘要:

大语言模型(LLM)已在集成电路的电子设计自动化(EDA)中展现出能力。然而,它们在印刷电路板(PCB)设计和分析任务中的应用仍未被充分探索。部分原因在于(1)缺乏基于文本的PCB数据集来评估LLM,以及(2)缺乏用不同类型的PCB设计文件提示LLM的方法。为填补这一空白,本文提出PCB-QA:一个手动创建的问卷数据集,包含480个PCB问答对,来源于8个不同复杂度的开源硬件项目。我们考察了PCB设计的多个方面,涵盖组件连接、数据手册检查以及通过SPICE可获得的仿真数据等问题。使用我们的数据集作为基准,我们用不同的表示形式(及其组合)的PCB设计文件提示LLM,并记录观察结果。这使我们能够首次衡量LLM是否能以“原生形式”(即图形PDF、KiCAD格式设计文件)理解原理图和网表,或者是否更偏好文本格式。我们包括商业和开放权重模型,在我们的数据集上对4个最先进的LLM进行基准测试,发现Gemini 3 Flash Preview使用所提出的基于JSON的文本格式可以93%的准确率回答问题。这表明基于文本的PCB设计格式可以被LLM评估。我们的开源问卷是迈向在PCB设计生命周期中集成LLM的第一步。

英文摘要:

Large Language Models (LLMs) have demonstrated capabilities in electronic design automation (EDA) for integrated circuits. However, their applications in printed circuit board (PCB) design and analysis tasks remain underexplored. In part, this is due to a (1) a lack of text-based PCB datasets to evaluate LLMs and (2) a lack of methodologies for prompting LLMs with different types of PCB design files. To address this gap, our paper proposes PCB-QA: a manually created questionnaire dataset amounting to 480 question-answer pairs for PCBs, derived from 8 different open-source hardware projects of varying complexities. We examine multiple aspects of PCB designs and cover questions about component connections, datasheet examination, and simulation data obtainable via SPICE. Using our dataset as a benchmark, we prompt LLMs with different representations (and combinations) of PCB design files and record observations. This allows us to measure, for the first time, if LLMs can understand schematics and netlists in their "native forms" (i.e. graphical PDFs, KiCAD-format design files) or if textual formats are preferred. Including both commercial and open-weight models, we benchmark 4 state-of-the-art LLMs on our dataset, finding that Gemini 3 Flash Preview can answer questions with an accuracy of 93% using a proposed JSON-based textual format. This demonstrates that text-based PCB design formats can be evaluated by LLMs. Our open-source questionnaire is the first step towards enabling LLM integrations within the PCB design life cycle.

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

↑