A Personalized Affective Memory Model for Improving Emotion Recognition

Pablo V. A. Barros, German Ignacio Parisi, Stefan Wermter

Introduction

Recent advancements in facial expression recognition (FER) have heavily relied on supervised deep learning to distinguish general emotional expressions. However, researchers have identified a significant gap: these models often fail when tasked with recognizing emotions in real-world, "in-the-wild" video scenarios where individual differences play a massive role. To bridge this gap, researchers have developed P-AffMem, a hybrid neural framework that combines a generative adversarial autoencoder with a self-organizing "memory" network. By first learning general emotional features and then "hallucinating" person-specific variations to prime a personalized memory, the model achieves state-of-the-art performance.

The Challenge of Personalization in Emotion Recognition

While deep learning has made massive strides in FER, most models struggle with personalization. Humans do not express happiness or sadness uniformly; cultural background, personality, and even genetics alter how we move our facial muscles.

Standard models are often "static." Because they are trained on massive, general datasets, they struggle to adapt to a specific individual's quirks without undergoing complete retraining. This paper addresses the stagnation in FER by shifting away from treating emotion recognition as a simple classification task. Instead, it treats it as an adaptive, human-like process of learning a specific person's unique "affective signature."

Methods: The P-AffMem Framework

The authors propose the Personalized Affective Memory (P-AffMem) model, which consists of two interconnected components designed to handle both general knowledge and individual adaptation.

P-AffMem Architecture
  1. Prior-Knowledge (PK) Module: This component acts as an extended Conditional Adversarial Autoencoder (CAAE). It learns to represent facial expressions in a latent space ($z$) and can effectively "edit" faces. Given a single image of a person, the PK module can generate new versions of that same face showing different levels of arousal (intensity) and valence (positivity/negativity). It utilizes three distinct discriminators:
  2. $D_{prior}$: Ensures the latent space is well-structured.
  3. $D_{real}$: Ensures the generated images look realistic.
  4. $D_{em}$: A crucial discriminator that ensures the emotions are accurately represented.
  5. Affective Memory Module: This module employs a Grow-When-Required (GWR) network. When the system encounters a new person, the PK module generates 200 "edited" versions of that person's face to initialize the GWR. As the system processes more real footage of the person, the GWR "grows" by adding new neurons (prototypes) to represent unique expressions. This allows the model to adapt to the individual online without requiring full retraining.

Key Insights and Ideas

Mental Simulation as Initialization: One of the most innovative ideas in this framework is using the PK module to "hallucinate" how a stranger might look when happy or sad before the model even sees them express those emotions. This "transfer knowledge" gives the personalized memory a significant head start.

Face Editing and Ablation Visuals

The Importance of Emotion Discrimination: Through extensive ablation studies, the authors discovered that the $D_{em}$ discriminator—which forces the encoder to learn features specifically tailored for emotion—was the single most impactful component for overall accuracy.

Online Adaptation: Unlike standard deep learning models that remain "frozen" after their initial training phase, the GWR component allows P-AffMem to continuously learn. If a person has a highly unique way of scowling, the model simply adds a new "node" to its memory to account for it.

Datasets and Key Results

The model was trained on AffectNet (using 400,000 manually annotated images for the PK module) and evaluated on the OMG-Emotion dataset, which features YouTube videos of individuals showing gradual emotional changes.

Performance was measured using the Concordance Correlation Coefficient (CCC), which evaluates how well the predicted arousal/valence curves match the ground truth.

  • Ablation Success: Adding all three discriminators to the PK module ($PK_{all}$) drastically improved the valence CCC from 0.05 (baseline) to 0.67 on the AffectNet validation set.
  • State-of-the-Art (SOTA): On the OMG-Emotion dataset, the full P-AffMem model achieved a CCC of 0.43 for arousal and 0.53 for valence.
  • Personalization Boost: The transition from using just the general PK module to the full P-AffMem (incorporating personalized memory) was significant, increasing the arousal CCC from 0.32 to 0.43. This performance successfully outperformed previous SOTA winners of the OMG-Emotion challenge.

Limitations and Future Work

The authors identify a major limitation in the current iteration: temporality. Currently, the model processes video frames as individual, isolated snapshots. It does not account for the sequence of movements, such as how a smile develops over a two-second window.

Future work aims to integrate recurrent self-organization to handle the timing and flow of expressions. Additionally, the researchers plan to explore multisensory integration—such as combining facial expressions with vocal prosody (tone of voice)—to create a more robust, human-like understanding of emotion.

Summary updated

BibTeX
@inproceedings{barros2019personalized,
  author = {Pablo V. A. Barros and German Ignacio Parisi and Stefan Wermter},
  title = {{A Personalized Affective Memory Model for Improving Emotion Recognition}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=rJZ0bnWd-H},
}
Figure