Abstract
Image-text retrieval (ITR) models have achieved high accuracy on curated benchmarks but remain brittle when faced with real-world noise, such as image blur or grammatical errors. This paper introduces RVSE (Robust Visual Semantic Embedding), a training framework designed to enhance model resilience through novel semantic-preserving augmentations. By applying global corruptions to images (SPAug-I) and linguistic variations to text (SPAug-T), RVSE forces models to prioritize core semantic content over superficial noise. Experimental results on MSCOCO and a newly introduced Corrupted Flickr30K benchmark demonstrate that RVSE not only improves robustness against unseen noise but also enhances performance on clean datasets, outperforming existing state-of-the-art methods.
1. Introduction
Image-text retrieval is a fundamental task in multimodal AI, enabling applications such as cross-modal search and automated image tagging. While current models like VSE∞ perform exceptionally well on "clean" datasets, they often fail in real-world scenarios where inputs are imperfect. Human-generated captions frequently contain typos or grammatical inconsistencies, and images captured in the wild are often subject to motion blur, poor lighting, or compression artifacts.
Standard models struggle to distinguish between essential semantic features (e.g., the presence of a specific object) and environmental noise. This results in a significant performance gap when models encounter "unobserved" corruptions. To bridge this gap, we propose RVSE, a framework that leverages semantic-preserving augmentations to learn noise-invariant embedding vectors.
2. Methodology
The core of the RVSE framework lies in two distinct augmentation strategies designed to maintain the relationship between image and text while introducing controlled variance.
2.1 SPAug-I: Semantic-Preserving Augmentation for Images
Traditional computer vision augmentations, such as random cropping, can inadvertently remove the primary subject of an image, breaking the link with its caption. To avoid this, SPAug-I utilizes 16 types of global corruptions. These include Gaussian noise, various blurs (motion, zoom), "frosted glass" effects, and JPEG compression. Because these effects are applied globally, the semantic integrity of the scene remains intact, forcing the visual encoder (e.g., ResNet) to extract features that are robust to visual "static."
2.2 SPAug-T: Semantic-Preserving Augmentation for Text
To address linguistic brittleness, SPAug-T introduces six techniques that alter the surface structure of a sentence without changing its underlying meaning. These include:
- Synonym replacement
- Article removal
- Back-translation
- Grammatical perturbations (verb tense shifts, "be" verb errors, and singular/plural swaps)
For instance, a caption like "My dad catches a fish" might be augmented to "My dad caught fishes." This ensures the text encoder (e.g., BERT) learns to map different linguistic expressions of the same event to the same region in the embedding space.
3. Experimental Setup
The framework was evaluated using two primary benchmarks: MSCOCO-1K (123,000+ images) and Flickr30K (31,700 images). To specifically measure robustness, the authors developed a Corrupted Flickr30K test set, categorized into three subsets:
- Corrupted-seen: Noise types encountered during training.
- Corrupted-unseen: 12 entirely new noise types (e.g., spatter, saturation) to test generalization.
- Corrupted-mixed: A combination of various interference types.
4. Results and Discussion
Performance was quantified using RSUM, the cumulative sum of Recall@1, 5, and 10 for both image-to-text and text-to-image retrieval.
4.1 Performance on Clean and Noisy Data
RVSE demonstrated superior performance across all metrics. On the clean MSCOCO-1K dataset, RVSE achieved an RSUM of 510.5, surpassing the previous state-of-the-art VSE∞ (502.6). This suggests that semantic-preserving augmentation acts as an effective regularizer, improving the model's ability to identify universal features even in the absence of noise.
The most dramatic gains were observed on corrupted data. On the "corrupted-mixed" Flickr30K set, RVSE maintained an RSUM of 358.5, while the VSE∞ baseline dropped to 259.2. This represents a massive relative improvement in reliability for real-world applications.
4.2 Generalization and Linguistic Robustness
Crucially, RVSE showed a 28% improvement over the baseline on "unseen" corruptions. This indicates that the model did not simply memorize specific noise patterns but instead learned to prioritize semantic meaning. Furthermore, the model remained highly effective at matching images to sentences even when those sentences contained intentional grammatical errors, proving the efficacy of SPAug-T.
5. Conclusion and Future Work
RVSE provides a robust framework for image-text retrieval by emphasizing semantic preservation during the augmentation process. By moving away from destructive augmentations like masking and toward global, meaning-preserving noise, the model achieves state-of-the-art results on both clean and corrupted benchmarks.
Future research may address the computational overhead associated with applying multiple augmentations per epoch. Additionally, while SPAug-T is currently optimized for English, adapting these linguistic rules to morphologically rich languages remains a vital next step. Finally, exploring the scalability of these techniques within larger foundation models like CLIP could further push the boundaries of robust multimodal understanding.
Summary updated