Introduction
Facial micro-expressions (MEs) are involuntary, low-intensity movements that last only a fraction of a second (0.005 to 0.5 seconds). Unlike macro-expressions, MEs are incredibly difficult to detect, even for trained experts, making them a "holy grail" for applications like lie detection and criminal analysis.
While Bidirectional Transformer (BERT) models have revolutionized computer vision, standard versions are designed to understand "global" context. They typically fail at micro-expression recognition (MER) because the signal is too small and easily lost in background noise. Furthermore, high-quality labeled ME data is scarce. Micron-BERT (µ-BERT) addresses these challenges by learning to "see" these tiny movements using vast amounts of unlabeled high-speed video through a specialized self-supervised framework.
Methodology
The core of µ-BERT is a symmetric auto-encoder architecture designed to capture subtle temporal disparities. The framework introduces three key innovations:
Blockwise Swapping
To teach the model to notice tiny changes, a self-supervised "spot-the-difference" task is employed. The model takes two consecutive frames, randomly swaps patches between them to create a "corrupted" image, and is tasked with reconstructing the original frame. This forces the network to become hypersensitive to local temporal disparities.
Diagonal Micro-Attention (DMA)
Standard attention mechanisms look at global relationships. DMA specifically weights the correlations between corresponding patches in two frames. By focusing on the diagonal of the attention matrix, the model can precisely identify and highlight where a micro-movement occurred between frames.
Patch of Interest (PoI)
One major hurdle in MER is background noise. The PoI module uses a "Contextual Token" to automatically learn which parts of the image represent the face versus the background. This effectively "crops" the face without needing manual labels or bounding boxes, ensuring the model focuses on relevant facial regions.
Datasets and Evaluation
The model was pre-trained on a massive unlabeled dataset of 8 million frames derived from CASME3. For evaluation and fine-tuning, four major micro-expression benchmarks were used:
- CASME II: 247 samples from 26 subjects.
- SAMM: 159 samples from 32 participants across 13 ethnicities.
- SMIC: 164 samples.
- CASME3 (Labeled): 1,109 labeled micro-expressions.
Key Results
µ-BERT represents a significant shift in the state-of-the-art (SOTA) for the field:
- CASME3: Achieved double-digit improvements. For the 3-emotion class task, it reached a 56.04% UF1 score, significantly outperforming the previous best of 39.28%.
- CASME II: Reached a 90.34% UF1, a 3.37% increase over the previous leading method (OFF-ApexNet).
- SMIC: Observed a 7.5% increase in UF1 score, reaching 85.50%.
- Generalization: The model proved highly effective on "unseen" subjects, maintaining high accuracy across different genders, ages, and ethnicities.
Conclusion and Future Work
µ-BERT demonstrates that self-supervised learning on large-scale unlabeled data, combined with specialized attention mechanisms, can overcome the limitations of traditional MER methods. By bypassing the need for manual landmarks and motion magnification, it offers a more robust solution for detecting subtle facial cues.
Future work will focus on enhancing robustness to environmental factors like lighting and illumination changes, which can still occasionally mislead the model. Additionally, extending the framework to process full video sequences rather than just onset-apex frame pairs could further improve its real-world applicability.
Summary updated