Papers › Pseudo-Rehearsal for Continual Learning with Normalizing Flows

Pseudo-Rehearsal for Continual Learning with Normalizing Flows

5 Jul 2020ICML Workshop LifelongML 2020 7arXiv:2007.02443archive 2025-07-28

Jary Pomponi, Simone Scardapane, Aurelio Uncini

Catastrophic forgetting (CF) happens whenever a neural network overwrites past knowledge while being trained on new tasks. Common techniques to handle CF include regularization of the weights (using, e.g., their importance on past tasks), and rehearsal strategies, where the network is constantly re-trained on past data. Generative models have also been applied for the latter, in order to have endless sources of data. In this paper, we propose a novel method that combines the strengths of regularization and generative-based rehearsal approaches. Our generative model consists of a normalizing flow (NF), a probabilistic and invertible neural network, trained on the internal embeddings of the network. By keeping a single NF conditioned on the task, we show that our memory overhead remains constant. In addition, exploiting the invertibility of the NF, we propose a simple approach to regularize the network's embeddings with respect to past tasks. We show that our method performs favorably with respect to state-of-the-art approaches in the literature, with bounded computational power and memory overheads.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2007.02443")

Code

Syntology Ran 10 of 21 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ispamm/PRER officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

21 samples harvested; 10 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
8ran
11unverified

Licence: 21 of the 21 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ispamm/PRER. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BatchNorm ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran no licence file found · pointer only · 3fa807854aaa4305 · report
Conditioner ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · d43422026fb01a01 · report
CouplingLayer ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 83607333c7fc8258 · report
Encoder ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 200fa3e04941e661 · report
NoneConditioner ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 52cca2a1c5d32c72 · report
Prior ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · c28cb8903e6fa746 · report
Reshape ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 764a0379bdcee1c3 · report
Split ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · f35198d0074078c5 · report
gaussian_nll ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4eaf1511053dc8a7 · report
reconstruction_loss ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · ad91a710aa97e44c · report
Container ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 9db2c3455ae543fd · report
Decoder ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · a23dd769c98cf3a9 · report
ExperimentConfig ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · ce218d15010f7d86 · report
NaiveMethod ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 18db7c3472875ddd · report
PRERproj ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 8dcb0d35b0a23a29 · report
Permutation ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · e7d6b7ab3a5ec11f · report
RNVP ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 7135c7d62a514fbd · report
RNVPBlock ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 7959332f2d4a6086 · report
RNVPLevel ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · c84d2d298f0a6278 · report
SequentialFlow ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · c6fe6fda8d262a8f · report
SingleIncrementalTaskSolver ispamm/PRER/continual_ai/cl_strategies/multi_task/prer/PRER.py official repository unverified no licence file found · pointer only · 68fa55c2336ed20e · report

Tasks

Continual Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections