Home

Awesome

[ICLR 2020] Order Learning and Its Application to Age Estimation

Lim2020Order

Paper

Order Learning and Its Application to Age Estimation

We propose order learning to determine the order graph of classes, representing ranks or priorities, and classify an object instance into one of the classes. To this end, we design a pairwise comparator to categorize the relationship between two instances into one of three cases: one instance is 'greater than,' 'similar to,' or 'smaller than' the other. Then, by comparing an input instance with reference instances and maximizing the consistency among the comparison results, the class of the input can be estimated reliably. We apply order learning to develop a facial age estimator, which provides the state-of-the-art performance. Moreover, the performance is further improved when the order graph is divided into disjoint chains using gender and ethnic group information or even in an unsupervised manner.

The full paper can be found via the link above.

Please cite our paper if you use our code or dataset:

@inproceedings{
Lim2020Order,
title={Order Learning and Its Application to Age Estimation},
author={Kyungsun Lim and Nyeong-Ho Shin and Young-Yoon Lee and Chang-Su Kim},
booktitle={International Conference on Learning Representations},
year={2020},
url={https://openreview.net/forum?id=HygsuaNFwr}
}

Dataset

We form the ‘balanced dataset’ from MORPH II [1], AFAD [2], and UTK [3]. Before sampling images from MORPH II, AFAD, and UTK, we rectify inconsistent labels by following the strategy in [4]. For each combination of gender in {female, male} and ethnic group in {African, Asian, European}, we sample about 6,000 images. Also, during the sampling, we attempt to make the age distribution as uniform as possible within range [15,80]. The balanced dataset is partitioned into training and test subsets with ratio 8 : 2.

Lim2020Order

You should download MORPH II, AFAD, and UTK dataset before using the balanced dataset.

Downloads links are followed:
MORPH II[Link] AFAD[Link] UTK[Link]

We also upload the whole MORPH II fold indices for the following 4 experimental settings.

Dependencies

Preprocessing

We use SeetaFaceDetection [5][Link] for face detection and face alignment code provided from pyimagesearch [Link] for face alignment.

Supervised training

Usage

You can download pre-trained models here [Link]. Use the following command for training.

python comparator_train.py --chain The_number_of_chains --experimental_setting Experimental_setting --data_path img_dir --dataset Dataset_for_evaluation --initial_model_path pre-trained_model_dir --save_dir dir_for_saving_model --log_dir dir_for_saving_logs

Unsupervised training

Coming Soon...

Reference Selection

Usage

Use the following command for reference selection.

python comparator_select_references.py --chain The_number_of_chains --experimental_setting Experimental_setting --data_path img_dir --dataset Dataset_for_evaluation --save_dir dir_for_saving_ref_data

Test

Usage

You can download trained models here [Link]. Use the following command for evaluation.

python comparator_test.py --chain The_number_of_chains --experimental_setting Experimental_setting --dataset Dataset_for_evaluation

Balanced Dataset

MORPH II Dataset

Results

Balanced Dataset

Chain1CH2CH3CH6CH
Superivsed4.23 / 73.24.18 / 73.44.19 / 73.44.18 / 73.4
Unsupervised-4.16 / 74.04.17 / 73.94.16 / 74.0

MORPH II Dataset

Settting(1CH)ABCD
MAE2.412.752.682.22
CS(%)91.788.288.893.3

Reference

[1] Karl Ricanek and Tamirat Tesafaye. MORPH: A longitudinal image database of normal adult age-progression. In FGR, pp. 341–345, 2006.
[2] Zhenxing Niu, Mo Zhou, Le Wang, Xinbo Gao, and Gang Hua. Ordinal regression with multiple output CNN for age estimation. In CVPR, pp. 4920–4928, 2016.
[3] Zhifei Zhang, Yang Song, and Hairong Qi. Age progression/regression by conditional adversarial autoencoder. In CVPR, 2017.
[4] Benjamin Yip, Garrett Bingham, Katherine Kempfert, Jonathan Fabish, Troy Kling, Cuixian Chen, and Yishi Wang. Preliminary studies on a large face database. In ICBD, pp. 2572–2579, 2018.
[5] Jie Zhang, Shiguang Shan, Meina Kan, and Xilin Chen. Coarse-to-fine auto-encoder networks (CFAN) for real-time face alignment. In ECCV, pp. 1–16, 2014.