Elamur Research

Is forgetting less a good inductive bias for forward transfer?

Paper · 2023 · Jiefeng Chen, Timothy Nguyen, Dilan Gorur et al.

Summary

Continual learning promises that a model can draw on earlier tasks to pick up new ones more efficiently. However, prior work (e.g., Wolczyk et al., 2021) found that reducing catastrophic forgetting does not reliably improve forward transfer. The authors argue this conclusion comes from how transfer was measured: accuracy on a new task after the learner has trained on it under constraints meant to protect old tasks.

They propose a decoupled metric. When a new task arrives, the feature extractor from the previous task is frozen. A temporary linear head is then trained on just k examples per class (k-shot linear probing, or k-shot fine-tuning of a model copy) and scored on the new task's test set.

Using this metric in a task-aware setting, they compare several continual learning methods on multiple image classification benchmarks. Models start either from random initialization or from an ImageNet-pretrained backbone. Methods that forget less consistently transfer better. Their features are also more diverse and more class-separable. This makes forgetting reduction a sound inductive bias, especially for pretrain-then-finetune foundation models.

Key points

  • Benchmarks: Split CIFAR-10, Split CIFAR-100, CIFAR-100 Superclasses, CLEAR10, CLEAR100 and Split ImageNet. All experiments use task-incremental learning, with task IDs known at train and test time.
  • Methods compared: FT, AGEM, ER (with varying replay buffer sizes m), MT, FOMAML, LP-FT, EWC and Vanilla L2 regularization.
  • Metrics:
    • AvgFgt: average change in accuracy on earlier tasks.
    • AvgFwt^k: k-shot probing accuracy on the next task.
    • AvgFDiv: a log-determinant feature diversity score that rewards inter-class spread and penalizes intra-class variance.
  • Correlation: Spearman correlation between AvgFgt and k-shot fine-tuning transfer is strongly positive in most settings. Examples are about 0.92 on Split CIFAR-100 (random init, k=5) and 0.87 on CLEAR100 (pretrained). CIFAR-100 Superclasses shows weaker, sometimes non-significant correlations.
  • Example (ResNet18, Split CIFAR-10, random init): EWC (λ=100) cuts forgetting from −32.06% (plain FT) to −21.99%. It also raises 10-shot transfer from 71.57% to 74.27%; L2 regularization lands in between.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Jiefeng Chen, Timothy Nguyen, Dilan Gorur and Arslan Chaudhry. 2023. Is forgetting less a good inductive bias for forward transfer?. arXiv:2303.08207 · ICLR 2023.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2303.08207 · arXiv 2303.08207

@misc{chen2023is,
  title = {{Is forgetting less a good inductive bias for forward transfer?}},
  author = {Jiefeng Chen, Timothy Nguyen, Dilan Gorur and Arslan Chaudhry},
  year = {2023},
  doi = {10.48550/arxiv.2303.08207},
  eprint = {2303.08207},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2303.08207}
}

References

41 references, 6 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuytelaars. Memory aware synapses: Learning what (not) to forget. In ECCV, 2018.
  2. Rahaf Aljundi, Min Lin, Baptiste Goujaud, and Yoshua Bengio. Online continual learning with no task boundaries. arXiv preprint arXiv:1903.08671, 2019.
  3. Shawn Beaulieu, Lapo Frati, Thomas Miconi, Joel Lehman, Kenneth O Stanley, Jeff Clune, and Nick Cheney. Learning to continually learn. arXiv preprint arXiv:2002.09571, 2020. — arXiv:2002.09571 OpenAlex ↗ · Scholar ↗
  4. Léon Bottou. Large-scale machine learning with stochastic gradient descent. In Proceedings of COMPSTAT’2010, pp. 177–186. OpenAlex ↗ · Scholar ↗
  5. Arslan Chaudhry, Marc’Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. ICLR, 2019a. OpenAlex ↗ · Scholar ↗
  6. Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K Dokania, Philip HS Torr, and Marc’Aurelio Ranzato. On tiny episodic memories in continual learning. ICML (MTLRL Workshop), 2019b. OpenAlex ↗ · Scholar ↗
  7. Mehrdad Farajtabar, Navid Azizan, Alex Mott, and Ang Li. Orthogonal gradient descent for continual learning. In International Conference on Artificial Intelligence and Statistics, pp. 3762–3773. PMLR, 2020. OpenAlex ↗ · Scholar ↗
  8. Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International conference on machine learning, pp. 1126–1135. PMLR, 2017.
  9. Ian Goodfellow, Yoshua Bengio, Aaron Courville, and Yoshua Bengio. Deep learning, volume 1. MIT Press, 2016. OpenAlex ↗ · Scholar ↗
  10. Ian J. Goodfellow, Mehdi Mirza, Xia Da, Aaron C. Courville, and Yoshua Bengio. An empirical investigation of catastrophic forgeting in gradient-based neural networks. In 2nd International Conference on Learning Representations, ICLR, 2014. OpenAlex ↗ · Scholar ↗
  11. Raia Hadsell, Dushyant Rao, Andrei A Rusu, and Razvan Pascanu. Embracing change: Continual learning in deep neural networks. Trends in cognitive sciences, 24(12):1028–1040, 2020. OpenAlex ↗ · Scholar ↗
  12. Tyler L Hayes, Nathan D Cahill, and Christopher Kanan. Memory efficient experience replay for streaming learning. arXiv preprint arXiv:1809.05922, 2018. — arXiv:1809.05922 OpenAlex ↗ · Scholar ↗
  13. Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
  14. Khurram Javed and Martha White. Meta-learning representations for continual learning. In Advances in Neural Information Processing Systems, pp. 1820–1830, 2019. OpenAlex ↗ · Scholar ↗
  15. James Kirkpatrick, Razvan Pascanu, Neil C. Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A. Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, Demis Hassabis, Claudia Clopath, Dharshan Kumaran, and Raia Hadsell. Overcoming catastrophic forgetting in neural networks. P… OpenAlex ↗ · Scholar ↗
  16. Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. OpenAlex ↗ · Scholar ↗
  17. Ananya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma, and Percy Liang. Fine-tuning can distort pretrained features and underperform out-of-distribution. In International Conference on Learning Representations, 2021. OpenAlex ↗ · Scholar ↗
  18. Zhiqiu Lin, Jia Shi, Deepak Pathak, and Deva Ramanan. The clear benchmark: Continual learning on real-world imagery. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), 2021. OpenAlex ↗ · Scholar ↗
  19. David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. Advances in neural information processing systems, 30, 2017. OpenAlex ↗ · Scholar ↗
  20. Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. arXiv preprint arXiv:1608.03983, 2016. OpenAlex ↗ · Scholar ↗
  21. Arun Mallya and Svetlana Lazebnik. Packnet: Adding multiple tasks to a single network by iterative pruning. In 2018 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2018, pp. 7765–7773. Computer Vision Foundation / IEEE Computer Society, 2018. OpenAlex ↗ · Scholar ↗
  22. Michael McCloskey and Neal J. Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. Psychology of Learning and Motivation, 24:109–165, 1989. OpenAlex ↗ · Scholar ↗
  23. Sanket Vaibhav Mehta, Darshan Patil, Sarath Chandar, and Emma Strubell. An empirical investigation of the role of pre-training in lifelong learning. arXiv preprint arXiv:2112.09153, 2021. — arXiv:2112.09153 OpenAlex ↗ · Scholar ↗
  24. Seyed Iman Mirzadeh, Mehrdad Farajtabar, Razvan Pascanu, and Hassan Ghasemzadeh. Understanding the role of training regimes in continual learning. In Advances in Neural Information Processing Systems, volume 33, pp. 7308–7320, 2020. OpenAlex ↗ · Scholar ↗
  25. Seyed Iman Mirzadeh, Arslan Chaudhry, Huiyi Hu, Razvan Pascanu, Dilan Gorur, and Mehrdad Farajtabar. Wide neural networks forget less catastrophically. CoRR, abs/2110.11526, 2021a. — arXiv:2110.11526 OpenAlex ↗ · Scholar ↗
  26. Seyed Iman Mirzadeh, Mehrdad Farajtabar, Dilan Gorur, Razvan Pascanu, and Hassan Ghasemzadeh. Linear mode connectivity in multitask and continual learning. In International Conference on Learning Representations, 2021b. OpenAlex ↗ · Scholar ↗
  27. Seyed Iman Mirzadeh, Arslan Chaudhry, Dong Yin, Timothy Nguyen, Razvan Pascanu, Dilan Gorur, and Mehrdad Farajtabar. Architecture matters in continual learning. arXiv preprint arXiv:2202.00275, 2022. — arXiv:2202.00275 OpenAlex ↗ · Scholar ↗
  28. Cuong V Nguyen, Yingzhen Li, Thang D Bui, and Richard E Turner. Variational continual learning. ICLR, 2018. OpenAlex ↗ · Scholar ↗
  29. Ameya Prabhu, Phil H. S. Torr, and P. K. Dokania. GDumb: A simple approach that questions our progress in continual learning. In ECCV, 2020. OpenAlex ↗ · Scholar ↗
  30. Matthew Riemer, Ignacio Cases, Robert Ajemian, Miao Liu, Irina Rish, Yuhai Tu, and Gerald Tesauro. Learning to learn without forgetting by maximizing transfer and minimizing interference. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
  31. Mark B. Ring. Continual learning in reinforcement environments. PhD thesis, University of Texas at Austin, TX, USA, 1995. OpenAlex ↗ · Scholar ↗
  32. David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy P. Lillicrap, and Greg Wayne. Experience replay for continual learning. CoRR, abs/1811.11682, 2018. URL http://arxiv.org/abs/ 1811.11682. arXiv ↗ · OpenAlex ↗ · Scholar ↗
  33. Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211–252, 2015.
  34. Bart Thomee, David A Shamma, Gerald Friedland, Benjamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. Yfcc100m: The new data in multimedia research. Communications of the ACM, 59(2):64–73, 2016.
  35. Sebastian Thrun. A lifelong learning perspective for mobile robot control. In Intelligent robots and systems, pp. 201–214. Elsevier, 1995. OpenAlex ↗ · Scholar ↗
  36. Maciej Wolczyk, Michal Zajac, Razvan Pascanu, Lukasz Kuciński, and Piotr Miloś. Continual world: A robotic benchmark for continual reinforcement learning. Advances in Neural Information Processing Systems, 34:28496–28510, 2021. OpenAlex ↗ · Scholar ↗
  37. Mitchell Wortsman, Vivek Ramanujan, Rosanne Liu, Aniruddha Kembhavi, Mohammad Rastegari, Jason Yosinski, and Ali Farhadi. Supermasks in superposition. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems, NeurIPS, 2020. OpenAlex ↗ · Scholar ↗
  38. Ziyang Wu, Christina Baek, Chong You, and Yi Ma. Incremental learning via rate reduction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1125– 1133, 2021. OpenAlex ↗ · Scholar ↗
  39. Jaehong Yoon, Eunho Yang, Jungtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. In Sixth International Conference on Learning Representations. ICLR, 2018. OpenAlex ↗ · Scholar ↗
  40. Yaodong Yu, Kwan Ho Ryan Chan, Chong You, Chaobing Song, and Yi Ma. Learning diverse and discriminative representations via the principle of maximal coding rate reduction. Advances in Neural Information Processing Systems, 33:9422–9434, 2020. OpenAlex ↗ · Scholar ↗
  41. F. Zenke, B. Poole, and S. Ganguli. Continual learning through synaptic intelligence. In ICML, 2017. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chen-2023-forgetting-less-good-inductive-bias/