TL;DR
Micro-expressions (MEs) are fleeting, involuntary facial movements that reveal true emotions but are notoriously difficult for AI to detect. This paper introduces FRL-DGT, an end-to-end framework that adaptively learns to "see" these subtle shifts by generating custom displacement maps and fusing facial features across multiple scales using a specialized Transformer architecture.
What Problem Does This Paper Address?
Micro-expressions last only a fraction of a second (1/25th to 1/5th of a second) and involve very low-intensity muscle movements. Recognizing them is a "needle in a haystack" problem for computer vision.
Existing deep learning approaches often treat dynamic feature extraction (like calculating optical flow between frames) as a separate preprocessing step. This creates a disconnect: the features aren't optimized for the final classification task, leading to redundant or missing information. Furthermore, standard neural networks often struggle to balance the need for fine-grained local details (like a twitch near the eye) with a global understanding of the whole face, especially when training data is scarce.
Methods
The authors propose the Feature Representation Learning with adaptive Displacement Generation and Transformer fusion (FRL-DGT) framework. It consists of two main components:
-
Displacement Generation Module (DGM): Instead of using off-the-shelf optical flow, the authors designed a convolutional encoder-decoder that learns to generate a pixel displacement map between the "onset" (start) and "apex" (peak intensity) frames of an expression. Crucially, this module is trained end-to-end with the classifier, allowing it to adaptively focus on the movements most relevant to emotion. To overcome the lack of labeled data, they use self-supervised learning on random image pairs to pre-train the DGM.
Figure 3. Visualization of the generated displacement on three ME categories: surprise, positive, and negative (from top to bottom). On each row from left to right are (a) Onset, (b) Apex, (c) Dynamic image, (d) Optical flow, and (e) Our displacement, respectively. (Images from CASME II ©Xiaolan Fu) -
Transformer Fusion Mechanism: The model doesn't just look at the whole face at once. It crops the face into 9 specific Action Unit (AU) regions (e.g., left eyebrow, nose, mouth) based on facial anatomy.
- Local Fusion: Processes patches within each AU region.
- Global Fusion: Integrates information across all 9 AU regions.
-
Full-face Fusion: Provides a holistic view of the face as auxiliary data.
A key innovation here is the "Fusion before attention" layer. By performing linear mapping on queries before the dot-product operation, the model reduces noise and computational complexity compared to standard Transformers.
Datasets
The model was evaluated using the Composite Database Evaluation (CDE) protocol, which combines three popular micro-expression benchmarks:
- CASME II: 247 sequences.
- SAMM: 133 sequences.
- SMIC: 164 sequences. The researchers unified these datasets into three general emotion classes: Negative, Positive, and Surprise.
Key Insights and Ideas
- Adaptive is Better than Static: Traditional optical flow is a "one-size-fits-all" calculation. By making displacement generation part of the learning process, the model learns to ignore irrelevant head movements and amplify subtle emotional twitches.
- Anatomy-Guided Attention: Dividing the face into biologically relevant AU regions (as seen in Figure 4) allows the Transformer to learn hierarchical features that mirror how human experts analyze micro-expressions.
- Self-Supervision as a Bridge: Micro-expression datasets are tiny. Using self-supervised learning on unlabeled video frames to teach the model how pixels move generally is a vital "warm-up" before asking it to identify specific emotions.
Key Results
FRL-DGT achieved state-of-the-art (SOTA) performance across the board using Leave-One-Subject-Out (LOSO) cross-validation:
- Overall Performance: Reached a Unweighted F1-score (UF1) of 0.812 and Average Recall (UAR) of 0.811 on the full composite dataset.
- Dataset Highlights: On the CASME II dataset specifically, it reached a staggering 0.919 UF1, significantly outperforming previous deep learning models like MERSiamC3D (0.882) and STSTNet (0.838).
- Efficiency: The "Fusion before attention" mechanism proved faster than standard attention, reducing runtime from 50.8ms to 47.6ms per fusion while improving accuracy.
Limitations and Future Work
- Occlusions: The authors noted that reflections in eyeglasses (see Figure 9) can confuse the displacement features, leading to incorrect predictions.
- Keyframe Dependency: The current model relies on knowing which frames are the "onset" and "apex." While they tested an automatic detection algorithm, it caused a significant drop in accuracy, suggesting that robust, automatic keyframe spotting remains a major hurdle.
- Sequence Length: While the model excels at onset-apex pairs, extending it to full video sequences (FRL-DGT-S) actually showed slightly lower precision, likely due to the noise introduced by temporal interpolation.
Summary updated