Skip to main content
QUICK REVIEW

[Paper Review] MAE-DFER: Efficient Masked Autoencoder for Self-supervised Dynamic Facial Expression Recognition

Licai Sun, Lian Zheng|arXiv (Cornell University)|Jul 5, 2023
Emotion and Mood RecognitionPsychology7 citations
TL;DR

MAE-DFER proposes a self-supervised masked autoencoder framework for dynamic facial expression recognition (DFER) that uses large-scale unlabeled facial videos to pre-train an efficient local-global interaction Transformer (LGI-Former) encoder. It improves performance by jointly reconstructing appearance and modeling temporal facial motion, achieving state-of-the-art results with 38% fewer FLOPs than VideoMAE on multiple benchmarks.

ABSTRACT

Dynamic facial expression recognition (DFER) is essential to the development of intelligent and empathetic machines. Prior efforts in this field mainly fall into supervised learning paradigm, which is severely restricted by the limited labeled data in existing datasets. Inspired by recent unprecedented success of masked autoencoders (e.g., VideoMAE), this paper proposes MAE-DFER, a novel self-supervised method which leverages large-scale self-supervised pre-training on abundant unlabeled data to largely advance the development of DFER. Since the vanilla Vision Transformer (ViT) employed in VideoMAE requires substantial computation during fine-tuning, MAE-DFER develops an efficient local-global interaction Transformer (LGI-Former) as the encoder. Moreover, in addition to the standalone appearance content reconstruction in VideoMAE, MAE-DFER also introduces explicit temporal facial motion modeling to encourage LGI-Former to excavate both static appearance and dynamic motion information. Extensive experiments on six datasets show that MAE-DFER consistently outperforms state-of-the-art supervised methods by significant margins (e.g., +6.30\% UAR on DFEW and +8.34\% UAR on MAFW), verifying that it can learn powerful dynamic facial representations via large-scale self-supervised pre-training. Besides, it has comparable or even better performance than VideoMAE, while largely reducing the computational cost (about 38\% FLOPs). We believe MAE-DFER has paved a new way for the advancement of DFER and can inspire more relevant research in this field and even other related tasks. Codes and models are publicly available at https://github.com/sunlicai/MAE-DFER.

Motivation & Objective

  • Address the data scarcity problem in supervised DFER by leveraging large-scale unlabeled facial video data.
  • Overcome the high computational cost of vanilla Vision Transformers in fine-tuning for DFER.
  • Improve representation learning by explicitly modeling temporal facial motion in addition to appearance reconstruction.
  • Develop a more efficient and effective alternative to VideoMAE for DFER-specific pre-training.
  • Enable strong performance on both in-the-wild and lab-controlled datasets with minimal supervision.

Proposed method

  • Proposes an efficient local-global interaction Transformer (LGI-Former) to reduce the quadratic FLOP cost of global self-attention in ViT.
  • Adopts a masked autoencoding objective with high masking ratios (75–90%) to reconstruct both visual appearance and temporal motion features.
  • Introduces explicit temporal facial motion modeling by reconstructing frame difference maps, enhancing dynamic representation learning.
  • Uses a two-streamed reconstruction head to jointly reconstruct appearance content and motion patterns from masked video tokens.
  • Pre-trains the model on large-scale unlabeled facial video data (e.g., VoxCeleb2) before fine-tuning on downstream DFER datasets.
  • Employs a symmetric encoder-decoder architecture with a lightweight decoder to reconstruct masked video patches efficiently.

Experimental results

Research questions

  • RQ1Can self-supervised pre-training on large-scale unlabeled facial videos significantly improve DFER performance compared to supervised methods?
  • RQ2Does explicitly modeling temporal facial motion during pre-training lead to better dynamic expression representations than appearance-only reconstruction?
  • RQ3Can a more efficient Transformer architecture reduce computational cost during fine-tuning while maintaining or improving performance over VideoMAE?
  • RQ4How does MAE-DFER generalize across diverse DFER datasets, including in-the-wild and lab-controlled settings?
  • RQ5To what extent does the learned representation space from MAE-DFER improve class separability and compactness compared to supervised and self-supervised baselines?

Key findings

  • MAE-DFER achieves a +6.30% UAR improvement over the best supervised method on DFEW and +8.34% UAR on MAFW, demonstrating strong generalization.
  • On DFEW, MAE-DFER achieves 82.45% UAR and 80.12% WAR, outperforming the best supervised method by over 12% in UAR on CREMA-D.
  • MAE-DFER reduces inference FLOPs by approximately 38% compared to VideoMAE while maintaining comparable or better performance on all datasets.
  • t-SNE visualization confirms that MAE-DFER learns more compact and separable facial expression embeddings than supervised and VideoMAE baselines.
  • The model achieves state-of-the-art performance on three in-the-wild datasets (DFEW, FERV39k, MAFW) and surpasses even multimodal methods on CREMA-D and RAVDESS.
  • Reconstruction results show that MAE-DFER can effectively restore facial expressions and motion patterns even under high masking ratios (75–90%), indicating robust spatiotemporal reasoning.

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.