Supervised Fine-Tuning

A model that can continue text may not respond in the way a task requires. Fine-tuning on examples of prompts and desired responses gives it demonstrations of the behaviour we want.

10 sections · 10 questions · 4 coding challenges

1 / 10

Why Does a Text Predictor Need Examples of Following Instructions?

BOTIE

A model trained to continue text has seen questions, answers, stories, arguments, and many other patterns. Given a request, it may continue the wording without doing what the person wanted. Predicting plausible text and providing a useful response are related tasks, but they are not identical.

The 2022 InstructGPT work used demonstrations written by labelers to fine-tune a pretrained model before later preference-based training. That supervised stage gave explicit examples of the response behaviour the system was intended to produce.

Supervised fine-tuning continues training with input-output pairs chosen for a task. The desired response supplies the target tokens. We are adapting an existing model's behaviour rather than learning language entirely from scratch. The demonstrations therefore matter: their coverage, correctness, and style influence what the adapted model learns, and performance still needs checking on unfamiliar requests.

Sources for this history