Multimodal Skip-gram Using Convolutional Pseudowords

Zachary Seymour, Yingming Li, Zhongfei ZhangarXiv 2015

TL;DR

This paper introduces "convolutional pseudowords"—a method to ground word embeddings in visual context by additively combining text vectors with CNN-derived image features. By replacing standard context words with these multimodal representations during Skip-gram training, the authors create a simpler, more direct mapping between vision and language that improves semantic similarity performance.

What Problem Does This Paper Address?

Traditional distributional semantic models (like Word2Vec's Skip-gram) learn word meanings solely from textual co-occurrence. However, human language learning is inherently multimodal; we learn the word "apple" not just by reading about it, but by seeing, touching, and tasting one. This lack of "grounding" in the physical world limits the representational power of pure-text models.

Existing multimodal models often struggle with complexity, requiring numerous hyperparameters or assuming that every word in the vocabulary has a corresponding image. The authors seek a simplified training objective that can learn a robust mapping between modalities, allowing for better performance in tasks like image retrieval, object recognition, and zero-shot learning.

Methods

The authors build upon the standard Skip-gram architecture, which typically learns to predict a target word's context. Their innovation lies in the Multimodal Pseudoword:

$$z_w = u_w + Mv_w$$

Where:

  • $u_w$ is the distributed word representation.
  • $v_w$ is the visual feature vector (extracted from a pre-trained AlexNet-style CNN).
  • $M$ is a mapping matrix that projects visual features into the multimodal space.

Instead of predicting standard words, the model is trained to predict these "pseudowords" in the context window. To handle the fact that a single image might not represent a whole concept (e.g., one picture of a "dog" isn't all dogs), they tested two approaches:

  1. Centroid Method: Averaging the CNN features of 100 sampled images for a concept.
  2. Hypersphere Method: Fitting a Gaussian Mixture Model (GMM) to the image clusters and sampling a new point at each training step, effectively augmenting the data and capturing more visual variance.
Figure 1: t-SNE embedding of a subset of the convolutional features extracted from Imagenet, demonstrating the inherent clustering of the dataset.

Datasets

  • Text Corpus: A Wikipedia dump containing approximately 800 million tokens.
  • Visual Data: Image data from ILSVRC 2012 (ImageNet). The authors identified ~5,100 "visual" words that appeared frequently in the text and had corresponding entries in ImageNet.
  • Evaluation Benchmarks: The models were tested on four word-similarity datasets: MEN (relatedness), Simlex-999 (semantic similarity), SemSim (semantic similarity), and VisSim (visual similarity).

Key Insights and Ideas

  • Grounding via Substitution: Rather than adding a complex new term to the loss function, the authors simply change the target of the prediction. This makes the model easier to integrate into existing hierarchical softmax formulations.
  • Initialization is Critical: A major finding was that Random Initialization of the mapping matrix $M$ actually degrades performance compared to pure-text models. The model needs a "head start" via Neural Weight Initialization (pre-training $M$ on existing word embeddings) to successfully bridge the gap between visual and textual spaces.
  • Semantic vs. Visual Nuance: The model tends to prioritize semantic category over pure visual shape. For example, while other models might link "donut" to "pizza" because both are round, this model links "donut" to "cupcake," capturing the "junk food" semantic relationship.
  • Visual Propagation: Even words without explicit visual data (like "depth" or "chaos") see their embeddings shift because they appear in the context of visual words.

Key Results

The quantitative results show that the pseudoword approach significantly outperforms pure Skip-gram on similarity benchmarks, particularly those focused on semantic and visual similarity.

Spearman correlation results across benchmarks

As seen in the table above, PSEUDOWORDS-H (Hypersphere) achieved a score of 0.71 on SemSim, a notable jump from the 0.62 achieved by pure SKIP-GRAM.

Qualitatively, the shift in nearest neighbors is striking. For the word "donut," the pure text model looks for locations ("diner"), while the multimodal model finds related foods ("cupcake").

Top 3 neighbors comparison

Limitations and Future Work

The authors note that while the model performs well at a semantic level, it sometimes loses pure visual similarity (e.g., ranking "sparrow" as more similar to "owl" than "hawk" due to semantic synonyms, despite the hawk being visually closer).

The exact nature of the learned mapping $M$ remains somewhat opaque. Future work aims to apply these embeddings to zero-shot image labeling (labeling images of objects the model hasn't seen during training) and improving image retrieval systems.

Summary updated

BibTeX
@misc{seymour2015multimodal,
  author = {Zachary Seymour and Yingming Li and Zhongfei Zhang},
  title = {{Multimodal Skip-gram Using Convolutional Pseudowords}},
  year = {2015},
  eprint = {1511.04024},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.04024},
}
Figure