Home

Search the website

Type to search papers, projects and posts.

Esc to close / or Ctrl+K to search

All posts

· Continual learning

The Geometry of Forgetting in Continual Learning

Updated 11 November 2026, including preprint references published after the original post.

When a network learns tasks in sequence it tends to suffer catastrophic forgetting⁠: weights move to satisfy the new objective and, in doing so, dismantle the features that served the old one. The usual responses are engineering fixes. Experience replay retrains on stored samples; elastic regularisation penalises motion in directions the Fisher information marks as important. Both work. Neither says what forgetting is⁠.

For a linear readout with frozen features and squared loss, forgetting has a simple geometric form. Let Δ be an update away from a stationary point of Task A's objective. With the loss normalisation used here, its increase is exactly

F(Δ)=12 Δ⊤ΣA ΔF(\Delta) = \tfrac{1}{2}\, \Delta^{\top} \Sigma_A\, \Delta

Here ΣA is the feature second-moment matrix, E[φφᵀ], or the covariance if features are centred. Squared loss makes this the constant Hessian. Without stationarity the loss change also contains ∇LAᵀΔ, which can have either sign. In the stationary case, high-eigenvalue directions are expensive and an exact null-space direction leaves this objective unchanged.

For a smooth nonlinear network, the local expansion is ΔLA = ∇LAᵀΔ + ½ΔᵀHAΔ + o(‖Δ‖²). It is a second-order approximation; the linear term vanishes only at a stationary point. A frozen-feature model with cross-entropy is not globally quadratic either. Feature drift and larger updates need to be checked against the actual old-task loss.

Interference-gated functional allocation (IGFA)

IGFA uses the alignment between a proposed update and protected task directions to decide whether to share capacity or project the update. Below a threshold τ it leaves the update unchanged; above it, it removes the component in the protected subspace. This gives a concrete interference-control rule in the fixed-feature experiments, rather than a guarantee for an adapting deep encoder.

There is no such thing as a free lunch:

  • The projection discards part of the gradient. Task B learns more slowly, and in the limit of many protected tasks the free subspace shrinks toward nothing, creating a capacity ceiling.
  • The gate is a hard threshold, so behaviour is discontinuous at τ. Whether that matters depends on how alignment is distributed in practice; on the sequences tested it does not, but that is an empirical claim about those sequences.

Interactive · Vector alignment

Rotate the proposed Task B update ΔB. Interference energy rises as it aligns with Task A's dominant direction. Above the gate threshold, IGFA projects the update onto the orthogonal complement. Shorter arrow > less progress > far less damage.

45°
Cosine alignment
0.71
Interference, raw
52%
Interference, after IGFA
2%
Retained step length
71%

IGFA gate (τ = 0.40)

Projecting, Task A protected

Model: ΣA = diag(1.00, 0.05), F(θ) = λ₁cos²θ + λ₂sin²θ, normalised to λ₁. The second eigenvalue is 0.05, so this example has no exact null space: even at θ = 90° a residual quadratic cost remains. Illustrative, not fitted to data.

Task A's dominant subspace shown as an ellipse, with the proposed Task B update and its IGFA-projected version. Task A subspace Task A ΔB IGFA

At θ = 0 the update lies straight along Task A's high-variance direction and interference is maximal. Rotating away, the raw interference falls as cos²θ, but the gate does not release until alignment drops below τ. In the gated region the projected update survives with length |Δ|·sinθ. So at θ = 20° the controller keeps roughly a third of the step, and near the threshold it keeps most of it.

What the gate buys on a real benchmark

The widget above is schematic. The figure below is not: it plots the measured accuracy–forgetting trade-off from the draft's Rotated-Digits benchmark (domain-incremental, five rotations, frozen backbone, mean ± 95% CI over five seeds).

Scatter plot of average accuracy versus average forgetting for five continual-learning methods on Rotated-Digits. IGFA reaches accuracy 0.771 with forgetting 0.002; only replay is more accurate, at the cost of a stored data buffer. 0.00 0.05 0.10 0.15 0.20 average forgetting (lower is better) 0.65 0.70 0.75 0.80 average accuracy Naive EWC OGD/GPM Replay (buffer) IGFA
Measured, not schematic: Rotated-Digits domain-incremental results, mean ± 95% CI over five seeds (Table 2 of the draft). IGFA reaches the highest accuracy among replay- and Fisher-free methods (0.771 ± 0.030) with forgetting near zero (0.002 ± 0.027). Only replay scores higher (0.795 ± 0.012), and it pays for that with a stored data buffer.

What should I call you?

Choose a display name for your comments. No email or account signup.

Your commenting identity

Use at least 12 characters. You’ll need this passphrase to restore the file.