Abstract
Zero-shot learning (ZSL) can identify new classes by transferring semantic knowledge from seen classes to unseen classes according to the relationships between the visual and semantic features of learning. However, due to the difference of manifold distribution between visual feature space and semantic feature space, some algorithms rely too much on cross-modal mapping between semantic feature space and visual feature space, and this process lacks effective constraints. When mapping from high-dimensional visual feature space to semantic space, highly overlapping semantic attributes are generated, which leads to the problem of pivot point. In addition, there is a serious problem of domain migration in generalized zero-shot learning. In order to solve these problems, we propose the Zero-shot learning relationship method (SPR-ZSL) with semantic pivot regularization. In SPR-ZSL, semantic attributes of low-dimensional features are first mapped to visual space to alleviate the hubness problem. Then semantic pivot regularization loss is designed to guide the embedding network to learn semantic attributes to make the original semantic attributes more discriminative. Finally, the relation network is used to learn the similarity between semantic attributes and image features adaptively to complete the image classification task. The effectiveness of the proposed method is validated on five datasets for both traditional Zero-shot learning and generalized Zero-shot learning tasks. The proposed method is compared with other state-of-the-art methods, and the effectiveness is demonstrated through comprehensive analysis of the experimental results.
Introduction
Zero-Shot Learning (ZSL) represents a significant challenge in computer vision: the ability to identify objects the model has never encountered during training by leveraging auxiliary "side information," such as semantic attributes (e.g., "has wings," "is yellow"). Despite its potential, ZSL is hindered by two primary issues. First, the Hubness Problem occurs when high-dimensional visual features are mapped down to a low-dimensional semantic space, causing unrelated classes to cluster around a central "hub," making them indistinguishable. Second, Domain Bias in Generalized ZSL (GZSL) often leads models to favor seen classes over unseen ones.
To address these, the researchers propose SPR-ZSL, a framework that maps semantic attributes into a high-dimensional visual space and applies a novel Semantic Pivot Regularization. This approach ensures that different classes remain distinct, improving classification accuracy across both seen and unseen categories.
Methodology
The SPR-ZSL framework consists of three core components designed to enhance discriminative power and mitigate common ZSL pitfalls.
Semantic-to-Visual Mapping
Rather than compressing visual features into a constrained semantic space, SPR-ZSL maps low-dimensional semantic attributes into a 2048-dimensional visual feature space (aligned with ResNet-101 features). This "upsampling" strategy naturally alleviates the hubness problem by providing more "room" for class separation.
Semantic Pivot Regularization ($L_{SPR}$)
The central innovation of this work is the Semantic Pivot Regularization loss. The model identifies "pivots" (centroids) for different classes in the embedding space using k-means clustering. The $L_{SPR}$ loss function is then applied to maximize the distance between these pivots, ensuring that learned semantic features are highly discriminative and preventing category overlap.
Relation Network
Instead of relying on fixed distance metrics like Euclidean distance, the model employs a deep Relation Network. This network adaptively learns the similarity between the embedded semantic features and the actual image features, allowing for more flexible and accurate matching.
Experimental Setup
The model was rigorously evaluated on five standard ZSL benchmarks, ranging from coarse-grained animal datasets to fine-grained bird and scene datasets.
The datasets used include:
- AWA1 & AWA2 (Animals with Attributes): Coarse-grained animal datasets.
- CUB (Caltech-UCSD Birds): A fine-grained dataset of 200 bird species.
- SUN (Scene UNderstanding): A fine-grained dataset of various environments.
- APY (Pascal & Yahoo): A coarse-grained dataset of various objects.
Key Results and Discussion
SPR-ZSL consistently outperformed both classic and state-of-the-art (SOTA) embedding methods across all tested datasets.
- Traditional ZSL: The model achieved a Top-1 accuracy of 72.0% on AWA1 and 71.3% on AWA2, representing a significant improvement over previous benchmarks like SF-DEM.
- Generalized ZSL (GZSL): The model's performance in the GZSL setting was particularly noteworthy, achieving a Harmonic Mean (H-score) of 63.5 on AWA2 and 51.2 on CUB.
- Ablation Study: Experiments removing the Semantic Pivot Regularization showed a sharp decline in performance, confirming that the pivot constraint is vital for maintaining class differentiation, especially in the GZSL context.
The results suggest that performing comparisons in the visual space is superior to the attribute space, as the visual domain captures richer nuances necessary for distinguishing similar classes. Furthermore, the simplicity of this discriminative approach offers a more stable alternative to complex generative models (GANs/VAEs).
Limitations and Future Work
While SPR-ZSL shows great promise, its reliance on high-quality, manually labeled attributes remains a dependency. Future research could investigate the model's robustness against noisy or missing attributes in "in-the-wild" scenarios. Additionally, while the hyperparameter $\beta$ (balancing the pivot loss) was analyzed, further work is needed to automate its tuning for new datasets. Finally, scaling the "pivot" concept to massive datasets like ImageNet-21K would test the limits of this regularization as the number of classes scales into the thousands.
Summary updated