# US 2021/0174066 A1 · Method and device for age estimation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174066 A1
- Document ID: US20210174066A1
- Status: Published application
- Kind: A1
- Application number: 16/762,706
- Filed: 2018-11-07
- Published: 2021-06-10
- Earliest claimed: 2017-11-09
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Xuanping LI
- Web page: https://patentgrep.com/patent/US20210174066A1

## CPC

- G06N 3/08: Learning methods
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/2415: based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/7747: {Organisation of the process, e.g. bagging or boosting}
- G06V 10/82: using neural networks
- G06V 40/172: {Classification, e.g. identification}
- G06V 40/178: {estimating age from face image; using age information for improving recognition}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Provided in embodiments of the present application are a method and device for age estimation. The method comprises: performing gender training with respect to a gender model on the basis of facial image samples so as to allow the gender model to converge, where the gender model comprises at least two convolution layers; performing age training with respect to an age model on the basis of the facial samples so as to allow the age model to converge, where the age model comprises the at least two convolution layers, the converged age model comprises the weights of the at least two convolution layers, and the weights of the at least two convolution layers that the converged gender model comprises; and performing age estimation with respect to an inputted facial image on the basis of the converged age model. The technical solution provided in the embodiments of the present application eliminates the problem of inaccurate age estimation as a result of gender differences of facial images, thus increasing the accuracy of age estimation.

## Claims

### Claim 1

An age estimation method comprising:
performing gender training on a gender model according to face image samples to converge the gender model, wherein the gender model comprises at least two convolution layers;
performing age training on an age model according to the face image samples to converge the age model, wherein the age model comprises the at least two convolution layers, and weights of the at least two convolution layers comprised in the converged age model are same as weights of the at least two convolution layers comprised in the converged gender model; and
performing age estimation on an inputted face image according to the converged age model.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the gender model further comprises at least one first fully connected layer and a first classifier, and the performing gender training on the gender model according to the face image samples to converge the gender model, comprises:
performing gender training on the at least two convolution layers, the at least one first fully connected layer and the first classifier comprised in the gender model according to gender labeling information of the face image samples, to converge the gender model.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the age model further comprises at least one convolution layer, at least one second fully connected layer and a second classifier in addition to the at least two convolution layers, and the performing age training on the age model according to the face image samples to converge the age model, comprises:
performing age training on the at least one convolution layer, the at least one second fully connected layer and the second classifier comprised in the age model according to age labeling information of the face image samples, to converge the age model.

### Claim 4 (depends on 1)

The method according to claim 1, wherein before performing the age estimation on the inputted face image according to the converged age model, the method further comprises:
setting a learning rate of the age model to a preset learning rate after converging the age model, and performing secondary age training on the age model according to the face image samples to converge the age model again.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the performing age estimation on the inputted face image according to the converged age model, comprises:
performing age estimation on the inputted face image according to the converged age model to obtain a probability value corresponding to each age category; and
calculating an estimated age of the face image according to the probability value corresponding to each age category and an age corresponding to each age category.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the calculating the estimated age of the face image according to the probability value corresponding to each age category and the age corresponding to each age category, comprises:
calculating the estimated age, meanAge, of the face image by using a formula of:
meanAge=ΣinMiddleAgei×pi;
wherein MiddleAgei is a mean age corresponding to an ith age category, pi is a probability value corresponding to the ith age category, and n is the number of age categories.

### Claim 7

An age estimation device comprising:
a processor; and
a memory, configured to store an executable instruction of the processor;
wherein the processor is configured to execute the instruction stored in the memory:
to perform gender training on a gender model according to face image samples to converge the gender model, wherein the gender model comprises at least two convolution layers;
to perform age training on an age model according to the face image samples to converge the age model, wherein the age model comprises the at least two convolution layers, and weights of the at least two convolution layers comprised in the converged age model are same as weights of the at least two convolution layers comprised in the converged gender model; and
to perform age estimation on an inputted face image according to the converged age model.

### Claim 8 (depends on 7)

The device according to claim 7, wherein the gender model further comprises at least one first fully connected layer and a first classifier, and the processor is configured to execute the instruction stored in the memory:
to perform gender training on the at least two convolution layers, the at least one first fully connected layer and the first classifier comprised in the gender model according to gender labeling information of the face image samples, to converge the gender model.

### Claim 9 (depends on 7)

The device according to claim 7, wherein the age model further comprises at least one convolution layer, at least one second fully connected layer and a second classifier, and the processor is configured to execute the instruction stored in the memory:
to perform age training on the at least one convolution layer, the at least one second fully connected layer and the second classifier comprised in the age model according to age labeling information of the face image samples, to converge the age model.

### Claim 10 (depends on 7)

The device according to claim 7, wherein the processor is further configured to execute the instruction stored in the memory:
to set a learning rate of the age model to a preset learning rate after converging the age model, and perform secondary age training on the age model according to the face image samples to converge the age model again.

### Claim 11 (depends on 7)

The device according to claim 7, wherein the processor is configured to execute the instruction stored in the memory:
to perform age estimation on the inputted face image according to the converged age model to obtain a probability value corresponding to each age category; and
to calculate an estimated age of the face image according to the probability value corresponding to each age category and an age corresponding to each age category.

### Claim 12 (depends on 11)

The device according to claim 11, wherein the processor is configured to execute the instruction stored in the memory to calculate the estimated age, meanAge, of the face image by using a formula of:
meanAge==ΣinMiddleAgei×pi;
wherein MiddleAgei is a mean age corresponding to an ith age category, pi is a probability value corresponding to the ith age category, and n is the number of age categories.

### Claim 13 (depends on 1)

A mobile terminal, comprising: a memory, a processor and an age estimation program that is stored on the memory and can run on the processor, wherein the age estimation program implements the age estimation method of claim 1 when executed by the processor.

### Claim 14 (depends on 1)

A computer readable storage medium storing an age estimation program which implements the age estimation method of claim 1 when executed by a processor.

### Claim 15 (depends on 1)

A computer program implementing the age estimation method of claim 1 when executed by a processor.
