Open Interpretability Models Contributors Research Posts About

Continual Learning with Hypernetworks

Source

Citation. Johannes von Oswald, Christian Henning, Benjamin F. Grewe and João Sacramento, Institute of Neuroinformatics, University of Zürich and ETH Zürich. Von Oswald and Henning are equal contributors. "Continual learning with hypernetworks". International Conference on Learning Representations (ICLR) 2020. arXiv 1906.00695 [cs.LG]: v1 of 3 June 2019, v2 of 10 October 2019, v3 of 12 February 2020 and v4 of 11 April 2022. We read v4. Paper. Code: chrhenning/hypercl. The data are the public MNIST, CIFAR-10 and CIFAR-100 sets. Funding: the Swiss National Science Foundation (CRSII5-173721), ETH project funding (ETH-20 19-01) and the Swiss Data Science Center (C17-18, P18-03). The paper gives no statement about tools or help from an LLM. The ICLR 2020 venue agrees with the v3 date and with the arXiv comment.

Status. Planned. #4782 would cite it in its strand on editing, merging and task vectors, and #5125 tests the question that it bears on. No code, skill or protocol in this repo depends on it. The maintainer designs any campaign to fix a model, so this page reports evidence and records questions only.

Read. On 2026-11-19 we downloaded the v4 PDF from arXiv with curl, and converted it with pdftotext. The reader was this page's author, a model (Claude Opus 5.5). We read all 28 pages in the source's own text. That is the abstract, Sections 1 to 5, the references and Appendices A to F. We read Tables 1 to 6 as extracted text. We did not see the figures as images. For Figures 2 to 5 and A2 to A8, we have the captions and the text about them. We also have the few labels that the extraction kept. We did not open the linked code.

Summary

Claim. A network that learns tasks one after another forgets the old ones. The authors move the problem one level up. A task-conditioned hypernetwork makes all the weights of a target network from a learned task embedding. To keep an old task, the hypernetwork only has to keep making the same weights for that task's embedding. A simple regularizer does this, with no stored data. The authors report results at the state of the art on the standard benchmarks, little forgetting over 100 tasks, and transfer to later tasks.

Method.

Findings, as the source reports them.

Setting Result
Table 1, permuted MNIST, 10 tasks, CL1, task-averaged accuracy (± SEM, n = 20) EWC 95.96, SI 94.75, DGR 97.51, HNET 97.57, HNET+R 97.87
Table 1, same, CL3 EWC 33.88, SI 29.31, DGR 96.38, HNET+ENT 91.75, HNET+TIR 97.59, HNET+R 97.76
Table 1, split MNIST, CL2 EWC 64.32, SI 65.36, DGR 96.83, HNET+ENT 87.01, HNET+TIR 94.43, HNET+R 98.00
Table 1, split MNIST, CL3 EWC 19.96, SI 19.99, DGR 91.79, HNET+ENT 69.48, HNET+TIR 89.59, HNET+R 95.30
Table 4, permuted MNIST, 100 tasks, HNET+TIR (± SEM, n = 5) CL1 96.12 during and 96.18 after. CL2 95.97 after, CL3 96.00 after
Table 5, split CIFAR-10/100, CL1, during against after (n = 5) ResNet-32 82.36 against 82.34. Zenke et al.'s network 74.75 against 71.29
Appendix D, split CIFAR-10/100 on Zenke et al.'s network SI 73.85% task-averaged, HNET 71.29% ± 0.32%
Table 6, permuted MNIST, HAT against HNET Hidden layers 100, 100: 91.6 against 95.92. 100 tasks at 1000, 1000: 86.04 against 94.98
Appendix D, permuted MNIST, 250 tasks, regularizer on at most 32 random old tasks per step 94.19 ± 0.16 final, against 95.54 ± 0.05 during, 5 seeds
Appendix C, hypernetwork size against target size Permuted MNIST VAE: 2,211,907 against 2,227,024. ResNet-32: 457,336 against 468,540
Appendix D, fine-tuning without protection, permuted MNIST, 100 tasks A fine-tuned target network declines gradually. A hypernetwork with β_output = 0 falls almost at once to chance level

The text also reports these results without a table number. Figure A7 says that split MNIST stays in the high 90s down to a compression ratio near 1%. Figure 4 shows a 2D embedding space for split MNIST. A large region of it solves the first task, and that region holds the later tasks' embeddings.

Where the claims go beyond the evidence

The authors state several limits themselves. The regularizer allows only weak backward transfer. The cost of the regularizer grows with the number of tasks, and they test a random subset of old tasks to bound it. They give no constructive bound on the compression that a chunked hypernetwork can reach.

Use in this repo