RegCL: Continual Adaptation of Segment Anything Model via Model Merging

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shu, Yuan-Chen, Lin, Zhiwei, Wang, Yongtao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909691669381120
author Shu, Yuan-Chen
Lin, Zhiwei
Wang, Yongtao
author_facet Shu, Yuan-Chen
Lin, Zhiwei
Wang, Yongtao
contents To address the performance limitations of the Segment Anything Model (SAM) in specific domains, existing works primarily adopt adapter-based one-step adaptation paradigms. However, some of these methods are specific developed for specific domains. If used on other domains may lead to performance degradation. This issue of catastrophic forgetting severely limits the model's scalability. To address this issue, this paper proposes RegCL, a novel non-replay continual learning (CL) framework designed for efficient multi-domain knowledge integration through model merging. Specifically, RegCL incorporates the model merging algorithm into the continual learning paradigm by merging the parameters of SAM's adaptation modules (e.g., LoRA modules) trained on different domains. The merging process is guided by weight optimization, which minimizes prediction discrepancies between the merged model and each of the domain-specific models. RegCL effectively consolidates multi-domain knowledge while maintaining parameter efficiency, i.e., the model size remains constant regardless of the number of tasks, and no historical data storage is required. Experimental results demonstrate that RegCL achieves favorable continual learning performance across multiple downstream datasets, validating its effectiveness in dynamic scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2507_12297
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RegCL: Continual Adaptation of Segment Anything Model via Model Merging
Shu, Yuan-Chen
Lin, Zhiwei
Wang, Yongtao
Machine Learning
Computer Vision and Pattern Recognition
To address the performance limitations of the Segment Anything Model (SAM) in specific domains, existing works primarily adopt adapter-based one-step adaptation paradigms. However, some of these methods are specific developed for specific domains. If used on other domains may lead to performance degradation. This issue of catastrophic forgetting severely limits the model's scalability. To address this issue, this paper proposes RegCL, a novel non-replay continual learning (CL) framework designed for efficient multi-domain knowledge integration through model merging. Specifically, RegCL incorporates the model merging algorithm into the continual learning paradigm by merging the parameters of SAM's adaptation modules (e.g., LoRA modules) trained on different domains. The merging process is guided by weight optimization, which minimizes prediction discrepancies between the merged model and each of the domain-specific models. RegCL effectively consolidates multi-domain knowledge while maintaining parameter efficiency, i.e., the model size remains constant regardless of the number of tasks, and no historical data storage is required. Experimental results demonstrate that RegCL achieves favorable continual learning performance across multiple downstream datasets, validating its effectiveness in dynamic scenarios.
title RegCL: Continual Adaptation of Segment Anything Model via Model Merging
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.12297