Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 6 of 9 in this unit

Build AI Systems · ORIGINAL LEARN AI LESSON

Measure adaptation cost.

Compare zero and meta-trained initializations across linear and shifted curved task families using fixed support/update budgets.

By the end: Separate meta-training tasks, support measurements and query outcomes; interpret benefit curves without claiming reused tasks are untouched evidence.

Start with the exampleJump to the experimentRead the explanation
Prerequisites and path options

Why learn this? Account for fitting examples and adaptation work when comparing shared initialization with a task-specific fit.

01 · TRY

Start with something concrete.

A good starting point may reduce calibration work for familiar devices but fail on a device governed by a different type of rule.

Try the interactive model
02 · PREDICT
Before you experiment

A starting point was chosen after inspecting the four-task query table. What role do those outcomes now have?

A starting point was chosen after inspecting the four-task query table. What role do those outcomes now have?
03 · EXPERIMENT

Change one thing. Watch what follows.

Loading this browser experiment…

04 · UNDERSTAND
READ & CONNECT

Understand what changed.

Back to the experiment

A shorter explanation, with the original worked examples available below. Both explain the same experiment and its limits.

Same learning goal in both modes: Separate meta-training tasks, support measurements and query outcomes; interpret benefit curves without claiming reused tasks are untouched evidence.

The idea in everyday terms

A useful starting point can reduce the work needed to calibrate a new task. Compare both the error before adaptation and the error after the same number of updates. A low final error alone hides how much evidence and computation it took.

What to watch in the experiment

Three linear tasks train the starting point. Four different task identities supply the displayed comparison: two linear and two curved. Each adaptation uses two support measurements; four distinct query inputs check the result and never enter the fitting gradient. Ten updates mean twenty row uses, not twenty new measurements. The table compares zero and meta-trained starts at every declared budget.

What this does not establish

The curved family reveals a limit of the line-shaped model. More fitting cannot guarantee that it represents a curve. Outcomes excluded from meta-training still become development evidence when used to choose settings. Report task families, all runs, meta-training overhead and known exposure before claiming broader transfer.

Open the full worked examples, calculations and limitations

This is the same reference used in Technical mode. Expand it whenever you need the exact numbers, assumptions or further explanation.

Compare the path to improvement

A new sensor may need calibration before its predictions are useful. Reporting only the final error hides whether one method needed two measurements and one update while another repeatedly processed the same data. Start with error before adaptation, then measure the curve at a declared evidence and compute budget.

The experiment uses three linear training tasks with slopes 0.5, 1 and 1.5 and intercepts −0.4, 0 and 0.4. They train a starting point. Four other task identities are excluded from those outer gradients: two linear tasks and two curved tasks. The curved family changes what the line predictor can represent, rather than merely changing the preferred coefficients.

Support teaches; query checks

Each task supplies two support measurements at x = ±0.75. Parameter updates use only these two measurements. Four distinct query inputs, −0.95, −0.25, 0.25 and 0.95, measure error after adaptation. Task identity, support membership and query membership have separate meanings; distinct x values alone would not establish a new task family.

The line predictor uses slope w and intercept b. Its support objective is mean half-squared error. With the symmetric support inputs, the slope curvature of this objective is 0.5625 and the intercept curvature is 1. One step at rate 0.4 therefore multiplies sensitivity to the preceding slope by 0.775 and sensitivity to the preceding intercept by 0.6.

The meta-gradient differentiates query loss through that actual support update, using those sensitivity factors. Forty outer updates at rate 0.5 build the starting point. This is a bounded two-parameter illustration of learning an initialization; it is not a reproduction of a large benchmark or a guarantee about every adaptation algorithm.

A matched comparison

Each displayed curve restarts from zero or the same trained starting point. It performs zero, one, two, five or ten support updates, then evaluates the query coordinates without fitting on them. Five updates mean ten support-row uses, but still only two supplied measurements. Meta-training and query computation are excluded from that fitting-row count and must be accounted for separately in a cost decision.

Read the zero-update row first. A starting point already closer to the linear family can have an advantage before seeing this task’s examples. Now compare changes from each initial error and the absolute errors after equal budgets. Finally compare the curved-family results: more fitting cannot remove the representational restriction to a line.

The graph uses a shared 0–4 MSE scale and counts clipped values. Its complete table shows both initializations at every budget, including failures. Do not interpret different axis limits as algorithmic improvement.

Preserve the role of exposed tasks

These task identities were excluded from meta-training, but the browser makes their outcomes public when opened. After using them to choose settings they are development evidence. Freezing later does not restore an untouched test. A larger study needs a predeclared new task family, task-level repeated runs, all-run reporting and independent replay.

Use the adaptation studio to record curves, source/configuration versions and costs. In Project 14, distinguish a claim about these four tasks from a claim about future tasks or real sensors.

05 · APPLY
Check your understanding

Ten updates reuse two support measurements. What was the evidence budget?

Ten updates reuse two support measurements. What was the evidence budget?
06 · CONTINUE

Take this idea with you.

Report pre/post results at declared budgets across task families. More updates cannot guarantee that the model class represents a changed task.

My Learning
Explore related topics and the topic map

How this topic connects

Explore this topic on the interactive map

Use these connections to review a foundation or choose where to go next. You can open any topic without completing the others.

What it builds on

  • Learning to adapt

    Understand when learning a starting point can make later adaptation more efficient.

  • Context versus parameters

    Tell apart a changed observation or retrieved context from a changed parameter so you can diagnose where adaptation actually happens.

You are hereMeasure adaptation cost

Compare zero and meta-trained initializations across linear and shifted curved task families using fixed support/update budgets.

What it enables

  • Adaptation project Apply in a project

    Carry this comparison into the saved adaptation project, with matched baseline checkpoints, retained failures and separate transfer evidence.