Skip to main content
QUICK REVIEW

[Paper Review] Predicting Deep Zero-Shot Convolutional Neural Networks using Textual Descriptions

Jimmy Ba, Kevin Swersky|arXiv (Cornell University)|Jun 1, 2015
Domain Adaptation and Few-Shot Learning40 references136 citations
TL;DR

This paper proposes a novel zero-shot learning framework that predicts classifier weights for both convolutional and fully connected layers of a deep CNN directly from textual descriptions, such as Wikipedia articles, without requiring handcrafted attributes. By leveraging multi-layer CNN features and end-to-end training on CUB-200-2010 and Oxford Flowers datasets, the model achieves state-of-the-art performance on ROC-AUC and precision-recall metrics, significantly outperforming prior methods.

ABSTRACT

One of the main challenges in Zero-Shot Learning of visual categories is gathering semantic attributes to accompany images. Recent work has shown that learning from textual descriptions, such as Wikipedia articles, avoids the problem of having to explicitly define these attributes. We present a new model that can classify unseen categories from their textual description. Specifically, we use text features to predict the output weights of both the convolutional and the fully connected layers in a deep convolutional neural network (CNN). We take advantage of the architecture of CNNs and learn features at different layers, rather than just learning an embedding space for both modalities, as is common with existing approaches. The proposed model also allows us to automatically generate a list of pseudo- attributes for each visual category consisting of words from Wikipedia articles. We train our models end-to-end us- ing the Caltech-UCSD bird and flower datasets and evaluate both ROC and Precision-Recall curves. Our empirical results show that the proposed model significantly outperforms previous methods.

Motivation & Objective

  • To address the challenge of collecting fine-grained visual annotations for large-scale image datasets by leveraging abundant textual data from online encyclopedias like Wikipedia.
  • To eliminate the need for manually defined attributes in zero-shot learning by automatically generating pseudo-attributes from text descriptions.
  • To improve zero-shot classification performance by predicting both convolutional and fully connected layer weights using text features.
  • To evaluate the effectiveness of different loss functions and feature fusion strategies across multiple CNN layers.
  • To demonstrate that text-based models can learn semantically meaningful representations that align with visual features.

Proposed method

  • The model uses a multi-layer perceptron (MLP) to process TF-IDF features from Wikipedia articles to predict classifier weights for both the final fully connected layer and intermediate convolutional layers of a CNN.
  • A convolutional classifier is introduced that applies learned filters (predicted from text) to intermediate CNN feature maps and computes scores via global average pooling.
  • The model is trained end-to-end using a joint loss function that optimizes for both zero-shot generalization and in-domain performance on seen classes.
  • Features from multiple CNN layers are combined and empirically evaluated to determine their impact on classification performance.
  • Pseudo-attributes are discovered by measuring the sensitivity of classification performance to word removal in the text input, identifying key discriminative terms.
  • The model learns a joint embedding space where text features predict image classifier weights, enabling zero-shot inference without training images.

Experimental results

Research questions

  • RQ1Can a deep neural network predict CNN classifier weights directly from raw textual descriptions, such as Wikipedia articles, to enable zero-shot image classification?
  • RQ2Does predicting weights for both convolutional and fully connected layers improve zero-shot generalization compared to only predicting final-layer weights?
  • RQ3Can the model automatically discover meaningful pseudo-attributes from text that correlate with visual characteristics?
  • RQ4How do different loss functions (e.g., triplet, contrastive) affect performance on zero-shot and retrieval benchmarks?
  • RQ5To what extent do features from different CNN layers contribute to improved classification accuracy and robustness?

Key findings

  • The proposed model achieves a ROC-AUC of 0.77 on the Oxford Flowers dataset and 0.66 on CUB-200-2010 when trained on the full dataset, outperforming previous state-of-the-art methods.
  • On the CUB-200-2010 dataset, the model achieves a mean Average-Precision of 0.62 with the joint fc+conv model, significantly improving upon prior approaches.
  • The model's performance on seen classes (top-1 accuracy ~60%) is comparable to state-of-the-art fine-grained classifiers that use additional annotations.
  • Sensitivity analysis reveals that words like 'tanager', 'purplish', and 'variable' are highly influential in classifying unseen bird species, indicating effective pseudo-attribute discovery.
  • Visualizing the most similar images using predicted weights shows that the model retrieves visually similar classes, confirming that text embeddings capture meaningful semantic and visual relationships.
  • Combining features from multiple CNN layers improves performance, with the best results achieved when using both intermediate convolutional features and the final fully connected layer.

Better researchstarts right now

From paper design to paper writing, dramatically reduce your research time.

No credit card · Free plan available

This review was created by AI and reviewed by human editors.