arXiv:2502.16540cs.CLcs.AI2025-02

用大模型自动从数据手册提取参数,生成高精度SPICE模型。

D2S-FLOW: Automated Parameter Extraction from Datasheets for SPICE Model Generation Using Large Language Models

  • 通过三重机制提升文档中参数的精准定位与术语标准化。
  • 准确率(EM)达0.86,比最强基线提升19.4%。
  • 适合电子设计自动化工程师快速构建电路模型。

在电子设计中,工程师常需手动查阅大量文档以获取构建SPICE模型所需的元件参数,过程耗时且费力。为解决此问题,本文提出D2S-FLOW自动化框架,利用大语言模型从数据手册中提取电气参数并生成高精度SPICE模型,显著减少人工干预。不同于传统RAG系统,D2S-FLOW采用工作流设计,通过三项创新机制提升处理非结构化文档和不一致命名的精度:注意力引导文档聚焦(AGDF)、层次化文档增强检索(HDER)和异构命名实体归一化(HNEN)。AGDF聚焦用户指定文档,HDER利用文档结构精确定位参数,HNEN通过语义推理标准化术语。实验表明,该框架在精确匹配(EM)上达0.86,F1得分为0.92,精确正确率(EC)为0.96,分别优于最强基线19.4%、5.7%和13.1%;同时降低38%的API token消耗,无关信息比例降至4%,显著提升资源效率。本研究为电路设计提供高效自动化解决方案。

原文摘要 · Abstract (English)

In electronic design, engineers often manually search through extensive documents to retrieve component parameters required for constructing SPICE models, a process that is both labor-intensive and time-consuming. To address this challenge, we present an automated framework called D2S-FLOW that leverages large language models (LLMs) to extract electrical parameters from datasheets and generate SPICE models with high precision and efficiency, significantly reducing the need for manual intervention. Unlike traditional RAG systems, D2S-FLOW employs a workflow to enhance precision in handling unstructured documents and inconsistent naming conventions through three innovative mechanisms: Attention-Guided Document Focusing (AGDF), Hierarchical Document-Enhanced Retrieval (HDER), and Heterogeneous Named Entity Normalization (HNEN). AGDF narrows retrieval to user-selected documents, HDER utilizes document structure for precise parameter localization, and HNEN standardizes terminology via semantic inference. Experimental results demonstrate that the framework achieves an Exact Match (EM) of 0.86, an F1 score of 0.92, and an Exact Correctness (EC) of 0.96, outperforming the strongest baseline by 19.4%, 5.7%, and 13.1%, respectively. Additionally, it reduces API token consumption by 38% and minimizes the irrelevant information ratio to 4%, showcasing substantial improvements in resource efficiency. This research provides an effective automated solution for circuit design.

SPICE建模大模型应用参数提取

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。