Open Interpretability Models Contributors Research Posts About

Anatomy of Catastrophic Forgetting: Hidden Representations and Task Semantics

Source

Citation. Vinay V. Ramasesh, Ethan Dyer and Maithra Raghu, all at Google, Mountain View. "Anatomy of Catastrophic Forgetting: Hidden Representations and Task Semantics". arXiv:2007.07400 [cs.LG], version 1, 14 July 2020. arXiv. The issue gives the venue as ICLR 2021. arXiv has only version 1, from July 2020. That PDF names no venue. So the conference version may differ from the text that this page read. The paper gives no code or data link. The acknowledgements say that the authors built their code on the image classification library at github.com/hysts/pytorch_image_classification. The reference list also cites Caliban, a job manager by Ramasesh and two colleagues. The paper gives no funding statement.

Status. Planned. #4782 (catastrophic interference and forgetting) would use it, and so would #5118. That issue asks whether diagonal Fisher weight importance predicts which VERIFIED poles keep under instruction tuning. The paper measures change in whole layers of image classifiers, not in single units. So this page reports evidence and records questions only, because the campaign to fix models is the maintainer's.

Read. On 2026-11-19 we downloaded the version 1 PDF from arXiv with curl and read its text, extracted with pdftotext. A model (claude-opus-5-5) read it, not a person. We have the source's own text for the abstract, sections 1 to 7, the acknowledgements, the references and appendices A to K. That includes Table 1 (Appendix H) and Table 2 (Appendix K), with their numbers. We did not look at the figures as images. The text extraction gives only their axis titles, legends and captions. So this page takes no numbers from Figures 1 to 27, only the direction that the captions and text state. We tried to read the OpenReview PDF of the ICLR version, and the server sent back an HTML page and not the PDF. So we did not read the ICLR version.

Summary

Claim. When a network trains on one task and then on a second, the layers nearest the output change most. They cause most of the forgetting. Two common ways to reduce forgetting, elastic weight consolidation (EWC) and a replay buffer, act mainly by keeping those higher layers stable. Forgetting is worst when the two tasks are of intermediate similarity.

Method.

Findings, as the source reports them.

Setting Result
CKA before and after task 2, split CIFAR-10 and CIFAR-100, VGG, ResNet and DenseNet "lower layers representations remain stable through training on the second task, whereas higher layer representations change significantly"
Layer freezing from the lowest stages "freezing the lowest few layers has little effect on accuracy on the second task"
Layer reset from the top (head excluded) Gives "a significant increase in accuracy in the first task". Reset from the bottom gives less
Reset and retrain, split CIFAR-10 "even retraining the network with all but the last couple of layers frozen recovers nearly the pre-forgetting performance". Some runs exceed it
Task-specific stages, all three networks Two task-specific top stages recover "a significant fraction of the forgotten task performance"
EWC and replay buffer, ResNet in the main text, VGG and DenseNet in Appendix F Stronger mitigation gives higher CKA, "particularly pronounced for deeper representations"
Network width, split CIFAR-10, about a tenfold range of parameters Forgetting showed "a minimal dependence on network width"
Headfirst training up to five epochs Less forgetting, with a negligible effect on the new task
Linear classifier on post-forgetting activations (Table 1) DenseNet 0.802, ResNet 0.7592, VGG 0.7896 accuracy
Same, before forgetting / after forgetting / random lift (Table 1) DenseNet 0.869 / 0.4754 / 0.447. ResNet 0.7714 / 0.5924 / 0.4198. VGG 0.7970 / 0.5877 / 0.543
Linear classifier weights by layer (Appendix H) Before forgetting, most weight is on the final layers. After forgetting, it moves to earlier layers
CKA of the readout head before and after task 2 (Table 2) No headfirst training: VGG 0.147 ± 0.051, ResNet 0.183 ± 0.001, DenseNet 0.162 ± 0.008. Five epochs headfirst: 0.550 ± 0.029, 0.673 ± 0.010, 0.700 ± 0.012
Setup 1, sequential binary tasks "semantically similar tasks lead to less forgetting"
Setup 2, four classes then two The classes dissimilar to task 2 lose less than the similar ones
Mixed task 2 data, by λ "the most extreme forgetting happens for intermediate similarity"
CIFAR-100, mammal subclasses changed Of the four unchanged superclasses, Large Carnivores, the other animal class, "suffers the most"
Frozen feature model with orthogonal features (Appendix K) No forgetting, although the final-layer weights change a lot. So a stable final layer is not necessary to stop forgetting

Where the claims go beyond the evidence

Use in this repo

Proposed follow-up (not opened). Layer-level CKA between Qwen2.5-0.5B and Qwen2.5-0.5B-Instruct, beside the per-pole correlations of base-instruct.md. area: research questions, priority: low. It would compute linear CKA for each layer's MLP activations over the same 20,000-token sample, with a random-initialisation null. It would also put blocks of base layers into the instruct model, and read the poles again. It would test whether the middle third's lower per-pole correlation is a change of the whole layer or a rotation within it. It cites this page.