Sequential Training Pipelines for Domain Specific Language Models

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2875 papers1,030 conceptsfrozen 2026-10-04

General-purpose Large Language Models (LLMs) like Llama or GPT-4 are remarkably versatile, yet they often stumble when faced with the "last mile" of professional expertise. In fields like radiology, organic chemistry, or law, these models can hallucinate technical facts or fail to follow the rigid formatting required by specialists.

The emerging consensus across recent research is that turning a generalist model into an expert is not a matter of a single fine-tuning step. Instead, researchers are adopting sequential training pipelines—a multi-stage curriculum that builds a model’s capabilities from broad communication to niche reasoning.

The Knowledge Gap and the Curriculum Solution

When a base model is trained on the internet, it learns a "jack-of-all-trades" distribution of language. To transform this into a specialist, researchers like Qiang Li and colleagues in From Beginner to Expert: Modeling Medical Knowledge into General LLMs argue for a structured three-stage optimization.

The intuition is simple: a human doesn't start medical school without first knowing how to read and converse. Similarly, these pipelines typically follow a "General-to-Specific" progression:

  1. Continual Pre-training (CPT): Injecting raw domain knowledge (textbooks, papers, logs).
  2. General Instruction Tuning (SFT): Teaching the model how to follow commands and act as an assistant.
  3. Domain-Specific Expert Alignment: Refining the model on high-quality, task-oriented professional data.

Why Sequence Matters Over Mixing

A recurring finding is that the order of training is as important as the data itself. In the development of K2, a foundation model for geosciences, Tianhang Zhang and Yi Xu found that sequential instruction tuning—where general alignment precedes domain-specific alignment—is more effective than mixing all data types at once.

If you mix general conversational data with highly technical geological reasoning simultaneously, the specific expertise can become "diluted." By establishing a foundation of general command-following first, the model develops the linguistic "hooks" necessary to later hang complex technical concepts. This is echoed by Zhonghai Wang in the development of Hypnos, where a general-to-specific pipeline prevented specialized anesthesiology knowledge from being washed out by larger, more general datasets.

The Three Pillars of Specialization

1. Knowledge Injection (Continual Pre-training)

Before a model can reason about a domain, it must internalize its vocabulary. Qingyu Chen and the team behind Me LLaMA demonstrated this by continually pre-training on 129 billion tokens of medical literature. This stage doesn't teach the model to be a "chatbot"; it expands the model's internal encyclopedia, ensuring it understands terms like "pancytopenia" as deeply as it understands "apple."

2. Establishing the Assistant Identity

Base models are essentially sophisticated autocomplete engines. To make them useful, they need a phase of general instruction tuning. Mercy Ranjit and Gopinath Ganapathy, working on Rad-Phi2, noted that this intermediate phase is a necessary prerequisite. Without it, models often struggle with "excessive verbosity" or fail to follow the specific formatting required in clinical reports.

3. Expert Refinement and Tool Use

The final stage involves "polishing" the model on the highest-quality data available. For InternLM-Law, Zhiwei Fei used a two-stage SFT strategy to move from broad legal coverage to high-precision refinement.

In some fields, this stage also involves teaching the model to interact with the world. Chonghuan Zhang and the SynAsk team used a two-stage strategy to first establish a "domain identity" in chemistry and then specifically teach the model how to invoke 22 different computational tools for reaction prediction.

Bridging the Gap with Synthetic Data

One of the biggest hurdles in domain specialization is the scarcity of high-quality, digitized expert interactions. To solve this, researchers are increasingly using "teacher" models to generate synthetic curricula.

In the development of Asclepius, Sunjun Kweon and colleagues bypassed medical privacy restrictions by transforming public case reports into synthetic clinical notes. Similarly, the STEVE agent for Minecraft, developed by Zhonghan Zhao and Wenhao Chai, utilizes an online fine-tuning phase where the agent mimics the outputs of a more capable "expert" model to learn complex navigation and resource gathering.

Conclusion

The transition from a general-purpose model to a domain expert like AgroGPT or FinTral is not achieved by more data alone, but by the structure of the training. By treating the adaptation process as a multi-stage curriculum—moving from raw knowledge to general instruction and finally to expert alignment—researchers can create smaller, more efficient models that rival or exceed the performance of massive generalist giants in specialized fields.

Papers in this version

Showing 60 of 875 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 844 papers
  2. Version 1 · 2026-10-04 · 875 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_sequential_domain_adaptation_be23d309,
  title = {sequential domain adaptation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sequential-domain-adaptation/rdr_be23d309a2b74033a60b0cddc3dffda9},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_sequential_training_pipelines_for_domain_be23d309_v1,
  title = {Sequential Training Pipelines for Domain Specific Language Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/sequential-training-pipelines-for-domain-specific-language-models/rdr_be23d309a2b74033a60b0cddc3dffda9/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}