학술

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

arXiv Stat
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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.

In five-task sequences with slow forgetting, the stored bracket outperforms the EWC penalty on MNIST and CIFAR-10 features (by 0.16-0.17) and ties it on Fashion-MNIST; it fades as summaries age on MNIST and Fashion-MNIST, where a Taylor estimate from the same summary holds up better.

The bracket is therefore a useful early-warning signal for the quiet kind of forgetting, under a clear condition, provided the summary is kept fresh.

관련 뉴스