Micro-Expression Recognition Based on Pixel Residual Sum and Cropped Gaussian Pyramid

Yuan Zhao, Zhuang Chen, Song LuoFrontiers in Neurorobotics 2021

Abstract

Facial micro-expression (ME) recognition is a critical field in understanding human psychology and detecting genuine emotions. However, ME recognition faces significant challenges due to the subtlety of movements and environmental interference. This paper proposes two novel preprocessing methods based on Pixel Residual Sum—Absolute Residual Sum (ARS) and Relative Residual Sum (RRS)—which amplify unit pixel displacement to resist noise. Furthermore, we introduce the Cropped Gaussian Pyramid with Overlapping (CGPO) module within a deep learning architecture called CropNet. This model utilizes multi-resolution overlapping facial patches and position embeddings to extract and fuse preliminary features. Experimental results demonstrate that our approach significantly outperforms existing state-of-the-art methods on major benchmarks.

Introduction: The Challenge of Subtlety

Micro-expressions are involuntary facial flickers lasting only 1/25 to 1/3 of a second. Unlike macro-expressions, they are nearly impossible to suppress, making them invaluable for clinical diagnosis, security, and psychological research.

Despite their value, computer vision systems struggle with MEs for three primary reasons:

  1. Subtlety: Muscle movements are so minute they are often indistinguishable from camera noise or lighting fluctuations.
  2. Redundancy: In high-speed video, most frames are nearly identical, making it difficult to isolate the "active" frames.
  3. Localization: MEs often occur in highly specific regions (e.g., the corner of the mouth), which can be overlooked when analyzing the entire face.

Traditional methods often rely on Optical Flow, which is computationally heavy and sensitive to environmental noise. This research proposes a more efficient and robust alternative.

Methodology: Pixel Residual Sum

The proposed pipeline replaces complex motion vectors with a simpler, more effective preprocessing stage. The core idea is to condense temporal information into a single "motion map."

The complete preprocessing pipeline, illustrating the transition from raw video clips to face alignment, cropping, and the generation of the final residual sum image.

Preprocessing Steps

  1. Face Alignment and Cropping: Video clips are first processed to detect facial landmarks and align the face to a standard orientation.
  2. Keyframe Selection: Five keyframes are selected from the clip to capture the progression of the micro-expression.
  3. Residual Sum Generation: The system calculates the pixel-level difference between these frames and the "onset" (starting) frame. By summing these differences into an Absolute Residual Sum (ARS) or Relative Residual Sum (RRS) image, the model highlights magnitude of change while filtering out static background noise.

Model Architecture: CropNet

The generated residual sum image is fed into CropNet, which employs two specialized modules to handle localization and spatial awareness:

  • Cropped Gaussian Pyramid with Overlapping (CGPO): The image is processed at multiple resolutions. Each version is cropped into 10 overlapping subplots (with 30% overlap). This ensures that critical features, like the eye or mouth, are not split across patches in a way that loses information.
  • Position Embedding: To maintain the spatial context lost during cropping, the model uses trainable position embeddings. This allows the network to understand the relative locations of different facial patches (e.g., recognizing that a specific patch represents the upper-left brow).
The image augmentation module applied to the residual sum images to improve model robustness through techniques like ColorJitter and random rotation.

To further improve generalization, the model utilizes an Image Augment module, applying transformations such as ColorJitter, random grayscale, horizontal flips, and rotations to the residual images before training.

Experimental Results

The model was evaluated on prominent datasets including CASME II, SMIC-HS, and SAMM, as well as a composite dataset following the MEGC2019 standard.

  • Superior Accuracy: On the CASME II dataset (5 classes), the ARS + CropNet method achieved 86.2% accuracy, significantly higher than previous methods like TSCNN-II (81.0%).
  • Cross-Database Performance: On the composite dataset, the model achieved a UF1 score of 0.911 and a UAR of 0.904, proving its robustness across different lighting and camera conditions.
  • Ablation Insights: Studies confirmed that ARS is superior to traditional Farneback and TV-L1 optical flow methods for this specific architecture, as it better captures the magnitude of subtle changes without the overhead of vector estimation.

Conclusion and Future Work

By combining Pixel Residual Sum with a multi-resolution cropping strategy, this research provides a high-performance, noise-resistant pipeline for micro-expression recognition. While the current system requires separate preprocessing steps for landmark detection and alignment, future work will focus on integrating these into an end-to-end neural network to enable real-time video processing.

Summary updated

BibTeX
@inproceedings{zhao2021micro,
  author = {Yuan Zhao and Zhuang Chen and Song Luo},
  title = {{Micro-Expression Recognition Based on Pixel Residual Sum and Cropped Gaussian Pyramid}},
  booktitle = {Frontiers in Neurorobotics},
  year = {2021},
  doi = {10.3389/fnbot.2021.746985},
}
Figure