
EWC-net
Image classification9 ops478.4K params
The plain ReLU multilayer perceptron behind elastic weight consolidation's permuted-MNIST experiments.
Image classification · 10 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
This is the plain fully connected network from the elastic weight consolidation paper: a multilayer perceptron for MNIST digits, interesting here for what was done to it rather than for its shape. The paper's problem is catastrophic forgetting, the long-held view that a network trained on a new task loses the old one. Its answer, elastic weight consolidation, remembers old tasks by slowing learning on the weights that mattered for them.
The idea is borrowed from the brain, where synaptic consolidation reduces the plasticity of synapses that matter. Mechanically it is a quadratic penalty, pictured as a spring anchoring the parameters to the previous solution, which is where the name elastic comes from. The stiffness differs per weight, set from the diagonal of the Fisher information matrix. None of that lives in the graph you are looking at: the penalty acts on the loss, so the traced network is simply the MLP.
The MNIST experiments all use fully connected networks with rectified linear units, and the tasks are built by permuting the digit images. The traced copy is Avalanche's SimpleMLP; Avalanche is an end-to-end continual learning library built on PyTorch within ContinualAI. The paper also reports the method learning several Atari 2600 games in sequence.
Key idea. Elastic weight consolidation lets one network learn tasks in sequence without catastrophic forgetting, by penalising changes to the weights the Fisher information marks as important for earlier tasks.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{kirkpatrick2017overcomingcatastrophicforgettingneural,
title={Overcoming catastrophic forgetting in neural networks},
author={James Kirkpatrick and Razvan Pascanu and Neil Rabinowitz and Joel Veness and Guillaume Desjardins and Andrei A. Rusu and Kieran Milan and John Quan and Tiago Ramalho and Agnieszka Grabska-Barwinska and Demis Hassabis and Claudia Clopath and Dharshan Kumaran and Raia Hadsell},
year={2017},
eprint={1612.00796},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1073/pnas.1611835114},
url={https://arxiv.org/abs/1612.00796},
}