Joint Image Emotion Classification and Distribution Learning via Deep Convolutional Neural Network

Jufeng Yang, Dongyu She, Ming SunIJCAI 2017

Introduction: Beyond Binary Sentiment

Traditional visual sentiment analysis has long treated emotion recognition as a standard classification task, assigning a single label like "happy" or "sad" to an image. However, human emotion is inherently ambiguous and subjective. A single visual stimulus, such as a sunset or a piece of street art, can evoke a complex spectrum of feelings—including awe, contentment, and amusement—simultaneously. Furthermore, different viewers may react differently based on their unique cultural and personal backgrounds.

The core challenge in this field is "label ambiguity." Most existing datasets rely on majority voting to provide a single "ground truth" label, which discards the rich, nuanced emotional information present in the data. This paper proposes a bridge between rigid classification and the fluid reality of human sentiment through Label Distribution Learning (LDL).

Figure 1: Examples of images and their corresponding emotional label distributions, illustrating the inherent ambiguity and multi-faceted nature of visual sentiment.

Methodology: Multi-Task Deep Learning

The authors developed a multi-task deep convolutional neural network (CNN) based on the VGGNet-16 architecture. Unlike standard models, this framework features two parallel objectives designed to capture both the dominant sentiment and the underlying emotional nuances:

  1. Classification Task: This branch uses a standard Softmax loss to predict the single most likely dominant emotion, maintaining compatibility with traditional benchmarks.
  2. Distribution Learning Task: This branch employs Kullback-Leibler (KL) divergence as a loss function to minimize the distance between the predicted emotional distribution and the ground truth distribution.

Leveraging Psychological Priors

A significant hurdle in training such models is that many large-scale datasets lack detailed distribution data. To address this, the authors introduced two forms of prior knowledge to convert single labels into synthetic distributions:

  • The Implication Constraint: Based on Mikel’s wheel—a psychological model where similar emotions are spatially adjacent—the model uses a Gaussian function to assign probabilities to neighboring emotions. For instance, an image labeled "Amusement" is modeled to likely evoke "Awe" or "Contentment" more than "Sadness."
  • The Exclusion Constraint: This assumes emotional valence is usually consistent. If a dominant label is positive, the probability for all negative emotions is set to zero, effectively reducing noise during training.

Results and Performance

The proposed joint optimization method outperformed state-of-the-art approaches across multiple benchmarks, including the Emotion6, Flickr LDL, Twitter LDL, and the large-scale FI (Flickr and Instagram) datasets.

  • Synergistic Learning: A key insight was that training for distribution and classification simultaneously improves the performance of the classification task itself. By learning the relationships between emotions, the model builds more robust internal representations.
  • Accuracy Gains: On the Emotion6 dataset, the model achieved 52.4% accuracy, surpassing the previous best of 46.1%. On the massive FI dataset, an ensemble version of the model reached 67.48% accuracy, significantly outperforming baseline ResNet (49.76%) and fine-tuned VGGNet (63.75%) models.
  • Distribution Precision: The model achieved the lowest average rank across six different distance metrics (including Chebyshev and KL-divergence), proving its superior ability to predict the full emotional spectrum.

Conclusion and Future Directions

By incorporating psychological models like Mikel’s wheel into a deep learning framework, this research demonstrates that the "distance" between emotions is a valid and valuable signal for machine learning. While the current model predicts a "universal" distribution, future work may move toward personalized emotional responses that account for individual viewer profiles. Despite limitations in dataset scale compared to general object recognition, this multi-task approach sets a new standard for nuanced visual sentiment analysis.

Summary updated

BibTeX
@inproceedings{yang2017joint,
  author = {Jufeng Yang and Dongyu She and Ming Sun},
  title = {{Joint Image Emotion Classification and Distribution Learning via Deep Convolutional Neural Network}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/456},
}
Figure