Introduction
Standard cross-modal retrieval models, which aim to match images with relevant text, typically rely on "literal" datasets. In these datasets, like MS-COCO, captions provide a direct description of the visual content. However, real-world media—particularly news—often features a "complementary" or symbolic relationship between images and text.
This paper introduces a novel training approach designed to handle these complex, non-literal pairings by preserving semantic neighborhoods, ensuring that semantically related items stay together in the learned joint space.
The Challenge: Literal vs. Symbolic Data
In literal datasets, the relationship is redundant: a caption says "a person riding a bike" and the image shows exactly that. In contrast, news articles often use symbolic imagery. For example, a photo of a border wall might accompany an article about immigration policy. There is no "policy" in the pixels and no "wall" in the text.
Current models struggle with this for two main reasons:
- Visual Diversity: Abstract topics like "immigration" can be represented by visually unrelated images (e.g., a protest vs. a fence).
- Semantic Drift: Standard training often ignores the internal structure of each modality, causing topically related items to be pushed apart in the embedding space.
Methodology: Semantic Neighborhoods
To address these issues, the authors propose a "within-modality" loss framework that uses text as a semantic anchor.
The Semantic Fingerprint
Because text is better at capturing abstract concepts than raw pixels, the researchers use a pre-trained Doc2Vec model to establish "ground-truth" semantic similarity within the text corpus. This defines the "neighborhood" for each item.
Within-Modality Losses
The model employs two key losses to enforce consistency:
- $L_{text}$: Ensures that texts which are neighbors in the Doc2Vec space remain close in the final joint embedding space.
- $L_{img}$: Forces images paired with neighboring texts to be close in the embedding space, even if they are visually dissimilar.
By using Angular Loss and N-Pairs, the model considers the geometric relationships of multiple items simultaneously, increasing its ability to discriminate between complex topics.
Evaluation and Key Insights
The method was tested on four datasets, ranging from literal (MS-COCO) to highly abstract (Politics and GoodNews).
- Text as the Semantic Anchor: The model learns that a "rainbow flag" and "text about LGBT rights" belong together by leveraging the text-based neighborhood, even if the visual features of the flag don't explicitly appear in the text.
- Robustness to Ambiguity: By looking at the neighborhood of articles an image appears with, the model can better resolve the symbolic meaning of ambiguous news images.
- Superior Performance: The approach achieved a 4% relative boost in accuracy on the Politics dataset compared to the strongest baseline and proved to be "backbone agnostic," improving existing state-of-the-art models like PVSE.
Conclusion
While literal datasets remain the benchmark for many, this research highlights the necessity of specialized techniques for real-world, symbolic data. By preserving semantic neighborhoods, models can move beyond simple object recognition toward a deeper understanding of the abstract relationships between what we see and what we read. This has significant implications for fields like fake news detection, where the alignment of abstract claims and supporting imagery is crucial.
Summary updated