Task-Aware Low-Rank Adaptation of Segment Anything Model

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Xuehao, Ye, Feiyang, Zhang, Yu
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911800305385472
author Wang, Xuehao
Ye, Feiyang
Zhang, Yu
author_facet Wang, Xuehao
Ye, Feiyang
Zhang, Yu
contents The Segment Anything Model (SAM), with its remarkable zero-shot capability, has been proven to be a powerful foundation model for image segmentation tasks, which is an important task in computer vision. However, the transfer of its rich semantic information to multiple different downstream tasks remains unexplored. In this paper, we propose the Task-Aware Low-Rank Adaptation (TA-LoRA) method, which enables SAM to work as a foundation model for multi-task learning. Specifically, TA-LoRA injects an update parameter tensor into each layer of the encoder in SAM and leverages a low-rank tensor decomposition method to incorporate both task-shared and task-specific information. Furthermore, we introduce modified SAM (mSAM) for multi-task learning where we remove the prompt encoder of SAM and use task-specific no mask embeddings and mask decoder for each task. Extensive experiments conducted on benchmark datasets substantiate the efficacy of TA-LoRA in enhancing the performance of mSAM across multiple downstream tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2403_10971
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Task-Aware Low-Rank Adaptation of Segment Anything Model
Wang, Xuehao
Ye, Feiyang
Zhang, Yu
Computer Vision and Pattern Recognition
The Segment Anything Model (SAM), with its remarkable zero-shot capability, has been proven to be a powerful foundation model for image segmentation tasks, which is an important task in computer vision. However, the transfer of its rich semantic information to multiple different downstream tasks remains unexplored. In this paper, we propose the Task-Aware Low-Rank Adaptation (TA-LoRA) method, which enables SAM to work as a foundation model for multi-task learning. Specifically, TA-LoRA injects an update parameter tensor into each layer of the encoder in SAM and leverages a low-rank tensor decomposition method to incorporate both task-shared and task-specific information. Furthermore, we introduce modified SAM (mSAM) for multi-task learning where we remove the prompt encoder of SAM and use task-specific no mask embeddings and mask decoder for each task. Extensive experiments conducted on benchmark datasets substantiate the efficacy of TA-LoRA in enhancing the performance of mSAM across multiple downstream tasks.
title Task-Aware Low-Rank Adaptation of Segment Anything Model
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.10971