Skip to content

Research Articles

Replay Composition in Continual Learning: Heterogeneous Partitions

Lina-Mae Alderfen (Machine Learning Laboratory, Valehart Institute of Computational Science), Amari Dovemere (Machine Learning Laboratory, Valehart Institute of Computational Science), Soraya Eastmarsh (Machine Learning Laboratory, Kestrelby Institute of Technology)

Vol. 9 No. 1 (2025) · pp. 17–27 · Published 18 March 2025

Abstract

The comparison uses a collection of partitions with different input and resource profiles to evaluate two choices: reserving replay slots for infrequent previously learned classes and uniform sampling from a fixed replay buffer. All outcomes are synthetic. Each configuration is evaluated on the same 120 cases. In the 30 stress cases, two similar class groups must arrive in succession; held-out partitions are selected before configuration so that tuning cannot target their particular failure cases. A case counts as a pass only if it meets this criterion: accuracy on previously learned classes must stay above the declared floor after adaptation. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. The comparator passes 87 of 120 cases and the alternative passes 94. For the 30 stress cases alone, the counts are 14 and 19, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that more replay of rare classes leaves fewer examples for current classes. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: continual learning, replay, forgetting, heterogeneous partitions, synthetic evaluation

References

  1. Frantar, E., & Alistarh, D. (2023). SparseGPT: Massive language models can be accurately pruned in one-shot. Proceedings of the 40th International Conference on Machine Learning, 10323–10337.
  2. Ganguli, D., et al. (2022). Red teaming language models to reduce harms: Methods, scaling behaviors, and lessons learned. arXiv:2209.07858.
  3. Garg, S., Tsipras, D., Liang, P., & Valiant, G. (2022). What can transformers learn in-context? A case study of simple function classes. Advances in Neural Information Processing Systems, 35.
  4. Goodfellow, I. J., Mirza, M., Xiao, D., Courville, A., & Bengio, Y. (2013). An empirical investigation of catastrophic forgetting in gradient-based neural networks. arXiv:1312.6211.
  5. Kemker, R., McClure, M., Abitino, A., Hayes, T., & Kanan, C. (2017). Measuring catastrophic forgetting in neural networks. arXiv:1708.02072.
  6. Kirkpatrick, J., et al. (2017). Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13), 3521–3526.
  7. Lopez-Paz, D., & Ranzato, M. (2017). Gradient episodic memory for continual learning. Advances in Neural Information Processing Systems, 30, 6467–6476.
  8. Pfeiffer, J., Kamath, A., Rücklé, A., Cho, K., & Gurevych, I. (2020). AdapterFusion: Non-destructive task composition for transfer learning. arXiv:2005.00247.
  9. Qin, Y., et al. (2024). ToolLLM: Facilitating large language models to master 16000+ real-world APIs. International Conference on Learning Representations. Conference paper
  10. Samek, W., Binder, A., Montavon, G., Lapuschkin, S., & Müller, K.-R. (2017). Evaluating the visualization of what a deep neural network has learned. IEEE Transactions on Neural Networks and Learning Systems, 28(11), 2660–2673.
  11. Shao, W., et al. (2024). OmniQuant: Omnidirectionally calibrated quantization for large language models. International Conference on Learning Representations.
  12. Sun, Y., Wang, X., & Tang, X. (2014). Deep learning face representation from predicting 10,000 classes. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1891–1898.
  13. Yala, A., Lehman, C., Schuster, T., Portnoi, T., & Barzilay, R. (2019). A deep learning mammography-based model for improved breast cancer risk prediction. Radiology, 292(1), 60–66.
  14. Ye, S., et al. (2023). FLASK: Fine-grained language model evaluation based on alignment skill sets. arXiv:2307.10928.
  15. Zenke, F., Poole, B., & Ganguli, S. (2017). Continual learning through synaptic intelligence. Proceedings of the 34th International Conference on Machine Learning, 3987–3995.