arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09714cs.CVcs.LG
收藏

AM-SAM:用于Segment Anything模型的自动化提示和掩码校准

AM-SAM: Automated Prompting and Mask Calibration for Segment Anything Model

Yuchen Li, Li Zhang, Youwei Liang, Pengtao Xie

AI总结:

AM-SAM通过自动化提示生成和掩码解码器优化,提升Segment Anything模型在语义分割任务中的准确性和效率。

摘要:

Segment Anything模型(SAM)在语义分割领域因其多功能性和出色的性能而获得了显著认可。尽管取得了成功,SAM仍然面临两个主要限制:(1)它依赖于精细的人工提供的提示,如关键点、边界框或文本信息,这需要大量的人力;(2)掩码解码器的特征表示有时不准确,因为它仅在掩码解码器的末端使用点积操作,这无法充分捕捉精确分割所需的相关性。当前解决这些问题的方法,如微调SAM,通常需要重新训练大量的参数,这需要大量的时间和计算资源。为了解决这些限制,我们提出了一种基于双层优化框架的自动化提示和掩码校准方法,称为AM-SAM。我们的方法能够自动为输入图像生成提示,在早期训练阶段表现出色,从而实现更快的收敛。此外,我们冻结SAM的主要部分,并通过低秩适应(LoRA)修改掩码解码器,通过引入先进的技术,超越简单的点积操作,更准确地捕捉和利用特征相关性。我们的实验结果表明,AM-SAM实现了显著准确的分割,其效果与人工生成和默认提示相当。值得注意的是,在人体分割数据集中,我们的方法在4例少样本训练集上比最先进方法的Dice分数高5%,凸显了其在语义分割任务中的优越性。

英文摘要:

Segment Anything Model (SAM) has gained significant recognition in the field of semantic segmentation due to its versatile capabilities and impressive performance. Despite its success, SAM faces two primary limitations: (1) it relies heavily on meticulous human-provided prompts like key points, bounding boxes or text messages, which is labor-intensive; (2) the mask decoder's feature representation is sometimes inaccurate, as it solely employs dot product operations at the end of mask decoder, which inadequately captures the necessary correlations for precise segmentation. Current solutions to these problems such as fine-tuning SAM often require retraining a large number of parameters, which needs huge amount of time and computing resources. To address these limitations, we propose an automated prompting and mask calibration method called AM-SAM based on a bi-level optimization framework. Our approach automatically generates prompts for an input image, eliminating the need for human involvement with a good performance in early training epochs, achieving faster convergence. Additionally, we freeze the main part of SAM, and modify the mask decoder with Low-Rank Adaptation (LoRA), enhancing the mask decoder's feature representation by incorporating advanced techniques that go beyond simple dot product operations to more accurately capture and utilize feature correlations. Our experimental results demonstrate that AM-SAM achieves significantly accurate segmentation, matching or exceeding the effectiveness of human-generated and default prompts. Notably, on the body segmentation dataset, our method yields a 5% higher dice score with a 4-example few-shot training set compared to the SOTA method, underscoring its superiority in semantic segmentation tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑