[Paper Review] Show, Tell and Discriminate: Image Captioning by Self-retrieval with Partially Labeled Data
This paper proposes a self-retrieval guided image captioning framework that improves caption discriminativeness by using retrieval performance as a training signal. By leveraging both labeled and unlabeled images through a self-retrieval module that evaluates caption quality via text-to-image retrieval, the model generates more unique, diverse, and discriminative captions, achieving state-of-the-art results on COCO and Flickr30k datasets with improved recall and novelty metrics.
The aim of image captioning is to generate captions by machine to describe image contents. Despite many efforts, generating discriminative captions for images remains non-trivial. Most traditional approaches imitate the language structure patterns, thus tend to fall into a stereotype of replicating frequent phrases or sentences and neglect unique aspects of each image. In this work, we propose an image captioning framework with a self-retrieval module as training guidance, which encourages generating discriminative captions. It brings unique advantages: (1) the self-retrieval guidance can act as a metric and an evaluator of caption discriminativeness to assure the quality of generated captions. (2) The correspondence between generated captions and images are naturally incorporated in the generation process without human annotations, and hence our approach could utilize a large amount of unlabeled images to boost captioning performance with no additional laborious annotations. We demonstrate the effectiveness of the proposed retrieval-guided method on COCO and Flickr30k captioning datasets, and show its superior captioning performance with more discriminative captions.
Motivation & Objective
- To address the problem of generic, templated captions produced by conventional image captioning models that replicate frequent phrases from training data.
- To improve the discriminativeness of generated captions without relying on additional human annotations.
- To enable effective use of large-scale unlabeled images by leveraging the natural correspondence between images and their generated captions.
- To develop a training signal that evaluates caption quality based on retrieval performance, enhancing both fidelity and uniqueness.
Proposed method
- The framework consists of a Captioning Module that generates captions from images and a Self-retrieval Module that performs text-to-image retrieval using the generated caption as a query.
- The self-retrieval module provides a differentiable reward signal via retrieval loss, which is back-propagated using the REINFORCE algorithm to optimize the captioning model.
- For labeled images, both ground-truth captions and self-retrieval are used to compute the reward; for unlabeled images, only self-retrieval is used, enabling semi-supervised learning.
- Hard negative samples are mined from unlabeled data by ranking images based on similarity to the ground-truth caption, with optimal range [100, 1000] selected for training.
- The method uses a dual objective: maximizing caption fidelity through MLE and enhancing discriminativeness via retrieval-based reinforcement learning.
- The model is trained end-to-end with a combined loss: cross-entropy for caption generation and negative retrieval loss as a reinforcement signal.
Experimental results
Research questions
- RQ1Can self-retrieval performance serve as an effective, self-supervised signal to improve caption discriminativeness?
- RQ2How can unlabeled images be effectively utilized in image captioning without requiring additional annotations?
- RQ3Does incorporating retrieval-based reward improve both the uniqueness and novelty of generated captions?
- RQ4What is the optimal balance between labeled and unlabeled data in a semi-supervised captioning setup?
- RQ5How does hard negative mining from unlabeled data affect the model’s ability to generate discriminative captions?
Key findings
- The proposed method achieves state-of-the-art performance on COCO and Flickr30k, with a 33.0% recall@1 on the COCO Karpathy test split, significantly outperforming baseline models.
- The model improves text-to-image retrieval performance by a large margin, indicating that generated captions are more discriminative and better distinguish their source images.
- On COCO, the method generates 72.34% unique captions and 61.52% novel captions, a substantial improvement over the baseline of 61.56% and 51.38% respectively.
- The optimal data proportion for training is 1:1 labeled-to-unlabeled images, with the highest performance observed at this ratio.
- Hard negative mining from the top 1000 most similar unlabeled images (ranked from 100 to 1000) yields the best performance, avoiding overfitting to overly similar distractors.
- The model maintains high fidelity while significantly improving discriminativeness, avoiding the common trade-off between diversity and performance seen in prior GAN-based or diversity-optimized methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.