Gradient Episodic Memory for Continual Learning
Open accessAbstract
One major obstacle towards AI is the poor ability of models to solve new problems quicker, and without forgetting previously acquired knowledge. To better understand this issue, we study the problem of continual learning, where the model observes, once and one by one, examples concerning a sequence of tasks. First, we propose a set of metrics to evaluate models learning over a continuum of data. These metrics characterize models not only by their test accuracy, but also in terms of their ability to transfer knowledge across tasks. Second, we propose a model for continual learning, called Gradient Episodic Memory (GEM) that alleviates forgetting, while allowing beneficial transfer of knowledge to previous tasks. Our experiments on variants of the MNIST and CIFAR-100 datasets demonstrate the strong performance of GEM when compared to the state-of-the-art.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Rehearsal-based approaches allow access to a memory buffer with examples from prior tasks and train the model jointly with the current task.
“Rehearsalbased approaches (Lopez-Paz and Ranzato, 2017; de Masson D'Autume et al., 2019) allow access to a memory buffer with examples from prior tasks and train the model jointly with the current task.”
From Orthogonal Subspace Learning for Language Model Continual Learning (2023) · cites this paper as Lopez-Paz and Ranzato, 2017
Section 3 (p. 3) says GEM stores examples from prior tasks in episodic memory. But it explicitly uses losses on those examples as constraints while optimizing the current example, rather than jointly minimizing losses on old and current examples. Section 5 (p. 8) also describes other episodic-memory approaches that store and replay prior examples. (LLM, conf=0.88)
Experimental — accuracy not yet measuredIn parametric continual learning, the central difficulty is interference in weight space, where learning new tasks can overwrite knowledge useful for old ones, leading to the stability-plasticity dilemma.
“In parametric CL, the central difficulty is interference in weight space: learning new tasks can overwrite knowledge useful for old ones, leading to the well-known stability-plasticity dilemma (Kirkpatrick et al., 2017; Lopez-Paz and Ranzato, 2017; Wang et al., 2024a).”
From When Continual Learning Moves to Memory: A Study of Experience Reuse in LLM Agents (2026) · cites this paper as Lopez-Paz and Ranzato, 2017
Non-parametric episodic memory can serve as rehearsal samples to alleviate catastrophic forgetting in parametric memory.
“Additionally, non-parametric episodic memory can serve as rehearsal samples to alleviate catastrophic forgetting in parametric memory [138, 139, 141].”
From Human-inspired Perspectives: A Survey on AI Long-term Memory (2024) · cites this paper as [138]
Classical continual learning methods typically treat memory as a static mechanism for knowledge retention.
“but they typically treat memory as a static mechanism for knowledge retention.”
From A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents (2026) · cites this paper as Lopez-Paz & Ranzato, 2017
Lopez-Paz and Ranzato employ episodic memory and loss constraints to prevent the degradation of performance on previous tasks while learning new ones.
“Lopez-Paz and Ranzato [2] employ episodic memory and loss constraints to prevent the degradation of performance on previous tasks while learning new ones.”
From GPT-based lifelong learning and ANFIS-driven reply memory ratio prediction for aspect-based sentiment analysis (2025) · cites this paper as [2]
Lopez-Paz and Ranzato introduce evaluation metrics such as Average Accuracy (ACC) and Backward Transfer (BWT) to assess the effectiveness of continual learning.
“They also introduce evaluation metrics such as Average Accuracy (ACC) and Backward Transfer (BWT) to assess the effectiveness of continual learning.”
From GPT-based lifelong learning and ANFIS-driven reply memory ratio prediction for aspect-based sentiment analysis (2025) · cites this paper as [2]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Part of this paper’s reference list could not be split into single entries.
McClelland, J. L., McNaughton, B. L., & O'Reilly, R. C. (1995) · Psychological Review · doi:10.1037/0033-295x.102.3.419 · Cited by 5,256 · see citing works
Flagged first, then by citations
Research works printed but not linked: 1
- [13]13. S.-A. Rebuffi, A. Kolesnikov, G. Sperl, and C. H. Lampert. iCaRL: Incremental classifier and representation learning. CVPR , 2017. - M. B. Ring. Continual Learning in Reinforcement Environments . PhD thesis, University of Texas at Austin, Austin, Texas 78712, 1994. - M. B. Ring. CHILD: A first step towards continual learning. Machine Learning , 1997. - A. A. Rusu, N. C. Rabinowitz, G. Desjardins, H. Soyer, J. Kirkpatrick, K. Kavukcuoglu, R. Pascanu, and R. Hadsell. Progressive neural networks. NIPS , 2016. - P. Ruvolo and E. Eaton. ELLA: An Efficient Lifelong Learning Algorithm. ICML , 2013. - A. Santoro, S. Bartunov, M. Botvinick, D. Wierstra, and T. Lillicrap. One-shot learning with memory-augmented neural networks. arXiv , 2016. - T. Schaul, D. Horgan, K. Gregor, and D. Silver. Universal value function approximators. ICML , 2015. - B. Scholkopf and A. J. Smola. Learning with kernels: support vector machines, regularization, optimization, and beyond . MIT press, 2001. - B. Schölkopf, D. Janzing, and D. Lopez-Paz. Causal and statistical learning. In Learning Theory and Approximation . Oberwolfach Research Institute for Mathematics, 2016. - R. S. Sutton, J. Modayil, M. Delp, T. Degris, P. M. Pilarski, A. White, and D. Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. The 10th International Conference on Autonomous Agents and Multiagent Systems , 2011. - S. Thrun. A lifelong learning perspective for mobile robot control. Proceedings of the IEEE/RSJ/GI Conference on Intelligent Robots and Systems , 1994. - S. Thrun. Is learning the n-th thing any easier than learning the first? NIPS , 1996. - S. Thrun. Lifelong learning algorithms. In Learning to learn . Springer, 1998. - S. Thrun and L. Pratt. Learning to learn . Springer Science & Business Media, 2012. - V. Vapnik. Statistical learning theory . Wiley New York, 1998. - O. Vinyals, C. Blundell, T. Lillicrap, and D. Wierstra. Matching networks for one shot learning. NIPS , 2016. - F. Zenke, B. Poole, and S. Ganguli. Improved multitask learning through synaptic intelligence. arXiv , 2017.
Cited by
Sorted by citations
Continual lifelong learning with neural networks: A review
Parisi, G. I., Kemker, R., Part, J. L., Kanan, C., & Wermter, S. (2019) · Neural Networks · doi:10.1016/j.neunet.2019.01.012 · Cited by 3,117 · see citing works
Memory Aware Synapses: Learning What (not) to Forget
Aljundi, R., Babiloni, F., Elhoseiny, M., Rohrbach, M., & Tuytelaars, T. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01219-9_9 · Cited by 1,590 · see citing works
Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigence
Chaudhry, A., Dokania, P. K., Ajanthan, T., & Torr, P. H. S. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01252-6_33 · Cited by 1,091 · see citing works
A Comprehensive Survey of Continual Learning: Theory, Method and Application
Wang, L., Zhang, X., Su, H., & Zhu, J. (2024) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2024.3367329 · Cited by 1,113 · see citing works
“Overall performance is typically evaluated by average accuracy (AA) [44], [45] and average incremental accuracy (AIA) [46], [47].”
BackgroundMethodInfluentialDigital Twins: State of the art theory and practice, challenges, and open research questions
Sharma, A., Kosasih, E., Zhang, J., Brintrup, A., & Calinescu, A. (2022) · Journal of Industrial Information Integration · doi:10.1016/j.jii.2022.100383 · Cited by 587 · see citing works
TimeLMs: Diachronic Language Models from Twitter
Loureiro, D., Barbieri, F., Neves, L., Espinosa Anke, L., & Camacho-collados, J. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.18653/v1/2022.acl-demo.25 · Cited by 263 · see citing works
Parameter-Efficient Transfer Learning with Diff Pruning
Guo, D., Rush, A., & Kim, Y. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.378 · Cited by 220 · see citing works
Topology-Preserving Class-Incremental Learning
Tao, X., Chang, X., Hong, X., Wei, X., & Gong, Y. (2020) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-58529-7_16 · Cited by 162 · see citing works
Loss of plasticity in deep continual learning
Dohare, S., Hernandez-Garcia, J. F., Lan, Q., Rahman, P., Mahmood, A. R., & Sutton, R. S. (2024) · Nature · doi:10.1038/s41586-024-07711-7 · Cited by 172 · see citing works
Incremental learning for the detection and classification of GAN-generated images
Marra, F., Saltori, C., Boato, G., & Verdoliva, L. (2019) · 2019 IEEE International Workshop on Information Forensics and Security (WIFS) · doi:10.1109/wifs47025.2019.9035099 · Cited by 154 · see citing works
An Appraisal of Incremental Learning Methods
Luo, Y., Yin, L., Bai, W., & Mao, K. (2020) · Entropy · doi:10.3390/e22111190 · Cited by 120 · see citing works
Continual Relation Learning via Episodic Memory Activation and Reconsolidation
Han, X., Dai, Y., Gao, T., Lin, Y., Liu, Z., Li, P., Sun, M., & Zhou, J. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.573 · Cited by 104 · see citing works
Orthogonal Subspace Learning for Language Model Continual Learning
Wang, X., Chen, T., Ge, Q., Xia, H., Bao, R., Zheng, R., Zhang, Q., Gui, T., & Huang, X. (2023) · Findings of the Association for Computational Linguistics: EMNLP 2023 · doi:10.18653/v1/2023.findings-emnlp.715 · Cited by 79 · see citing works
Catastrophic Forgetting in Deep Learning: A Comprehensive Taxonomy
Aleixo, E. L., Colonna, J. G., Cristo, M., & Fernandes, E. (2023) · arXiv · doi:10.48550/arxiv.2312.10549 · Cited by 54
Catastrophic Forgetting in Deep Learning: A Comprehensive Taxonomy
Aleixo, E. L., Colonna, J. G., Cristo, M., & Fernandes, E. (2024) · Journal of the Brazilian Computer Society · doi:10.5753/jbcs.2024.3966 · Cited by 54 · see citing works
Continual Learning for Generative Retrieval over Dynamic Corpora
Chen, J., Zhang, R., Guo, J., de Rijke, M., Chen, W., Fan, Y., & Cheng, X. (2023) · Proceedings of the 32nd ACM International Conference on Information and Knowledge Management · doi:10.1145/3583780.3614821 · Cited by 40 · see citing works
Continual learning of longitudinal health records
Armstrong, J., & Clifton, D. A. (2022) · 2022 IEEE-EMBS International Conference on Biomedical and Health Informatics (BHI) · doi:10.1109/bhi56158.2022.9926878 · Cited by 21 · see citing works
Open-world continual learning: Unifying novelty detection and continual learning
Kim, G., Xiao, C., Konishi, T., Ke, Z., & Liu, B. (2025) · Artificial Intelligence · doi:10.1016/j.artint.2024.104237 · Cited by 19 · see citing works
Data Augmented Flatness-aware Gradient Projection for Continual Learning
Yang, E., Shen, L., Wang, Z., Liu, S., Guo, G., & Wang, X. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.00518 · Cited by 18 · see citing works
Self-Net: Lifelong Learning via Continual Self-Modeling
Mandivarapu, J. K., Camp, B., & Estrada, R. (2020) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2020.00019 · Cited by 14 · see citing works
Learning With Sharing: An Edge-Optimized Incremental Learning Method for Deep Neural Networks
Hussain, M. A., Huang, S.-A., & Tsai, T.-H. (2023) · IEEE Transactions on Emerging Topics in Computing · doi:10.1109/tetc.2022.3210905 · Cited by 11 · see citing works
Revisiting Flatness-Aware Optimization in Continual Learning With Orthogonal Gradient Projection
Yang, E., Shen, L., Wang, Z., Liu, S., Guo, G., Wang, X., & Tao, D. (2025) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2025.3539019 · Cited by 5 · see citing works
YOLO-IOD: Towards Real Time Incremental Object Detection
Zhang, S., Lv, X., Xing, Y., Wu, Q., Xu, D., Zhao, C., & Zhang, Y. (2026) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v40i15.38271 · Cited by 4 · see citing works
Human-inspired Perspectives: A Survey on AI Long-term Memory
He, Z., Lin, W., Zheng, H., Zhang, F., Jones, M. W., Aitchison, L., Xu, X., Liu, M., Kristensson, P. O., & Shen, J. (2024) · arXiv · doi:10.48550/arxiv.2411.00489 · Cited by 3 · see citing works
“These samples can either be sourced directly from the original data [131, 132, 133, 135, 136, 137] or generated synthetically [134, 138, 137, 106].”
The Future of Continual Learning in the Era of Foundation Models: Three Key Directions
Bell, J., Quarantiello, L., Coleman, E. N., Li, L., Li, M., Madeddu, M., Piccoli, E., & Lomonaco, V. (2025) · arXiv · doi:10.48550/arxiv.2506.03320 · Cited by 2
End-to-End Test-Time Training for Long Context
Tandon, A., Dalal, K., Li, X., Koceja, D., Rød, M., Buchanan, S., Wang, X., Leskovec, J., Koyejo, S., Hashimoto, T., et al. (2025) · arXiv
“Conventionally, continual learning as a research field has focused on learning from a distribution that gradually changes over time [68, 96, 33].”
When Continual Learning Moves to Memory: A Study of Experience Reuse in LLM Agents
Hu, Q., Long, Q., & Wang, W. (2026) · arXiv · doi:10.48550/arxiv.2604.27003
“In parametric CL, the central difficulty is interference in weight space: learning new tasks can overwrite knowledge useful for old ones, leading to the well-known stability–plasticity dilemma (Kirkpatrick et al., 2017; Lopez-Paz and Ranzato, 2017; Wang et al., 2024a).”
Zhou, S., & Li, Q. (2025) · Scientific Reports · doi:10.1038/s41598-025-31685-9
A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents
Huang, W.-C., Zhang, W., Liang, Y., Bei, Y., Chen, Y., Feng, T., Pan, X., Tan, Z., Wang, Y., Wei, T., et al. (2026) · arXiv · doi:10.48550/arxiv.2602.06052
Huang, H., Ye, X., Mustafa, M. B., Dong, Q., Li, Y., Asemi, A., & Asemi, A. (2025) · Complex & Intelligent Systems · doi:10.1007/s40747-025-02086-2
Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory
Suzgun, M., Yuksekgonul, M., Bianchi, F., Jurafsky, D., & Zou, J. (2025) · arXiv · doi:10.48550/arxiv.2504.07952
- Authors
- Lopez-Paz, D., & Ranzato, M.
- Affiliations
- Meta (Israel) (IL)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2017
- Volume
- 30
- Pages
- 6467-6476
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1706.08840
- OpenAlex
- W2734314755
- Cited by
- 1,403
- References
- 1
- Citations by year
- 2026: 2 · 2025: 174 · 2024: 283 · 2023: 336 · 2022: 215 · 2021: 213 · 2020: 110 · 2019: 47 · 2018: 22 · 2017: 1
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- neural information processing systems
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Physical Sciences › Computer Science › Artificial Intelligence › Reinforcement Learning in Robotics
- Life Sciences › Neuroscience › Cognitive Neuroscience › Memory Processes and Influences
- Keywords
- continual learning, catastrophic forgetting, episodic memory, knowledge transfer, sequence-to-sequence learning
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review