Elamur Research

Online Continual Learning with Maximally Interfered Retrieval

Paper · 2019 · Rahaf Aljundi, Lucas Caccia, Eugene Belilovsky et al.

Summary

The paper deals with online continual learning. The model receives a stream of data whose distribution changes over time and sees each example only once. This makes it prone to catastrophic forgetting. Replay methods usually add random old examples to the new batch, taken either from a memory buffer or generated by a model. The authors propose MIR (Maximally Interfered Retrieval). First, the method estimates how the parameters would change after a gradient step on the new batch. It then selects for replay the old examples whose loss this step would increase the most. The criterion is implemented in three variants. The first is experience replay (ER) with a buffer filled via reservoir sampling. The second is VAE-based generative replay, where the search is carried out in the latent space. The third is a hybrid scheme in which an autoencoder stores compressed representations. Experiments are conducted on MNIST Split, Permuted MNIST and CIFAR-10. MIR consistently outperforms random selection and noticeably reduces forgetting. The value of the work is that replay becomes targeted while the computational budget stays the same. The code is publicly available.

Key points

  • ER-MIR: C candidates are first drawn at random from memory, and B examples are selected from them (C > B). The selection is based on how much the loss would increase after a virtual update. There is also a variant in which the comparison is made against the lowest loss the example has had so far.
  • GEN-MIR: latent points are optimized with three components: the KL divergence between the predictions of the old and the updated model, an entropy penalty, and a diversity constraint. On Permuted MNIST this variant achieved the best result among all models. In the ablation on MNIST Split it gives 83.0 versus 80.0 for plain GEN. Without the entropy term H(y_pre), accuracy drops to 78.3.
  • The generator also forgets less. The negative ELBO decreased from 107.2 to 102.5 on MNIST Split and from 196.7 to 193.7 on Permuted MNIST.
  • Hybrid approach on CIFAR-10: a latent code of size 4×4×20 = 320 compresses an image roughly 9.6 times. As a result, the buffer holds 1k / 5k / 10k compressed samples instead of 100 / 500 / 1k real ones. AE-MIR has almost the same average accuracy as AE-Random but forgets considerably less. An important trick: new real data are also passed through the autoencoder. Otherwise the classifier learns to distinguish reconstructions from real images and uses this as a cue.
  • Code: github.com/optimass/Maximally Interfered Retrieval

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

 Shelves 2The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 works

 Topics 1Research subjects and languages the work is about.Information retrieval & search · 561 works

Cite

Cite as Rahaf Aljundi, Lucas Caccia, Eugene Belilovsky, Massimo Caccia, Min Lin, Laurent Charlin and Tinne Tuytelaars. 2019. Online Continual Learning with Maximally Interfered Retrieval. arXiv:1908.04742 · NeurIPS 2019.

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

@misc{aljundi2019online,
  title = {{Online Continual Learning with Maximally Interfered Retrieval}},
  author = {Rahaf Aljundi, Lucas Caccia, Eugene Belilovsky, Massimo Caccia, Min Lin, Laurent Charlin and Tinne Tuytelaars},
  year = {2019},
  doi = {10.48550/arxiv.1908.04742},
  eprint = {1908.04742},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1908.04742}
}

References

42 references, from the paper's own bibliography.

  1. Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuytelaars. Memory aware synapses: Learning what (not) to forget. In ECCV 2018, a. our card
  2. Rahaf Aljundi, Klaas Kelchtermans, and Tinne Tuytelaars. Task-free continual learning. In CVPR 2019, b. our card
  3. Rahaf Aljundi, Min Lin, Baptiste Goujaud, and Yoshua Bengio. Online continual learning with no task boundaries. In arXiv, c. OpenAlex ↗ · Scholar ↗
  4. Rahaf Aljundi, Punarjay Chakravarty, and Tinne Tuytelaars. Expert gate: Lifelong learning with a network of experts. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. our card
  5. Rahaf Aljundi, Min Lin, Baptiste Goujaud, and Yoshua Bengio. Online continual learning with no task boundaries. arXiv preprint arXiv:1903.08671, 2019. OpenAlex ↗ · Scholar ↗
  6. Arslan Chaudhry, Marc'Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. In ICLR 2019. OpenAlex ↗ · Scholar ↗
  7. Arslan Chaudhry, Puneet K Dokania, Thalaiyasingam Ajanthan, and Philip HS Torr. Riemannian walk for incremental learning: Understanding forgetting and intransigence. arXiv preprint arXiv:1801.10112, 2018. OpenAlex ↗ · Scholar ↗
  8. Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K Dokania, Philip HS Torr, and Marc'Aurelio Ranzato. Continual learning with tiny episodic memories. arXiv preprint arXiv:1902.10486, 2019. OpenAlex ↗ · Scholar ↗
  9. Sebastian Farquhar and Yarin Gal. Towards robust evaluations of continual learning. arXiv preprint arXiv:1805.09733, 2018. our card
  10. Robert M French. Semi-distributed representations and catastrophic forgetting in connectionist networks. Connection Science, 40 (3-4):0 365–377, 1992. OpenAlex ↗ · Scholar ↗
  11. Robert M French. Dynamically constraining connectionist networks to produce distributed, orthogonal representations to reduce catastrophic interference. network, 1111:0 00001, 1994. OpenAlex ↗ · Scholar ↗
  12. Robert M French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 30 (4):0 128–135, 1999. OpenAlex ↗ · Scholar ↗
  13. Ian J Goodfellow, Mehdi Mirza, Da Xiao, Aaron Courville, and Yoshua Bengio. An empirical investigation of catastrophic forgetting in gradient-based neural networks. arXiv preprint arXiv:1312.6211, 2013. OpenAlex ↗ · Scholar ↗
  14. Stephen Grossberg. Studies of mind and brain : neural principles of learning, perception, development, cognition, and motor control. Boston studies in the philosophy of science 70. Reidel, Dordrecht, 1982. ISBN 9027713596. OpenAlex ↗ · Scholar ↗
  15. Christopher J Honey, Ehren L Newman, and Anna C Schapiro. Switching between internal and external modes: a multiscale learning principle. Network Neuroscience, 10 (4):0 339–356, 2017. OpenAlex ↗ · Scholar ↗
  16. Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. our card
  17. James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. arXiv preprint arXiv:1612.00796, 2016. our card
  18. James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, page 201611835, 2017. our card
  19. Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012. our card
  20. John K Kruschke. Alcove: an exemplar-based connectionist model of category learning. Psychological review, 990 (1):0 22, 1992. OpenAlex ↗ · Scholar ↗
  21. John K Kruschke. Human category learning: Implications for backpropagation models. Connection Science, 50 (1):0 3–36, 1993. OpenAlex ↗ · Scholar ↗
  22. Frantzeska Lavda, Jason Ramapuram, Magda Gregorova, and Alexandros Kalousis. Continual classification learning using generative models, 2018. OpenAlex ↗ · Scholar ↗
  23. Timothée Lesort, Hugo Caselles-Dupré, Michael Garcia-Ortiz, Andrei Stoian, and David Filliat. Generative models from the perspective of continual learning. arXiv preprint arXiv:1812.09111, 2018. OpenAlex ↗ · Scholar ↗
  24. Timothée Lesort, Alexander Gepperth, Andrei Stoian, and David Filliat. Marginal replay vs conditional replay for continual learning. In International Conference on Artificial Neural Networks, pages 466–480. Springer, 2019. OpenAlex ↗ · Scholar ↗
  25. Zhizhong Li and Derek Hoiem. Learning without forgetting. In European Conference on Computer Vision, pages 614–629. Springer, 2016. OpenAlex ↗ · Scholar ↗
  26. Kuhl BA Long NM. Decoding the tradeoff between encoding and retrieval to predict memory for overlapping events. In SSRN 3265727. 2018 Oct 13. OpenAlex ↗ · Scholar ↗
  27. David Lopez-Paz et al. Gradient episodic memory for continual learning. In Advances in Neural Information Processing Systems, pages 6467–6476, 2017. OpenAlex ↗ · Scholar ↗
  28. JAMES L McCLELLAND. Complementary learning systems in the brain: A connectionist approach to explicit and implicit cognition and memory. Annals of the New York Academy of Sciences, 8430 (1):0 153–169, 1998. OpenAlex ↗ · Scholar ↗
  29. Cuong V Nguyen, Yingzhen Li, Thang D Bui, and Richard E Turner. Variational continual learning. arXiv preprint arXiv:1710.10628, 2017. OpenAlex ↗ · Scholar ↗
  30. Jason Ramapuram, Magda Gregorova, and Alexandros Kalousis. Lifelong generative modeling. arXiv preprint arXiv:1705.09847, 2017. OpenAlex ↗ · Scholar ↗
  31. Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. icarl: Incremental classifier and representation learning. In Proc. CVPR, 2017. OpenAlex ↗ · Scholar ↗
  32. Matthew Riemer, Tim Klinger, Djallel Bouneffouf, and Michele Franceschini. Scalable recollections for continual lifelong learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 1352–1359, 2019. OpenAlex ↗ · Scholar ↗
  33. Anthony Robins. Catastrophic forgetting, rehearsal and pseudorehearsal. Connection Science, 70 (2):0 123–146, 1995. OpenAlex ↗ · Scholar ↗
  34. David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy P. Lillicrap, and Greg Wayne. Experience replay for continual learning. CoRR, abs/1811.11682, 2018a. URL http://arxiv.org/abs/1811.11682. OpenAlex ↗ · Scholar ↗
  35. David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy P. Lillicrap, and Greg Wayne. Experience replay for continual learning, 2018b. OpenAlex ↗ · Scholar ↗
  36. Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016. OpenAlex ↗ · Scholar ↗
  37. Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual learning with deep generative replay. In Advances in Neural Information Processing Systems, pages 2990–2999, 2017. OpenAlex ↗ · Scholar ↗
  38. Steven A Sloman and David E Rumelhart. Reducing interference in distributed memories through episodic gating. Essays in honor of WK Estes, 1:0 227–248, 1992. OpenAlex ↗ · Scholar ↗
  39. Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in neural information processing systems, pages 3630–3638, 2016. our card
  40. Ju Xu and Zhanxing Zhu. Reinforced continual learning. arXiv preprint arXiv:1805.12369, 2018. OpenAlex ↗ · Scholar ↗
  41. Friedemann Zenke, Ben Poole, and Surya Ganguli. Improved multitask learning through synaptic intelligence. In Proceedings of the International Conference on Machine Learning (ICML), 2017a. OpenAlex ↗ · Scholar ↗
  42. Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. arXiv preprint arXiv:1703.04200, 2017b. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/aljundi-2019-online-continual-learning-maximally-interfered/