When improvement and loss happen together #

Imagine a classifier trained to recognize handwritten digits, then updated for a different style of handwriting. Its accuracy on the new style rises, but it begins confusing digits it previously recognized reliably. If both tasks rely on shared parameters, updates useful for the second task can change how the first is represented. The model’s current training objective may give it no reason to preserve a distinction absent from the new examples.

Measuring the loss requires an earlier result on the same test. Poor performance on an unfamiliar handwriting style could instead reflect a lack of initial learning or an ordinary change in the inputs being evaluated. Holding the original test conditions fixed while tracking the model through successive updates helps distinguish these explanations.

Section sources [1] [2]

Constraining how much weights change #

James Kirkpatrick and colleagues introduced elastic weight consolidation. The method estimates how important parameters were to an earlier task and penalizes later changes to them in proportion to that estimate. A weight judged important can still change, but moving it incurs a greater cost in the new objective. The researchers demonstrated the approach in sequential classification tasks and Atari games. Preserving a useful parameter can help retain an old skill while limiting the flexibility available for a genuinely different one.

Section sources [1]

Keeping examples from earlier tasks #

Gradient Episodic Memory, proposed by David Lopez-Paz and Marc’Aurelio Ranzato, retains a small collection of examples from previous tasks. Their training procedure uses gradients from that memory to constrain updates, permitting improvement on past tasks. In practical comparisons the memory budget matters. A handful of common cases can underrepresent rare distinctions, while retaining a growing archive increases storage requirements and can conflict with limits on retaining source data.

Section sources [2]

A test for cumulative learning #

Record scores for every task after each stage of training. If performance on an old task improves after learning a new task, the direction of transfer differs from the case where an old score collapses. A single final average can hide both effects. Reporting earlier scores, task order, retained data and the cost of each update makes the result interpretable. For a proposed self-improving system, repeated gains on its newest objective are only part of the claim. It must also preserve the earlier competencies on which later improvements depend.

Section sources [1] [2]

Does the model know which task it is doing? #

An evaluation can tell a classifier which task is active or require it to choose among every class learned so far. That choice changes the meaning of retention. Imagine a system learning four musical instruments and later four more. A test that announces the group before each question permits two separate four-way decisions. A single eight-way decision requires old recordings to be distinguished from newly learned instruments as well. Good performance in the first setting does not establish performance in the second.

iCaRL studied class-incremental learning under a fixed total exemplar budget. It selected stored examples to approximate class means in the learned feature space and used those stored examples during subsequent learning. If a budget of 2,000 recordings is shared equally, increasing from ten classes to one hundred cuts the allowance from 200 to 20 per class. The benchmark becomes harder both because there are more alternatives and because less of each earlier class can be kept.

Section sources [1] [2] [3]

Sources

  1. James Kirkpatrick and colleagues · Overcoming Catastrophic Forgetting in Neural Networks (2017) doi.org
  2. David Lopez-Paz and Marc’Aurelio Ranzato · Gradient Episodic Memory for Continual Learning (2017) arxiv.org
  3. Sylvestre-Alvise Rebuffi and colleagues · iCaRL: Incremental Classifier and Representation Learning (2016 preprint) arxiv.org