A domain-specific large language model adapts a pretrained model to specialized data, tasks, or industries. It trades broad coverage for stronger accuracy, context, privacy, and efficiency in focused applications. section 1.6 section 1.7
Choose specialization when the deployment requires:
- Higher performance in a defined domain, such as legal operations, finance, healthcare administration, manufacturing, scientific research, or niche programming. section 1.6
- Private or offline operation to reduce private-data leakage and support regulatory compliance. section 1.6
- Lower computing requirements than a large generalist model, while accepting narrower usefulness outside the target domain. section 1.7
Table 1.1 Options for specializing an open source SLM on a domain-specific task
| Transfer learning strategy |
Pros |
Cons |
|---|---|---|
| Full supervised fine-tuning (unfreezing and training all the model’s weights on labeled |
|
|
| Partial fine-tuning (unfreezing and training only a subset of the model’s layers) |
|
|
| PEFT (parameter-efficient fine-tuning)—a family of techniques for inserting small trainable modules into each transformer layer while freezing the base |
|
|
Compare full supervised fine-tuning, partial fine-tuning, and parameter-efficient fine-tuning by performance, cost, overfitting, and catastrophic-forgetting risks. section 1.6
Molecular structure generation
Transfer learning on molecule descriptions and SMILES structures can support generation of molecular structures from descriptions, or descriptions from structures. section 1.6
