Abstract
Word embeddings like Word2Vec and GloVe are celebrated for capturing semantic contextuality and real-world analogies, such as the famous "king - man + woman = queen" relationship. However, standard convolutional image embeddings (e.g., VGGNet, AlexNet) often fail to capture this relational knowledge. We introduce IMAGINATOR, a pre-trained joint embedding (JE) framework trained on 21,000 distinct object classes from 1 million image-text pairs. By grounding visual objects at the word level, IMAGINATOR creates a unified vector space that encapsulates object-object co-location, word-object co-location, and word-object correlation. Our results show that IMAGINATOR outperforms state-of-the-art models in image captioning, Image2Tweet generation, and text-based image retrieval, establishing a new standard for multimodal semantic alignment.
Introduction
In Natural Language Processing (NLP), the distributional hypothesis—"You shall know a word by the company it keeps"—has led to powerful word embeddings. These embeddings allow for vector arithmetic that mirrors human logic. In contrast, computer vision models are typically optimized for object identification rather than relational context. Existing multimodal models often operate at the sentence level, which can be too coarse to capture fine-grained semantic relationships.
IMAGINATOR addresses this by aligning visual objects with words in a shared distributional space, effectively bringing the "magic" of word analogies to the visual domain. The authors posit a "Unit Hypothesis": the "word" is the smallest meaningful unit of text, and a "detected object" is its visual equivalent. By aligning these units, the model learns much more granular relationships than models that look at whole sentences.
Methodology
The core innovation of IMAGINATOR is its use of word-level grounding. Instead of looking at an entire image as one unit, it breaks images down into 21,000 distinct object classes. The system builds three distinct representations to capture the complementary aspects of both modalities:
- Object-Object Co-location ($v_{oo}$): Captures how often visual objects appear together (e.g., "car" and "traffic light").
- Word-Object Co-location ($v_{wo}$): Captures how often specific words in captions appear with specific visual objects (e.g., the word "drive" appearing with a "car" object).
- Word-Object Correlation ($v_{wor}$): Maps visual features (extracted via VGG19) directly to word vector spaces.
To refine these, the authors used Positive Pointwise Mutual Information (PPMI) to weight the importance of co-occurrences and Singular Value Decomposition (SVD) with eigenvalue weighting to reduce dimensionality while preserving semantic structure. Finally, Orthogonal Projection was used to align the image and text vectors into a single, unified space.
Experimental Results
IMAGINATOR was evaluated across a massive battery of benchmarks, including 10 word-contextuality datasets and 5 image-similarity datasets.
Intrinsic Evaluation
In word-contextuality tests, IMAGINATOR achieved an average Euclidean distance of 0.16, significantly beating out CLIP (0.25) and GloVe (1.5). This indicates that the joint embedding space successfully captures the intended semantic relationships.
Downstream Tasks
- Image Captioning: On the Flickr30k dataset, IMAGINATOR reached a 33.2 BLEU score, outperforming heavyweights like CLIP (31.3) and SJE (30.5).
- Image2Tweet: This task is notoriously difficult because tweets are more "human" and less descriptive than standard captions. IMAGINATOR achieved a CIDEr score of 0.0095, nearly triple the performance of some baseline models.
- Retrieval: The "BERT-IMAGINATOR" variant set a new standard for text-based image retrieval on Flickr30K with an 89.48 R@1 score.
Conclusion
IMAGINATOR demonstrates that the principles of distributional semantics from NLP remain highly relevant for multimodal alignment. By focusing on word-level grounding, the model achieves a level of semantic sharpness that sentence-level models lack. Future work will focus on scaling the object detection ceiling beyond 21,000 classes and exploring more sophisticated vector merging techniques such as autoencoders or contrastive learning.
Summary updated