Abstract
Micro-expression (ME) spotting is a critical precursor to automated emotion recognition, yet existing methods often struggle with the computational demands of real-time processing and the loss of subtle motion data. This paper introduces RMES (Real-time Micro-Expression Spotting), a lightweight framework that replaces traditional optical flow with phase-based motion features derived from a Riesz Pyramid. By leveraging the spatial-domain efficiency of the Riesz Pyramid and a shallow three-stream CNN, RMES achieves state-of-the-art accuracy on benchmark datasets while reducing inference time by nearly 78%.
Introduction
Micro-expressions are involuntary, fleeting facial movements that typically last between 1/25 and 1/2 of a second. Because they often occur when individuals attempt to suppress their true emotions, they are invaluable for applications in clinical psychology, interrogation, and security. However, "spotting" these expressions within long, unconstrained video sequences is technically challenging. The primary hurdles are the extreme subtlety of the movements and the high computational cost of the motion estimation algorithms required to detect them.
The Limitations of Optical Flow
Most contemporary ME spotting pipelines rely on optical flow to represent facial motion. While effective for large-scale movement, optical flow presents two significant drawbacks in the context of micro-expressions:
- Computational Complexity: Calculating optical flow is resource-intensive, often preventing real-time deployment on edge devices or in high-throughput monitoring environments.
- Over-Smoothing: Optical flow algorithms typically assume motion is smooth across spatial neighborhoods to solve the "aperture problem." This smoothing effect can inadvertently erase the tiny, localized, non-rigid muscle twitches—such as a slight crinkle at the corner of the eye—that define a micro-expression.
The RMES Framework
To address these limitations, the RMES framework optimizes both the feature extraction (front end) and the classification (back end) stages of the spotting pipeline.
Phase-Based Motion Extraction
Instead of optical flow, RMES utilizes a Riesz Pyramid to extract phase information. Phase provides a localized estimate of motion at every pixel. Unlike frequency-domain methods, the Riesz Pyramid operates in the spatial domain, making it approximately four times faster and significantly less prone to visual artifacts.
A key finding in this research is the "Sensitivity vs. Range" trade-off. Finer scales of the pyramid (earlier levels) are highly sensitive to tiny motions but are susceptible to noise and "phase wrap-around" (where motion exceeds the representable range). The authors identified the third level of the Riesz Pyramid as the "Goldilocks" zone, providing the ideal balance for micro-expression detection.
Preprocessing and Alignment
Because phase-based features are incredibly sensitive to even minute displacements, rigorous face alignment is essential. The framework employs the OpenFace toolkit to normalize head pose, ensuring that global head tilts are not misinterpreted as local micro-expressions.
Three-Stream Shallow CNN
The extracted motion data is processed by a lightweight Convolutional Neural Network (CNN) featuring three parallel streams. These streams are designed to independently analyze:
- Horizontal displacement
- Vertical displacement
- Overall motion magnitude
This architecture allows the model to remain remarkably lean, containing only 161,000 parameters and requiring just 0.6M FLOPs.
Experimental Results
RMES was evaluated on two standard long-form micro-expression benchmarks: CAS(ME)² (98 videos, 57 samples) and SAMM Long Videos (147 videos, 159 samples).
Accuracy and Efficiency
The framework demonstrated superior performance across both datasets. On CAS(ME)², RMES improved the F1 score by 26.94% compared to the previous state-of-the-art shallow-CNN methods.
From an efficiency standpoint, the total processing time per frame is approximately 0.0285 seconds. The transition from optical flow to phase-based features resulted in a 77.8% reduction in inference time, comfortably enabling real-time operation. The authors noted that the primary bottleneck in most pipelines is preprocessing; by optimizing the motion representation, they achieved a 4x speedup in this stage alone.
Conclusion and Future Work
RMES demonstrates that phase-based motion features are not only faster than optical flow but also "richer" for the purpose of micro-expression spotting. By avoiding the over-smoothing inherent in traditional flow algorithms, RMES preserves the subtle nuances of facial muscle activity.
Future iterations of the framework may move away from fixed-window spotting toward frame-by-frame labeling to better accommodate varying expression durations. Additionally, the authors suggest exploring attention mechanisms to help the model dynamically ignore noisy regions of the face, such as the jawline, while focusing on high-activity areas like the eyes and brows.
Summary updated