OpenKD:开启零样本与少样本关键点检测的提示多样性
OpenKD: Opening Prompt Diversity for Zero- and Few-shot Keypoint Detection
AI总结:
本文提出OpenKD模型,通过多模态原型集、视觉-文本插值训练和大语言模型解析,从模态、语义和语言三方面提升零样本与少样本关键点检测的提示多样性,在Z-FSKD上取得最优性能。
摘要:
利用基础模型(如CLIP)构建通用关键点检测器已受到越来越多的关注。现有大多数模型接受文本提示(例如“猫的鼻子”)或视觉提示(例如带有关键点标注的支持图像),以检测查询图像中对应的关键点,从而分别展现出零样本或少样本检测能力。然而,关于采用多模态提示的研究仍处于探索不足的状态,提示在语义和语言上的多样性远未被充分开启。例如,如何处理用于新关键点检测的未见文本提示,以及诸如“你能检测出猫的鼻子和耳朵吗?”这样的多样化文本提示?在本工作中,我们从三个方面开启提示多样性:模态、语义(已见与未见)和语言,以实现更通用的零样本与少样本关键点检测(Z-FSKD)。我们提出了一种新颖的OpenKD模型,该模型利用多模态原型集同时支持视觉提示和文本提示。此外,为了推断未见文本的关键点位置,我们将从视觉域和文本域插值得到的辅助关键点和文本加入训练中,这提高了模型的空间推理能力,并显著增强了零样本新关键点检测性能。我们还发现大语言模型(LLM)是一个良好的解析器,从文本中解析关键点的准确率超过96%。借助LLM,OpenKD能够处理多样化的文本提示。实验结果表明,我们的方法在Z-FSKD上取得了最先进的性能,并开创了处理未见文本和多样化文本的新途径。源代码和数据可在https://github.com/AlanLuSun/OpenKD获取。
英文摘要:
Exploiting the foundation models (e.g., CLIP) to build a versatile keypoint detector has gained increasing attention. Most existing models accept either the text prompt (e.g., ``the nose of a cat''), or the visual prompt (e.g., support image with keypoint annotations), to detect the corresponding keypoints in query image, thereby, exhibiting either zero-shot or few-shot detection ability. However, the research on taking multimodal prompt is still underexplored, and the prompt diversity in semantics and language is far from opened. For example, how to handle unseen text prompts for novel keypoint detection and the diverse text prompts like ``Can you detect the nose and ears of a cat?'' In this work, we open the prompt diversity from three aspects: modality, semantics (seen v.s. unseen), and language, to enable a more generalized zero- and few-shot keypoint detection (Z-FSKD). We propose a novel OpenKD model which leverages multimodal prototype set to support both visual and textual prompting. Further, to infer the keypoint location of unseen texts, we add the auxiliary keypoints and texts interpolated from visual and textual domains into training, which improves the spatial reasoning of our model and significantly enhances zero-shot novel keypoint detection. We also found large language model (LLM) is a good parser, which achieves over 96% accuracy to parse keypoints from texts. With LLM, OpenKD can handle diverse text prompts. Experimental results show that our method achieves state-of-the-art performance on Z-FSKD and initiates new ways to deal with unseen text and diverse texts. The source code and data are available at https://github.com/AlanLuSun/OpenKD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。