Introduction
Generalized Zero-Shot Learning (GZSL) is a challenging task where a model must recognize objects from both seen and unseen classes at test time. A major obstacle in this field is seen-class bias, where models tend to misclassify unseen samples as belonging to seen categories because they have only encountered real images of the latter during training.
To address this, recent approaches use Generative Adversarial Networks (GANs) to synthesize visual features for unseen classes based on their semantic attributes. However, these GANs often lack constraints, potentially generating visual features that are visually plausible but semantically inaccurate.
Methodology
This paper introduces a Multi-modal Cycle-Consistency Loss to improve the semantic faithfulness of generated features. The proposed model, cycle-CLSWGAN, builds upon the f-CLSWGAN baseline by "closing the loop" between semantic and visual domains.
The Cycle-Consistent Loop
The core idea is to enforce a bidirectional relationship between attributes and visual features. Instead of a one-way mapping from attributes to visual features, the authors introduce a reverse mapping to ensure the generator remains semantically grounded.
- Generator ($G$): Maps semantic attributes ($a$) and noise ($z$) to synthetic visual features ($\tilde{x}$).
- Regressor ($R$): Maps the synthetic visual features ($\tilde{x}$) back to the semantic space to reconstruct the attributes ($\tilde{a}$).
- Consistency Constraint: The generator is penalized if the reconstructed attributes ($\tilde{a}$) do not match the original attributes ($a$).
By enforcing this cycle, the generator is forced to produce features that are not just visually realistic to the discriminator ($D$), but also semantically faithful. This multi-modal approach ensures consistency across visual (image features) and semantic (attributes) data types.
Experimental Evaluation
The framework was evaluated on five major benchmarks:
- CUB (Caltech-UCSD Birds): Fine-grained bird species.
- FLO (Oxford Flowers): Fine-grained flower categories.
- SUN (Scene Categorization): Various indoor and outdoor scenes.
- AWA (Animals with Attributes): Coarse-grained animal categories.
- ImageNet: A large-scale test with 1,000 seen and 100 unseen classes.
Results and Discussion
The cycle-CLSWGAN method achieved state-of-the-art results, particularly in the Harmonic Mean ($H$) metric, which balances performance on both seen and unseen classes.
- CUB: Improved the Harmonic Mean from 49.7% to 53.0%.
- AWA: Reached a Harmonic Mean of 59.8%.
- ImageNet: Nearly doubled the GZSL accuracy of the baseline (from 0.7% to 1.5%), demonstrating the method's potential for large-scale applications.
The addition of the cycle loss acts as a powerful regularizer, "anchoring" the generator to the intended class meaning and preventing semantic drift during the synthesis of unseen class features.
Conclusion
The multi-modal cycle-consistent framework effectively mitigates seen-class bias in GZSL by ensuring that synthetic visual features remain faithful to their semantic definitions. While GANs remain computationally intensive and challenging to scale to massive datasets like ImageNet, the introduction of reconstruction losses represents a significant step toward more robust zero-shot recognition.
Summary updated