SAMCL: Empowering SAM to Continually Learn from Dynamic Domains with Extreme Storage Efficiency

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Zeqing, Ji, Kangye, Wang, Di, Zhang, Haibin, Cheng, Fei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915658298556416
author Wang, Zeqing
Ji, Kangye
Wang, Di
Zhang, Haibin
Cheng, Fei
author_facet Wang, Zeqing
Ji, Kangye
Wang, Di
Zhang, Haibin
Cheng, Fei
contents Segment Anything Model (SAM) struggles in open-world scenarios with diverse domains. In such settings, naive fine-tuning with a well-designed learning module is inadequate and often causes catastrophic forgetting issue when learning incrementally. To address this issue, we propose a novel continual learning (CL) method for SAM, termed SAMCL. Rather than relying on a fixed learning module, our method decomposes incremental knowledge into separate modules and trains a selector to choose the appropriate one during inference. However, this intuitive design introduces two key challenges: ensuring effective module learning and selection, and managing storage as tasks accumulate. To tackle these, we introduce two components: AugModule and Module Selector. AugModule reduces the storage of the popular LoRA learning module by sharing parameters across layers while maintaining accuracy. It also employs heatmaps-generated from point prompts-to further enhance domain adaptation with minimal additional cost. Module Selector leverages the observation that SAM's embeddings can effectively distinguish domains, enabling high selection accuracy by training on low-consumed embeddings instead of raw images. Experiments show that SAMCL outperforms state-of-the-art methods, achieving only 0.19% forgetting and at least 2.5% gain on unseen domains. Each AugModule requires just 0.233 MB, reducing storage by at least 24.3% over other fine-tuning approaches. The buffer storage for Module Selector is further reduced by up to 256$\times$.
format Preprint
id arxiv_https___arxiv_org_abs_2412_05012
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SAMCL: Empowering SAM to Continually Learn from Dynamic Domains with Extreme Storage Efficiency
Wang, Zeqing
Ji, Kangye
Wang, Di
Zhang, Haibin
Cheng, Fei
Computer Vision and Pattern Recognition
Segment Anything Model (SAM) struggles in open-world scenarios with diverse domains. In such settings, naive fine-tuning with a well-designed learning module is inadequate and often causes catastrophic forgetting issue when learning incrementally. To address this issue, we propose a novel continual learning (CL) method for SAM, termed SAMCL. Rather than relying on a fixed learning module, our method decomposes incremental knowledge into separate modules and trains a selector to choose the appropriate one during inference. However, this intuitive design introduces two key challenges: ensuring effective module learning and selection, and managing storage as tasks accumulate. To tackle these, we introduce two components: AugModule and Module Selector. AugModule reduces the storage of the popular LoRA learning module by sharing parameters across layers while maintaining accuracy. It also employs heatmaps-generated from point prompts-to further enhance domain adaptation with minimal additional cost. Module Selector leverages the observation that SAM's embeddings can effectively distinguish domains, enabling high selection accuracy by training on low-consumed embeddings instead of raw images. Experiments show that SAMCL outperforms state-of-the-art methods, achieving only 0.19% forgetting and at least 2.5% gain on unseen domains. Each AugModule requires just 0.233 MB, reducing storage by at least 24.3% over other fine-tuning approaches. The buffer storage for Module Selector is further reduced by up to 256$\times$.
title SAMCL: Empowering SAM to Continually Learn from Dynamic Domains with Extreme Storage Efficiency
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2412.05012