Beta

Sync to cloud

Uses your current signed-in YoolVi account. A Learn profile is not required.

Upload a snapshot of this browser’s saved lesson work across all subjects, including notes, experiments, journal and review history. Existing guest work is included only when you confirm below. This does not upload account credentials or award XP.

Sync uploads to your private account; it does not automatically merge or replace this device’s work. On another device, download the cloud copy and use My Learning’s backup import. The previous cloud snapshot is retained when a new one replaces it.

Export or import this device’s work

No background uploads. Edits made after a snapshot need another sync. On shared devices, work is bound to the first account observed by cloud sync; another account must use a separate browser profile. Keep your own downloaded backup too.

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.

Back to Adaptive and Coordinated AI Systems

Adaptive and Coordinated AI Systems · Lesson 2 of 3 in this module

Understand context versus parameters

Context versus parametersFixed teaching example — not your saved experiment.
  1. Starting information

    The same model receives a new example in its prompt

  2. Relationship or operation

    No parameter update occurs

  3. Consequence

    A changed response can be context-dependent

In-context behavior changes with input; fine-tuning changes stored parameters. Do not infer one from the other.

The idea in everyday terms

The same two calibration measurements can stay in the current context, be stored under an exact task name, or change model weights. These are different places to retain information. The context is a numerical line fit, not a natural-language prompt.

What to watch in the experiment

Load the two measurements, save their fitted line to memory and adapt the weights once. Clear context, then memory, then restore weights. Watch which query results change each time. Switching tasks clears current context but preserves learned weights and memory entries under their own keys. An absent key remains explicitly missing.

What this does not establish

A line can fit two support points exactly while missing a curved rule between them. Extra updates reuse the same evidence and cannot guarantee that a line represents every task. Query outcomes are public development evidence once viewed. No state reset establishes independent learning or human review.

Full worked explanation, calculations and control definitions

Use this reference for the detailed mechanism and control meanings. Derivations explicitly marked optional are enrichment.

Three ways to keep a calibration

Imagine a sensor whose reading needs a correction. You could leave two calibration examples in the current working context, store a correction under the sensor’s exact name, or change the predictor’s parameters. These choices can give similar outputs while leaving very different persistent state.

Here, a context-conditioned numerical predictor fits a line from two supplied support measurements. The context is not a natural-language prompt. External memory is an exact task-ID lookup, not learned semantic retrieval. Parameter adaptation changes two coefficients using a real gradient. All three see the same support evidence, and none receives the query outcomes for fitting.

Work through a small example

Let a linear task be y=0.7x+0.2y=0.7x+0.2. At x = −0.75 the supplied y is −0.325; at x = 0.75 it is 0.725. The rise between the measurements is 1.05 and their input separation is 1.5, giving slope 0.7. Their mean output is 0.2, which is the intercept because the inputs are symmetric about zero.

The context stores those two fitted coefficients. Saving them to memory stores the same pair under this task’s exact ID. Clearing context removes the current pair but leaves memory entries intact. Switching tasks clears context, preserves memory keyed to other tasks, and preserves the current weights. Querying an absent key returns an explicit missing result, never another task’s coefficients.

The parameter predictor uses y^=wx+b\hat y=wx+b, where w is slope, b is intercept and the hat marks a prediction. Its objective is the average of half-squared errors on the two support measurements. Each update subtracts 0.4 times both gradients, evaluated at the same preceding w and b. Ten updates therefore reuse two observations twenty times; they do not create twenty observations.

State resets answer different questions

First load context, save it, and make one parameter update. Then clear only context and inspect four query outputs. Clear only memory next. Finally restore the initial weights. Explain each changed output by naming the state that was changed, rather than saying that the whole system “forgot.”

The initial weights come from a separate three-task meta-training procedure. Its forty outer updates differentiate through one support update. That gives an example of a learned starting point, not a universally optimal initialization. The task-family lesson compares it with zero initialization under the same adaptation budgets.

When the function class is wrong

For a curved task, the teaching rule adds cx2cx^2. The two support inputs have the same squared value, 0.5625, so their line fit absorbs c × 0.5625 into the intercept. At a query x = 0.25, the actual curvature contribution is only c × 0.0625. Even an exact support fit can therefore miss the query by c × 0.5.

This is model mismatch, not proof that memory or gradient descent is broken. Query errors remain public development evidence once inspected. The tables keep exact numerical outcomes available without requiring motion or interpreting a color. In Project 14, justify when updating context or memory is sufficient and when a parameter change earns its extra cost.