SAFE-Merge: Data-Free Continual Model Merging with General Knowledge Preservation

Zihuan Qiu, Zhiyang Liao, Chiyuan He, Yi Xu, Fanman Meng +3 more
8/2/2026
cs.LG
lora-peft-merging

No confident code implementation found for this paper.

Abstract

Data-free continual model merging must incorporate a stream of specialized models while retaining both pretrained general knowledge and previously acquired tasks, without access to task data. Existing methods mainly merge task updates by suppressing interference among downstream tasks; while this protects previously acquired tasks, it overlooks the safety of the pretrained knowledge itself, whose erosion degrades generalization to held-out distributions and weakens the foundation for future task acquisition.

Show full abstract

We propose SAFE-Merge, a simple data-free continual-merging framework that first decides which parameter updates are safe to retain, and then recovers the task information lost through masking. Specifically, to ensure safety, risk-aware sparse masking selects parameter updates that carry task-specific information while posing low risk to general knowledge. Masked low-rank recovery then compensates for the lost task information using only the same retained parameter updates, while leaving all masked-out parameters strictly unchanged. Finally, the combined update is fused into the backbone, incurring no additional inference cost. Across vision and language benchmarks, SAFE-Merge consistently achieves the best H-score. On longer CLIP task sequences, it substantially improves H-score over NUFILT while also achieving the highest accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qiu2026safemerge,
  title  = {SAFE-Merge: Data-Free Continual Model Merging with General Knowledge Preservation},
  author = {Zihuan Qiu and Zhiyang Liao and Chiyuan He and Yi Xu and Fanman Meng and Linfeng Xu and Qingbo Wu and Hongliang Li},
  year   = {2026},
  eprint = {2608.01184},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.01184v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.01184.svg)](https://codeofpaper.com/paper/2608.01184)

Discussion