Rethinking Generalized Zero-Shot Learning: A Synthesized Per-Instance Attribute Perspective
- 1 January 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 34, 5847-5859
Abstract
Generalized zero-shot learning (GZSL) shows great potential for improving generalization to unseen classes in real-world scenarios. However, most GZSL methods depend on benchmark datasets with per-class attribute annotations, which creates a large semantic gap and worsens the domain shift problem in the visual-semantic space. To address these challenges, instance-level attributes offer an intuitive solution, but they require expensive manual annotation. In this paper, we propose a simple yet effective approach called per-instance attribute synthesis (PIAS) to generate diverse semantic representations for each instance. Our method first uses the Vision Transformer (ViT) model to extract visual features and then generates per-instance attributes. The patch splitting, positional embedding, and multi-head self-attention mechanisms in ViT improve the discriminability of both visual and semantic representations. Next, we define the generated attributes of class-average images as class anchor points. These anchor points are calibrated in the semantic space by minimizing the cosine similarity between the anchor points and per-class attribute annotations. Finally, we improve the diversity of generated per-instance attributes by aligning the topological structure between per-class attribute annotations and synthesized per-instance attributes with that between class-average visual features and per-instance visual features. We conduct comprehensive experiments on three challenging ZSL datasets: AWA2, CUB, and SUN. The results show that PIAS significantly outperforms state-of-the-art methods under both ZSL and GZSL settings. We further demonstrate the generalization ability of PIAS by applying it to attribute-based zero-shot image retrieval tasks.Keywords
Funding Information
- National Natural Science Foundation of China (62422604)
- Science Fund for Creative Research Groups of Sichuan Province Natural Science Foundation (2024NSFTD0035)
- National Major Scientific Instruments and Equipments Development Project of National Natural Science Foundation of China (62427820)
- Fundamental Research Funds for the Central Universities (1082204112364)
- Natural Science Foundation of Sichuan (24NSFSC3404, 2024NSFSC1470)
- Tianfu Yongxing Laboratory Organized Research Project Funding (2023CXXM14)
- Sichuan Province Innovative Talent Funding Project for Postdoctoral Fellows (BX202213)
This publication has 52 references indexed in Scilit:
- Improving generalized zero-shot learning via cluster-based semantic disentangling representationPattern Recognition, 2024
- Attribute subspaces for zero-shot learningPattern Recognition, 2023
- Implicit and explicit attention mechanisms for zero-shot learningNeurocomputing, 2023
- Generative Adversarial Nets2023
- Hybrid routing transformer for zero-shot learningPattern Recognition, 2022
- Zero-shot learning via a specific rank-controlled semantic autoencoderPattern Recognition, 2022
- Learning Class Prototypes via Structure Alignment for Zero-Shot Recognition2018
- SUN attribute database: Discovering, annotating, and recognizing scene attributes2012
- Describing objects by their attributes2009
- ImageNet: A large-scale hierarchical image database2009