Towards Realistic Zero-Shot Classification via Self Structural Semantic Alignment

Sheng Zhang, Muzammal Naseer, Guangyi Chen, Zhiqiang Shen, Salman Khan +2 more
8/24/2023
10 citations
cs.CV

Official code: sheng-eatamath/S3A (25 stars, Jupyter Notebook, last commit 2024-05-16).

Abstract

Large-scale pre-trained Vision Language Models (VLMs) have proven effective for zero-shot classification. Despite the success, most traditional VLMs-based methods are restricted by the assumption of partial source supervision or ideal vocabularies, which rarely satisfy the open-world scenario.

Show full abstract

In this paper, we aim at a more challenging setting, Realistic Zero-Shot Classification, which assumes no annotation but instead a broad vocabulary. To address this challenge, we propose the Self Structural Semantic Alignment (S^3A) framework, which extracts the structural semantic information from unlabeled data while simultaneously self-learning. Our S^3A framework adopts a unique Cluster-Vote-Prompt-Realign (CVPR) algorithm, which iteratively groups unlabeled data to derive structural semantics for pseudo-supervision. Our CVPR process includes iterative clustering on images, voting within each cluster to identify initial class candidates from the vocabulary, generating discriminative prompts with large language models to discern confusing candidates, and realigning images and the vocabulary as structural semantic alignment. Finally, we propose to self-learn the CLIP image encoder with both individual and structural semantic alignment through a teacher-student learning strategy. Our comprehensive experiments across various generic and fine-grained benchmarks demonstrate that the S^3A method offers substantial improvements over existing VLMs-based approaches, achieving a more than 15% accuracy improvement over CLIP on average. Our codes, models, and prompts are publicly released at https://github.com/sheng-eatamath/S3A.

View on arXivView PDF

Code Implementations(1)

sheng-eatamath/S3AOfficial100%

repo for paper titled: Towards Realistic Zero-Shot Classification via Self Structural Semantic Alignment (AAAI'24 Oral)

252Jupyter Notebook, PythonAug 24, 20232 years ago

Similar Papers

Cite this paper

@article{zhang2023towards,
  title  = {Towards Realistic Zero-Shot Classification via Self Structural Semantic Alignment},
  author = {Sheng Zhang and Muzammal Naseer and Guangyi Chen and Zhiqiang Shen and Salman Khan and Kun Zhang and Fahad Khan},
  year   = {2023},
  eprint = {2308.12960},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.12960v3}
}

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/2308.12960.svg)](https://codeofpaper.com/paper/2308.12960)

Discussion