Cross-Domain Image Captioning with Discriminative Finetuning

Roberto Dessì, Michele Bevilacqua, Eleonora Gualdoni, Nathanaël Carraz Rakotonirina, Francesca Franzon +1 more
2/14/2026

No official code found. Best implementation: facebookresearch/EGG (323 stars, MIT, last commit 2025-05-06). 1 more below.

Abstract

Neural captioners are typically trained to mimic human-generated references without optimizing for any specific communication goal, leading to problems such as the generation of vague captions. In this paper, we show that fine-tuning an out-of-the-box neural captioner with a self-supervised discriminative communication objective helps to recover a plain, visually descriptive language that is more informative about image contents. Given a target image, the system must learn to produce a description that enables an out-of-the-box text-conditioned image retriever to iden-tify such image among a set of candidates. We experiment with the popular ClipCap captioner; also replicating the main results with BLIP. In terms of similarity to ground-truth human descriptions, the captions emerging from dis-criminative finetuning lag slightly behind those generated by the non-finetuned model, when the latter is trained and tested on the same caption dataset. However, when the model is used without further tuning to generate captions for out-of-domain datasets, our discriminatively-finetuned captioner generates descriptions that resemble human ref-erences more than those produced by the same captioner wihtout finetuning. We further show that, on the Concep-tual Captions dataset, discriminatively finetuned captions are more helpful than either vanilla ClipCap captions or ground-truth captions for human annotators tasked with an image discrimination task.11Our code is available at https://github.com/facebookresearch/EGG/tree/main/egg/zoo/discriminative_captioner.

View on arXivView PDF

Code Implementations(2)

MIT

EGG: Emergence of lanGuage in Games

323114Perl, ShellFeb 27, 20191 years agoMIT

Reproduce main table of "Cross-Domain Image Captioning with Discriminative Finetuning"

00Shell, PythonNov 7, 202511 months ago

Similar Papers

Cite this paper

@article{dess2026crossdomain,
  title  = {Cross-Domain Image Captioning with Discriminative Finetuning},
  author = {Roberto Dessì and Michele Bevilacqua and Eleonora Gualdoni and Nathanaël Carraz Rakotonirina and Francesca Franzon and Marco Baroni},
  year   = {2026},
  eprint = {2304.01662},
  archivePrefix = {arXiv},
  url    = {http://repositori.upf.edu/bitstream/10230/56494/1/baroni_cvpr_cross.pdf},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.01662.svg)](https://codeofpaper.com/paper/2304.01662)

Discussion