ChipLingo: 一种面向电子设计自动化的大语言模型系统化训练框架
ChipLingo: A Systematic Training Framework for Large Language Models in EDA
AI总结:
本文提出ChipLingo系统化训练框架,通过多源数据构建、预训练优化和指令对齐,提升大语言模型在EDA领域的性能,实验表明其在EDA-Bench上表现优异。
摘要:
随着半导体技术的快速发展,电子设计自动化(EDA)已成为一个日益知识密集且文档驱动的工程领域。尽管大语言模型(LLMs)展现出强大的通用能力,但直接应用于EDA仍具挑战性,原因包括领域专业知识有限、跨工具知识混淆以及领域训练后检索增强生成(RAG)性能下降。为解决这些问题,本文提出了ChipLingo,一种针对EDA场景的系统化训练流程。ChipLingo包含三个阶段:领域语料构建(多源数据整理与问答增强)、领域适应预训练(不同参数训练策略对比)以及指令对齐(在多样检索条件下进行RAG场景训练)。我们还整理了一个内部基准,EDA-Bench,涵盖代表性EDA工具场景,并计划公开发布。实验表明,ChipLingo-8B在EDA-Bench上达到59.7%的准确率,优于同规模基础模型和一些更大通用模型。ChipLingo-32B达到70.02%,接近领先闭源商业模型。进一步分析显示,问答增强提升领域性能,部分微调在适应性与通用能力保留之间提供更好平衡,而显式RAG场景训练缓解了领域训练后检索利用率下降。这些结果证明了系统化领域训练在知识密集型EDA任务中的实用价值,并为未来EDA代理和外部知识驱动系统提供了基础。
英文摘要:
With the rapid advancement of semiconductor technology, Electronic Design Automation (EDA) has become an increasingly knowledge-intensive and document-driven engineering domain. Although large language models (LLMs) have shown strong general capabilities, applying them directly to EDA remains challenging due to limited domain expertise, cross-tool knowledge confusion, and degraded retrieval-augmented generation (RAG) performance after domain training. To address these issues, this paper presents ChipLingo, a systematic training pipeline for domain-adapted LLMs tailored to EDA scenarios. ChipLingo consists of three stages: domain corpus construction with multi-source data curation and QA augmentation, domain-adaptive pretraining with comparisons of different parameter training strategies, and instruction alignment with RAG scenario training under diverse retrieval conditions. We also curate an internal benchmark, EDA-Bench, covering representative EDA tool scenarios, with plans for public release. Experiments show that ChipLingo-8B achieves 59.7% accuracy on EDA-Bench, outperforming the same-scale base model and some larger general-purpose models. ChipLingo-32B reaches 70.02%, approaching leading closed-source commercial models. Further analysis shows that QA augmentation improves domain performance, Partial FT offers a better balance between adaptation and general capability retention than LoRA, and explicit RAG scenario training mitigates the decline in retrieval utilization after domain training. These results demonstrate the practical value of systematic domain training for knowledge-intensive EDA tasks and provide a foundation for future EDA agents and external-knowledge-driven systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。