Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Image-free Classifier Injection for Zero-Shot Classification

About

Zero-shot learning models achieve remarkable results on image classification for samples from classes that were not seen during training. However, such models must be trained from scratch with specialised methods: therefore, access to a training dataset is required when the need for zero-shot classification arises. In this paper, we aim to equip pre-trained models with zero-shot classification capabilities without the use of image data. We achieve this with our proposed Image-free Classifier Injection with Semantics (ICIS) that injects classifiers for new, unseen classes into pre-trained classification models in a post-hoc fashion without relying on image data. Instead, the existing classifier weights and simple class-wise descriptors, such as class names or attributes, are used. ICIS has two encoder-decoder networks that learn to reconstruct classifier weights from descriptors (and vice versa), exploiting (cross-)reconstruction and cosine losses to regularise the decoding process. Notably, ICIS can be cheaply trained and applied directly on top of pre-trained classification models. Experiments on benchmark ZSL datasets show that ICIS produces unseen classifier weights that achieve strong (generalised) zero-shot classification performance. Code is available at https://github.com/ExplainableML/ImageFreeZSL .

Anders Christensen, Massimiliano Mancini, A. Sophia Koepke, Ole Winther, Zeynep Akata• 2023

Related benchmarks

TaskDatasetResultRank
Generalized Zero-Shot LearningCUB
H Score56.5
250
Generalized Zero-Shot LearningSUN
H32.7
184
Generalized Zero-Shot LearningAWA2
S Score93.3
165
Zero-shot LearningCUB
Top-1 Accuracy60.6
144
Zero-shot LearningSUN
Top-1 Accuracy51.8
114
Zero-shot LearningAWA2
Top-1 Accuracy0.646
95
Image ClassificationCUB
Unseen Top-1 Acc45.8
89
Zero-shot Image ClassificationAWA2 (test)
Metric U35.6
46
Zero-shot Image ClassificationCUB
U Score45.8
34
Image ClassificationAWA2 GZSL
Acc (Unseen)35.6
32
Showing 10 of 16 rows

Other info

Follow for update