Deep discovery of facial motions using a shallow embedding layer

Afsaneh Ghasemi, Mahsa Baktashmotlagh, Simon Denman, Sridha Sridharan, Dung Nguyen Tien, Clinton FookesICIP 2017

Introduction

Automatic facial expression recognition is a cornerstone of human-computer interaction, yet it remains computationally demanding. Most systems rely on the Facial Action Coding System (FACS), which decomposes expressions into individual muscle movements known as Action Units (AUs). Capturing the spatio-temporal evolution of these AUs typically requires complex models like 3D Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks. However, the fully connected layers bridging these components often contain up to 95% of the total network parameters, leading to significant computational bloat.

Researchers at the Queensland University of Technology have addressed this by introducing a "shallow embedding layer" based on random projections. This innovation reduces recurrent network parameters by up to 98%, drastically accelerating training and inference while maintaining high recognition accuracy.

Proposed Methodology

The proposed framework utilizes a three-stage pipeline designed for efficiency and performance:

  1. 3D Convolutional Neural Network (C3D): Unlike standard 2D CNNs, 3D filters extract features from overlapping 16-frame video clips, capturing both appearance and short-term motion simultaneously.
  2. Shallow Embedding Layer: Instead of a massive fully connected layer, the authors employ a "kernel trick" via Random Projection (specifically, Random Kitchen Sinks). This layer maps high-dimensional features into a much lower-dimensional space that approximates a Gaussian RBF kernel, effectively "pre-compressing" the data.
  3. LSTM Network: A recurrent network integrates these compressed features over time to recognize the progression of emotions from onset to apex and offset.
The proposed architecture integrates a C3D network for feature extraction, a Random Projection layer for dimensionality reduction, and an LSTM for temporal modeling.

Experimental Setup and Datasets

The framework was evaluated on two prominent benchmarks for spontaneous facial behavior:

  • DISFA (Denver Intensity of Spontaneous Facial Actions): Videos of 27 subjects watching evocative clips, manually labeled for 12 different AUs.
  • UNBC-McMaster Shoulder Pain: A dataset of 129 patients suffering from shoulder pain, used to test the system's ability to detect genuine physical distress.

Key Results and Insights

The inclusion of the shallow embedding layer demonstrated that deep networks often carry substantial "dead weight." By reducing the LSTM's input dimensions from 1024 to as few as 14, the authors proved that high-dimensional data is largely redundant for accurate AU detection.

Comparison of processing times for training and testing across different embedding dimensions, showing significant speedups with smaller projections.

Key performance metrics included:

  • Parameter Reduction: Recurrent network parameters were slashed by up to 98%.
  • Computational Speedup: Training time for a batch of 32 images dropped from 262.26 seconds to 34.26 seconds (a ~7.6x speedup). Inference time improved from 0.37s to 0.02s.
  • Accuracy: The model achieved an average AU detection accuracy of 94% on the UNBC-McMaster dataset and 76% on DISFA, with performance often peaking at lower dimensions due to the regularizing effect of random projections.

Conclusion

This research demonstrates that sophisticated facial analysis can be made viable for real-time and edge-device deployment without sacrificing accuracy. While performance degrades if compression is pushed beyond a certain "floor," the "sweet spot" identified by the authors suggests significant potential for this approach in other video-based tasks like gesture recognition or gait analysis. Future work will explore the handling of complex, overlapping AUs in compound expressions.

Summary updated

BibTeX
@inproceedings{ghasemi2017deep,
  author = {Afsaneh Ghasemi and Mahsa Baktashmotlagh and Simon Denman and Sridha Sridharan and Dung Nguyen Tien and Clinton Fookes},
  title = {{Deep discovery of facial motions using a shallow embedding layer}},
  booktitle = {ICIP},
  year = {2017},
  doi = {10.1109/icip.2017.8296545},
}
Figure