Progressive Semantic-Guided Vision Transformer for Zero-Shot Learning

Shiming Chen, Wenjin Hou, Salman Khan, Fahad Shahbaz Khan
4/11/2024
cs.CVcs.LG

Official code: shiming-chen/ZSLViT (18 stars, last commit 2024-07-09).

Abstract

Zero-shot learning (ZSL) recognizes the unseen classes by conducting visual-semantic interactions to transfer semantic knowledge from seen classes to unseen ones, supported by semantic information (e.g., attributes). However, existing ZSL methods simply extract visual features using a pre-trained network backbone (i.e., CNN or ViT), which fail to learn matched visual-semantic correspondences for representing semantic-related visual features as lacking of the guidance of semantic information, resulting in undesirable visual-semantic interactions. To tackle this issue, we propose a progressive semantic-guided vision transformer for zero-shot learning (dubbed ZSLViT). ZSLViT mainly considers two properties in the whole network: i) discover the semantic-related visual representations explicitly, and ii) discard the semantic-unrelated visual information. Specifically, we first introduce semantic-embedded token learning to improve the visual-semantic correspondences via semantic enhancement and discover the semantic-related visual tokens explicitly with semantic-guided token attention. Then, we fuse low semantic-visual correspondence visual tokens to discard the semantic-unrelated visual information for visual enhancement. These two operations are integrated into various encoders to progressively learn semantic-related visual representations for accurate visual-semantic interactions in ZSL. The extensive experiments show that our ZSLViT achieves significant performance gains on three popular benchmark datasets, i.e., CUB, SUN, and AWA2. Codes are available at: https://github.com/shiming-chen/ZSLViT .

View on arXivView PDF

Code Implementations(1)

Official PyTorch Implementation of ZSLViT (CVPR'24)

185PythonMay 14, 20232 years ago

Similar Papers

Cite this paper

@article{chen2024progressive,
  title  = {Progressive Semantic-Guided Vision Transformer for Zero-Shot Learning},
  author = {Shiming Chen and Wenjin Hou and Salman Khan and Fahad Shahbaz Khan},
  year   = {2024},
  eprint = {2404.07713},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07713v2},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.07713.svg)](https://codeofpaper.com/paper/2404.07713)

Discussion