NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Domain Adaptation based Technique for Image Emotion Recognition using Pre-trained Facial Expression Recognition Models

Puneet Kumar, Balasubramanian Raman · OpenReview

TL;DR

This paper tackles the challenge of recognizing emotions in diverse images (not just faces) by adapting pre-trained facial emotion recognition models. They achieve this using a novel domain adaptation technique with "discrepancy loss" and introduce an interpretability method (DnCShap) to understand why the model makes its predictions, making AI emotion recognition more trustworthy.

What Problem Does This Paper Address?

Recognizing emotions from images is a complex task. While we're good at identifying emotions from facial expressions (Facial Expression Recognition or FER), applying these models to general images (Image Emotion Recognition or IER) is difficult. This is because general images can contain non-facial elements, different contexts, and a lack of well-annotated datasets for IER compared to FER. This paper aims to bridge this gap by leveraging existing FER models to build a more robust and interpretable IER system.

Methods

The core of the approach is domain adaptation, a form of transfer learning. They start with a pre-trained FER model (based on VGG16 with residual blocks) and adapt it for IER. The key technique here is discrepancy loss, which helps align the feature distributions of the FER (source) and IER (target) domains without changing the network architecture. This allows the model to learn IER-specific features while retaining its FER capabilities.

For interpretability, they introduce DnCShap (Divide and Conquer SHAP). This method efficiently computes Shapley values to identify which pixels or features in an image are most influential for a given emotion prediction. It's designed to be computationally faster than traditional SHAP by dividing the image into smaller parts. They also propose a layer-wise interpretability method to visualize how emotion clusters separate in different layers of the network.

Datasets

The paper uses a combination of FER and IER datasets:

FER Datasets: * FER13 * FERG * JAFFE * CK+

IER Datasets: * IAPSa * ArtPhoto * Flicker & Instagram (FI) * EMOTIC

Key Insights and Ideas

  • Leveraging FER for IER is feasible: By using domain adaptation, pre-trained FER models can be effectively repurposed for the broader task of IER, even with limited IER data.
  • Discrepancy loss is crucial for alignment: This loss function is key to minimizing the differences between the FER and IER domains, enabling better generalization.
  • Interpretability builds trust: DnCShap provides valuable insights into why a model predicts a certain emotion, which is essential for user trust and understanding, especially in sensitive applications.
  • Layer-wise analysis reveals learning progression: Visualizing embeddings across network layers shows how the model learns to differentiate emotions, with deeper layers becoming more discriminative.
  • Context matters: The variability in emotion recognition across datasets highlights the importance of context and cultural nuances in image emotion perception.

Key Results

  • Accuracy: The proposed IER system achieved accuracies of:
  • IAPSa: 61.86%

    • ArtPhoto: 62.47%
    • FI: 70.78%
    • EMOTIC: 59.72% These results are competitive and, in some cases, exceed previous benchmarks.
  • Interpretability: DnCShap successfully highlighted relevant visual features (facial and non-facial) contributing to emotion recognition. Human annotation studies showed that the model's predictions and highlighted regions aligned with human judgments in 78-83% of cases.

  • Computational Efficiency: The DnCShap method significantly reduces the computational complexity for interpretability, achieving linear time complexity. The overall training and inference times remain manageable, even with the added domain adaptation and interpretability steps.

Limitations and Future Work

  • Dataset Variability: The performance varies across datasets, suggesting that dataset composition and context significantly influence emotion recognition. This highlights the need for further exploration of generalization to more diverse datasets.
  • Subjectivity of Cues: The moderate agreement among human annotators for context-heavy scenes underscores the inherent subjectivity in emotional perception.
  • Failure Cases: Misclassifications can occur for visually similar emotions or in images where cues are highly context-dependent.
  • Future Work:
    • Extend to datasets with more subtle and complex emotional expressions (e.g., Emotionet).
  • Integrate multimodal data (audio, text) for a more comprehensive understanding of emotional states.
  • Refine domain adaptation techniques for more nuanced applications.
  • Explore alternative emotion categories.

Summary updated

BibTeX
@misc{kumar2020domain,
  author = {Puneet Kumar and Balasubramanian Raman},
  title = {{Domain Adaptation based Technique for Image Emotion Recognition using Pre-trained Facial Expression Recognition Models}},
  year = {2020},
  eprint = {2011.08388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.08388},
}
Figure