[Paper Review] Speaking the Same Language: Matching Machine to Human Captions by Adversarial Training
This paper proposes an adversarial training framework for image captioning that trains a generator to produce diverse, human-like captions by matching the statistical distribution of human-written captions, rather than memorizing ground-truth captions. Using a Gumbel-softmax reparameterization and a discriminator evaluating multiple captions simultaneously, the model achieves significantly higher caption diversity and better alignment with human caption statistics—while maintaining state-of-the-art accuracy—demonstrating improved generalization and reduced mode collapse.
While strong progress has been made in image captioning over the last years, machine and human captions are still quite distinct. A closer look reveals that this is due to the deficiencies in the generated word distribution, vocabulary size, and strong bias in the generators towards frequent captions. Furthermore, humans -- rightfully so -- generate multiple, diverse captions, due to the inherent ambiguity in the captioning task which is not considered in today's systems. To address these challenges, we change the training objective of the caption generator from reproducing groundtruth captions to generating a set of captions that is indistinguishable from human generated captions. Instead of handcrafting such a learning target, we employ adversarial training in combination with an approximate Gumbel sampler to implicitly match the generated distribution to the human one. While our method achieves comparable performance to the state-of-the-art in terms of the correctness of the captions, we generate a set of diverse captions, that are significantly less biased and match the word statistics better in several aspects.
Motivation & Objective
- To address the lack of diversity and distributional mismatch between machine-generated and human-written captions in image captioning.
- To overcome the bias in state-of-the-art models toward frequent, generic captions by shifting the training objective from ground-truth reproduction to human-like caption generation.
- To explicitly model the inherent ambiguity of image captioning by generating sets of diverse captions per image, rather than single captions.
- To improve the realism and diversity of generated captions by using adversarial training with a discriminator that evaluates multiple captions at once.
- To match the global n-gram distributions (uni-, bi-, tri-grams) of human captions, reducing memorization of training set fragments.
Proposed method
- The model uses a conditional GAN framework where the generator produces multiple captions per image, and the discriminator evaluates a batch of generated captions against real human captions.
- An approximate Gumbel-sampled reparameterization is used to enable end-to-end backpropagation through the discrete word generation process in the generator.
- The discriminator is trained to distinguish between real human captions and generated captions, with the generator optimized to fool the discriminator.
- The training objective includes a feature matching loss to stabilize training and prevent mode collapse, encouraging the generator to match the statistical distribution of human captions.
- Multiple captions per image are generated via beam search or sampling, and the discriminator evaluates the entire set as a single input to promote diversity.
- The generator is trained using a combination of adversarial loss and a diversity-promoting objective, with ResNet features providing richer visual representations.
Experimental results
Research questions
- RQ1Can adversarial training be effectively applied to image captioning to generate more diverse and human-like captions?
- RQ2How can the generator be trained to match the global n-gram distribution of human captions without relying on ground-truth supervision?
- RQ3Does evaluating multiple generated captions simultaneously in the discriminator prevent mode collapse and improve caption diversity?
- RQ4To what extent does the proposed method reduce memorization of frequent caption fragments from the training set?
- RQ5Can the model generate a more diverse set of captions per image while maintaining high accuracy compared to standard beam search?
Key findings
- The adversarial model achieves a Meteor score of 0.236 on the validation set, comparable to the state-of-the-art baseline, indicating preserved caption accuracy.
- The vocabulary size in the adversarial model (2671 with sampling) is significantly larger than the baseline (1085), indicating reduced vocabulary bias and better coverage of rare words.
- The adversarial model generates novel captions 72.53% of the time, compared to only 44.27% for the beam-search baseline, showing reduced memorization of training set captions.
- The model’s vocabulary size distribution better matches human captions across all word frequency thresholds, as shown in Figure 7, indicating more balanced word usage.
- The diversity metrics (Div-2, vocabulary size, and per-image diversity) are significantly improved in the adversarial model, especially when the discriminator evaluates five captions at once.
- The ablation study confirms that evaluating multiple captions simultaneously and using feature matching loss are essential to prevent mode collapse and improve diversity.
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.