Learning Image Embeddings using Convolutional Neural Networks for Improved Multi-Modal Semantics

Douwe Kiela, Léon Bottou

Introduction

In distributional semantics, models typically learn word meanings by analyzing their co-occurrence in large text corpora—the idea that "coffee" is defined by its proximity to "cup" or "drink." However, human cognition is inherently grounded; our understanding of a concept like "coffee" is informed not just by text, but by visual, olfactory, and gustatory experiences.

While previous "multi-modal" models attempted to integrate visual data using techniques like SIFT descriptors or "Bag-of-Visual-Words" (BoVW), these methods often failed to capture high-level conceptual information. This paper explores whether the deep learning revolution in computer vision—specifically transfer learning from Convolutional Neural Networks (CNNs)—can provide a more robust way to bridge the gap between linguistic symbols and visual reality.

Methods

The authors developed a pipeline that utilizes pre-trained neural networks as high-level feature extractors for both text and images.

Overview of the multi-modal pipeline, showing the integration of CNN-based visual features and skip-gram linguistic projections.
  1. Linguistic Representations: 100-dimensional vectors were generated from a Wikipedia-based corpus using the skip-gram model.
  2. Visual Representations: The authors employed an AlexNet architecture pre-trained on ImageNet. By removing the final classification layer, they used the 7th fully-connected layer (FC7) to extract a 6144-dimensional feature vector for each image.
  3. Aggregation: To represent a concept (e.g., "dog") associated with multiple images, two methods were tested:
  4. CNN-Mean: Averaging all image vectors for a concept to capture a general "context."
    • CNN-Max: Taking the component-wise maximum to highlight the most defining visual traits.
  5. Multi-Modal Fusion: The final representation was created by normalizing and concatenating the linguistic and visual vectors, with a tuning parameter ($\alpha$) to balance the two modalities.

Datasets

The model was trained and evaluated using several key datasets:

  • ImageNet: A high-quality, object-centered dataset used for feature extraction.
  • ESP Game: A noisier, crowdsourced dataset where images are labeled by players of an online game, testing the model's robustness to "real-world" data.
Examples of images from diverse sources like the ESP Game, illustrating the variety and noise present in real-world visual data.
  • Evaluation Benchmarks: Semantic relatedness was measured using WordSim353 and the MEN dataset (3,000 word pairs), which evaluates how well models align with human-perceived relatedness.

Key Insights

  • The Power of Transfer Learning: Internal representations from a network trained for object classification (e.g., "African elephant") are highly effective for defining those objects linguistically.
  • Mean vs. Max Aggregation: CNN-Mean performed better on general relatedness tasks (MEN), while CNN-Max excelled in similarity tasks (WordSim353). This suggests that averaging captures a broad "vibe," whereas max-pooling identifies specific, sparse visual properties.
  • Robustness: CNN features provided a significant performance boost over traditional BoVW methods even when using noisy ESP Game data, indicating that the improvement stems from the depth of the visual features themselves.

Results

The transition to CNN-based features marked a significant performance leap:

  • Visual-Only Performance: On the MEN-Relevant task, CNN features achieved a correlation of 0.64 with human judgments, nearly doubling the 0.40 achieved by traditional BoVW.
  • Multi-Modal Synergy: Integrating CNN visual features into text-only models improved MEN dataset scores from a 0.62 baseline to 0.72.
  • State-of-the-Art: At the time, these results demonstrated that purely deep-learning-based pipelines (skip-gram + CNN) outperformed hybrid models using older vision techniques.

Limitations and Future Work

Despite its success, the model faces challenges with abstract concepts (e.g., "democracy") that lack clear visual counterparts. Future research could explore more sophisticated joint learning schemes or automated methods for selecting the most "representative" images for a given linguistic concept.

Summary updated

BibTeX
@inproceedings{kiela2014learning,
  author = {Douwe Kiela and Léon Bottou},
  title = {{Learning Image Embeddings using Convolutional Neural Networks for Improved Multi-Modal Semantics}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1005},
}
Figure