Abstract
This paper presents the approach taken by the HCMUS team for the MediaEval 2021 NewsImages task, which involves re-matching news articles with their original images. By utilizing OpenAI’s CLIP (Contrastive Language–Image Pre-training) model and optimizing the input text pipeline, the team achieved a top Recall@100 score of 0.77441. The results highlight the efficacy of large-scale pre-trained models in specialized cross-media retrieval tasks, even without extensive weight retraining.
Introduction
In journalism, the relationship between an article's text and its accompanying image is often complex. Unlike simple datasets where an image of a "dog" is paired with the word "dog," news images are frequently illustrative, metaphorical, or context-dependent. The MediaEval 2021 NewsImages Task challenges researchers to correctly re-assign original images to their corresponding articles after they have been decoupled. This represents a significant cross-media retrieval problem due to the "representation discrepancy" between nuanced news text and visual data.
Methodology
The proposed approach centers on the CLIP model, which was pre-trained on 400 million image-text pairs. The authors found that CLIP’s zero-shot performance was sufficiently robust, making retraining on the relatively small NewsImages dataset unnecessary. Instead, they focused on optimizing the input pipeline through several steps:
- Translation: As the NewsImages dataset is in German and CLIP was trained on English, the Google Translate API was used to convert all articles.
- Text Preprocessing: Standard cleaning (lowercasing, stop-word removal) was performed, and the
Ekphrasislibrary was used for typo correction and word segmentation. - Word Count Optimization: The team investigated the impact of input text length by testing variations using the first 10, 20, 30, and 40 words of each article (Runs 01 through 04).
- Ensembling: The final submission, Run 05, was an average ensemble of the four word-count variations, with each given equal weight (0.25).
Results
The team submitted five runs to the competition, with performance metrics summarized in the table below.
The results demonstrate a clear trend: as the number of words fed into the model increased from 10 (Run 01) to 40 (Run 04), performance across all recall metrics consistently improved. This suggests that broader context helps the model narrow down correct matches within a large pool of candidates. The ensemble approach (Run 05) was the most effective, achieving a Recall@100 of 0.77441, indicating the correct image was found within the top 100 results over 77% of the time.
Discussion and Conclusion
One significant takeaway is that for specialized tasks with limited data, massive general-purpose models like CLIP can outperform custom-built or specifically retrained models. However, some limitations remain. The reliance on automated translation may lose linguistic nuances, and the relatively small size of the NewsImages dataset limited the potential for full weight fine-tuning. Future work will explore more complex fusion methods beyond simple averaging to better capture the intricate relationship between news text and imagery.
Summary updated