A medical publisher has millions of unlabeled clinical articles and wants a model that better understands the field's language. Which approach fits?
- Exam domain
- Applications of Foundation Models28% of the exam
- Difficulty
- Hard
- In this mock
- 25 questions on this domainPractise this domain
Why the exam asks this
Task Statement 3.3: Describe the training and fine-tuning process for FMs.
Objective in the exam guide: Describe the key elements of training an FM (for example, pre-training, fine-tuning, continuous pre-training, distillation).
The data a team has decides which training method is even possible. Mixing up continued pre-training and fine-tuning wastes the data you have and asks for data you do not.
Why D is the answer
Continued pre-training on the domain text
Continued pre-training extends a model's training on large amounts of unlabeled domain text, so it absorbs the field's language.
Remember: Lots of unlabeled domain text: continued pre-training. Labeled task examples: fine-tuning.
How it works
Pre-training builds a foundation model from huge amounts of general, unlabeled text.
Continued pre-training keeps training an existing model on more unlabeled text from one domain, so it absorbs that domain's language and facts.
Fine-tuning trains on labeled input-output pairs to teach a specific task or style.
Clues in the question
The words that point to the answer, and what each one tells you.
- Millions of unlabeled articles
- Large unlabeled domain text, which rules out supervised fine-tuning.
- Understands the field's language
- Domain knowledge, not a task format.
In detail
- Fine-tuning needs labeled examples of inputs and the outputs you want; the publisher has none.
- Continued pre-training and fine-tuning can be combined: first absorb the domain, then teach the task.
Side by side with look-alikes
| Method | Data needed | Teaches |
|---|---|---|
| Pre-training | Huge general unlabeled text | General language |
| Continued pre-training | Large unlabeled domain text | A domain's language |
| Fine-tuning | Labeled input-output pairs | A task or style |
| Distillation | A teacher model's responses | A smaller model to imitate a larger one |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Supervised fine-tuning on labeled input-output pairsWrongMost tempting
It needs labeled input-output pairs, which the publisher does not have.
Why it tempts: Fine-tuning is the best-known way to specialize a model. But it needs labeled pairs, and the publisher only has raw articles.
B. Raising the temperatureWrong
Temperature changes randomness, not knowledge of a domain.
C. Zero-shot prompting aloneWrong
Prompting alone does not teach the model a field's vocabulary at this scale.
D. Continued pre-training on the domain textRight
Lots of unlabeled domain text: continued pre-training. Labeled task examples: fine-tuning.
In practice
- Match the method to the data you have before planning the project.
- Hold back some articles to test whether domain understanding improved.
Use case
An illustrative scenario, not a real incident.
A publisher continues pre-training a model on its clinical archive, and the model then handles terms such as drug names far better.
See how it works
flowchart TD
A{"What data do you have?"} -->|"Lots of unlabeled domain text"| C["Continued pre-training"]
A -->|"Labeled input-output examples"| F["Fine-tuning"]
A -->|"A good large model, need a cheaper one"| D["Distillation"]How to read this chart
- At "What data do you have?": if "Lots of unlabeled domain text", go to "Continued pre-training"; if "Labeled input-output examples", go to "Fine-tuning"; if "A good large model, need a cheaper one", go to "Distillation".