Skip to content

Research Articles

Replay Composition in Continual Learning: Uneven Workloads

Nadia Belmere (Machine Learning Laboratory, Kestrelby Institute of Technology), Niko Saltmere (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing)

Vol. 4 No. 1 (2020) · pp. 119–131 · Published 15 September 2020

Abstract

We ask whether reserving replay slots for infrequent previously learned classes performs better than uniform sampling from a fixed replay buffer in a workload with many common cases and a small set of recurring high-cost cases. The evaluation is synthetic. Each configuration is evaluated on the same 200 cases. In the 50 stress cases, two similar class groups must arrive in succession; the rare cases are assessed separately so that the dominant group does not hide their behavior. 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 156 of 200 cases and the alternative passes 159. For the 50 stress cases alone, the counts are 24 and 26, 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, uneven workloads, synthetic evaluation

References

  1. Davies, M., et al. (2018). Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro, 38(1), 82–99. IEEE
  2. French, R. M. (1999). Catastrophic forgetting in connectionist networks. Trends in Cognitive Sciences, 3(4), 128–135.
  3. Furber, S. B., Galluppi, F., Temple, S., & Plana, L. A. (2014). The SpiNNaker project. Proceedings of the IEEE, 102(5), 652–665. DOI
  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. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  8. Lopez-Paz, D., & Ranzato, M. (2017). Gradient episodic memory for continual learning. Advances in Neural Information Processing Systems, 30, 6467–6476.
  9. Ribli, D., Horváth, A., Unger, Z., Pollner, P., & Csabai, I. (2018). Detecting and classifying lesions in mammograms with deep learning. Scientific Reports, 8, Article 4165.
  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. Shafiee, A., et al. (2016). ISAAC: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars. Proceedings of the 43rd Annual International Symposium on Computer Architecture, 14–26. DOI
  12. Shen, Y., et al. (2017). Deep learning with coherent nanophotonic circuits. Nature Photonics, 11, 441–446. Publisher
  13. 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.
  14. Zenke, F., Poole, B., & Ganguli, S. (2017). Continual learning through synaptic intelligence. Proceedings of the 34th International Conference on Machine Learning, 3987–3995.