mlsanityData to 7 Oct 2026

Routing without Forgetting

arXiv 2603.09576 ↗First posted 10 Mar 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Continual learning in transformers is commonly addressed through parameter-efficient adaptation: prompts, adapters, or LoRA modules are specialized per task while the backbone remains frozen. Although effective in controlled multi-epoch settings, these approaches rely on gradual gradient-based specialization and struggle in Online Continual Learning (OCL), where data arrive as a non-stationary stream and each sample may be observed only once. We recast continual learning in transformers as a routing problem: under strict online constraints, the model must dynamically select the appropriate representational subspace for each input without explicit task identifiers or repeated optimization. We thus introduce Routing without Forgetting (RwF), a transformer architecture augmented with energy-based associative retrieval layers inspired by Modern Hopfield Networks. Instead of storing or merging task-specific prompts, RwF generates dynamic prompts through single-step associative retrieval over the transformer token embeddings at each layer. Retrieval corresponds to the closed-form minimization of a strictly convex free-energy functional, enabling input-conditioned routing within each forward pass, independently of iterative gradient refinement. Across challenging class-incremental benchmarks, RwF improves over existing prompt-based methods. On Split-ImageNet-R and Split-ImageNet-S, RwF outperforms prior prompt-based approaches by a large margin, even in few-shot learning regimes. These results indicate that embedding energy-based associative routing directly within the transformer backbone provides a principled and effective foundation for OCL.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 34 of its 46 references that are in the map. First posted on arXiv 10 Mar 2026.

Builds on

34 of 46 references.

References · 34

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  3. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  4. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  5. 2016Learning without Forgettingcited by 2,465
  6. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
  7. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  8. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  9. 2022Visual Prompt Tuningcited by 1,674
  10. 2018Efficient Lifelong Learning with A-GEMcited by 1,044
  11. 2021Learning to Prompt for Continual Learningcited by 938
  12. 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 895
22 more
  1. 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 734
  2. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 635
  3. 2019Gradient based sample selection for online continual learningcited by 568
  4. 2020Hopfield Networks is All You Needcited by 461
  5. 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 446
  6. 2019Online Continual Learning with Maximally Interfered Retrievalcited by 376
  7. 2019On Tiny Episodic Memories in Continual Learningcited by 299
  8. 2022FOSTER: Feature Boosting and Compression for Class-Incremental Learningcited by 228
  9. 2021New Insights on Reducing Abrupt Representation Change in Online Continual Learningcited by 215
  10. 2024InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learningcited by 189
  11. 2023Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Needcited by 183
  12. 2020Using Hindsight to Anchor Past Knowledge in Continual Learningcited by 160
  13. 2022A Model or 603 Exemplars: Towards Memory-Efficient Class-Incremental Learningcited by 152
  14. 2022Class-Incremental Continual Learning into the eXtended DER-versecited by 121
  15. 2024Expandable Subspace Ensemble for Pre-Trained Model-Based Class-Incremental Learningcited by 115
  16. 2021Large-scale Unsupervised Semantic Segmentationcited by 98
  17. 2023PCR: Proxy-based Contrastive Replay for Online Class-Incremental Continual Learningcited by 50
  18. 2024Divide and not forget: Ensemble of selectively trained experts in Continual Learningcited by 38
  19. 2024Online-LoRA: Task-free Online Continual Learning via Low Rank Adaptationcited by 26
  20. 2023A Comprehensive Empirical Evaluation on Online Continual Learningcited by 24
  21. 2023Improving Online Continual Learning Performance and Stability with Temporal Ensemblescited by 14
  22. 2023Wake-Sleep Consolidated Learningcited by 4

Built on by

Not cited yet.