arXiv:2503.10252cs.CV2025-03ICCV被引 13

通过输入阶段筛选语义无关图像块,提升零样本学习的视觉语义对齐效果。

SVIP: Semantically Contextualized Visual Patches for Zero-Shot Learning

  • 在输入阶段用自监督机制预选语义相关图像块
  • 在多个基准上达到当前最优性能,且特征更具可解释性
  • 适合关注模型可解释性和零样本识别的研究者

零样本学习(ZSL)旨在利用类别级语义描述(如属性)识别未见类别,而无需标注训练样本。其核心挑战是语义错位:视觉特征中包含的与语义无关的信息会干扰视觉-语义交互。现有方法通常在特征空间或模型空间事后抑制这些信息,而本文提出在输入阶段就解决该问题,防止无关图像块传播至网络深处。为此,我们提出基于Transformer的框架SVIP(Semantically Contextualized Visual Patches),设计了一种自监督图像块选择机制,预先在输入空间中学习识别语义无关的图像块。该机制由所有Transformer层的聚合注意力得分监督,用于估计每个图像块的语义得分。为避免移除图像块破坏物体结构,我们用可学习的嵌入向量替换它们,并初始化为词嵌入,以确保在整个特征提取过程中保持语义连贯性。大量实验表明,SVIP在多个ZSL基准上均取得领先性能,同时生成更具可解释性和语义丰富性的特征表示。代码已开源。

原文摘要 · Abstract (English)

Zero-shot learning (ZSL) aims to recognize unseen classes without labeled training examples by leveraging class-level semantic descriptors such as attributes. A fundamental challenge in ZSL is semantic misalignment, where semantic-unrelated information involved in visual features introduce ambiguity to visual-semantic interaction. Unlike existing methods that suppress semantic-unrelated information post hoc either in the feature space or the model space, we propose addressing this issue at the input stage, preventing semantic-unrelated patches from propagating through the network. To this end, we introduce Semantically contextualized VIsual Patches (SVIP) for ZSL, a transformer-based framework designed to enhance visual-semantic alignment. Specifically, we propose a self-supervised patch selection mechanism that preemptively learns to identify semantic-unrelated patches in the input space. This is trained with the supervision from aggregated attention scores across all transformer layers, which estimate each patch's semantic score. As removing semantic-unrelated patches from the input sequence may disrupt object structure, we replace them with learnable patch embeddings. With initialization from word embeddings, we can ensure they remain semantically meaningful throughout feature extraction. Extensive experiments on ZSL benchmarks demonstrate that SVIP achieves state-of-the-art performance results while providing more interpretable and semantically rich feature representations. Code is available at https://github.com/uqzhichen/SVIP.

零样本学习视觉语义对齐Transformer可解释性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。