Skip to main content
QUICK REVIEW

[Paper Review] Age and Gender Prediction From Face Images Using Attentional Convolutional Network

AmirAli Abdolrashidi, Mehdi Minaei|arXiv (Cornell University)|Oct 8, 2020
Face recognition and analysisComputer Science25 references27 citations
TL;DR

This paper proposes an ensemble deep learning framework combining attentional and residual convolutional networks for joint age and gender prediction from face images. By leveraging multi-task learning, attention mechanisms to focus on salient facial regions (e.g., wrinkles, facial contours), and injecting predicted gender into the age branch, the model achieves state-of-the-art performance on the UTKFace dataset, with 91.3% age accuracy and 96.5% gender accuracy.

ABSTRACT

Automatic prediction of age and gender from face images has drawn a lot of attention recently, due it is wide applications in various facial analysis problems. However, due to the large intra-class variation of face images (such as variation in lighting, pose, scale, occlusion), the existing models are still behind the desired accuracy level, which is necessary for the use of these models in real-world applications. In this work, we propose a deep learning framework, based on the ensemble of attentional and residual convolutional networks, to predict gender and age group of facial images with high accuracy rate. Using attention mechanism enables our model to focus on the important and informative parts of the face, which can help it to make a more accurate prediction. We train our model in a multi-task learning fashion, and augment the feature embedding of the age classifier, with the predicted gender, and show that doing so can further increase the accuracy of age prediction. Our model is trained on a popular face age and gender dataset, and achieved promising results. Through visualization of the attention maps of the train model, we show that our model has learned to become sensitive to the right regions of the face.

Motivation & Objective

  • Address the challenge of high intra-class variation in face images (e.g., lighting, pose, occlusion) that limits age and gender prediction accuracy.
  • Improve prediction performance by focusing on the most informative facial regions using an attention mechanism.
  • Enhance age prediction accuracy by integrating gender prediction as a conditional input to the age branch.
  • Develop a multi-task learning framework that jointly optimizes for both age and gender prediction.
  • Enable model interpretability through visualization of attention maps to identify salient facial features used in predictions.

Proposed method

  • Employ an attentional convolutional network (Attn-CNN) to dynamically focus on critical facial regions such as eyes, wrinkles, and facial outlines.
  • Integrate a residual network (ResNet) as a complementary backbone model to enhance feature representation learning.
  • Use an ensemble strategy by averaging the predicted probabilities from Attn-CNN and ResNet for final classification decisions.
  • Implement multi-task learning where both age and gender are predicted simultaneously using shared convolutional features.
  • Augment the age prediction branch with the predicted gender embedding to improve age estimation performance.
  • Train the model end-to-end on the UTKFace dataset using cross-entropy loss for classification and mean absolute difference for age bucket prediction.

Experimental results

Research questions

  • RQ1Can attention mechanisms improve age and gender prediction by focusing on the most informative facial regions?
  • RQ2Does jointly learning age and gender prediction through multi-task learning lead to better performance than single-task learning?
  • RQ3Can injecting predicted gender as a conditional signal into the age prediction branch further improve age estimation accuracy?
  • RQ4To what extent does model ensembling of attentional and residual networks outperform individual models?
  • RQ5Can attention maps provide meaningful visual explanations of the model’s decision-making process for age and gender prediction?

Key findings

  • The ensemble model achieved 91.3% accuracy on age range classification and 96.5% accuracy on gender classification, outperforming both individual Attn-CNN (74.2% and 55.2%) and ResNet (90.0% and 96.5%) models.
  • The average age-bucket absolute difference (AABD) was reduced to 0.11, indicating high precision in age group estimation.
  • The model’s attention maps clearly highlight salient features such as wrinkles, eye contours, and facial edges, confirming the model learns to focus on relevant regions.
  • The confusion matrix shows that the majority of predictions fall on the main diagonal, with the highest error rate occurring when 30–40 age group images were misclassified as 20–30.
  • The gender prediction probability distribution shows high confidence in predictions, with most scores concentrated at the extremes (near 0 or 1), indicating low uncertainty.
  • The integration of gender prediction into the age branch significantly improved age prediction accuracy, demonstrating the value of cross-task supervision.

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.