paper-with-me

Papers

Distinctive Image Captioning: Leveraging Ground Truth Captions in CLIP Guided Reinforcement Learning

2024-02-21 · Antoine Chaffin, Ewa Kijak, Vincent Claveau

Training image captioning models using teacher forcing results in very generic samples, whereas more distinctive captions can be very useful in retrieval applications or to produce alternative texts describing images for accessibility. Reinforcement Learning (RL) allows to use cross-modal retrieval similarity score between the generated caption and the input image as reward to guide the training, leading to more distinctive captions. Recent studies show that pre-trained cross-modal retrieval models can be used to provide this reward, completely eliminating the need for reference captions. However, we argue in this paper that Ground Truth (GT) captions can still be useful in this RL framework. We propose a new image captioning model training strategy that makes use of GT captions in different ways. Firstly, they can be used to train a simple MLP discriminator that serves as a regularization to prevent reward hacking and ensures the fluency of generated captions, resulting in a textual GAN setup extended for multimodal inputs. Secondly, they can serve as additional trajectories in the RL strategy, resulting in a teacher forcing loss weighted by the similarity of the GT to the image. This objective acts as an additional learning signal grounded to the distribution of the GT captions. Thirdly, they can serve as strong baselines when added to the pool of captions used to compute the proposed contrastive reward to reduce the variance of gradient estimate. Experiments on MS-COCO demonstrate the interest of the proposed training strategy to produce highly distinctive captions while maintaining high writing quality.

📄 PDF Abstract BibTeX arXiv:2402.13936

Code (1)

nohtow/wtf-rl 공식 구현 pytorch

Tasks

Cross-Modal RetrievalImage CaptioningReinforcement Learning (RL)Retrieval

Similar Papers 제목 키워드 기반

Group-based Distinctive Image Captioning with Memory Attention

2021-08-20 · Jiuniu Wang, Wenjia Xu, Qingzhong Wang, Antoni B. Chan

Describing images using natural language is widely known as image captioning, which has made consistent progress due to the development of computer vision and natural language generation techniques. Though conventional c…

Contrastive LearningImage CaptioningText Generation

Group-based Distinctive Image Captioning with Memory Difference Encoding and Attention

2025-04-03 · Jiuniu Wang, Wenjia Xu, Qingzhong Wang, Antoni B. Chan

Recent advances in image captioning have focused on enhancing accuracy by substantially increasing the dataset and model size. While conventional captioning models exhibit high performance on established metrics such as …

Caption GenerationContrastive LearningImage Captioning

Distinctive Image Captioning via CLIP Guided Group Optimization

2022-08-08 · Youyuan Zhang, Jiuniu Wang, Hao Wu, Wenjia Xu

Image captioning models are usually trained according to human annotated ground-truth captions, which could generate accurate but generic captions. In this paper, we focus on generating distinctive captions that can dist…

Image Captioning

On Distinctive Image Captioning via Comparing and Reweighting

2022-04-08 · Jiuniu Wang, Wenjia Xu, Qingzhong Wang, Antoni B. Chan

Recent image captioning models are achieving impressive results based on popular metrics, i.e., BLEU, CIDEr, and SPICE. However, focusing on the most popular metrics that only consider the overlap between the generated c…

Image CaptioningRetrievalSentence

Hierarchical Scene Graph Encoder-Decoder for Image Paragraph Captioning

2020-10-12 · ACM International Conference on Multimedia 2020 10 · Yang, Xu, Chongyang Gao, Hanwang Zhang 외

When we humans tell a long paragraph about an image, we usually first implicitly compose a mental “script” and then comply with it to generate the paragraph. Inspired by this, we render the modern encoder-decoder base…

DecoderImage Paragraph CaptioningSentence