用2048参数+16张图让SAM变成医学图像分割专家
Prompt-Tuning SAM: From Generalist to Specialist with only 2048 Parameters and 16 Training Images
- 仅微调掩码解码器的提示词,实现参数高效适配
- 仅需16张标注图像,性能媲美顶尖方法且参数少2000倍
- 适合数据稀缺、领域迁移大的生物医学自动分割场景
Segment Anything Model (SAM) 广泛用于自然图像中多样对象的分割,但其在显微成像等非自然领域表现显著下降。此外,由于SAM的交互式设计,每张图像和对象都需要精确提示,难以应用于自动化生物医学任务。此前方法通过微调数百万参数来适配SAM,而本文提出仅需2048个额外参数即可将SAM转变为特定下游任务的专用模型。所提PTSAM(提示微调SAM)方法采用参数高效的提示微调技术,仅微调掩码解码器即达到与当前最优方法相当的性能,同时可减少约2000倍可训练参数。针对领域差异问题,进一步微调图像编码器可使分割精度提升最高达18%。由于仅需16张标注图像即可可靠训练,该方法特别适用于训练数据有限且存在领域偏移的应用。
原文摘要 · Abstract (English)
The Segment Anything Model (SAM) is widely used for segmenting a diverse range of objects in natural images from simple user prompts like points or bounding boxes. However, SAM's performance decreases substantially when applied to non-natural domains like microscopic imaging. Furthermore, due to SAM's interactive design, it requires a precise prompt for each image and object, which is unfeasible in many automated biomedical applications. Previous solutions adapt SAM by training millions of parameters via fine-tuning large parts of the model or of adapter layers. In contrast, we show that as little as 2,048 additional parameters are sufficient for turning SAM into a use-case specialist for a certain downstream task. Our novel PTSAM (prompt-tuned SAM) method uses prompt-tuning, a parameter-efficient fine-tuning technique, to adapt SAM for a specific task. We validate the performance of our approach on multiple microscopic and one medical dataset. Our results show that prompt-tuning only SAM's mask decoder already leads to a performance on-par with state-of-the-art techniques while requiring roughly 2,000x less trainable parameters. For addressing domain gaps, we find that additionally prompt-tuning SAM's image encoder is beneficial, further improving segmentation accuracy by up to 18% over state-of-the-art results. Since PTSAM can be reliably trained with as little as 16 annotated images, we find it particularly helpful for applications with limited training data and domain shifts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。