Fluent and Accurate Image Captioning with a Self-Trained Reward Model
<|reference_start|>Fluent and Accurate Image Captioning with a Self-Trained Reward Model: Fine-tuning image captioning models with hand-crafted rewards like the CIDEr metric has been a classical strategy for promoting caption quality at the sequence level. This approach, however, is known to limit descriptiveness and semantic richness and tends to drive the model towards the style of ground-truth sentences, thus losing detail and specificity. On the contrary, recent attempts to employ image-text models like CLIP as reward have led to grammatically incorrect and repetitive captions. In this paper, we propose Self-Cap, a captioning approach that relies on a learnable reward model based on self-generated negatives that can discriminate captions based on their consistency with the image. Specifically, our discriminator is a fine-tuned contrastive image-text model trained to promote caption correctness while avoiding the aberrations that typically happen when training with a CLIP-based reward. To this end, our discriminator directly incorporates negative samples from a frozen captioner, which significantly improves the quality and richness of the generated captions but also reduces the fine-tuning time in comparison to using the CIDEr score as the sole metric for optimization. Experimental results demonstrate the effectiveness of our training strategy on both standard and zero-shot image captioning datasets.<|reference_end|>
@article{moratelli2024fluent,
    title={Fluent and Accurate Image Captioning with a Self-Trained Reward Model},
    author={Nicholas Moratelli, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara},
    journal={arXiv preprint arXiv:2408.16827},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.16827},
    primaryClass={cs.CV}
}