TL;DR
This paper introduces a novel approach to image captioning that goes beyond simply describing an image to making captions pragmatically informative. By integrating a neural captioning model with a Rational Speech Acts (RSA) framework at the character level, they achieve captions that better distinguish target images from similar distractors, outperforming previous methods in both accuracy and efficiency.
What Problem Does This Paper Address?
Traditional neural image captioning systems excel at generating captions that are factually true about an image. However, they often produce generic descriptions that fail to highlight the most salient or distinguishing features of the target image, especially when presented with similar "distractor" images. This lack of pragmatic informativeness means the captions aren't as helpful as they could be for a listener trying to identify a specific image within a set. Existing attempts to imbue captioning with pragmatic reasoning (using models like Rational Speech Acts - RSA) face a significant computational hurdle: they require reasoning over the entire space of possible captions, which is intractable for realistic captioning systems.
Methods
The core innovation lies in applying the RSA framework at the character level rather than the word or utterance level. This is achieved by:
- Character-Level LSTM: A standard CNN-RNN captioning architecture is adapted to use a character-level LSTM for its language model. This means the model generates captions one character at a time.
- Incremental RSA: Instead of a single, computationally expensive inference over all possible full captions, the RSA model performs inference incrementally at each character generation step.
- The "literal speaker" ($S_0$) is the character-level neural model itself, predicting the next character given the image and the partial caption so far.
- The "pragmatic listener" ($L_0$) reasons about which image is most likely given the partial caption and the $S_0$ model.
- The "pragmatic speaker" ($S_1$) then uses the $L_0$ model to choose the next character that will best help the listener identify the target image, balancing truthfulness with informativeness.
- Automatic Evaluation: A novel automatic evaluation metric, $L_{eval}$, is introduced. This metric uses a listener model to assess how well a generated caption allows a listener to distinguish the target image from distractors, effectively measuring pragmatic success.
Datasets
- Training: Regions in the Visual Genome dataset and full images in MSCOCO.
- Evaluation:
- Test Set 1 (TS1): 100 clusters of 10 images, focusing on 10 common objects in Visual Genome.
- Test Set 2 (TS2): 100 clusters of 10 images, using regions from Visual Genome with high word overlap in their ground truth captions, designed to create challenging, similar distractors.
Key Insights and Ideas
- Character-level inference unlocks pragmatic reasoning: By breaking down caption generation into character-level decisions, the computational complexity of RSA is drastically reduced, making pragmatic reasoning feasible for neural models.
- Pragmatic captions are more discriminative: The character-level RSA speaker ($S_1$) significantly outperforms the literal speaker ($S_0$) in helping a listener identify the correct image among distractors.
- Efficiency gains: The character-level approach is far more efficient than word-level RSA, as the space of possible character sequences is much smaller than word sequences.
- Incremental reasoning is sufficient: The paper demonstrates that performing pragmatic reasoning incrementally at each character step is enough to achieve utterance-level pragmatic effects.
Key Results
- Accuracy Improvement: The character-level $S_1$ model achieved significantly higher accuracy than the character-level $S_0$ model: 68.0% on TS1 (vs. 48.9%) and 65.9% on TS2 (vs. 47.5%).
- Comparison to Word-Level RSA: The character-level $S_1$ model outperformed a word-level $S_1$ model (68.0% vs. 60.6% on TS1), suggesting that the finer-grained character-level decisions offer an advantage for pragmatic behavior.
- Success Rate: In cases where the $S_1$ caption was successful and the $S_0$ caption was not, the $S_1$ caption was often not among the top 50 $S_0$ captions, highlighting its distinctiveness.
Limitations and Future Work
- Efficiency of Word-Level RSA: While the character-level approach is efficient, the paper notes that for word-level RSA, greedy unrolling was used for efficiency due to the large vocabulary size.
- Variants Explored: The authors explored variants of the $S_1$ model, including using an LSTM language model as the prior and drawing uniform $L_0$ priors at each timestep. These variants showed only minor effects on performance, suggesting the core incremental character-level RSA is robust.
- Future Work: The paper suggests further research into the superiority of the character-level model, potentially due to the increased number of decision points where pragmatics can be applied.
Summary updated