Skip to main content
QUICK REVIEW

[Paper Review] Understanding and Comparing Deep Neural Networks for Age and Gender Classification

Sebastian Lapuschkin, Alexander Binder|arXiv (Cornell University)|Aug 25, 2017
Face recognition and analysisComputer Science36 references34 citations
TL;DR

This paper investigates how model initialization, preprocessing, and architecture affect age and gender classification in deep neural networks using the Adience benchmark. By applying Layer-wise Relevance Propagation (LRP) to visualize feature importance, it demonstrates that ImageNet pretraining enables holistic feature use and improves robustness, achieving state-of-the-art gender classification accuracy (90.0%) with simple preprocessing and fine-tuned models.

ABSTRACT

Recently, deep neural networks have demonstrated excellent performances in recognizing the age and gender on human face images. However, these models were applied in a black-box manner with no information provided about which facial features are actually used for prediction and how these features depend on image preprocessing, model initialization and architecture choice. We present a study investigating these different effects. In detail, our work compares four popular neural network architectures, studies the effect of pretraining, evaluates the robustness of the considered alignment preprocessings via cross-method test set swapping and intuitively visualizes the model's prediction strategies in given preprocessing conditions using the recent Layer-wise Relevance Propagation (LRP) algorithm. Our evaluations on the challenging Adience benchmark show that suitable parameter initialization leads to a holistic perception of the input, compensating artefactual data representations. With a combination of simple preprocessing steps, we reach state of the art performance in gender recognition.

Motivation & Objective

  • To understand how model initialization, preprocessing, and architecture influence DNN performance in age and gender classification.
  • To investigate the impact of image preprocessing artifacts on model generalization and robustness.
  • To visualize and interpret model decision-making using Layer-wise Relevance Propagation (LRP).
  • To compare the effectiveness of random vs. pretrained weight initialization across multiple architectures.
  • To achieve state-of-the-art performance in gender classification on the Adience benchmark through optimized preprocessing and initialization.

Proposed method

  • The study evaluates four DNN architectures: CaffeNet, GoogleNet, VGG-16, and a ResNet-based model on the Adience benchmark.
  • It compares models initialized with ImageNet weights, IMDB-WIKI weights (for age estimation), and random initialization.
  • Preprocessing includes rotation alignment, in-plane facial alignment, and test set swapping to assess robustness to preprocessing mismatches.
  • Layer-wise Relevance Propagation (LRP) is used to visualize which facial regions contribute most to predictions at the pixel level.
  • Performance is evaluated using five-fold cross-validation on the Adience dataset, with accuracy reported for age and gender classification.
  • Test set swapping is employed to assess model robustness: models trained on one preprocessing are tested on another to detect overfitting to preprocessing artifacts.

Experimental results

Research questions

  • RQ1How does pretraining on ImageNet or IMDB-WIKI affect model performance and feature utilization in age and gender classification?
  • RQ2To what extent do preprocessing artifacts (e.g., rotation alignment) degrade model generalization when mismatched between training and testing?
  • RQ3How do different model architectures (e.g., GoogleNet, VGG-16) differ in their reliance on facial features under varying initialization conditions?
  • RQ4Can LRP effectively reveal whether models use holistic facial features or overfit to isolated characteristics like eyebrows or ears?
  • RQ5What combination of preprocessing and initialization leads to state-of-the-art performance in gender classification on the Adience benchmark?

Key findings

  • GoogleNet models pre-trained on ImageNet use a broader set of facial features for gender classification, while randomly initialized models overfit to isolated features like eyebrows and lips.
  • Pretraining on IMDB-WIKI (age estimation) leads to more facial feature-focused representations in VGG-16 for age prediction, reducing reliance on background and clothing.
  • Test set swapping reveals that models trained on rotated images perform significantly worse when tested on aligned images, indicating overfitting to preprocessing artifacts.
  • Models pre-trained on ImageNet show superior robustness to preprocessing mismatches, with performance maintained across different alignment methods.
  • The combination of rotation alignment and ImageNet pretraining achieves state-of-the-art gender classification accuracy of 90.0% on the Adience benchmark.
  • Fine-tuned models trained on rotation-aligned images recover performance comparable to those trained from scratch on correctly preprocessed data, confirming the benefit of proper initialization.

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.