From Macro to Micro: Boosting micro-expression recognition via pre-training on macro-expression videos

Hanting Li, Hongjing Niu, Feng ZhaoarXiv 2024 · DOI

Introduction

Micro-expression recognition (MER) is a critical task in affective computing with applications ranging from lie detection to mental health monitoring. Unlike macro-expressions, which are voluntary and sustained, micro-expressions (MEs) are fleeting, involuntary muscle movements lasting less than half a second. The primary challenge in this field is data scarcity. Labeling MEs requires specialized psychological expertise, resulting in datasets that are significantly smaller than those available for general computer vision or macro-expression recognition.

While macro-expression data is abundant, direct transfer learning often fails because the visual patterns of a full-blown expression differ fundamentally from the subtle twitches of a micro-expression. This paper introduces MA2MI, a novel transfer learning paradigm that bridges this gap by pre-training on unlabeled macro-expression videos to learn the core mechanics of sensing subtle facial motion.

The MIACNet Architecture: Decoupling Position and Action

To effectively capture facial dynamics, the authors propose MIACNet, a network designed to separate where a movement occurs from what the movement is. This decoupling prevents the model from being influenced by individual identity or head pose, focusing purely on the mechanics of the expression.

MIACNet architecture showing the decoupling of facial position and facial action encoders.

MIACNet utilizes two independent encoders:

  • Facial Position Encoder (FPE): This component learns to pinpoint specific facial regions (e.g., the corner of the mouth). It employs a triplet loss ($L_{pos}$) to ensure that features are distinct across different facial regions but consistent across different individuals.
  • Facial Action Encoder (FAE): This component captures muscle movement by analyzing the difference between two temporal frames, producing an action vector ($C_{\Delta}$).

MA2MI: Pre-training via Reconstruction

The core of the MA2MI paradigm is a self-supervised pre-training task. Instead of using labels, the model learns to reconstruct future frames from macro-expression videos. This forces the network to develop a deep understanding of facial dynamics.

The MA2MI pre-training pipeline using a Diffusion Transformer (DiT) to reconstruct future frames in a latent space.

As shown in the figure above, the process involves:

  1. Taking a starting frame ($I_t$) and passing it through a frozen encoder to a latent space ($Z_t$).
  2. Using the action vector ($C_{\Delta}$) from MIACNet as a condition.
  3. Employing a Diffusion Transformer (DiT) to predict the latent representation of a future frame ($\hat{Z}_{t+\delta}$).
  4. Reconstructing the future frame ($I_{t+\delta}$) using a frozen decoder.

By learning to "predict the future" in a compressed latent space, the FAE inherently learns to represent the subtle muscle movements necessary for MER.

Fine-tuning and Evaluation

After pre-training on large-scale macro-expression datasets (such as DFEW and FERV39K), the FAE is fine-tuned on small, labeled micro-expression benchmarks (CASME II, SAMM, and MMEW). During fine-tuning, the model processes the "onset" (start) and "apex" (peak) frames of the expression to classify the emotion.

Key Results

The MA2MI method achieved state-of-the-art (SOTA) performance across all major benchmarks:

  • CASME II: 89.16% accuracy (surpassing the previous SOTA, MMNet).
  • SAMM: 83.82% accuracy (a significant improvement over MMNet's 80.14%).
  • MMEW: 75.21% accuracy.

Insights and Future Directions

A key finding of this research is that pre-training on a reconstruction task is more effective for MER than pre-training on macro-expression classification. This suggests that the mechanical ability to track muscle movement is more transferable to micro-expressions than the high-level semantic meaning of a macro-expression.

Future work may address the current dependency on manually identified onset and apex frames, aiming for a fully automated system capable of detecting and recognizing micro-expressions in continuous, "in-the-wild" video streams.

Summary updated

BibTeX
@misc{li2024from,
  author = {Hanting Li and Hongjing Niu and Feng Zhao},
  title = {{From Macro to Micro: Boosting micro-expression recognition via pre-training on macro-expression videos}},
  year = {2024},
  eprint = {2405.16451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.16451},
}
Figure