[Paper Review] Training and Evaluating Multimodal Word Embeddings with Large-scale Web Annotated Images
This paper introduces Pinterest40M, a large-scale multimodal dataset with 40 million images and 300 million text descriptions, and a corresponding evaluation set of 10,674 human-verified word/phrase similarity pairs. It proposes a weighted-sharing RNN model that fuses visual and textual features, demonstrating that visual information significantly improves word embedding quality, with a 9.5% gain over Word2Vec on the Gold RP10K benchmark.
In this paper, we focus on training and evaluating effective word embeddings with both text and visual information. More specifically, we introduce a large-scale dataset with 300 million sentences describing over 40 million images crawled and downloaded from publicly available Pins (i.e. an image with sentence descriptions uploaded by users) on Pinterest. This dataset is more than 200 times larger than MS COCO, the standard large-scale image dataset with sentence descriptions. In addition, we construct an evaluation dataset to directly assess the effectiveness of word embeddings in terms of finding semantically similar or related words and phrases. The word/phrase pairs in this evaluation dataset are collected from the click data with millions of users in an image search system, thus contain rich semantic relationships. Based on these datasets, we propose and compare several Recurrent Neural Networks (RNNs) based multimodal (text and image) models. Experiments show that our model benefits from incorporating the visual information into the word embeddings, and a weight sharing strategy is crucial for learning such multimodal embeddings. The project page is: http://www.stat.ucla.edu/~junhua.mao/multimodal_embedding.html
Motivation & Objective
- Address the lack of large-scale, multimodal datasets combining images and text descriptions for training robust word embeddings.
- Develop a scalable evaluation framework to measure the quality of word embeddings in capturing semantic similarity and relatedness.
- Propose and evaluate multimodal RNN models that effectively integrate visual and textual signals into word representations.
- Investigate the impact of visual supervision strategies—particularly weight sharing—on learning meaningful, generalizable word embeddings.
- Enable benchmarking of multimodal word embedding models using a large, user-click-derived, human-verified evaluation dataset.
Proposed method
- Constructs the Pinterest40M dataset by crawling 40 million images with 300 million sentence descriptions from publicly shared Pins on Pinterest.
- Generates a large-scale evaluation dataset (RP10M and Gold RP10K) by mining user click logs from Pinterest’s image search system and cleaning noisy pairs via crowdsourcing.
- Proposes a multimodal RNN model (Model A) that shares weights between the word embedding layer and the output softmax layer, enabling soft visual supervision across all words in a sentence.
- Implements alternative models (B and C) that apply direct visual supervision to the final RNN hidden state or word embeddings, respectively, for comparison.
- Trains models using a joint loss function that minimizes the Euclidean distance between image features and the RNN’s hidden states or word embeddings.
- Employs t-SNE visualization to qualitatively assess the clustering of semantically similar words in the learned embedding space.
Experimental results
Research questions
- RQ1How effective is visual information in improving the quality of word embeddings when trained on a large-scale multimodal dataset?
- RQ2Does a weight-sharing strategy between word embeddings and output layers enhance the fusion of visual and textual signals in multimodal RNNs?
- RQ3What is the relative performance of multimodal RNN models compared to pure text baselines like Word2Vec and GloVe on semantic similarity tasks?
- RQ4How well do models trained on Pinterest40M generalize to semantic similarity and relatedness tasks compared to models trained on larger pure-text corpora?
- RQ5Can a large-scale, user-activity-derived evaluation dataset provide a more comprehensive and realistic benchmark for word embedding models than small, manually curated datasets?
Key findings
- Visual information significantly improves word embedding quality: Model A achieves 0.843 on the Gold RP10K benchmark, outperforming the pure text RNN baseline by 9.5%.
- The weight-sharing strategy is crucial: Model A without weight sharing scores 0.773 on Gold RP10K, a 7.0% drop compared to the full model.
- Model A outperforms state-of-the-art pure-text models: It exceeds Word2Vec-GoogleNews (0.716) by 9.5% on Gold RP10K and GloVe-Twitter (0.693) by 15.0% on RP10M.
- Despite training on only 3 billion words, models trained on Pinterest40M surpass Word2Vec, which is trained on 300 billion words, indicating the value of multimodal supervision.
- Model B, which applies direct visual supervision to the final RNN state, underperforms due to poor gradient flow to earlier word embeddings, highlighting the importance of architectural design.
- t-SNE visualization confirms that semantically similar words cluster together in the embedding space, validating the model’s ability to learn meaningful representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.