Super-class guided Transformer for Zero-Shot Attribute Classification

Sehyung Kim, Chanhyeong Yang, Jihwan Park, Taehoon Song, Hyunwoo J. Kim
1/10/2025
cs.CV

Official code: mlvlab/SugaFormer (15 stars, last commit 2025-01-15).

Abstract

Attribute classification is crucial for identifying specific characteristics within image regions. Vision-Language Models (VLMs) have been effective in zero-shot tasks by leveraging their general knowledge from large-scale datasets. Recent studies demonstrate that transformer-based models with class-wise queries can effectively address zero-shot multi-label classification. However, poor utilization of the relationship between seen and unseen attributes makes the model lack generalizability. Additionally, attribute classification generally involves many attributes, making maintaining the model's scalability difficult. To address these issues, we propose Super-class guided transFormer (SugaFormer), a novel framework that leverages super-classes to enhance scalability and generalizability for zero-shot attribute classification. SugaFormer employs Super-class Query Initialization (SQI) to reduce the number of queries, utilizing common semantic information from super-classes, and incorporates Multi-context Decoding (MD) to handle diverse visual cues. To strengthen generalizability, we introduce two knowledge transfer strategies that utilize VLMs. During training, Super-class guided Consistency Regularization (SCR) aligns model's features with VLMs using super-class guided prompts, and during inference, Zero-shot Retrieval-based Score Enhancement (ZRSE) refines predictions for unseen attributes. Extensive experiments demonstrate that SugaFormer achieves state-of-the-art performance across three widely-used attribute classification benchmarks under zero-shot, and cross-dataset transfer settings. Our code is available at https://github.com/mlvlab/SugaFormer.

View on arXivView PDF

Code Implementations(1)

mlvlab/SugaFormerOfficial100%

Official Implementation (Pytorch) of "Super-class guided Transformer for Zero-Shot Attribute Classification", AAAI 2025

151Shell, PythonJan 12, 20251 years ago
aaai2025zero-shot-learning

Similar Papers

Cite this paper

@article{kim2025superclass,
  title  = {Super-class guided Transformer for Zero-Shot Attribute Classification},
  author = {Sehyung Kim and Chanhyeong Yang and Jihwan Park and Taehoon Song and Hyunwoo J. Kim},
  year   = {2025},
  eprint = {2501.05728},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.05728v2}
}

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

Discussion