Putting a Face to Forgetting: Continual Learning meets Mechanistic Interpretability
Sergi Masip, Gido M. van de Ven, Javier Ferrando, Tinne Tuytelaars
TL;DR
Catastrophic forgetting is traditionally assessed at end-task performance, but this work presents a mechanistic, feature-centric view that explains forgetting as geometric transformations of feature encodings. By formalizing rotations and scaling of feature vectors and their effects on allocated capacity and readout, the authors derive best- and worst-case forgetting scenarios in a tractable feature-reader model and validate them experimentally. The framework is scaled to practice via Crosscoders, demonstrated in a Vision Transformer trained on Split CIFAR-10, where fading and readout misalignment emerge as primary forgetting drivers, with depth further aggravating the effect. This mechanistic lens offers a concrete vocabulary and diagnostic tools for understanding and mitigating forgetting in real-world continual-learning systems.
Abstract
Catastrophic forgetting in continual learning is often measured at the performance or last-layer representation level, overlooking the underlying mechanisms. We introduce a mechanistic framework that offers a geometric interpretation of catastrophic forgetting as the result of transformations to the encoding of individual features. These transformations can lead to forgetting by reducing the allocated capacity of features (worse representation) and disrupting their readout by downstream computations. Analysis of a tractable model formalizes this view, allowing us to identify best- and worst-case scenarios. Through experiments on this model, we empirically test our formal analysis and highlight the detrimental effect of depth. Finally, we demonstrate how our framework can be used in the analysis of practical models through the use of Crosscoders. We present a case study of a Vision Transformer trained on sequential CIFAR-10. Our work provides a new, feature-centric vocabulary for continual learning.
