Skip to main content
QUICK REVIEW

[Paper Review] Multi Modal Facial Expression Recognition with Transformer-Based Fusion Networks and Dynamic Sampling

Jun-Hwa Kim, Nam‐Ho Kim|arXiv (Cornell University)|Mar 15, 2023
Emotion and Mood RecognitionPsychology5 citations
TL;DR

This paper proposes a transformer-based multi-modal fusion network that combines audio and image features for improved facial expression recognition, using a Modal Fusion Module (MFM) with co-attention mechanisms and dynamic sampling to handle temporal dynamics and class imbalance. The method achieved a 27.77 F1-score on the ABAW 2023 validation set, outperforming unimodal baselines.

ABSTRACT

Facial expression recognition is an essential task for various applications, including emotion detection, mental health analysis, and human-machine interactions. In this paper, we propose a multi-modal facial expression recognition method that exploits audio information along with facial images to provide a crucial clue to differentiate some ambiguous facial expressions. Specifically, we introduce a Modal Fusion Module (MFM) to fuse audio-visual information, where image and audio features are extracted from Swin Transformer. Additionally, we tackle the imbalance problem in the dataset by employing dynamic data resampling. Our model has been evaluated in the Affective Behavior in-the-wild (ABAW) challenge of CVPR 2023.

Motivation & Objective

  • To improve facial expression recognition accuracy by integrating audio and visual modalities beyond image-only approaches.
  • To address class imbalance in the Aff-Wild2 dataset through dynamic data resampling and subsampling of majority classes.
  • To model temporal dynamics of facial expressions by using multiple dynamic audio window sizes centered on each frame.
  • To develop a learnable fusion mechanism that adaptively weights the importance of audio and image modalities during feature integration.
  • To achieve state-of-the-art performance on the ABAW 2023 AffectNet in-the-wild challenge using a Swin Transformer-based architecture.

Proposed method

  • Audio and image features are extracted separately using a Tiny Swin Transformer for both modalities.
  • A Modal Fusion Module (MFM) uses cross-attention mechanisms: audio features query image features and vice versa to enable modality-aware fusion.
  • The fused outputs from cross-attention (Y_IA and Y_AI) are concatenated and passed through two additional transformer layers to produce Y_T.
  • Three different temporal window sizes (small: 31 frames, medium: 47 frames, large: 63 frames) are used to capture dynamic facial expression changes around each frame.
  • Dynamic sampling excludes windows where less than 80%, 65%, or 50% of frames match the center frame’s label, ensuring label consistency.
  • Class imbalance is mitigated by subsampling the majority class (e.g., 'Happiness') while retaining all minority class samples during training.

Experimental results

Research questions

  • RQ1Can audio-visual fusion with a learnable attention mechanism improve facial expression recognition beyond image-only models?
  • RQ2How does dynamic windowing of audio data affect recognition performance in temporally variable facial expressions?
  • RQ3To what extent can dynamic resampling and subsampling strategies reduce overfitting to imbalanced classes in real-world datasets?
  • RQ4Does the proposed MFM with cross-attention outperform simple early or late fusion in multi-modal FER?
  • RQ5What is the contribution of each modality (image, audio, fused) to the final prediction in the presence of class imbalance?

Key findings

  • The proposed model achieved a validation F1-score of 27.77, significantly outperforming the image-only baseline (23.00) and the audio-only model (14.12).
  • The fused representation (Y_T) alone achieved 25.09 F1-score, demonstrating the effectiveness of the MFM in integrating multi-modal cues.
  • The ensemble of image, audio, and fused features yielded the highest performance, indicating complementary information across modalities.
  • The use of dynamic sampling with thresholded window consistency improved training stability and model generalization on in-the-wild data.
  • Subsampling the majority class ('Happiness') helped reduce overfitting and improved performance on minority classes without sacrificing overall accuracy.
  • The Swin-Tiny backbone with log mel spectrograms and 224×224 input resolution proved effective for both modality-specific feature extraction and fusion.

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.