Back to section lessons
Free overview · medium · Lesson 5 of 7

Measure retention of the old task

Compare the old and new skills to detect when fine-tuning makes a model forget.

Fine-tuning on new material can make a model worse at an earlier task. This is called forgetting. To detect it, rerun the original check on a task that still matters to users.

A small example

Before an update, an assistant solved eight of ten old tasks and three of ten new ones. Afterwards it solved five old tasks and seven new ones. Which group reveals forgetting? Performance on the new tasks improved, while the old group lost three correct answers.

Why the overall score can mislead

Combining both groups gives an improvement from 11 to 12 correct answers out of 20. Now suppose nine out of ten requests are for the old task. Using the measured success rates, the original model would get about 75 out of 100 requests right in that mix. The update would get about 52.

This is an estimate from a small example. It shows why the frequency of each task matters when choosing a version. Keeping the two scores separate lets you estimate the outcome for the mix of requests you actually see.

Fine-tuning

Which version gets more requests right?

Use the scores from the lesson to estimate correct answers per 100 requests. Change how often each task appears.

Old task

50 requests

Before: 8/10 correct. After: 5/10.

New task

50 requests

Before: 3/10 correct. After: 7/10.

Before fine-tuning55%
After fine-tuning60%

With equal groups, the update gives about five more correct answers per 100 requests.

These are estimates from ten test examples for each task.

Done reading?

Mark the lesson as read to move your track progress forward.

Now build your own version

Measure forgetting and compare adaptation with replay of older training data.

What practice includes and how much it costs

MCP includes the full lesson and a local project with starter files. Work through the task with your agent, ask for a hint and run the checks on your computer.

$134 $67.00 for one year −50%

One payment, no auto-renewal · Terms

Buy for $67.00