arXiv:2511.21748cs.CLcs.AI2025-11AAAI被引 2

用合成数据训练小模型,专攻工业故障诊断,效果超大模型。

Building Domain-Specific Small Language Models via Guided Data Generation

  • 从少量种子数据生成高质量合成数据,再人工筛选优化
  • 30亿参数模型在故障诊断任务上比同类模型高25%准确率
  • 适合需要隐私保护和低算力部署的工业场景

大型语言模型在知识密集型任务中表现优异,但在专业领域应用时面临数据隐私与计算资源压力。本文提出一种低成本、可扩展的训练流程,结合小规模种子语料的引导式合成数据生成与自下而上的领域数据精炼,集成领域自适应预训练(DAPT)、领域监督微调(DSFT)和直接偏好优化(DPO),构建小型专用语言模型。以面向工业故障诊断、根本原因分析与维修建议的DiagnosticSLM(3B参数)为例,引入四个领域基准:多选题(DiagnosticMCQ)、问答(DiagnosticQA)、句子补全(DiagnosticComp)和摘要(DiagnosticSum)。实验表明,DiagnosticSLM在MCQ任务上相比2B-9B规模的开源模型最高提升25%准确率,其他任务上亦表现优异或持平,验证了其在特定领域的有效推理与泛化能力。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have shown remarkable success in supporting a wide range of knowledge-intensive tasks. In specialized domains, there is growing interest in leveraging LLMs to assist subject matter experts with domain-specific challenges. However, deploying LLMs as SaaS solutions raises data privacy concerns, while many open-source models demand significant computational resources for effective domain adaptation and deployment. A promising alternative is to develop smaller, domain-specialized LLMs, though this approach is often constrained by the lack of high-quality domain-specific training data. In this work, we address these limitations by presenting a cost-efficient and scalable training pipeline that combines guided synthetic data generation from a small seed corpus with bottom-up domain data curation. Our pipeline integrates Domain-Adaptive Pretraining (DAPT), Domain-specific Supervised Fine-tuning (DSFT), and Direct Preference Optimization (DPO) to train effective small-scale models for specialized use cases. We demonstrate this approach through DiagnosticSLM, a 3B-parameter domain-specific model tailored for fault diagnosis, root cause analysis, and repair recommendation in industrial settings. To evaluate model performance, we introduce four domain-specific benchmarks: multiple-choice questions (DiagnosticMCQ), question answering (DiagnosticQA), sentence completion (DiagnosticComp), and summarization (DiagnosticSum). DiagnosticSLM achieves up to 25% accuracy improvement over open-source models of comparable or larger size (2B-9B) on the MCQ task, while also outperforming or matching them in other tasks, demonstrating effective domain-specific reasoning and generalization capabilities.

小模型领域适配合成数据工业AI

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