arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05963cs.CV
收藏

通过注意力作为提示的免训练开放式目标检测与分割

Training-Free Open-Ended Object Detection and Segmentation via Attention as Prompts

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所)

Zhiwei Lin, Yongtao Wang, Zhi Tang

AI总结:

针对开放世界场景下无预定义类别输入的开放式目标检测分割难题,提出免训练框架VL-SAM,以注意力图为提示连接视觉语言模型与任意目标分割模型,在多个数据集上取得优异性能且泛化性良好。

摘要:

现有感知模型通过从大量标注数据中学习取得了巨大成功,但在开放世界场景中仍存在困难。为缓解这一问题,研究人员提出了开放集感知任务,用于检测或分割训练集中未见过的目标。然而,这些模型在推理时需要预定义的目标类别作为输入,而这在真实场景中是无法获取的。近期,研究人员提出了一个更具实用性的新问题,即开放式目标检测,该任务无需任何目标类别作为输入即可发现未见过的目标。\n本文提出了VL-SAM,这是一个免训练框架,将通用目标识别模型(即Vision-Language Model,视觉语言模型)与通用目标定位模型(即Segment-Anything Model,任意目标分割模型)相结合,以解决开放式目标检测与分割任务。在无需额外训练的情况下,我们以注意力图作为提示连接这两个通用模型。具体而言,我们设计了一个注意力图生成模块,采用头聚合和正则化注意力流,在VLM的所有注意力头和层之间聚合并传播注意力图,生成高质量的注意力图。随后,我们通过提示生成模块从注意力图中迭代采样正样本点和负样本点,并将采样点送入SAM以分割对应目标。\n在长尾实例分割数据集(LVIS)上的实验结果表明,我们的方法在目标检测任务上优于此前的开放式方法,并且能够提供额外的实例分割掩码。此外,VL-SAM在极端案例目标检测数据集(CODA)上取得了优异性能,证明了其在真实应用中的有效性。同时,VL-SAM展现出良好的模型泛化性,可适配多种VLM和SAM。

英文摘要:

Existing perception models achieve great success by learning from large amounts of labeled data, but they still struggle with open-world scenarios. To alleviate this issue, researchers introduce open-set perception tasks to detect or segment unseen objects in the training set. However, these models require predefined object categories as inputs during inference, which are not available in real-world scenarios. Recently, researchers pose a new and more practical problem, \textit{i.e.}, open-ended object detection, which discovers unseen objects without any object categories as inputs. In this paper, we present VL-SAM, a training-free framework that combines the generalized object recognition model (\textit{i.e.,} Vision-Language Model) with the generalized object localization model (\textit{i.e.,} Segment-Anything Model), to address the open-ended object detection and segmentation task. Without additional training, we connect these two generalized models with attention maps as the prompts. Specifically, we design an attention map generation module by employing head aggregation and a regularized attention flow to aggregate and propagate attention maps across all heads and layers in VLM, yielding high-quality attention maps. Then, we iteratively sample positive and negative points from the attention maps with a prompt generation module and send the sampled points to SAM to segment corresponding objects. Experimental results on the long-tail instance segmentation dataset (LVIS) show that our method surpasses the previous open-ended method on the object detection task and can provide additional instance segmentation masks. Besides, VL-SAM achieves favorable performance on the corner case object detection dataset (CODA), demonstrating the effectiveness of VL-SAM in real-world applications. Moreover, VL-SAM exhibits good model generalization that can incorporate various VLMs and SAMs.

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

↑