Adults as Augmentations for Children in Facial Emotion Recognition with Contrastive Learning

Marco Virgolin, Andrea De Lorenzo, Tanja Alderliesten, Peter A. N. BosmanarXiv 2022

Introduction

Deep learning models are notoriously data-hungry, typically requiring tens of thousands of examples to achieve high performance. In pediatric medicine, this requirement presents a significant hurdle. Collecting child-specific data is complicated by strict privacy regulations (such as GDPR), the relative rarity of certain conditions in youth, and ethical complexities regarding data sharing.

In the field of Facial Emotion Recognition (FER), this scarcity is particularly evident: of 20 major FER repositories, only one is dedicated to children. This research addresses the "generational gap"—the common assumption that models trained on adult data will fail to generalize to children—by investigating whether adult data can be leveraged to help machines understand how children express emotions like stress, sadness, or joy.

Methodology: Bridging the Generational Gap

The researchers utilized Contrastive Learning, a technique that trains models to group similar images together in a latent mathematical space while pushing dissimilar images apart. They compared two primary frameworks:

  1. SimCLR: An unsupervised approach that learns by comparing different augmentations (e.g., crops, flips) of the same image.
  2. Supervised Contrastive Learning (SupCon): A supervised framework that uses labels to group all images of a specific emotion (e.g., "happy") together, regardless of the subject's identity.
Overview of the proposed supervised contrastive learning framework where adult faces serve as augmentations for child images.

The core innovation of this study lies in the treatment of adult data. Beyond simple dataset mixing (Simple Extension, c+a), the authors introduced Explicit Augmentation (c ← a). In this strategy, when the model processes a child's face, an adult's face displaying the same emotion is explicitly provided as an "augmentation" of that child. This approach effectively teaches the model that the semantic features of an adult's smile are equivalent to those of a child's smile.

Datasets and Preprocessing

  • CAFE (Child Affective Facial Expression): The target dataset, consisting of 1,192 images of children aged 2–8 years.
  • FER-2013: A large-scale dataset of 28,000 predominantly adult images used as the source for augmentations.
  • Standardization: All images were converted to 48x48 pixel grayscale to ensure structural consistency across datasets.

Key Insights and Results

The study's central hypothesis is Emotional Orthogonality: the idea that facial features conveying emotion (like a furrowed brow) carry similar semantic meaning regardless of age. Using adult faces as augmentations provides a much "richer" signal than traditional pixel-level manipulations (like cropping or color jittering) because it introduces natural structural variations.

Validation and test accuracy across different training splits and augmentation ratios, highlighting the superior performance of the SC (c ← a) method.

Quantitative Performance

The Supervised Contrastive (SC) approach with explicit adult augmentations (c ← a) consistently outperformed all other methods:

  • Accuracy Improvement: The method yielded a 2% to 3% boost in test accuracy compared to the next best approach.
  • Data Efficiency: The benefit was most significant when child data was most scarce. At a 50% training split, the model achieved 70.7% accuracy, significantly higher than the 67.6% achieved by standard supervised learning.
  • Unsupervised Limitations: Unsupervised contrastive learning (SimCLR) performed poorly on these small datasets, as it tended to group images by identity rather than by emotional expression.

Qualitative Evidence

Using Grad-CAM (class activation maps), the researchers observed that adult-augmented models focused on more relevant facial features, such as the mouth and eyes. In contrast, models trained solely on child data often focused on irrelevant regions like hair or chin lines, suggesting that the adult data helped the model ignore age-specific noise.

Conclusion and Future Work

While the CAFE dataset remains small and the method relies on labeled adult data, the results prove that adult data can effectively bridge the pediatric data gap. This "cross-distribution augmentation" strategy could serve as a blueprint for other pediatric AI applications, such as using adult medical imaging (X-rays or MRIs) to improve diagnostic models for children's healthcare.

Summary updated

Abstract

Emotion recognition in children can help the early identification of, and intervention on, psychological complications that arise in stressful situations such as cancer treatment. Though deep learning models are increasingly being adopted, data scarcity is often an issue in pediatric medicine, including for facial emotion recognition in children. In this paper, we study the application of data augmentation-based contrastive learning to overcome data scarcity in facial emotion recognition for children. We explore the idea of ignoring generational gaps, by adding abundantly available adult data to pediatric data, to learn better representations. We investigate different ways by which adult facial expression images can be used alongside those of children. In particular, we propose to explicitly incorporate within each mini-batch adult images as augmentations for children's. Out of $84$ combinations of learning approaches and training set sizes, we find that supervised contrastive learning with the proposed training scheme performs best, reaching a test accuracy that typically surpasses the one of the second-best approach by 2% to 3%. Our results indicate that adult data can be considered to be a meaningful augmentation of pediatric data for the recognition of emotional facial expression in children, and open up the possibility for other applications of contrastive learning to improve pediatric care by complementing data of children with that of adults.
BibTeX
@misc{virgolin2022adults,
  author = {Marco Virgolin and Andrea De Lorenzo and Tanja Alderliesten and Peter A. N. Bosman},
  title = {{Adults as Augmentations for Children in Facial Emotion Recognition with Contrastive Learning}},
  year = {2022},
  eprint = {2202.05187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.05187},
}
Figure