Age and Gender Estimation from Face and Ocular Smartphone Images via Identity Transfer and Ordinal Learning

Fernando Alonso-Fernandez, Kevin Hernandez-Diaz, Jose Maria Buades, Josef BigunarXiv 2026

Imagine you’re trying to guess someone’s age at a masquerade ball. Most of their face is covered, leaving you with just their eyes to go on. It’s a lot harder, right?

In the world of computer vision, this is a classic problem. While AI is getting eerily good at guessing age and gender from full-face photos, it struggles when parts of the face are obscured by masks, sunglasses, or tricky camera angles. This paper by Alonso-Fernandez and colleagues explores how we can bridge that gap by repurposing "identity" features and teaching AI that age isn't just a label—it's a sequence.

TL;DR

Can an AI tell your age just by looking at your eyes? By repurposing models originally trained to recognize who you are (identity) and using a clever "ordinal loss" function that understands the progression of time, researchers achieved record-breaking accuracy for age estimation using only the ocular (eye) region.

What Problem Does This Paper Address?

Most demographic estimation research relies on the "full face." But in the real world—think smartphone selfies or security footage—faces are often partially hidden. The ocular region (the eyes and the area around them) is frequently the only part visible, yet it contains significantly less information than a full face, leading to a "performance gap."

Furthermore, most AI models treat age groups (like 20-25 vs. 60-70) as distinct, unrelated categories, much like "cat" vs. "dog." But age is ordinal—being off by five years is a much better guess than being off by fifty. The authors set out to see if they could close the performance gap for eye-based estimation by using better pre-training and more sensible loss functions.

Methods

The researchers didn't start from scratch. They used a "transfer learning" approach, summarized in their framework:

Figure 1: Soft-biometrics estimation framework. Scratch and direct ImageNet initialisation are evaluated only with end-to-end training.
  1. The Backbones: They tested three Convolutional Neural Networks (CNNs) of varying "heaviness": SqueezeNet (light), MobileNetV2 (medium), and ResNet50 (heavy).
  2. Identity Transfer: Instead of just using standard ImageNet weights (trained on generic objects), they used models pre-trained for biometric identity. Crucially, they compared models trained on full faces versus those trained specifically on eye crops.
  3. Ordinal Learning: This is the "secret sauce." They introduced an ordinal penalty term to the standard loss function. If the model guesses an age group far away from the truth, it gets penalized much more heavily than if it's just one group off.

Datasets

The study used the Adience benchmark, a famous "in-the-wild" dataset consisting of 11,299 frontal smartphone images from Flickr. It’s notoriously difficult because the lighting, poses, and quality vary wildly—just like the photos on your own phone.

Key Insights and Ideas

  • Domain Matching is King: If you want to estimate age from eyes, start with a model that was trained to recognize people by their eyes. Using "domain-matched" identity pre-training provided a massive boost—up to a 20% improvement in some cases compared to generic pre-training.
  • Two Eyes are Better Than One: By averaging the descriptors from both the left and right eyes ("Ocular L+R"), the researchers found they could nearly match the performance of full-face models.
  • Age is a Spectrum: Standard AI training ignores the fact that age groups have a natural order. By adding the ordinal loss, the models became much more "sensible," significantly improving "1-off accuracy" (the rate at which the model is either exactly right or only one age group away).

As seen in Figure 3, increasing the weight of this ordinal penalty ($\lambda_{ord}$) consistently pushed the 1-off accuracy higher across different network architectures.

Figure 3: Effect of λord on age estimation accuracy, averaged over the five test folds. λord = 0 corresponds to standard cross- entropy without the ordinal term.

Key Results

The results represent some of the highest accuracies ever reported for the ocular region on the Adience dataset:

  • Gender Accuracy: Reached 88.1% for the full face and 82.9% for the combined eye region.
  • Age Accuracy (Exact): The eye-based model hit 59.0%, actually slightly outperforming the full-face model (57.6%) in this specific setup.
  • Age Accuracy (1-off): For the eye region, the model was within one age group of the truth 93.1% of the time.

Limitations and Future Work

While the results are impressive, the authors note that the Adience dataset is quite imbalanced (some age groups have many more photos than others), which can skew results.

Looking ahead, they suggest moving toward even more complex architectures like Transformers (the tech behind ChatGPT, but for images) and exploring more sophisticated ways to model the "ordinal" nature of age to improve exact classification without losing that high 1-off reliability.

So, the next time you're wearing a mask, remember: your eyes might be giving away more about your age than you think!

Summary updated

Abstract

We investigate the transferability of identity-recognition representations to gender and age estimation from face and ocular images. Three CNNs of varying complexity, pre-trained for face or ocular identity recognition, are evaluated using fixed features with SVMs and end-to-end adaptation. Experiments use 11,299 frontal smartphone images from Adience, following its predefined five-fold protocol and subject-disjoint validation. Results show that domain-matched identity pre-training outperforms direct ImageNet and scratch initialisation in end-to-end training, while combining both ocular regions narrows the gap with full-face estimation, especially for age. We additionally introduce an ordinal loss that exploits the ordering of age groups and consistently improves 1-off accuracy across architectures and input regions. Across the evaluated configurations, best gender accuracies reach 88.1% for the face and 82.9% for combined ocular regions, while age estimation reaches 59.0% exact and 93.1% 1-off accuracy for ocular images, versus 57.6% and 95.2% for the full face. To our knowledge, these are the highest ocular age accuracies reported on Adience.
BibTeX
@misc{alonsofernandez2026age,
  author = {Fernando Alonso-Fernandez and Kevin Hernandez-Diaz and Jose Maria Buades and Josef Bigun},
  title = {{Age and Gender Estimation from Face and Ocular Smartphone Images via Identity Transfer and Ordinal Learning}},
  year = {2026},
  eprint = {2611.30850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30850},
}
Figure