CAD: Memory Efficient Convolutional Adapter for Segment Anything

Joohyeok Kim, Joonhyeon Song, Seohwan Yun, Seongho Yoon, Sangmin Lee
9/24/2024
cs.CV

No official code found. Best implementation: Kyyle2114/Convolutional-Adapter-for-Segment-Anything (12 stars, last commit 2024-10-04).

Abstract

The Foundation model for image segmentation, Segment Anything (SAM), has been actively researched in various fields since its proposal. Various researches have been proposed to adapt SAM to specific domains, with one notable approach involving the addition and training of lightweight adapter modules. While adapter-based fine-tuning approaches have reported parameter efficiency and significant performance improvements, they face a often overlooked issue: the excessive consumption of GPU memory relative to the number of trainable parameters. Addressing this issue, this paper proposes a memory-efficient parallel convolutional adapter architecture. This architecture connects in parallel with SAM's image encoder, eliminating the need to store activations and gradients of the image encoder during model training. Our proposed architecture demonstrated competitive experimental results while using less than half the GPU memory compared to SAM Adapter, indicating its value as an alternative to simple decoder fine-tuning when hardware limitations preclude adapter-based learning. Our code implementation is available at our github.

View on arXivView PDF

Code Implementations(1)

CAD - Memory Efficient Convolutional Adapter for Segment Anything

123Shell, PythonMay 14, 20242 years ago

Similar Papers

Cite this paper

@article{kim2024cad,
  title  = {CAD: Memory Efficient Convolutional Adapter for Segment Anything},
  author = {Joohyeok Kim and Joonhyeon Song and Seohwan Yun and Seongho Yoon and Sangmin Lee},
  year   = {2024},
  eprint = {2409.15889},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.15889v1}
}

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

Discussion