Does Learning Order Explain Forgetting? The Lie Bracket as an Early-Warning Signal for Catastrophic Forgetting Without Old Data

Ephraim Kofi Ayi KwapongarXiv 2026 · arXiv

TL;DR

This paper demonstrates that catastrophic forgetting in neural networks is fundamentally linked to the order in which tasks are learned. By using the Lie bracket of task gradients—a mathematical measure of how much training steps "don't commute"—the author develops a data-free early-warning signal that predicts slow, "quiet" forgetting more accurately than standard methods like Elastic Weight Consolidation (EWC).

What Problem Does This Paper Address?

Neural networks are notoriously bad at "continual learning." When a model trained on Task A is subsequently trained on Task B, it often loses its ability to perform Task A—a phenomenon called catastrophic forgetting.

In real-world deployments (like a medical model updated with new regional data), the original training data for Task A is often unavailable due to privacy or storage constraints. This makes it impossible to simply "re-test" the model to see if it has forgotten anything. Researchers need a way to predict forgetting without old data.

Existing signals, like the EWC penalty, often struggle to detect "slow" forgetting, where the model loses performance incrementally over many updates. This paper investigates whether the mathematical relationship between training order and weight updates can provide a better "smoke detector" for this quiet damage.

Methods

The core idea rests on a concept from differential geometry: the Lie bracket. In optimization terms, if you take a step toward Task A's goal and then a step toward Task B's, you end up at a different set of weights than if you had gone B then A.

The author tests a conjecture by Dherin (2023) that this "order gap" is the engine behind forgetting. To make this practical and data-free, the author implements:

  1. Stored Summaries: When Task A finishes, the model stores a small summary: the weights, the gradient, and the top 20 Hessian eigenpairs (representing the "curvature" of the loss landscape) found via Lanczos iteration.
  2. The Bracket Signal: During Task B training, the model computes the Lie bracket: $[A, B] = H_B g_A - H_A g_B$. This calculation uses the stored Task A summary and the current Task B data.
  3. Comparison: The bracket's predictive power is compared against Elastic Weight Consolidation (EWC) and a Stored Taylor estimate.

Datasets

The experiments use standard continual learning benchmarks, split into sequences of binary classification tasks:

  • Split MNIST: Handwritten digits.
  • Split Fashion-MNIST: Clothing items.
  • Split CIFAR-10: Two versions—one using a frozen ResNet-18 to extract features (well-learned) and one using a small CNN trained from scratch (half-learned).

Key Insights and Ideas

  • Forgetting is an Order Effect: The most striking finding is that the forgetting of Task A is almost perfectly correlated (Spearman $\rho = 0.96–1.00$) with the "order gap"—the difference in Task A's loss between the two possible training orders.
  • The "Quiet" Forgetting Specialist: The Lie bracket excels at predicting "slow" forgetting (Task-Incremental learning). In these scenarios, it significantly outperformed EWC, providing a much more reliable ranking of which training runs would lead to the most forgetting.
  • Curvature vs. Slope: The Lie bracket is a second-order (curvature) quantity. The author discovered it fails when a task is only "half-learned" (like the small CIFAR-10 CNN). In those cases, the model still has a large residual gradient ("slope"). This first-order damage overwhelms the second-order curvature effects that the bracket measures.
  • Summary Locality: In "fast" forgetting (Domain-Incremental learning), the weights move so far, so quickly, that the stored summary of Task A becomes "stale." The local approximation of the loss landscape no longer applies to where the model has moved.

Key Results

  • Superior Prediction: For slow forgetting on well-learned tasks, the stored bracket achieved rank correlations of 0.70 to 0.81, compared to just 0.33 to 0.58 for the EWC penalty.
  • Data-Free Parity: Remarkably, the data-free bracket performed as well as, or even better than, re-evaluating the model on the actual old data during the early steps of new task training.
  • Failure Condition: On the half-learned CNN, the correlation dropped to near zero (-0.12), proving that the bracket requires the initial task to be at or near a local optimum to be effective.

Limitations and Future Work

  • Scale: The study used relatively small MLPs and CNNs. Whether these second-order signals remain computationally feasible or predictive for billion-parameter transformers remains to be seen.
  • Computational Cost: Calculating the bracket requires Hessian-vector products. While these can be done efficiently via double backpropagation, they are still more expensive than simple first-order methods.
  • From Prediction to Mitigation: This paper focuses purely on predicting forgetting. The obvious next step is to use the Lie bracket as a regularizer during training to prevent forgetting by steering updates away from directions where the bracket is large.
  • Optimization: The current derivation assumes plain SGD. Adapting the Lie bracket for modern optimizers like Adam or Momentum would require a modified mathematical framework.

Summary updated

Abstract

A network trained on task A and then task B ends at different weights than one trained on B and then A. To leading order this gap is set by the Lie bracket of the two tasks' gradient fields, and Dherin (2023) conjectured that a non-vanishing bracket may be linked to catastrophic forgetting. I test this conjecture empirically. Across Split MNIST, Split Fashion-MNIST and Split CIFAR-10, the forgetting of A is almost exactly the difference in A's loss between the two training orders (Spearman rho = 0.96-1.00). I then ask whether the bracket can predict that forgetting early in training on B and without any of A's data, using only a small summary stored when A finishes: its gradient and its top 20 Hessian eigenpairs. When the old task is well learned and forgetting is slow (task-incremental), this stored bracket ranks forgetting with rho = 0.70-0.81, against 0.33-0.58 for the penalty of Elastic Weight Consolidation, and matches or exceeds re-evaluating A on its own data. When forgetting is fast (domain-incremental), the stored summary goes stale and the EWC penalty is as good or better. The bracket fails outright when the old task is only half learned; I trace this to a residual gradient on A an order of magnitude larger, which makes first-order (slope) damage matter. The bracket is therefore a useful early-warning signal for the quiet kind of forgetting, under a clear condition.
BibTeX
@misc{kwapong2026does,
  author = {Ephraim Kofi Ayi Kwapong},
  title = {{Does Learning Order Explain Forgetting? The Lie Bracket as an Early-Warning Signal for Catastrophic Forgetting Without Old Data}},
  year = {2026},
  eprint = {2611.20087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20087},
}
Figure