mlsanityData to 14 Oct 2026

Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning

arXiv 2505.22389 ↗First posted 28 May 2025cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Continual Learning (CL) aims to enable models to continuously acquire new knowledge from a sequence of tasks with avoiding the forgetting of learned information. However, existing CL methods only rely on the parameters of the most recent task for inference, which makes them susceptible to catastrophic forgetting. Inspired by the recent success of model merging techniques, we propose Perturb-and-Merge (P&M), a novel continual learning framework that integrates model merging into the CL paradigm to mitigate forgetting. Specifically, after training on each task, P&M constructs a new model by forming a convex combination of the previous model and the newly trained task-specific model. Through theoretical analysis, We minimize the total loss increase across all tasks and derive a closed-form solution for the merging coefficient under mild assumptions. To further improve the performance of the merged model, we observe that the degradation introduced during merging can be alleviated by a regularization term composed of the task vector and the Hessian matrix of the loss function. Interestingly, we show that this term can be efficiently approximated using second-order symmetric finite differences, and a stochastic perturbation strategy along the task vector direction is accordingly devised which incurs no additional forward or backward passes while providing an effective approximation of the regularization term. Finally, we combine P&M with LoRA, a parameter-efficient fine-tuning method, to reduce memory overhead. Our proposed approach achieves state-of-the-art performance on several continual learning benchmark datasets. The code is available at https://github.com/qhmiao/P-M-for-Continual-Learning.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 54 of its 66 references that are in the map. First posted on arXiv 28 May 2025.

Builds on

54 of 66 references.

References · 54

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  4. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  5. 2019Natural Adversarial Examplescited by 1,408
  6. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  7. 2016Progressive Neural Networkscited by 1,361
  8. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
  9. 2018Continual Lifelong Learning with Neural Networks: A Reviewcited by 1,330
  10. 2022Editing Models with Task Arithmeticcited by 1,120
  11. 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
  12. 2021Learning to Prompt for Continual Learningcited by 944
38 more
  1. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  2. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  3. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
  4. 2021Merging Models with Fisher-Weighted Averagingcited by 621
  5. 2019Gradient based sample selection for online continual learningcited by 571
  6. 2022Continual Test-Time Domain Adaptationcited by 525
  7. 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 450
  8. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
  9. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
  10. 2019Online Continual Learning with Maximally Interfered Retrievalcited by 379
  11. 2019Orthogonal Gradient Descent for Continual Learningcited by 369
  12. 2021Gradient Projection Memory for Continual Learningcited by 348
  13. 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 312
  14. 2019Learn to Grow: A Continual Structure Learning Framework for Overcoming Catastrophic Forgettingcited by 302
  15. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  16. 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 252
  17. 2017Overcoming Catastrophic Forgetting by Incremental Moment Matchingcited by 243
  18. 2019Compacting, Picking and Growing for Unforgetting Continual Learningcited by 207
  19. 2024InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learningcited by 198
  20. 2023SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Modelcited by 180
  21. 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 179
  22. 2023A Unified Continual Learning Framework with General Parameter-Efficient Tuningcited by 125
  23. 2023Hierarchical Decomposition of Prompt-Based Continual Learning: Rethinking Obscured Sub-optimalitycited by 121
  24. 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 120
  25. 2020Continual Learning with Node-Importance based Adaptive Group Sparse Regularizationcited by 105
  26. 2023Deep Model Fusion: A Surveycited by 91
  27. 2023Model Merging by Uncertainty-Based Gradient Matchingcited by 77
  28. 2024MagMax: Leveraging Model Merging for Seamless Continual Learningcited by 67
  29. 2025SD-LoRA: Scalable Decoupled Low-Rank Adaptation for Class Incremental Learningcited by 63
  30. 2024Consistent Prompting for Rehearsal-Free Continual Learningcited by 54
  31. 2023Introducing Language Guidance in Prompt-based Continual Learningcited by 49
  32. 2022Transfer without Forgettingcited by 44
  33. 2022Exploring Example Influence in Continual Learningcited by 44
  34. 2023Weighted Ensemble Models Are Strong Continual Learnerscited by 42
  35. 2024LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Mergingcited by 41
  36. 2021Towards Better Plasticity-Stability Trade-off in Incremental Learning: A Simple Linear Connectorcited by 34
  37. 2024Visual Prompt Tuning in Null Space for Continual Learningcited by 31
  38. 2022On Generalizing Beyond Domains in Cross-Domain Continual Learningcited by 25

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 6.

7 papers.