Exploiting Emotional Dependencies with Graph Convolutional Networks for Facial Expression Recognition

Panagiotis Antoniadis, Panagiotis Paraskevas Filntisis, Petros Maragos

Abstract

Facial Expression Recognition (FER) has traditionally been divided into categorical models (discrete emotions) and dimensional models (Valence and Arousal). While these representations are psychologically linked, most computational approaches treat them as independent tasks. This paper introduces "Emotion-GCN," a framework that explicitly models the dependencies between these two paradigms using a Graph Convolutional Network (GCN). By generating classifier and regressor weights through a graph structure informed by label correlations, the model achieves state-of-the-art performance on the AffectNet dataset.

Introduction: The Gap Between Categories and Dimensions

Human affect is typically described using two models: the Categorical Model, which classifies faces into discrete buckets (e.g., Happy, Sad, Surprise), and the Dimensional Model, which maps emotion onto continuous scales of Valence (pleasantness) and Arousal (intensity).

Distribution of categorical emotions across the continuous Valence-Arousal space, illustrating the inherent overlap and structure of affect.

While these models are clearly related—for instance, "Happy" almost always implies high valence—most deep learning systems treat them as independent tasks or simple multi-task learning problems with shared features. The Emotion-GCN framework addresses the lack of explicit dependency modeling by forcing the model's categorical classifiers to be mathematically aware of its dimensional regressors.

Methods: The Emotion-GCN Framework

The proposed architecture moves beyond static, independent weights. Instead, it uses a Graph Convolutional Network to generate the parameters of the final layers based on a structured graph of emotional concepts.

The Emotion-GCN architecture, featuring a feature extraction backbone and a GCN-based weight generator for dependent classification and regression.

1. Feature Extraction

A standard backbone (such as DenseNet-121) extracts a high-dimensional feature vector ($x$) from the input face image. This vector represents the visual information required for both tasks.

2. GCN Weight Generator

The core innovation is the GCN-based weight generator. The graph consists of 9 nodes: 7 for discrete emotions and 2 for Valence/Arousal.

  • Nodes: Initialized with GloVe word embeddings.
  • Adjacency Matrix: Defined by calculating Spearman’s rank correlation between labels in the training set. This ensures that nodes like "Surprise" and "Arousal" are connected, allowing their respective classifiers to share information.
  • Dependent Classifiers: The GCN processes these nodes to output weights ($W^c$ and $W^r$) that are applied to the image feature vector. Because these weights are generated through the graph, the resulting classifiers are inherently dependent on one another.

3. Optimization

The model is trained end-to-end using a weighted Cross-Entropy loss for classification (to address class imbalance) and a Concordance Correlation Coefficient (CCC) loss for dimensional regression.

Key Results and Insights

The researchers evaluated Emotion-GCN on the AffectNet and Aff-Wild2 datasets, achieving significant improvements over previous benchmarks.

  • State-of-the-Art Performance: On AffectNet 7-way classification, the model reached 66.46% accuracy, surpassing Siamese and attention-based models.
  • Backbone Agnosticism: The framework provided a performance boost regardless of the underlying feature extractor (e.g., DenseNet vs. BReG-NeXt).
  • Dimensional Regularization: Learning Valence and Arousal acted as an informed regularizer, providing a "sanity check" that improved the accuracy of discrete emotion labels.
  • Weight Alignment: Cosine similarity analysis confirmed that the GCN successfully pulled related concepts closer in vector space; for example, the "Valence" regressor weights became highly similar to the "Happy" classifier weights.

Limitations and Future Work

While effective, the current model is constrained to single-label recognition. Future iterations could explore multi-label datasets where faces exhibit mixed emotions. Additionally, incorporating temporal dynamics for video analysis (using RNNs or Transformers) and integrating finer-grained features like Facial Action Units (AUs) could further refine the model's understanding of complex human affect.

Summary updated

BibTeX
@misc{antoniadis2021exploiting,
  author = {Panagiotis Antoniadis and Panagiotis Paraskevas Filntisis and Petros Maragos},
  title = {{Exploiting Emotional Dependencies with Graph Convolutional Networks for Facial Expression Recognition}},
  year = {2021},
  eprint = {2106.03487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.03487},
}
Figure