Deep Regression Forests for Age Estimation

Wei Shen, Yilu Guo, Yan Wang, Kai Zhao, Bo Wang, Alan Yuille

TL;DR

Deep Regression Forests (DRFs) combine the feature-learning power of Convolutional Neural Networks (CNNs) with the data-partitioning strengths of random forests to tackle the complex problem of facial age estimation. By using differentiable "soft" split nodes and an alternating optimization strategy, the authors achieved state-of-the-art results across three major benchmarks, proving that joint learning of features and data partitions is key to handling the diverse ways human faces age.

What Problem Does This Paper Address?

Estimating a person's age from a single photo is deceptively difficult. The primary hurdle is that the facial feature space is heterogeneous. As shown in Figure 1, two people of the exact same age can look vastly different due to genetics or lifestyle (high variance). Furthermore, aging itself is non-stationary: the way a face changes during childhood (bone growth and shape changes) is fundamentally different from how it changes in adulthood (skin texture and wrinkles).

Figure 1. (a) The large variation in facial appearance across differ- ent persons of the same age. (b) Facial images of a person from childhood to adulthood. Note that, Facial aging effects appear as changes in the shape of the face during childhood and changes in skin texture during adulthood, respectively.

Existing methods often try to solve this by "dividing and conquering"—splitting the data into age groups and learning local regressors. However, these methods typically use "hard" partitions based strictly on age, which fails to capture the overlapping appearance of people in adjacent age groups.

Methods

The authors introduce Deep Regression Forests (DRFs), an end-to-end model that integrates a CNN with a forest structure.

The Architecture

  1. Feature Learning: A CNN (specifically VGG-16) acts as the backbone, extracting high-level facial features.
  2. Soft Split Nodes: Unlike traditional decision trees that make binary "yes/no" decisions, DRFs use a sigmoid-based "soft" split function. This makes the tree differentiable, allowing it to be trained alongside the CNN.
  3. Leaf Nodes: Each leaf node represents a local regressor, modeled as a Gaussian distribution (mean and variance) over the age space.
Figure 2. Illustration of a deep regression forest (DRF). The top red circles denote the output units of the function f parameterized by Θ. Here, they are the units of a fully-connected (FC) layer in a CNN. The blue and green circles are split nodes and leaf nodes, respectively. Two index functions ϕ1 and ϕ2 are assigned to these two trees respectively. The black dash arrows indicate the cor- respondence between the split nodes of these two trees and the output units of the FC layer. Note that, one output unit may cor- respond to the split nodes belonging to different trees. Each tree has independent leaf node distribution π (denoted by distribution curves in leaf nodes). The output of the forest is a mixture of the tree predictions. f(·; Θ) and π are learned jointly in an end-to-end manner.

Alternating Optimization

Training a DRF involves a two-step alternating strategy to minimize the negative log-likelihood loss:

  • Step 1 (Back-propagation): Fix the leaf node distributions and update the CNN parameters and split node weights using standard gradient descent.
  • Step 2 (Variational Bounding): Fix the CNN and split nodes, then update the leaf node distributions. The authors derive a step-size-free, fast-converging update rule based on Variational Bounding, which mathematically guarantees convergence.

Datasets

The model was evaluated on three standard age estimation benchmarks:

  • MORPH: The most popular dataset, containing over 55,000 images. It is ethnically unbalanced (mostly African and European).
  • FG-NET: A smaller but challenging dataset (1,002 images) with large variations in lighting, pose, and expression.
  • Cross-Age Celebrity Dataset (CACD): A large-scale dataset with 160,000 images of 2,000 celebrities.
Figure 4. Some examples of MORPH [43], FG-NET [40] and CACD [8]. The number below each image is the chronological age of each subject.

Key Insights and Ideas

  • Joint Learning is Crucial: By learning the data partitions (split nodes) and the data abstractions (leaf nodes) together, the model finds homogeneous subsets in the joint input-output space. This is more effective than splitting data purely by chronological age.
  • Soft vs. Hard Partitions: The "soft" splits allow a single image to contribute to multiple leaf nodes with different probabilities. This naturally handles the "blurry" boundaries between age appearances.
  • Mathematical Rigor: Using Variational Bounding for leaf node updates ensures the model doesn't just "guess" the local distributions but converges to a mathematically sound local optimum.
  • Handling Small Data: DRFs showed significant improvements over competitors when trained on smaller validation sets, suggesting the forest structure provides a helpful inductive bias for heterogeneous data.

Key Results

DRFs achieved state-of-the-art (SOTA) performance across the board, measured by Mean Absolute Error (MAE):

  • MORPH: Achieved an MAE as low as 2.17 (Setting II), significantly outperforming previous deep learning methods like Ranking-CNN (2.96) and DLDL (2.42).
  • FG-NET: Achieved an MAE of 3.85, becoming the first method to break the 4.0 barrier on this dataset using the "leave-one-out" protocol.
  • CACD: Outperformed the previous SOTA (DEX) on both training and validation sets.

The authors also visualized the learned leaf nodes (Figure 5), showing that the mixture of Gaussian distributions at the leaves closely matches the actual age distribution of the training data.

Figure 5. (a) Histogram of data samples with respect to age on MORPH [43] (Setting I). (b) Visualization of the learned leaf node distributions in our DRFs (best viewed in color).

Limitations and Future Work

While the paper demonstrates impressive results, a few areas remain for exploration:

  • Computational Complexity: The alternating optimization strategy, while effective, adds complexity compared to standard end-to-end back-propagation.
  • Hyperparameter Sensitivity: As shown in Figure 6, performance is sensitive to tree depth and the number of trees. Finding the "sweet spot" requires careful tuning.
  • Real-world Robustness: While the model handles heterogeneous data well, its performance still relies on accurate face detection and alignment as a preprocessing step.

Future work could involve exploring different CNN architectures or extending this differentiable forest approach to other non-linear regression tasks beyond age estimation.

Summary updated

BibTeX
@inproceedings{shen2018deep,
  author = {Wei Shen and Yilu Guo and Yan Wang and Kai Zhao and Bo Wang and Alan Yuille},
  title = {{Deep Regression Forests for Age Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00245},
}
Figure