Abstract
Facial emotion recognition often suffers from performance degradation due to severely imbalanced training datasets. This paper presents a data augmentation framework using Cycle-consistent Adversarial Networks (CycleGAN) to synthesize high-quality training samples for underrepresented emotion classes. By leveraging a reference "Neutral" domain to generate minority class images, the proposed method effectively completes the data manifold. Experimental results on benchmark datasets like FER2013 and SFEW demonstrate significant improvements, with overall accuracy increasing by up to 10% and minority class recognition jumping from 73.9% to over 95%.
Introduction
In deep learning-based facial expression recognition, the distribution of classes is naturally skewed. Common emotions like "happiness" or "neutrality" are overrepresented, while "disgust" or "fear" are rare. This imbalance leads to biased models with poorly defined decision boundaries for minority classes. While traditional augmentation techniques—such as rotation, flipping, or cropping—provide some relief, they fail to introduce the novel features necessary for a model to understand the complex geometric structure of rare emotions. This study explores the use of GANs to bridge this gap by generating entirely new, class-specific samples.
Methodology
The core of the proposed framework is a CycleGAN architecture designed for image-to-image translation between a reference domain (Neutral) and target emotion domains.
Unlike standard GANs that map noise to images, CycleGAN performs translation without needing paired examples. To ensure training stability and high image quality, the authors implemented a Least-Squares loss (LSGAN) instead of the standard negative log-likelihood loss, which helps mitigate the vanishing gradient problem. The synthetic images produced are then used to balance the original training set before training a final CNN classifier.
Key Insights: Completing the Data Manifold
The primary theoretical contribution is the concept of "manifold completion." GANs do not merely add volume to the dataset; they populate sparse regions of the high-dimensional data space. By generating samples that sit between existing data points, the GAN helps the classifier find "better margins" (clearer boundaries) between neighboring classes.
As illustrated in the visualizations, the addition of synthetic data helps the classifier establish clearer margins. Interestingly, augmenting one minority class often improves the accuracy of others, suggesting that clarifying the boundaries of one emotion provides a better "negative" reference for the rest of the model.
Results and Discussion
The framework was evaluated on FER2013, SFEW, and JAFFE datasets. On FER2013, overall accuracy rose from approximately 91% to 94.7%. The most striking gain occurred in the "disgust" class, where accuracy improved from 73.9% to 95%. In the challenging "wild" conditions of the SFEW dataset, accuracy increased from 31.9% to 39.1%. t-SNE visualizations confirmed that synthetic samples successfully filled gaps in the data distribution, creating more distinct clusters for each emotion.
Limitations and Future Work
While CycleGAN-based data augmentation offers a robust solution for class imbalance, it comes with a higher computational cost compared to geometric methods. The study was also strictly limited to facial emotions. Future work will explore the applicability of this method to broader object classification tasks and more efficient GAN architectures to reduce overhead for real-time applications.
Summary updated