Super-class guided Transformer for Zero-Shot Attribute Classification
Sehyung Kim, Chanhyeong Yang, Jihwan Park, Taehoon Song, Hyunwoo J. Kim
TL;DR
SugaFormer tackles zero-shot region-level attribute classification by introducing super-class guided queries to reduce query complexity and by employing multi-context decoding to capture diverse visual cues. It couples two knowledge-transfer mechanisms with frozen Vision-Language Models: SCR aligns image features with super-class prompts during training, and ZRSE refines unseen-attribute predictions at inference by leveraging retrieval-like text–image similarities. Empirical results on VAW, LSA, and OVAD demonstrate state-of-the-art zero-shot and cross-dataset performance, with ablations confirming the additive benefits of SQI, MD, SCR, and ZRSE. The approach enhances scalability and generalizability, offering a practical framework for open-vocabulary attribute classification in real-world applications.
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.
