Research Articles
Replay Composition in Continual Learning: Bursty Inputs
Mara Ivermere (Machine Learning Laboratory, Cairnwell Research Institute), Ravi Havenford (Machine Learning Laboratory, Ivermere University), Tomas Alderfen (Machine Learning Laboratory, Thornmere Polytechnic)
Vol. 8 No. 1 (2024) · pp. 136–149 · Published 24 September 2024
Abstract
The comparison uses an input stream alternating between quiet periods and peaks 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 240 cases. In the 60 stress cases, two similar class groups must arrive in succession; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 first configuration passes 172 of 240 cases, versus 171 for the comparator. In the stress subset, the respective counts are 38 and 35 of 60. The alternative exceeds the comparator overall by 0.4 percentage points. The practical trade-off is that more replay of rare classes leaves fewer examples for current classes. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: continual learning, replay, forgetting, bursty inputs, synthetic evaluation
References
- Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
- French, R. M. (1999). Catastrophic forgetting in connectionist networks. Trends in Cognitive Sciences, 3(4), 128–135.
- Ganguli, D., et al. (2022). Red teaming language models to reduce harms: Methods, scaling behaviors, and lessons learned. arXiv:2209.07858.
- 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.
- 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.
- Kemker, R., McClure, M., Abitino, A., Hayes, T., & Kanan, C. (2017). Measuring catastrophic forgetting in neural networks. arXiv:1708.02072.
- Kirkpatrick, J., et al. (2017). Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13), 3521–3526.
- Leviathan, Y., Kalman, M., & Matias, Y. (2023). Fast inference from transformers via speculative decoding. Proceedings of the 40th International Conference on Machine Learning, PMLR 202, 19274–19286. Source
- Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
- Lopez-Paz, D., & Ranzato, M. (2017). Gradient episodic memory for continual learning. Advances in Neural Information Processing Systems, 30, 6467–6476.
- Pfeiffer, J., Kamath, A., Rücklé, A., Cho, K., & Gurevych, I. (2020). AdapterFusion: Non-destructive task composition for transfer learning. arXiv:2005.00247.
- 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.
- 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.
- Zenke, F., Poole, B., & Ganguli, S. (2017). Continual learning through synaptic intelligence. Proceedings of the 34th International Conference on Machine Learning, 3987–3995.
