Skip to main content
QUICK REVIEW

[Paper Review] Leave No Stone Unturned: Mine Extra Knowledge for Imbalanced Facial Expression Recognition

Yuhang Zhang, Yaqi Li|arXiv (Cornell University)|Oct 30, 2023
Emotion and Mood RecognitionPsychology7 citations
TL;DR

This paper proposes a novel method to improve facial expression recognition (FER) under long-tailed data distribution by mining extra knowledge about minority classes from both major and minority samples. It introduces re-balanced attention consistency and re-balanced smooth labels to enhance model generalization, achieving state-of-the-art performance on imbalanced FER benchmarks without data resampling.

ABSTRACT

Facial expression data is characterized by a significant imbalance, with most collected data showing happy or neutral expressions and fewer instances of fear or disgust. This imbalance poses challenges to facial expression recognition (FER) models, hindering their ability to fully understand various human emotional states. Existing FER methods typically report overall accuracy on highly imbalanced test sets but exhibit low performance in terms of the mean accuracy across all expression classes. In this paper, our aim is to address the imbalanced FER problem. Existing methods primarily focus on learning knowledge of minor classes solely from minor-class samples. However, we propose a novel approach to extract extra knowledge related to the minor classes from both major and minor class samples. Our motivation stems from the belief that FER resembles a distribution learning task, wherein a sample may contain information about multiple classes. For instance, a sample from the major class surprise might also contain useful features of the minor class fear. Inspired by that, we propose a novel method that leverages re-balanced attention maps to regularize the model, enabling it to extract transformation invariant information about the minor classes from all training samples. Additionally, we introduce re-balanced smooth labels to regulate the cross-entropy loss, guiding the model to pay more attention to the minor classes by utilizing the extra information regarding the label distribution of the imbalanced training data. Extensive experiments on different datasets and backbones show that the two proposed modules work together to regularize the model and achieve state-of-the-art performance under the imbalanced FER task. Code is available at https://github.com/zyh-uaiaaaa.

Motivation & Objective

  • Address the performance drop in facial expression recognition (FER) on minority emotion classes due to severe class imbalance in real-world datasets.
  • Overcome the limitation of existing FER methods that rely only on minority-class samples for learning, which fails to leverage informative features from major classes.
  • Maintain high accuracy on major classes while significantly improving mean accuracy across all classes, avoiding performance degradation from data resampling.
  • Formulate FER as a label distribution learning task, where samples from major classes contain latent knowledge about minority classes.
  • Develop a lightweight, backbone-agnostic method that enhances model generalization by extracting transformation-invariant features from all training samples.

Proposed method

  • Propose a re-balanced attention consistency module that computes attention map consistency across all expression classes for each input sample, using class-specific re-balanced weights inversely proportional to the effective number of samples per class.
  • Introduce re-balanced smooth labels by applying class-balanced weights to the label distribution, which regularizes the cross-entropy loss to emphasize minority classes during training.
  • Use attention maps from all classes—not just the ground-truth class—to guide the model in learning robust, transformation-invariant representations, inspired by label distribution learning.
  • Apply the re-balanced attention consistency as a regularization loss to prevent memorization of noisy labels and improve feature generalization.
  • Combine the re-balanced smooth label loss with the standard cross-entropy loss to guide the model’s decision boundary toward better minority class discrimination.
  • Ensure compatibility with various backbones (e.g., ResNet, Vision Transformers) by designing a plug-and-play module that requires no architectural changes.

Experimental results

Research questions

  • RQ1Can samples from major facial expression classes (e.g., surprise) contain useful, transferable features for recognizing minority classes (e.g., fear or disgust)?
  • RQ2How can we effectively extract and utilize knowledge about minority classes from both major and minority samples without altering the dataset distribution?
  • RQ3Can re-balanced attention consistency improve model robustness and generalization in imbalanced FER beyond standard attention regularization?
  • RQ4Does incorporating re-balanced smooth labels based on label distribution knowledge lead to better performance on minority classes without degrading major class accuracy?
  • RQ5To what extent can this method generalize across different backbones and datasets with varying imbalance factors?

Key findings

  • The proposed method achieves state-of-the-art mean accuracy on multiple imbalanced FER benchmarks, including RAF-DB, AffectNet, and FERPlus, outperforming existing SOTA methods.
  • On RAF-DB with a long-tailed distribution, the method improves mean accuracy by up to 4.2% compared to baseline models, while maintaining high overall accuracy.
  • Ablation studies confirm that both the re-balanced attention consistency and re-balanced smooth label modules contribute independently and synergistically to performance gains.
  • The method shows consistent improvements across different backbones, including ResNet-50 and Vision Transformers, demonstrating strong generalization and plug-and-play compatibility.
  • The model achieves better performance on minority classes (e.g., fear, disgust) without significant degradation on major classes (e.g., happy, neutral), addressing the core challenge of class imbalance.
  • The method is lightweight and efficient, requiring no data resampling or complex architecture modifications, making it practical for real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.