Skip to main content
QUICK REVIEW

[Paper Review] Real-time Convolutional Neural Networks for Emotion and Gender Classification

Octavio Arriaga, Matías Valdenegro-Toro|arXiv (Cornell University)|Oct 20, 2017
Face recognition and analysisComputer Science154 citations
TL;DR

The paper presents real-time CNN architectures for simultaneous face detection, gender classification, and emotion classification, achieving high accuracy with significantly reduced parameters and real-time performance on a robot platform.

ABSTRACT

In this paper we propose an implement a general convolutional neural network (CNN) building framework for designing real-time CNNs. We validate our models by creating a real-time vision system which accomplishes the tasks of face detection, gender classification and emotion classification simultaneously in one blended step using our proposed CNN architecture. After presenting the details of the training procedure setup we proceed to evaluate on standard benchmark sets. We report accuracies of 96% in the IMDB gender dataset and 66% in the FER-2013 emotion dataset. Along with this we also introduced the very recent real-time enabled guided back-propagation visualization technique. Guided back-propagation uncovers the dynamics of the weight changes and evaluates the learned features. We argue that the careful implementation of modern CNN architectures, the use of the current regularization methods and the visualization of previously hidden features are necessary in order to reduce the gap between slow performances and real-time architectures. Our system has been validated by its deployment on a Care-O-bot 3 robot used during RoboCup@Home competitions. All our code, demos and pre-trained architectures have been released under an open-source license in our public repository.

Motivation & Objective

  • Develop a general framework for building real-time CNNs suitable for robotics and embedded systems.
  • Create architectures that perform face detection, gender classification, and emotion classification in a single pipeline.
  • Reduce model size and computation while maintaining accuracy.
  • Provide real-time visualization to interpret learned features and model behavior.
  • Demonstrate deployment on a mobile robot platform and release open-source resources.

Proposed method

  • Propose two CNN designs: a sequential fully-CNN with Global Average Pooling to remove fully connected layers, and a mini-Xception with depth-wise separable convolutions and residual modules.
  • Use Adam optimizer for training.
  • Eliminate fully connected layers to reduce parameters, and apply depth-wise separable convolutions to further shrink the model size.
  • Apply Global Average Pooling and a softmax classifier in the final layer for multi-class outputs.
  • Integrate face detection, gender, and emotion classification into a single real-time pipeline.
  • Introduce guided-back-propagation visualization to interpret learned features.

Experimental results

Research questions

  • RQ1Can real-time CNN architectures achieve competitive gender and emotion classification accuracy with far fewer parameters?
  • RQ2Is it feasible to run face detection, gender classification, and emotion classification in a single real-time pipeline on constrained hardware?
  • RQ3Do depth-wise separable convolutions and residual connections reduce parameters while preserving accuracy in these tasks?
  • RQ4How interpretable are the learned features when visualized with guided back-propagation for emotion and gender tasks?

Key findings

  • A fully-convolutional model achieved 96% accuracy on the IMDB gender dataset with about 600,000 parameters.
  • The sequential fully-CNN achieved 66% accuracy on the FER-2013 emotion dataset.
  • The mini-Xception architecture achieved 95% gender accuracy and 66% emotion accuracy with about 60,000 parameters.
  • The complete pipeline (face detection, gender, and emotion) runs at 0.22 ms on a i5-4210M CPU, representing a speedup over the original architecture.
  • The model weights can be stored in about 855 KB.
  • Guided back-propagation visualizations show interpretable features such as frown lines, teeth visibility, and eyebrow shapes, and reveal biases related to glasses or western facial features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.