Abstract
Standard Zero-Shot Learning (ZSL) typically requires access to original training data to bridge visual and semantic spaces. We present Image-free Classifier Injection with Semantics (ICIS), a novel framework for Image-free ZSL (I-ZSL). ICIS extends pre-trained classifiers to unseen categories using only semantic descriptors, without requiring any original training images. By treating classifier weights as visual descriptors and employing a dual encoder-decoder architecture with structural regularization and cosine-based loss, ICIS significantly outperforms existing image-free methods on standard benchmarks like CUB, AWA2, and SUN.
Introduction
Zero-Shot Learning (ZSL) allows models to recognize objects they have never seen before by utilizing "side information," such as attribute lists or text descriptions. However, a major practical bottleneck in standard ZSL is the requirement for access to the original training images of "seen" classes to learn the relationship between visual features and semantic descriptions.
In real-world applications, practitioners often possess high-quality pre-trained models but lack access to the massive datasets used for their training due to privacy concerns, storage limits, or proprietary restrictions. This paper addresses this more restrictive and practical challenge, defined as Image-free ZSL (I-ZSL): extending a model to new categories using only text-based descriptors and the model's own existing weights.
Methods
The core insight of the ICIS framework is that the weights of a pre-trained classifier act as "visual descriptors" themselves. Since the weights for a specific class (e.g., "Zebra") represent the model's internal numerical representation of that category, ICIS learns to predict these weights for new, unseen classes based on their semantic descriptions.
Dual Encoder-Decoder Architecture
ICIS utilizes two symmetric encoder-decoder networks to map descriptors to weights while preserving the internal structure of both spaces:
- Descriptor Branch: Learns to compress and reconstruct semantic attributes ($A \to Z \to A$).
- Weight Branch: Learns to compress and reconstruct classifier weights ($W \to Z \to W$).
Both branches share a latent space ($Z$). The model is optimized using four combined loss functions that force it to not only map descriptors to weights but also to preserve the structural integrity of both domains. This reconstruction-based approach acts as a powerful regularizer, which is essential given the extreme low-data regime of having only one data point (one weight vector and one descriptor) per class.
Cosine Similarity Optimization
A key technical contribution is the transition from standard Mean Squared Error (MSE) to cosine distance. By focusing on the angular relationship between vectors rather than their magnitude, the model generalizes significantly better to unseen classes. This approach effectively reduces "seen class bias," a common failure mode where models incorrectly classify novel objects as categories encountered during initial training.
Results and Discussion
The researchers evaluated ICIS on three standard ZSL benchmarks: CUB (birds), AWA2 (animals), and SUN (scenes). ICIS consistently outperformed existing image-free competitors across various metrics.
Key Findings
- Superior Accuracy: On the CUB dataset, ICIS achieved 60.6% accuracy, representing a +15.5% improvement over the previous state-of-the-art image-free method (SMO).
- Robust Generalized ZSL: In the more challenging Generalized ZSL (GZSL) setting—where the model must distinguish between both seen and unseen classes—ICIS achieved a harmonic mean of 56.5 on CUB. In contrast, most baseline methods failed to recognize unseen classes, with accuracies hovering near zero.
- Data Efficiency: The model demonstrated remarkable efficiency; even when trained on only 50% of the available seen class descriptors, it outperformed simpler models that had access to the full dataset.
Conclusion
ICIS demonstrates that a pre-trained model's classifier weights are a rich source of visual-semantic information. By decoding what these weights already "know," ICIS enables the expansion of AI capabilities without the need for original training data. While the model currently faces challenges with extremely fine-grained distinctions between nearly identical species, it provides a robust foundation for practical, privacy-preserving model extension. Future work will explore the integration of richer language models and techniques to handle domain shifts between pre-trained models and new categories.
Summary updated