FaceNet2ExpNet: Regularizing a Deep Face Recognition Net for Expression Recognition

Hui Ding, Shaohua Kevin Zhou, Rama Chellappa

TL;DR

This paper introduces FaceNet2ExpNet, a novel two-stage training method for deep expression recognition networks that leverages knowledge from pre-trained face recognition networks. By regularizing the expression network's convolutional layers with face net features and then fine-tuning with expression labels, they achieve state-of-the-art results on multiple challenging datasets, even with limited expression data.

What Problem Does This Paper Address?

Training deep neural networks (DNNs) for facial expression recognition is challenging due to the scarcity of large, labeled expression datasets. While fine-tuning networks pre-trained on massive datasets (like ImageNet for classification or large face datasets for recognition) is a common strategy, it has limitations. Specifically, features learned for face recognition might retain biases towards identity rather than expression, and the large face recognition networks can be overly complex for the smaller expression task, leading to overfitting. This paper aims to bridge this gap by effectively transferring knowledge from a face recognition domain to an expression recognition domain, mitigating the data scarcity issue and improving performance.

Methods

The core of FaceNet2ExpNet is a two-stage training algorithm:

  1. Stage (a): Pre-training Convolutional Layers with Face Net Regularization:
    • The authors propose a novel probabilistic distribution function to model the high-level neurons of the expression network. This function uses information derived from a pre-trained and fine-tuned face net.
  2. This modeling leads to a regression loss that acts as a feature-level regularization. It encourages the intermediate features of the expression network to be close to those of the fine-tuned face net.
  3. Crucially, the face net is frozen during this stage, and only the convolutional layers of the expression net are trained using this regression loss. The authors found that late middle layers (e.g., pool5 in VGG-16) are particularly suitable for supervision due to their rich, low-entropy neurons.
  4. Stage (b): Refining with Expression Labels:
    • After the convolutional layers are trained, randomly initialized fully-connected (FC) layers are appended to the expression network.
  5. The entire network (convolutional layers and new FC layers) is then jointly trained using a standard cross-entropy loss with the actual expression labels. This stage refines the learned features for discriminative expression recognition.

The authors also explore which layer of the face net is most suitable for transferring knowledge, investigating neuron entropy scores to identify layers that are more sensitive to expressions.

Datasets

The paper evaluates FaceNet2ExpNet on four public datasets:

  • CK+ (Extended Cohn-Kanade): A constrained dataset with image sequences.
  • Oulu-CASIA: A dataset captured under varying illumination conditions.
  • TFD (Toronto Face Database): A relatively large dataset for expression recognition.
  • SFEW (Static Facial Expression in the Wild): A challenging dataset for unconstrained expression recognition, extracted from film clips.

The face net used for pre-training was trained on a large dataset of 2.6 million face images.

Key Insights and Ideas

  • Face Net as a Regularizer: The core idea is to use a pre-trained face recognition network not just for initial feature extraction but as a direct regularizer for the expression network's convolutional layers. This helps prevent the expression network from deviating too much from useful face-related features while guiding it towards expression-specific semantics.
  • Feature-Level Regularization: The proposed probabilistic distribution function and resulting regression loss are key to this regularization. It's a form of knowledge distillation, but applied at the feature level to guide the learning of intermediate representations.
  • Layer Sensitivity Matters: The analysis of neuron entropy scores reveals that deeper layers of the face net become more expression-sensitive after fine-tuning. This insight informs the choice of which layer's features to use for supervision.
  • Bridging Domain Gaps: The authors introduce a 1x1 convolutional layer to bridge the gap between the face and expression domains, adapting dimensions and potentially helping to disentangle identity from expression.
  • Visualizing Expression Semantics: The visualization of neurons in the trained model shows that FaceNet2ExpNet captures improved high-level expression semantics, with neurons responding to specific facial cues like frowns or smiles.

Key Results

  • State-of-the-Art Performance: FaceNet2ExpNet achieves state-of-the-art results on all four evaluated datasets (CK+, Oulu-CASIA, TFD, SFEW).
  • On CK+, it reaches 98.6% accuracy for six classes and 96.8% for eight classes, significantly outperforming previous methods.
  • On Oulu-CASIA, it achieves 87.71% accuracy, a 3.1% improvement over the previous best.
  • On TFD, it achieves 88.9% accuracy, outperforming the runner-up by 2%.
  • On SFEW, it achieves 55.15% accuracy, outperforming other methods, especially when using additional training data.
  • Improved Feature Representation: Visualizations demonstrate that the model captures more relevant expression features compared to a baseline fine-tuned face net.
  • Computational Efficiency: The trained network is relatively small (11M parameters compared to VGG-16's 138M) and can perform inference in just 3ms per image on a single Titan X GPU.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the "contempt" expression is the most difficult to classify, likely due to its subtle nature.
  • The SFEW dataset, being unconstrained, presents challenges with pose and expression subtlety, leading to lower accuracy for some expressions like "fear."
    • The method relies on a pre-trained face recognition network, so its effectiveness is tied to the quality and domain of that pre-trained model.
  • Future Work:
    • The authors plan to apply this two-stage training method to other domains that suffer from small datasets.
  • Further exploration into bridging domain gaps and improving feature disentanglement could be future directions.

Summary updated

BibTeX
@inproceedings{ding2017facenet,
  author = {Hui Ding and Shaohua Kevin Zhou and Rama Chellappa},
  title = {{FaceNet2ExpNet: Regularizing a Deep Face Recognition Net for Expression Recognition}},
  booktitle = {FG},
  year = {2017},
  doi = {10.1109/fg.2017.23},
}
Figure