mlsanityData to 14 Oct 2026

Building Domain-Specific Small Language Models via Guided Data Generation

arXiv 2511.21748 ↗First posted 23 Nov 2025cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 32 references that are in the map. First posted on arXiv 23 Nov 2025.

Builds on

13 of 32 references.

References · 13

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  3. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  4. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  5. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  6. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  7. 2023Large Language Models are not Fair Evaluatorscited by 1,085
  8. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  9. 2023Large Language Models Are Not Robust Multiple Choice Selectorscited by 486
  10. 2023Large Language Models in Law: A Surveycited by 128
  11. 2024Understanding the Performance and Estimating the Cost of LLM Fine-Tuningcited by 48
  12. 2023A Brief Report on LawGPT 1.0: A Virtual Legal Assistant Based on GPT-3cited by 46
1 more
  1. 2014In Defense of MinHash Over SimHashcited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Federated Domain-Specific Knowledge Transfer on Large Language Models Using Synthetic Data
  2. 2024Hybrid Training Approaches for LLMs: Leveraging Real and Synthetic Data to Enhance Model Performance in Domain-Specific Applications
  3. 2024BLADE: Enhancing Black-box Large Language Models with Small Domain-Specific Models
  4. 2026Domain-Specific Data Synthesis for LLMs via Minimal Sufficient Representation Learning
  5. 2025APT: Improving Specialist LLM Performance with Weakness Case Acquisition and Iterative Preference Training
  6. 2024Fine-tuning large language models for domain adaptation: Exploration of training strategies, scaling, model merging and synergistic capabilities
  7. 2024A Teacher Is Worth A Million Instructions
  8. 2026SLM Finetuning for Natural Language to Domain Specific Code Generation in Production