Skip to main content
QUICK REVIEW

[Paper Review] Multi-Task Learning Using Uncertainty to Weigh Losses for Heterogeneous Face Attribute Estimation

Huaqing Yuan, Yi He|arXiv (Cornell University)|Mar 1, 2024
Face recognition and analysisComputer Science3 citations
TL;DR

This paper proposes a deep multi-task learning framework for heterogeneous face attribute estimation that uses hard parameter sharing for shared feature extraction and task-specific heads for ordinal and nominal attributes. It leverages homoskedastic uncertainty to automatically weigh losses across tasks, reducing manual hyperparameter tuning and improving performance, with state-of-the-art results on Adience and UTKFace benchmarks and successful deployment on edge devices like NVIDIA Jetson TX2.

ABSTRACT

Face images contain a wide variety of attribute information. In this paper, we propose a generalized framework for joint estimation of ordinal and nominal attributes based on information sharing. We tackle the correlation problem between heterogeneous attributes using hard parameter sharing of shallow features, and trade-off multiple loss functions by considering homoskedastic uncertainty for each attribute estimation task. This leads to optimal estimation of multiple attributes of the face and reduces the training cost of multitask learning. Experimental results on benchmarks with multiple face attributes show that the proposed approach has superior performance compared to state of the art. Finally, we discuss the bias issues arising from the proposed approach in face attribute estimation and validate its feasibility on edge systems.

Motivation & Objective

  • To address the challenge of jointly estimating heterogeneous face attributes—such as ordinal (age) and nominal (gender, race)—in a unified deep learning framework.
  • To reduce estimation bias in ordinal attribute prediction by reformulating regression as a linear combination of binary classification subproblems.
  • To eliminate manual loss weight tuning in multi-task learning by using homoskedastic uncertainty as a learnable, task-dependent weighting mechanism.
  • To enable efficient deployment on edge systems through lightweight architecture and TensorRT acceleration, ensuring real-time inference.

Proposed method

  • Employs hard parameter sharing in early convolutional layers (using MBConv blocks) to share low-level features across all attribute estimation tasks.
  • Uses task-specific classifiers for each attribute, with separate branches for ordinal and nominal attributes to handle their distinct prediction requirements.
  • Transforms ordinal attribute estimation (e.g., age) into a series of binary classification problems, where each output corresponds to a thresholded prediction, reducing bias.
  • Introduces homoskedastic uncertainty as a learnable scalar per task to dynamically adjust loss weights, optimizing the trade-off between multiple loss functions.
  • Applies a regularized multi-task learning objective that minimizes the sum of task-specific losses weighted by inverse uncertainty, improving training stability and convergence.
  • Deploys the model on edge devices using TensorRT for inference acceleration, achieving low latency and high throughput on low-end hardware like Jetson TX2.

Experimental results

Research questions

  • RQ1Can homoskedastic uncertainty effectively replace manual loss weighting in multi-task face attribute estimation with heterogeneous attribute types?
  • RQ2How does reformulating ordinal regression as a linear combination of binary classification tasks affect estimation bias and accuracy?
  • RQ3To what extent does hard parameter sharing with task-specific heads improve performance across diverse face attributes like age, gender, and race?
  • RQ4Can the proposed framework achieve real-time inference on edge devices without sacrificing accuracy?
  • RQ5What are the main sources of bias in the model’s predictions, and how do they correlate with dataset imbalances?

Key findings

  • The proposed method achieved 86.59% accuracy on age estimation (with MAE of 0.1639) and 95.75% on gender classification on the Adience benchmark, outperforming prior state-of-the-art methods.
  • On the UTKFace benchmark, the model reached 64.74% accuracy for age group classification and 90.91% for gender, with a significant improvement over ablation variants without uncertainty or ordinal optimization.
  • Ablation studies confirmed that both the ordinal regression reformulation and uncertainty-based loss weighting contributed to reduced estimation error, with the full model showing the best performance.
  • The model achieved 55 FPS inference speed on NVIDIA Jetson TX2 using TensorRT, with only 16MB model size, demonstrating strong real-time feasibility on edge devices.
  • Grad-CAM visualizations confirmed that the model focuses on semantically relevant regions—such as facial aging signs for age, jawline/facial hair for gender, and nose/complexion for race—indicating interpretability.
  • Bias analysis revealed lower performance for 'Teenager' age group and female subjects, primarily due to feature overlap and dataset imbalance, highlighting limitations in representation.

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.