Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model

Zihan Zhong, Zhiqiang Tang, Tong He, Haoyang Fang, Chun Yuan
1/31/2024
cs.CVcs.LG

No official code found. Best implementation: autogluon/autogluon (10,763 stars, Apache-2.0, PyTorch, last commit 2026-04-28).

Abstract

The Segment Anything Model (SAM) stands as a foundational framework for image segmentation. While it exhibits remarkable zero-shot generalization in typical scenarios, its advantage diminishes when applied to specialized domains like medical imagery and remote sensing. To address this limitation, this paper introduces Conv-LoRA, a simple yet effective parameter-efficient fine-tuning approach. By integrating ultra-lightweight convolutional parameters into Low-Rank Adaptation (LoRA), Conv-LoRA can inject image-related inductive biases into the plain ViT encoder, further reinforcing SAM's local prior assumption. Notably, Conv-LoRA not only preserves SAM's extensive segmentation knowledge but also revives its capacity of learning high-level image semantics, which is constrained by SAM's foreground-background segmentation pretraining. Comprehensive experimentation across diverse benchmarks spanning multiple domains underscores Conv-LoRA's superiority in adapting SAM to real-world semantic segmentation tasks.

View on arXivView PDF

Code Implementations(1)

autogluon/autogluonCommunity100%
PyTorchApache-2.0

Fast and Accurate ML in 3 Lines of Code

10,7631,195Shell, PythonJul 29, 20195 months agoApache-2.0
autogluonautomated-machine-learningautomlcomputer-visiondata-science+15 more

Similar Papers

Cite this paper

@article{zhong2024convolution,
  title  = {Convolution Meets LoRA: Parameter Efficient Finetuning for Segment Anything Model},
  author = {Zihan Zhong and Zhiqiang Tang and Tong He and Haoyang Fang and Chun Yuan},
  year   = {2024},
  eprint = {2401.17868},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.17868v1},
  journal = {ICLR 2024 2024}
}

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/2401.17868.svg)](https://codeofpaper.com/paper/2401.17868)

Discussion