mlsanityData to 7 Oct 2026

Transformers for Supervised Online Continual Learning

arXiv 2403.01554 ↗First posted 3 Mar 2024cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Transformers have become the dominant architecture for sequence modeling tasks such as natural language processing or audio processing, and they are now even considered for tasks that are not naturally sequential such as image classification. Their ability to attend to and to process a set of tokens as context enables them to develop in-context few-shot learning abilities. However, their potential for online continual learning remains relatively unexplored. In online continual learning, a model must adapt to a non-stationary stream of data, minimizing the cumulative nextstep prediction loss. We focus on the supervised online continual learning setting, where we learn a predictor xt rightarrow yt for a sequence of examples (xt, yt). Inspired by the in-context learning capabilities of transformers and their connection to meta-learning, we propose a method that leverages these strengths for online continual learning. Our approach explicitly conditions a transformer on recent observations, while at the same time online training it with stochastic gradient descent, following the procedure introduced with Transformer-XL. We incorporate replay to maintain the benefits of multi-epoch training while adhering to the sequential protocol. We hypothesize that this combination enables fast adaptation through in-context learning and sustained longterm improvement via parametric learning. Our method demonstrates significant improvements over previous state-of-the-art results on CLOC, a challenging large-scale real-world benchmark for image geo-localization.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 17 of its 31 references that are in the map. First posted on arXiv 3 Mar 2024.

Builds on

17 of 31 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022In-context Learning and Induction Headscited by 930
  3. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  4. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  5. 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 359
  6. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  7. 2023Understanding plasticity in neural networkscited by 170
  8. 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 72
  9. 2019Meta-learning of Sequential Strategiescited by 68
  10. 2020Meta-trained agents implement Bayes-optimal agentscited by 37
  11. 2023Online Continual Learning Without the Storage Constraintcited by 29
  12. 2022Challenging Common Assumptions about Catastrophic Forgettingcited by 20
5 more
  1. 2023Memory-Based Meta-Learning on Non-Stationary Distributionscited by 14
  2. 2022Sequential Learning Of Neural Networks for Prequential MDLcited by 13
  3. 2023Kalman Filter for Online Classification of Non-Stationary Datacited by 13
  4. 2023Recasting Continual Learning as Sequence Modelingcited by 11
  5. 2022Prospective Learning: Principled Extrapolation to the Futurecited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 0; 2026: 1.

5 papers.