arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.10409cs.ARcs.AI
收藏

用于训练大语言模型学习模拟电路知识的数据集构建

Dataset Construction for Training LLM to Learn Analog Circuit Knowledge

Fudan University(复旦大学)

Zihao Chen, Ji Zhuang, Jinyi Shen, Xiaoyue Ke, Xinyi Yang, Mingjie Zhou, Zhuoyao Du, Xu Yan, Zhouyang Wu, Zhenyu Xu, Jiangli Huang, Li Shang, Xuan Zeng, Fan Yang

AI总结:

本文构建文本数据集并定制训练技术,使大语言模型学习模拟电路知识;通过多智能体框架生成结构化四元组,结合SFT与KL散度正则化提升性能。

摘要:

本文构建了一个用于训练大语言模型(LLMs)学习模拟电路知识的文本数据集,并定制了LLM训练技术。在数据集构建方面,收集高质量教材并将其分解为细粒度的学习节点,然后使用多智能体框架构建结构化的“问题-思考-解决方案-答案”(QTSA)四元组,以捕获最终答案和思考过程。最终数据集包含726万tokens的无标签数据用于持续预训练(CPT)和1.1265亿tokens的有标签数据用于监督微调(SFT)。我们定制了训练技术,包括初始模型选择、训练范式、正则化技术和实际实现参考。确定了指令模型作为合适的训练初始化点,建立了以SFT为核心的训练范式(发现由于数据分布不平衡,CPT相比SFT带来的边际收益有限),并且采用KL散度正则化的SFT相比单独SFT可提升2.71个百分点。为资源受限场景提供了实用的训练实现方法。实验表明,该数据集和训练技术增强了LLMs的模拟电路知识。训练后的32B指令模型在AMSBench-TQA基准上达到84.59%的准确率,相比初始模型提升了15.67个百分点。训练后的模型还展示了基于Atelier框架的运算放大器设计任务的能力。

英文摘要:

This paper constructs a textual dataset for training large language models (LLMs) to learn analog circuit knowledge and customizes LLM training techniques. For dataset construction, high-quality textbooks are collected and decomposed into fine-grained learning nodes, which are then used to construct structured question-thinking-solution-answer (QTSA) quadruples using a multi-agent framework to capture both final answers and thought processes. The resulting dataset consists of 7.26M tokens of unlabeled data for continual pre-training (CPT) and 112.65M tokens of labeled data for supervised fine-tuning (SFT). We customize the training techniques including initial model selection, training paradigms, regularization techniques, and practical implementation references. Instruct models are identified as suitable training initialization points, an SFT-centric training paradigm is established (finding that CPT provides marginal benefits compared with SFT due to imbalanced data distribution), and SFT with KL divergence regularization can achieve a 2.71 percentage-point improvement over SFT alone. A practical training implementation method is provided for resource-constrained scenarios. Experiments demonstrate that the dataset and training techniques enhance LLMs' analog circuit knowledge. The trained 32B instruct model achieves 84.59% accuracy on the AMSBench-TQA benchmark, showing a 15.67 percentage-point improvement over the initial model. The trained model also shows capability in the operational amplifier design task based on the Atelier framework.

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

↑