Transfer learning adapts a model trained on one task or domain to a related one, typically by tuning a pretrained model on domain-specific data. It can improve accuracy on specialized tasks without training from scratch. The choice depends on data quality, computational cost, and risks such as overfitting or catastrophic forgetting. section 1.6 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 cost, performance, and risks. section 1.6
Molecular structures
After tuning on molecule descriptions and structures in SMILES format, an LLM can generate molecular structures from descriptions or describe structures. section 1.6
Domain specialization is relevant when:
- A task requires expertise beyond what a generalist model reliably provides, such as in manufacturing, scientific research, legal operations, finance, healthcare administration, or niche coding. section 1.6
- Compliance or privacy needs call for domain-specific data and, in some cases, private offline deployment. section 1.6












