6.5.7 · D1Research Frontiers & Practice

Foundations — Continual and lifelong learning

2,094 words10 min readBack to topic

This page assumes you have never seen a single symbol from the parent note. We build each one from nothing, anchor it to a picture, and only then use it. Read top to bottom — nothing appears before it is earned.


0. What is a "model" and what are its "numbers"?

Before any Greek letters, picture a machine with knobs.

A model is a machine that takes an input (a picture, a sentence) and produces an output (a label like "cat"). Inside, it has thousands of little knobs. Turning the knobs changes what output you get. Learning = finding the right knob settings.

When we write we just mean the list has three knobs: two called (weights) and one called (a bias, an offset knob). (theta-sub-) means "knob number " — a single dial picked out of the list.


1. Inputs, outputs, and the data we learn from


2. A task, and a stream of tasks

The crucial pain, shown by the crossed-out boxes: once leaves the belt, you cannot look at it again. That is why you can't just "retrain on everything." This single constraint is the seed of the whole field — see Online Learning for the streaming-data setting and Catastrophic Forgetting for what goes wrong.


3. The function — how input becomes output


4. Measuring "how wrong" — the loss


5. Improving the knobs — the gradient and SGD

Here is the tool that makes learning and forgetting happen. It deserves its own picture.

Think of the loss as a hilly landscape: each point on the ground is one knob-setting , and the height is the loss . Learning = walking downhill to the lowest valley (least wrongness).


6. A minimum, and the argmin symbol


7. Second-order shape: Hessian and Fisher (why penalties are quadratic)

The regularization methods later ask: "how sharply does the loss rise if I move away from the valley bottom?" A gentle valley → moving is cheap; a steep valley → moving is costly.


8. Greek/symbol quick sheet (the last few)


Prerequisite map

Parameters theta = the knobs

Model f maps input to output

Data point x and label y

Dataset D = pile of cards

Task loss L = average wrongness

Gradient nabla = steepest uphill arrow

SGD update = step downhill

Best knobs theta-star at valley bottom

Curvature H and Fisher F = wall steepness

Stream of tasks T1 T2 T3

Catastrophic forgetting

Continual Learning methods

The map reads left-to-right into the topic: knobs and data build the loss; the loss builds the gradient and SGD; SGD over a stream of tasks is what causes forgetting; curvature tells us which knobs to protect — and that is where Continual and Lifelong Learning proper begins.


Equipment checklist

What does the bold (vs plain ) tell you?
That the input is a list of numbers (like all pixels of an image), not a single number.
What does store, and why does forgetting live there?
All the model's knob settings; every task's memory sits in these same numbers, so re-turning them for a new task overwrites old ones.
In words, what does mean?
The average per-example wrongness taken over all flashcards drawn from dataset .
Which direction does point, and which way do we step?
It points steepest uphill; we step in the opposite (downhill) direction to reduce loss.
Why does ?
At the valley bottom (best task-1 knobs) the loss landscape is flat, so its slope is roughly zero.
What is the difference between and ?
gives the location (which ) of the lowest loss; would give the value (how low).
What does a large Fisher value tell you to do with knob ?
Protect it — knob strongly affects predictions, so it is important for the old task; don't move it much.
What do the two trade-off dials and each control?
= how hard to protect old weights (stability vs plasticity); = how much weight to give replayed old examples.
Why can't continual learning just retrain on all past data?
Because in a task stream, old datasets are removed before new ones arrive, so they are no longer available.