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

Learning without Forgetting

Learning without Forgetting adds a new task by distilling old-task outputs on new images

  • Problem Fine-tuning a CNN on a new task erodes its old-task accuracy, because the shared layers drift. Old training data is often unavailable, so joint training is not an option.
  • Method Learning without Forgetting trains on new-task images only. Before training, it records the original network's outputs on those images, then keeps the outputs close to those records.
  • Results On ImageNet to CUB with AlexNet, old-task accuracy was 54.7 with Learning without Forgetting, compared to 50.9 for fine-tuning.

Why adding a task erodes the old one

Adding a capability to a deployed CNN usually means training on new data, and the data for the old tasks may be unrecorded or too costly to reuse. The network is split into shared parameters θs, old task-specific parameters θo, and new task-specific parameters θn. Fine-tuning reuses the shared layers but lets them move, so the old-task output layer no longer matches the features it reads.

Feature extraction leaves the original network untouched, but the frozen shared layers may miss what the new task needs. Joint training avoids both problems, yet it needs the old images and labels, which this setting assumes are unavailable.

The key idea: keep old outputs, not old data

The key idea is to record how the original network answers on the new images, then train so that the network keeps answering the same way on them. The new images thus serve as the probe for old-task behaviour, and the recorded outputs act as the old-task targets. The authors describe this as close to joint training, with the difference that the old images and labels are no longer needed.

Preserving outputs on these new images was found to act as a regularizer, which the authors did not expect. The authors note that the new images may sample the old domain poorly, yet preserving outputs on them still kept old-task performance.

One training run, step by step

Before training, the original network runs on the new images to produce the old-task probabilities, and new output nodes get random weights θn. The number of new parameters equals the number of new classes times the width of the last shared layer, a very small share of the network.

For the new task the loss is the multinomial logistic loss, \\(L_{new}(y_n,\hat y_n) = -y_n \cdot \log \hat y_n\\), where \\(\hat y_n\\) is the softmax output. For each old task the authors use a knowledge distillation loss, which raises the recorded and current probabilities to the power 1/T, renormalizes them, and takes the cross-entropy between the two.

Raising to the power 1/T with T above 1 increases the weight of smaller probabilities, and the authors set T = 2.

Training minimizes λo times the old-task loss, plus the new-task loss, plus a regularizer R, with λo set to 1 for most experiments. R is a weight decay of 0.0005. Raising λo favours old-task performance over new-task performance, so varying λo traces a trade-off between the two.

Training runs in two stages, with θs and θo frozen while θn converges, and then all weights train together. The warm-up stage matters much for fine-tuning but little for LwF, so it is a fair-comparison step rather than a core ingredient.

Single new task results

On ImageNet→CUB with AlexNet, LwF scored 54.7 old and 57.7 new. Fine-tuning scored 50.9 old and 57.0 new on the same pair, so it gave up old-task accuracy with little new-task gain.

The new-task gain over fine-tuning was not expected, and the authors attribute it to output preservation acting as a regularizer. Fine-tuning's old-task score was 3.8 points below LwF on ImageNet→CUB, so the old-task gap is the more consistent one.

The new-task advantage has exceptions: fine-tuning beat LwF on new-task accuracy for Places365→CUB and on ImageNet→MNIST. The authors explain that CUB is very dissimilar to Places365, so both fine-tuning and LwF drift the shared parameters.

With VGG, joint training outperformed consistently, and LwF's old-task result was worse than with AlexNet.

Adding tasks one by one and smaller training sets

When tasks were added in stages, the old-task responses were recomputed each time, as if the earlier data were gone. LwF beat fine-tuning, feature extraction, LFL and fine-tuning FC for most added tasks.

Subsampling CUB to 30%, 10% and 3% kept the same ranking of methods. The gap between LwF and the others tended to grow with more data, though the authors say the correlation is not definitive.

Alternatives that did not help

Making more layers task-specific gave no consistent advantage, although it costs more storage. Network expansion scored 57.0 old and 54.0 new on ImageNet→CUB, compared to 54.7 and 57.7 for LwF. So expansion protects the old task but gives up new-task accuracy, and adding LwF on top costs more without a clear gain.

Lowering the learning rate of the shared layers to 10% did not preserve old accuracy: fine-tuning scored 52.2 old on ImageNet→CUB. An L2 penalty that pulls shared weights toward their original values lands between feature extraction and fine-tuning.

Among response-preserving losses, the knowledge distillation loss slightly outperformed L1, L2 and cross-entropy, though the margin is small. The authors believe regularizing outputs works better than regularizing parameters, because many small weight changes can produce large output changes.

Limitations

The authors frame joint training as an upper bound, but LwF swaps old images for new images, and that substitution may lower performance. Old-task accuracy still dropped with LwF on ImageNet→MNIST, where the hand-written characters give poor indirect supervision for the old task.

Joint training stayed ahead on the old task in several settings, so LwF doesn't match it everywhere. The VGG results cover only two task pairs, ImageNet→CUB and ImageNet→Scenes.

The authors selected epochs using only the new-task validation score, which favours the new task. Results are means over three runs, and the authors note that stopping one or two epochs later can move the scores.

Paper info

Authors
Zhizhong Li, Derek Hoiem
Venue
arXiv · Preprint
First published
2016-6-29
Added
2026-11-12
Updated
2017-2-14
Version
v3
arXiv
1606.09282
Category
cs.CV · cs.LG · 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

Zhizhong Li, Derek Hoiem (2016). Learning without Forgetting. arXiv:1606.09282v3. https://arxiv.org/abs/1606.09282v3

BibTeX
@misc{li2016learning,
  title = {{Learning without Forgetting}},
  author = {Zhizhong Li and Derek Hoiem},
  year = {2016},
  eprint = {1606.09282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.09282v3}
}

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