Fair Multi-Exit Framework for Facial Attribute Classification

Ching-Hao Chiu, Hao-Wei Chung, Yu-Jen Chen, Yiyu Shi, Tsung-Yi Ho

TL;DR

Deep neural networks become more accurate as they get deeper, but they also accumulate more algorithmic bias. This paper introduces a fairness-oriented multi-exit framework that allows confident samples to exit early at shallower, less-biased layers, significantly improving fairness across multiple state-of-the-art models with minimal impact on accuracy.

What Problem Does This Paper Address?

Facial attribute classification models often suffer from unintended bias against sensitive attributes like gender, race, or age due to imbalances in training data. While deep layers extract highly discriminative features that boost classification accuracy, the authors discover a troubling trend: fairness conditions deteriorate significantly in these deeper layers.

As a network grows deeper, its Equalized Odds (EO) score—a metric where lower values mean a fairer model—increases dramatically. The challenge is to harvest the high accuracy of deep networks for difficult samples without forcing simple, unambiguous samples to travel into the deep, highly biased layers.

Figure 1: Equalized odds (EO) and accuracy (Acc.) for the internal layers of the conventional ResNet on CelebA (a-b) and UTK Face (c-d) dataset. Note that lower EO represents fairer. (a) and (c) are the results using ResNet-18, while (b) and (d) use the ResNet-50. T and S stand for target and sen- sitive attributes, respectively. In the CelebA dataset, a, e, m, and y represent attractiveness, bags-under-eyes, male, and young, respectively. For the UTK Face dataset, A and E are the Age and Ethnicity, respectively.

Methods

The authors propose a Fair Multi-Exit (ME) Framework that introduces multiple internal classifiers (ICs) at intermediate layers of a network backbone (e.g., after each residual block in a ResNet-18).

Key components include:

  • Fairness-Aware Multi-Exit Training: Unlike standard multi-exit architectures that only optimize for early accuracy, this framework duplicates both the target classification loss ($l_t$) and the fairness regularization loss ($l_s$) across every internal classifier. The total training loss is a weighted sum of all exits, forcing the network to optimize for fairness from shallow to deep layers.
  • Confidence-Based Early Exit Policy: During inference, if an early internal classifier predicts a sample's label with a confidence score above a pre-defined threshold ($\theta$), the sample exits immediately. This prevents "overthinking," where an easy sample unnecessarily travels deeper and picks up demographic bias.
  • High Extensibility: The framework acts as a plug-and-play wrapper. It can be integrated with various existing state-of-the-art bias mitigation methods (such as LNL, HSIC, MFD, and FSCL+), applying their unique fairness constraints to every internal exit.
Illustration of the multi-exit training framework compared to existing approaches.

Datasets

The framework was evaluated on two widely used facial attribute benchmarks:

  • CelebA: Contains over 200k celebrity images with 40 binary attributes. The authors used Male and Young as sensitive attributes, paired with highly correlated target attributes: Attractive, Big Nose, and Bags Under Eyes.
  • UTK Face: Consists of over 20k face images annotated with Ethnicity, Age, and Gender. Ethnicity was treated as the sensitive attribute, while Age (divided into three ranges) and Gender served as target attributes.

Key Insights and Ideas

  • The Fairness-Depth Trade-off: Just as deep networks can suffer from performance degradation on certain samples due to "overthinking," they also suffer from "bias accumulation." Shallow layers retain fairer, low-level representations.
  • Early Exits as a Bias Filter: Simpler samples do not require complex, deep features to be classified correctly. By allowing them to exit early, the model shields them from the biased representations that naturally form in the final layers.
  • Joint Optimization is Crucial: Simply extracting intermediate features from a traditionally trained network yields poor fairness because those layers weren't optimized for the task. Explicitly training each internal classifier with a fairness loss creates clear decision boundaries early on without encoding sensitive attributes.

Key Results

  • Baseline Improvements: On the CelebA dataset, the baseline multi-exit CNN (ME-CNN) improved the fairness metric (EO) by 20.3% on average compared to a standard vanilla CNN, while losing only 0.13% accuracy.
  • Synergy with State-of-the-Art (SOTA): When wrapped around existing debiasing methods, the framework achieved up to a 38.5% average improvement in EO. Notably, combining it with the MFD and LNL methods also boosted classification accuracy by 3.8% and 1.3% respectively.
  • UTK Face Consistency: The framework consistently outperformed standalone SOTA baselines on the UTK Face dataset, proving that the early-exit strategy successfully balances the accuracy-fairness trade-off across different demographic distributions.

Limitations and Future Work

  • Threshold Tuning: The framework relies on a pre-defined confidence threshold ($\theta$) that must be manually tuned using a validation set to find the optimal balance between accuracy and fairness.
  • Scope of Evaluation: The evaluation is strictly focused on computer vision and facial attribute classification. The authors do not discuss how this framework would translate to other domains, such as natural language processing or tabular data, where multi-exit architectures are less standard.

Summary updated

BibTeX
@misc{chiu2023fair,
  author = {Ching-Hao Chiu and Hao-Wei Chung and Yu-Jen Chen and Yiyu Shi and Tsung-Yi Ho},
  title = {{Fair Multi-Exit Framework for Facial Attribute Classification}},
  year = {2023},
  eprint = {2301.02989},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.02989},
}
Figure