Asymptotic analysis of shallow and deep forgetting in replay with Neural Collapse

Giulia Lanzillotta, Damiano Meier, Thomas Hofmann
12/8/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

A persistent paradox in continual learning (CL) is that neural networks often retain linearly separable representations of past tasks even when their output predictions fail. We formalize this distinction as the gap between deep feature-space and shallow classifier-level forgetting. We reveal a critical asymmetry in Experience Replay: while minimal buffers successfully anchor feature geometry and prevent deep forgetting, mitigating shallow forgetting typically requires substantially larger buffer capacities. To explain this, we extend the Neural Collapse framework to the sequential setting. We characterize deep forgetting as a geometric drift toward out-of-distribution subspaces and prove that any non-zero replay fraction asymptotically guarantees the retention of linear separability. Conversely, we identify that the "strong collapse" induced by small buffers leads to rank-deficient covariances and inflated class means, effectively blinding the classifier to true population boundaries. By unifying CL with out-of-distribution detection, our work challenges the prevailing reliance on large buffers, suggesting that explicitly correcting these statistical artifacts could unlock robust performance with minimal replay.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lanzillotta2025asymptotic,
  title  = {Asymptotic analysis of shallow and deep forgetting in replay with Neural Collapse},
  author = {Giulia Lanzillotta and Damiano Meier and Thomas Hofmann},
  year   = {2025},
  eprint = {2512.07400},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.07400v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.07400.svg)](https://codeofpaper.com/paper/2512.07400)

Discussion