Engaging Image Captioning via Personality

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

Abstract

Standard image captioning tasks such as COCO and Flickr30k are factual, neutral in tone and (to a human) state the obvious (e.g., "a man playing a guitar"). While such tasks are useful to verify that a machine understands the content of an image, they are not engaging to humans as captions. With this in mind we define a new task, PERSONALITY-CAPTIONS, where the goal is to be as engaging to humans as possible by incorporating controllable style and personality traits. We collect and release a large dataset of 241,858 of such captions conditioned over 215 possible traits. We build models that combine existing work from (i) sentence representations with Transformers trained on 1.7 billion dialogue examples; and (ii) image representations with ResNets trained on 3.5 billion social media images. We obtain state-of-the-art performance on Flickr30k and COCO, and strong performance on our new task. Finally, online evaluations validate that our task and models are engaging to humans, with our best model close to human performance.

Introduction: The Need for Engaging AI

Standard image captioning models are technically accurate but socially uninspiring. If you ask a standard AI to describe a photo of a sandwich, it might say: "A plate with a sandwich and salad on it." While factually correct, this is "personality-free." Humans don't communicate in neutral descriptors; we use style, emotion, and intent to engage our audience.

Figure 1: Comparison between standard factual captioning and personality-driven captions across various traits.

For AI to be truly useful in social contexts—such as conversational agents or social media assistants—it must be engaging. The current bottleneck is twofold: existing datasets like COCO explicitly instruct annotators to be neutral, and most models are optimized for factual overlap rather than the "vibe" of the speaker.

The PERSONALITY-CAPTIONS Dataset

To address this, researchers at Facebook AI Research (FAIR) introduced PERSONALITY-CAPTIONS, a massive new dataset containing 241,858 captions for images from the YFCC100M dataset. Each caption is conditioned on one of 215 different personality traits, ranging from "anxious" and "sweet" to "money-minded." This dataset allows models to learn how the same visual content can be interpreted through different emotional and stylistic lenses.

Methodology: Vision, Language, and Personality

The proposed models leverage massive pre-training on billions of social media images and dialogue examples to capture the nuances of human interaction.

Model Architectures

The researchers explored two primary approaches:

  1. TransResNet (Retrieval): A novel architecture that projects the image, personality, and candidate captions into a shared embedding space. It "picks" the best caption from the training set by calculating a similarity score.
  2. Generative Models: These adapt standard architectures (like ShowTell or UpDown) to be conditioned on personality embeddings, allowing the model to "write" new sentences word-by-word.
Figure 3: The TransResNet architecture, which combines image features, personality one-hot vectors, and caption embeddings to produce a compatibility score.

Encoders

  • Image Encoders: The models utilize ResNeXt-IG-3.5B, pre-trained on 3.5 billion Instagram images, providing a much richer "visual vocabulary" than standard ImageNet pre-training.
  • Text Encoders: Transformers pre-trained on 1.7 billion dialogue examples are used to capture the flow of human conversation.

Key Insights and Results

The study yielded several significant findings regarding the intersection of personality and computer vision:

  • Personality Transforms Content: The same image can evoke wildly different responses. An image of a cat might prompt "I'm afraid this cat might scratch me" (Anxious) or "Awww, sweet kitty. You are so handsome!" (Charming).
  • Near-Human Performance: In head-to-head "which is more engaging?" tests, humans preferred the TransResNet model's captions over human-written ones 49.5% of the time—essentially a tie.
  • Retrieval vs. Generative: Currently, retrieval models significantly outperform generative models in engagement. Retrieval models leverage the full diversity and "spark" of human-written training sentences, while generative models still tend to produce more generic text.
  • Personality Fit: Human evaluators found that model-generated captions fit the assigned personality trait 87.7% of the time, actually outperforming human annotators (83.1%) in consistency.

Conclusion and Future Directions

While the retrieval model achieves near-human engagement, a "generative gap" remains. Generative models, which can create novel sentences, still lag behind in "engagingness." Furthermore, standard metrics like BLEU and CIDEr do not correlate well with human engagement, highlighting the need for better automatic metrics for style. Finally, as personality is injected into AI, managing safety and bias becomes a critical challenge for real-world applications.

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