Cross-modal retrieval—the task of searching for one data type using another, such as finding an image from a text description—is fundamentally challenged by the "semantic gap." Traditionally, researchers have bridged this gap by forcing image and text embeddings into a shared space using an explicit consistency loss. However, new research presented at IJCAI-21 suggests this long-standing assumption may be flawed.
The Consistency Paradox
The fundamental premise of label-wise cross-modal retrieval has been that making embeddings of different modalities as similar as possible is inherently beneficial. The authors of this paper discovered a paradox: as the mathematical weight of this consistency constraint ($η$) increases, retrieval performance, measured by Normalized Discounted Cumulative Gain (NDCG), actually tends to decrease.
This suggests that different modalities have unique "strengths." Forcing them to be identical acts as a weakening factor, dragging a more discriminative modality down to the level of a weaker one. This insight led to the development of a new framework that abandons explicit consistency loss entirely.
The Semantic Sharing Framework
The proposed Semantic Sharing framework shifts the focus from "alignment for similarity" to "alignment for utility." If both an image and a text string can correctly trigger the same high-level semantic labels within a shared model, they are effectively aligned for retrieval purposes.
Architecture Overview
- Modal Independent Embedding:
- Images: A pre-trained Faster R-CNN extracts 36 distinct object regions from each image.
- Text: A Bidirectional Gated Recurrent Unit (Bi-GRU) tokenizes sentences into a "bag of words" representation.
- Unified Shared Model:
- Both image regions and text tokens are fed into a shared Multi-layer Transformer Encoder.
- The model is trained on two primary tasks: Label Prediction, where a shared classifier predicts category labels for both modalities, and Context Prediction, where the model predicts randomly masked regions or words based on surrounding context (similar to BERT).
Key Results and Performance
By ensuring both modalities perform well on these shared tasks, the model naturally learns a common semantic space without the negative side effects of forced consistency. The method consistently outperformed state-of-the-art (SOTA) models across standard benchmarks:
- FLICKR25K: Achieved an average NDCG of 68.8, surpassing the previous SOTA (DSCMR) at 65.6.
- MSCOCO: Reached an average NDCG of 77.4, significantly higher than ViLBert (57.3) and DSCMR (74.8).
- NUS-WIDE: Demonstrated similar gains, proving the model's ability to scale to large, multi-concept datasets.
Ablation studies confirmed that both the region-based image features and the Transformer architecture are vital to these results. Removing either component led to significant performance drops.
Conclusion
This research demonstrates that explicit consistency regularization is often counterproductive in cross-modal retrieval. By adopting a "Semantic Sharing" perspective—where alignment is a byproduct of shared classification and context tasks—models can preserve the unique discriminative power of individual modalities while achieving superior retrieval accuracy.
Summary updated