SSPA:用于多标签图像识别的带门控对齐的拆分与合成提示
SSPA: Split-and-Synthesize Prompting with Gated Alignments for Multi-Label Image Recognition
AI总结:
针对多标签图像识别中视觉语言模型知识利用不足和单向融合问题,提出SSPA框架,通过拆分与合成提示策略和门控双模态对齐实现双向跨模态交互,在九个数据集上达到最先进性能。
摘要:
多标签图像识别是计算机视觉中的一项基础任务。最近,视觉-语言模型(VLMs)在该领域取得了显著进展。然而,先前的方法未能有效利用语言模型中的丰富知识,并且通常将标签语义单向地融入视觉特征中。为了克服这些问题,我们提出了带门控对齐的拆分与合成提示(SSPA)框架,以放大 VLMs 的潜力。具体而言,我们开发了一种上下文学习方法来关联 LLMs 的固有知识。然后,我们提出了一种新颖的拆分与合成提示(SSP)策略,首先分别建模通用知识和下游标签语义,然后通过四元数网络仔细聚合它们。此外,我们提出了门控双模态对齐(GDMA),以双向交互视觉和语言模态,同时消除冗余的跨模态信息,实现更高效的区域级对齐。与先前工作中以生硬方式做出最终预测不同,我们提出了一种软聚合器来联合考虑所有图像区域的结果。借助灵活的提示和门控对齐,SSPA 可泛化到特定领域。在来自三个领域(即自然、行人属性和遥感)的九个数据集上的大量实验证明了 SSPA 的最先进性能。进一步的分析验证了 SSP 的有效性和 GDMA 的可解释性。代码将公开。
英文摘要:
Multi-label image recognition is a fundamental task in computer vision. Recently, Vision-Language Models (VLMs) have made notable advancements in this area. However, previous methods fail to effectively leverage the rich knowledge in language models and often incorporate label semantics into visual features unidirectionally. To overcome these problems, we propose a Split-and-Synthesize Prompting with Gated Alignments (SSPA) framework to amplify the potential of VLMs. Specifically, we develop an in-context learning approach to associate the inherent knowledge from LLMs. Then we propose a novel Split-and-Synthesize Prompting (SSP) strategy to first model the generic knowledge and downstream label semantics individually and then aggregate them carefully through the quaternion network. Moreover, we present Gated Dual-Modal Alignments (GDMA) to bidirectionally interact visual and linguistic modalities while eliminating redundant cross-modal information, enabling more efficient region-level alignments. Rather than making the final prediction by a sharp manner in previous works, we propose a soft aggregator to jointly consider results from all image regions. With the help of flexible prompting and gated alignments, SSPA is generalizable to specific domains. Extensive experiments on nine datasets from three domains (i.e., natural, pedestrian attributes and remote sensing) demonstrate the state-of-the-art performance of SSPA. Further analyses verify the effectiveness of SSP and the interpretability of GDMA. The code will be made public.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。