It is Okay to Not Be Okay: Overcoming Emotional Bias in Affective Image Captioning by Contrastive Data Collection

Youssef Sherif Mansour Mohamed, Faizan Farooq Khan, Kilichbek Haydarov, Mohamed Elhoseiny

Abstract

Datasets that capture the connection between vision, language, and affection are limited, causing a lack of understanding of the emotional aspect of human intelligence. As a step in this direction, the ArtEmis dataset was recently introduced as a large-scale dataset of emotional reactions to images along with language explanations of these chosen emotions. We observed a significant emotional bias towards instance-rich emotions, making trained neural speakers less accurate in describing under-represented emotions. We show that collecting new data, in the same way, is not effective in mitigating this emotional bias. To remedy this problem, we propose a contrastive data collection approach to balance ArtEmis with a new complementary dataset such that a pair of similar images have contrasting emotions (one positive and one negative). We collected 260,533 instances using the proposed method, we combine them with ArtEmis, creating a second iteration of the dataset. The new combined dataset, dubbed ArtEmis v2.0, has a balanced distribution of emotions with explanations revealing more fine details in the associated painting. Our experiments show that neural speakers trained on the new dataset improve CIDEr and METEOR evaluation metrics by 20% and 7%, respectively, compared to the biased dataset. Finally, we also show that the performance per emotion of neural speakers is improved across all the emotion categories, significantly on under-represented emotions.

Introduction: The Problem of Emotional Bias

Affective image captioning goes beyond identifying objects (e.g., "a dog") to explaining the emotional response an image elicits (e.g., "the dog looks lonely, making me feel sad"). However, existing datasets like the original ArtEmis suffer from significant emotional bias. Humans tend to favor positive emotions when viewing art; in ArtEmis v1, 62% of captions were positive, while only 26% were negative.

This imbalance makes models "lazy." When a model sees a painting similar to one it knows is "content," it defaults to a generic positive caption, ignoring subtle details that might actually evoke disgust or fear. In fact, the authors found that a simple "Nearest Neighbor" retrieval model was outperforming complex neural networks because the captions were so generic and repetitive.

Methods: Contrastive Data Collection

The authors proposed a Contrastive Data Collection strategy to force both humans and models to pay attention to fine-grained emotional triggers.

  1. Identifying Bias: They calculated an "emotional score" for paintings in the original dataset to find those with a strong, single-sentiment bias.
  2. Visual Search: For each biased painting, they used a VGG16 neural network to find the 100 most visually similar paintings (nearest neighbors).
  3. Human-in-the-loop Contrast: They asked Amazon Mechanical Turk (AMT) workers to look at a "query" painting and pick the most similar painting from the neighbors that evoked the opposite sentiment.
  4. Detailed Explanation: Once a pair was formed (e.g., a "happy" landscape and a visually similar "sad" landscape), workers wrote new explanations. This forced them to justify why the two similar images felt different.
The contrastive data collection interface used to gather balanced emotional reactions.

For the captioning itself, they evaluated several architectures, including Show, Attend and Tell (SAT) and Meshed-Memory Transformers ($M^2$), modifying the $M^2$ model to better handle the abstract nature of artwork by using patch-based features instead of just object bounding boxes.

Datasets: ArtEmis v2.0

  • ArtEmis (v1): The baseline dataset of emotional reactions to WikiArt.
  • Contrastive Dataset: The new dataset collected for this paper, containing 260,533 new instances.
  • ArtEmis v2.0 (Combined): The union of the original and contrastive data, resulting in a much more balanced distribution (47% positive, 45% negative).
  • ArtEmisC40: A specialized test set with 703 paintings, each having at least 40 human captions, used to robustly measure the diversity and quality of model outputs.

Key Insights: Bridging the Affective Gap

A central finding of this research is that visual similarity does not equal emotional similarity. Two paintings can share the same color palette and composition but evoke polar opposite feelings. A model that relies too heavily on global visual features will miss this "affective gap."

Examples of contrastive pairs where visually similar images evoke different emotional responses.

By asking "Why is this one scary but that one is peaceful?", annotators move away from generic phrases ("I like the colors") and toward specific evidence ("the red drapery appears ominous"). The authors found that the new contrastive captions contained more verbs per sentence, suggesting that describing actions or relationships between elements is key to explaining complex emotions.

Key Results

  • Metric Gains: Models trained on the combined ArtEmis v2.0 dataset saw a 20% improvement in CIDEr and a 7% improvement in METEOR scores compared to those trained on the biased v1 dataset.
  • Better Under-represented Emotions: Performance on "difficult" emotions like disgust, anger, and fear improved significantly because the model was finally shown clear examples of what distinguishes them from contentment.
  • Human Preference: In a blind test, human evaluators favored captions generated by the ArtEmis v2.0 model 73% of the time over the original model.
  • Specificity: Qualitative examples show the model moving from generic praise to specific observations, such as "the green patches look like mold, which is disgusting."

Limitations and Future Work

While the paper balances positive and negative sentiments, emotions remain inherently subjective. What one culture or individual finds "awesome," another might find "frightening." Additionally, the authors acknowledge that other biases (ethnic, gender, or minority group representation) likely still exist in the dataset and were not the primary focus of this specific study. Future work could apply this contrastive method to real-world social media imagery or news photography.

Summary updated

BibTeX
@misc{mohamed2022it,
  author = {Youssef Sherif Mansour Mohamed and Faizan Farooq Khan and Kilichbek Haydarov and Mohamed Elhoseiny},
  title = {{It is Okay to Not Be Okay: Overcoming Emotional Bias in Affective Image Captioning by Contrastive Data Collection}},
  year = {2022},
  eprint = {2204.07660},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.07660},
}
Figure