Engaging Image Captioning via Personality

Kurt Shuster, Samuel Humeau, Hexiang Hu, Antoine Bordes, Jason Weston

Standard AI image captioning models, typically trained on datasets like COCO or Flickr30k, are functionally accurate but socially limited. They often produce dry, factual statements such as "a man sitting on a bench." While useful for computer vision verification, these descriptions fail to capture the nuance, emotion, and style inherent in human communication. In the paper "Engaging Image Captioning via Personality," Shuster et al. (Facebook AI Research) address this gap by introducing a model that prioritizes engagement through stylistic conditioning.

The Challenge of Factual Captioning

Humans rarely state the obvious in social contexts. Instead, we use personality to tell stories, express opinions, or spark interest. The primary obstacles to creating more human-like AI captions have been a lack of stylistically diverse data and the difficulty of balancing factual grounding with stylistic flair.

Examples of personality-conditioned captions compared to standard output.

As shown in the figure above, a single image of a sandwich can elicit vastly different responses depending on the assigned personality trait, ranging from the "Sweet" ("That is a lovely sandwich") to the "Anxious" ("I'm afraid this might make me sick if I eat it").

The PERSONALITY-CAPTIONS Dataset

To solve the data gap, the authors curated the PERSONALITY-CAPTIONS dataset. It consists of 241,858 captions for images from the YFCC100M set, with each caption conditioned on one of 215 distinct personality traits. This dataset is significantly more linguistically diverse than traditional benchmarks; for instance, its vocabulary size is approximately 33,000 words, compared to 23,000 in the much larger COCO dataset.

Model Architectures and Pre-training

The authors explored two primary modeling strategies: generative models that create sentences word-by-word and retrieval models that select the best human-written caption from a candidate pool.

The TransResNet architecture for personality-conditioned caption retrieval.

The retrieval-based TransResNet model (illustrated above) projects images, personality traits, and candidate captions into a shared embedding space. The model's success is largely attributed to massive pre-training:

  • Vision: A ResNeXt-IG-3.5B encoder trained on 3.5 billion Instagram images provides a rich visual representation optimized for social media contexts.
  • Language: Transformer-based text encoders pre-trained on 1.7 billion dialogue examples provide a robust conversational foundation.

Key Results and Insights

The study yielded several critical insights into the nature of engaging AI:

  1. Retrieval Outperforms Generation: Currently, retrieval models are more engaging because they preserve the full richness of human language. Generative models still tend to produce "safe" or repetitive outputs.
  2. Human-Level Engagement: In pairwise comparisons, human annotators preferred the TransResNet model's captions over actual human-written captions 49.5% of the time, suggesting the model is nearly indistinguishable from humans in this specific task.
  3. The Power of Social Data: Moving from standard ImageNet-trained models to those trained on billions of social media images provided a massive performance boost, indicating that "social" visual data is superior for social captioning tasks.
  4. State-of-the-Art Performance: Interestingly, the high-powered encoders used for personality-driven tasks also set new state-of-the-art benchmarks on traditional factual tasks like Flickr30k.

Conclusion

This research demonstrates that "how" something is said is just as important as "what" is seen. By conditioning models on personality and leveraging massive scale in both vision and language pre-training, AI can move beyond boring factual descriptions toward truly engaging social interaction. Future work remains in improving generative models to match the richness of retrieval and developing automated metrics that better capture human notions of style and engagement.

Summary updated

BibTeX
@inproceedings{shuster2019engaging,
  author = {Kurt Shuster and Samuel Humeau and Hexiang Hu and Antoine Bordes and Jason Weston},
  title = {{Engaging Image Captioning via Personality}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=85mYzphvH-6},
}
Figure