Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Overcoming catastrophic forgetting in neural networks

EWC lets neural networks learn new tasks without forgetting old ones

  • Problem Neural networks trained on tasks in sequence overwrite the weights that earlier tasks depend on, so old skills drop off abruptly.
  • Method EWC adds a penalty for each weight that holds it near its old value, scaled by how much the earlier task needs it.
  • Results With EWC, the agent learned multiple Atari games in sequence, while plain gradient descent never learned more than one, keeping its human-normalized total below one.

Why sequential training erases old tasks

Continual learning asks an agent to learn consecutive tasks without losing how to perform the earlier ones. A neural network trained on task B changes the weights that task A relied on, so task A's performance drops abruptly. This is catastrophic forgetting, and it appears when the network is trained on several tasks in sequence.

Multitask training avoids the problem by mixing data from all tasks, but it needs the earlier data to be stored and replayed. The replay memory then grows with the number of tasks, which the authors call impractical for large task sets. Brains seem to avoid the problem through synaptic consolidation, where strengthened synapses are made less plastic.

A consolidation idea for network weights

The key idea is to give each weight a stiffness that reflects how much the earlier task needs it. Weights that matter little to task A stay free to move, so task B can use them. This works because a network with many parameters usually has many settings that solve task A, so a nearby setting may also solve task B.

The authors start from Bayes' rule, where the posterior over parameters after task A carries what task A needed. When the data split into task A and task B, the loss for task B is the only term that changes during training on task B. The true posterior is intractable, so the authors use a Laplace approximation: a Gaussian centred on the task A solution, with a diagonal precision taken from the Fisher information matrix.

Figure 1 shows why a per-weight stiffness is needed, since a single coefficient for every weight blocks learning of task B.

How the EWC loss is formed

Training on task B minimises the task B loss plus one quadratic term for each parameter. The loss is \[L(\theta)=L_B(\theta)+\sum_i \frac{\lambda}{2}F_i(\theta_i-\theta^*_{A,i})^2\], where L_B is the task B loss, theta*_A are the parameters after task A, and F_i is the diagonal Fisher entry for parameter i. The scalar lambda sets how much the old task counts compared with the new one.

Its diagonal can be computed from first-order derivatives alone, which keeps the cost low even for large models. When a third task arrives, the penalties for tasks A and B simply add up, so the weights stay near both earlier solutions.

Permuted MNIST results

Each task applied a fixed random permutation to the input pixels of MNIST digits, so every task was as hard as MNIST but needed its own solution. Training used shuffled small batches, and after a fixed amount of training on a task the authors stopped using that task's data. Plain SGD forgot the first permutation as soon as training switched to the second.

An L2 penalty protected task A more gently, but it treated every weight equally and left too little capacity to learn task B. EWC instead weighted each weight by its importance to task A, so the network learned task B without forgetting task A. Figure 2A shows three permutations, A, B and C, trained with EWC, L2 and plain SGD.

Earlier attempts with careful hyperparameter choices reached reasonable results on only up to two random permutations. Compared with SGD plus dropout, the authors found dropout did not scale to more tasks.

Do tasks share weights?

The authors measured the overlap between pairs of tasks' Fisher information matrices. A small overlap means the two tasks depend on different weights, while a large overlap means the weights serve both tasks. Two MNIST versions that differ in only an 8x8 pixel square share weights throughout the network.

When the permuted square grows to 26x26 pixels, the tasks begin to use separate weights in the early layers. Layers closer to the output are still reused, because the input changes but the class labels stay the same.

Running EWC inside a DQN agent

The authors start from a DQN agent similar to the one in van Hasselt et al., with a larger network, a smaller transition table and task-specific biases and gains at each layer. A new generative model is added when it explains recent data better than the existing ones, using a procedure inspired by forget me not.

The Fisher information matrix is computed at each task switch, and each task adds a penalty anchored at the current parameter values. The penalty is scaled by lambda and applies only to games that have been played for at least 20 million frames. Experience replay gets a separate short-term buffer for each inferred task, so short-timescale learning stays local while EWC handles the longer timescale.

Atari sequence results

Each experiment used ten games chosen at random from those DQN plays at human level or above. Scores are the total human-normalized score over the ten games, with each game clipped to 1.

The authors report that plain gradient descent never learned more than one game, so its total stayed below one. With EWC, the agents did learn to play multiple games in sequence. Giving the agent the true task labels helped only modestly compared with using labels inferred by forget me not.

Are the Fisher-based importance estimates reliable?

The authors trained a single-game DQN on Breakout and added noise to its weights. The noise was drawn with uniform covariance, with the inverse Fisher, or within the nullspace of the Fisher. Each evaluation ran ten full game episodes, with a new random perturbation at every timestep.

Inverse-Fisher perturbations hurt the score less than uniform ones, which supports the diagonal Fisher as an importance estimate. Nullspace perturbations should have had no effect under the approximation, yet they behaved like inverse-Fisher perturbations. The authors read this as over-confidence about parameters that are unimportant, so the approximation likely under-estimates uncertainty.

The EWC agent falls short of the score that ten separately trained DQNs would reach. The authors suspect the Fisher approximation of parameter uncertainty is the main reason.

Limitations

The posterior variance comes from a point estimate, which the authors call a significant weakness. They suggest Bayesian neural networks might give a better local estimate. The posterior is approximated as a factorised Gaussian, which keeps the computation cheap.

Each synapse needs three stored values under EWC: the weight, its variance and its mean. The experiments cover permuted MNIST and Atari sets of ten games, and no other task families were tested.

Paper info

Authors
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, Raia Hadsell
Venue
arXiv · Preprint
First published
2016-12-2
Added
2026-11-11
Updated
2017-1-25
Version
v2
arXiv
1612.00796
DOI
10.1073/pnas.1611835114
Category
cs.LG · cs.AI · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, Raia Hadsell (2016). Overcoming catastrophic forgetting in neural networks. arXiv:1612.00796v2. https://doi.org/10.1073/pnas.1611835114

BibTeX
@article{kirkpatrick2016overcoming,
  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 = {2016},
  eprint = {1612.00796},
  archivePrefix = {arXiv},
  doi = {10.1073/pnas.1611835114},
  url = {https://arxiv.org/abs/1612.00796v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up