Skip to main content
QUICK REVIEW

[Paper Review] Visually Aligned Word Embeddings for Improving Zero-shot Learning

Ruizhi Qiao, Lingqiao Liu|arXiv (Cornell University)|Jul 18, 2017
Domain Adaptation and Few-Shot LearningComputer Science13 references15 citations
TL;DR

This paper proposes visually aligned word embeddings (VAWE), a method that re-embeds pre-trained distributed word embeddings (DWEs) into a new space using a neural network with triplet loss to align their neighborhood structure with visual features. VAWE significantly improves zero-shot learning performance across four benchmark datasets and four ZSL methods, achieving state-of-the-art results competitive with human-annotated attributes while remaining generalizable across different ZSL frameworks.

ABSTRACT

Zero-shot learning (ZSL) highly depends on a good semantic embedding to connect the seen and unseen classes. Recently, distributed word embeddings (DWE) pre-trained from large text corpus have become a popular choice to draw such a connection. Compared with human defined attributes, DWEs are more scalable and easier to obtain. However, they are designed to reflect semantic similarity rather than visual similarity and thus using them in ZSL often leads to inferior performance. To overcome this visual-semantic discrepancy, this work proposes an objective function to re-align the distributed word embeddings with visual information by learning a neural network to map it into a new representation called visually aligned word embedding (VAWE). Thus the neighbourhood structure of VAWEs becomes similar to that in the visual domain. Note that in this work we do not design a ZSL method that projects the visual features and semantic embeddings onto a shared space but just impose a requirement on the structure of the mapped word embeddings. This strategy allows the learned VAWE to generalize to various ZSL methods and visual features. As evaluated via four state-of-the-art ZSL methods on four benchmark datasets, the VAWE exhibit consistent performance improvement.

Motivation & Objective

  • To address the visual-semantic discrepancy in zero-shot learning, where distributed word embeddings (DWEs) capture semantic similarity but not visual similarity.
  • To improve zero-shot learning performance by aligning DWEs with visual feature space without requiring shared embedding space with visual features.
  • To develop a general-purpose method that enhances various ZSL approaches without being tied to a specific model architecture.
  • To demonstrate that DWEs, when re-embedded via visual alignment, can achieve performance comparable to human-annotated attributes.
  • To validate the robustness and generalization of the method across different visual feature extractors and datasets.

Proposed method

  • Train a neural network to map pre-trained word embeddings (e.g., word2vec) into a new space using triplet loss, enforcing that semantically similar words are close in the visual domain.
  • Use visual signatures—mean pooled features from deep networks like VGG-19 or DeCAF—as proxies for visual class representations to guide the alignment.
  • Construct triplets of anchor, positive (semantically similar), and negative (dissimilar) word embeddings, where the positive is closer to the anchor in visual space than the negative.
  • Learn the mapping function via end-to-end training using triplet loss to minimize the visual-semantic discrepancy in neighborhood structure.
  • Apply the learned VAWEs to any ZSL method by replacing standard word embeddings with VAWEs during training and inference.
  • Evaluate generalization by training VAWEs on one visual feature type (e.g., DeCAF) and testing on another (e.g., VGG-19), showing robustness to feature choice.

Experimental results

Research questions

  • RQ1Does the visual-semantic discrepancy in distributed word embeddings degrade zero-shot learning performance?
  • RQ2Can a learned mapping from word embeddings to a visually aligned space improve ZSL performance across multiple methods and datasets?
  • RQ3How does the choice of visual features affect the quality and generalization of the learned visually aligned word embeddings?
  • RQ4Can VAWEs achieve performance competitive with human-annotated attributes in zero-shot learning?
  • RQ5Is the VAWE method generalizable across different ZSL frameworks and visual feature extractors?

Key findings

  • VAWE improves zero-shot learning performance on all four benchmark datasets (aPY, AwA, CUB, SUN) and across four state-of-the-art ZSL methods.
  • On coarse-grained datasets (aPY and AwA), VAWE achieves a significant performance boost, with ESZSL reaching 76.16% accuracy on AwA using VGG-19 features.
  • The performance gain is most pronounced for ConSE and ESZSL, which directly learn visual-semantic mappings and are most sensitive to embedding quality.
  • VAWE outperforms all non-attribute-based ZSL methods and is competitive with the best attribute-based methods, especially on coarse-grained datasets.
  • VAWE generalizes well across visual feature extractors: using DeCAF or low-level features to train VAWE still yields strong performance when tested with VGG-19 features.
  • The method improves performance in 22 out of 24 experimental settings, demonstrating consistent and robust gains across diverse configurations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.