Age estimation from a face image in a selected gender-race group based on ranked local binary patterns

An algorithm to classify people by age from face images based on a two-stage support vector regression is proposed. Only the most significant local binary patterns are used as descriptive features of an image. The distinctive feature of the proposed approach is in the use of a sequential procedure that involves classifying images of people first by gender, then by race in each gender group and only then by age within a selected gender-race group. In order to increase the accuracy of the classification, a bootstrapping procedure (learning on “hard” examples) is used at each stage. The use of this approach has made it possible to improve an accuracy of the classification by 12% for gender, by 15% for race and by 2 years for age (the Mean Absolute Error metric) in comparison with other known algorithms.


Introduction
The interest in automatic age classification of people from face image has been growing steadily in recent years. One of the main reasons for this is that the number of human images published on the Internet keeps increasing, and such images need to be annotated automatically for the purposes of filtering results generated by search engines. Automatic B Andrey Rybintsev Andrew.Rybintsev@gmail.com 1 National Research University "Moscow Power Engineering Institute", Moscow, Russia classification by age is also required whenever it is necessary to identify the age of an audience, e.g. to analyze the effectiveness of advertising. Such a classification may also be useful for the purposes of creating human-computer interfaces where the system behavior is adjusted to a specific user based on a number of factors including his or her age.
This article proposed a new algorithm that develops existing approaches to estimating human age [8] with the use of a two-stage scheme of support vector regression. The suggested modifications are based on generating a feature description of an image through applying local binary patterns, identifying only the most relevant (boosted) features, gradually classifying images of people first by gender, then by race in each gender group and only then by age within a selected gender-race group. It is also proposed to apply a bootstrapping procedure that involves learning on "hard" examples with floating rather than fixed age range limits at the second stage of regression.

Related works
Traditionally, an algorithm of age classification of face images involves three stages, i.e. first the face image is normalized, then the feature vector is calculated and finally, classification is performed.
At the normalization stage, the face image is rotated, scaled and cropped in such a way as to ensure proper eye location, i.e. to make sure that the eyes (corners or centers of the eyes) are aligned horizontally. Pixel intensities may be used directly as image features, usually with subsequent dimensionality reduction, e.g. by applying such methods as Locality Preserving Projections [9]; geometric features such as the distance between anthropometric landmarks [24]; Active Appearance Model parameters [6], and Local Binary Patterns [19,28,30]. The article [11] proposes so-called Biologically Inspired Features. For classification, either a regression method that estimates a person's actual age or a multiple classification method [12] that predicts a person's age group is normally used. Neural networks [16,17] and random forests [24] are employed as classification algorithms. The support vector machine (SVM) [2,3,11,12] and support vector regression (SVR) [8,30] have gained the widest acceptance.
In [2] the task of age classification is reduced to a number of binary classifications. For each age, a classifier is created that identifies whether the person in the test image is older than the specified age threshold. The person's age is determined as the number of classifiers with positive values. It used support vector machines, and the binary classifiers differed only by a shift of the separating hyperplane, whereas in [3] the binary classifiers learned independently of one another and each classifier could have its own kernel. In [26] this algorithm was applied together with local binary patterns to describe images through features.
Another highly productive idea was to use cumulative features [6] that take into account the relationship between adjacent age groups, thus leading to a higher precision of age identification unlike [3].
Authors of [8] apply a two-stage scheme to identify age based on regression analysis. At the first stage, a regression is constructed for the entire training set to crudely identify the age group, and at the second stage a regression is constructed for the training set within each pre-defined age group.
The authors of article [12] propose first to classify people by gender and approximate age range and then apply a specialized age classifier for the selected gender group. The authors of the article demonstrated that such a sequential procedure notably increases the precision of the final age classification.
The idea of sequential classification appears to be quite promising. This article proposes to expand this approach and apply it not only to preliminary gender but to the preliminary race classification as well. Gender classification is a typical binary classification. Its main methods include support vector machine [14,22,23] and boosting [1,18]. Image pixels [12,23], Haar-like features [18] and local binary patterns [14,28] are used as features. The studies [10,15,28] are of the utmost interest, as the precision of the algorithms described in them was experimentally assessed based on face images from the Internet.
Race classification is a multiple classification that, as a rule, identifies Caucasians, Asians and Blacks. As a multiple classification is traditionally reduced to a sequence of binary ones, the approaches mentioned above are also applicable to it.
Thus, the following approaches are the most promising for further development: • using local binary patterns to form an image feature vector; • sequential gender, race and age classification; • using a two-stage scheme for age classification that is based on support vector regression using cumulative features.
This article does not consider the algorithms of recognizing people's faces on the general image and their subsequent normalization (size unification, alignment by eye level, etc.), i.e. it is assumed that the algorithm receives already normalized images as input. The above-mentioned procedures are doubtlessly very important but do not constitute the subject of the present research.

Proposed modifications
Modifying the method of the image feature vector formation Local binary patterns (LBPs) are proposed for use as image features [21]. A LBP is a description of an image pixel neighborhood represented as a binary code. The basic LBP operator applied to an image pixel considers eight surrounding pixels with the intensity of the central pixel used as the threshold. Pixels with an intensity value equal or higher than that of the central pixel are assigned the value of "1", and the rest of the pixels are "0". Thus applying the basic LBP operator to an image pixel results in an eight-bit binary code that describes the neighborhood of the pixel. Subsequently, this code is treated as binary notation of a certain number which is assigned to this pixel. The histogram of LBP values forms the image feature vector. Face images may be treated as a set of various local features that are effectively described by LBPs; however, a histogram of the entire image encodes only the presence or absence of certain local features but does not contain any information about their location on the image. To account for such information, the image is split into subareas and a special LBP histogram is calculated for each of such subareas. Once concatenated, such histograms form a common histogram that regards both local and global features of the image.
What makes it difficult to use this feature-based image description is that the dimension of feature space is very large. For instance, if a face image is split into 6 × 7 = 42 areas, the number of dimensions will be 256 × 42 = 10,752. The authors of [25] demonstrated that not all binary patterns have the same informational value. The local image features that are relevant for the purposes of classification are part of uniform LBPs that include patterns formed by not more than three series of "0s" and "1s" (e.g. 00000000, 001110000 and 11100001), as such series encode the ends of lines, corners, spots and other specific features of the image. As an eightbit code (P = 8) in total contains P(P − 1) + 2 = 58 such binary combinations instead of 256, the total dimension of the feature vector decreases to 58 × 42 = 2436, which is much less than the initial; however, this number is still large.
Let us consider other options for reducing the number of dimensions by using a priori information about human face images. To successfully address this task, let us use the following basic assumptions: 1. face symmetry; 2. different information value of various face image areas.
The first assumption is quite obvious; however, the literature does not describe cases where this a priori information was used. When the algorithm of forming the feature space using the LBP method is analyzed, it becomes obvious that the final histogram contains virtually identical pairs of histograms generated for the symmetrical face areas. Figure 1 shows an example of a face image divided into areas that demonstrates the feature-based description similarity of the left and right sides of the face. This is why deleting half of the image (half of the histograms from the feature description) is not going to affect the informational value of the feature vector (it is unlikely that in a face image values of gender, race or age of the left side would be different to those of the right side). The use of this evident fact causes a halving of the dimensionality of the feature space, i.e. if only uniform binary patterns are considered and if the source image is split into 42 regions, the number of dimensions decreases from 2436 to 1218 as the number of regions is 21.  [15] There is another advantage in using a priori information on face symmetry. At the stage of normalization a face image undergoes affine transformation to produce a frontal image from a real one (which is almost always rotated to a certain extent). The biggest problems with image quality that arise in the course of this procedure are related to the reconstruction of the far (partially hidden) half of the face (Fig. 2). The proposed idea of using only half of the image renders redundant the procedure of reconstructing the second half of the face, which saves time on image normalization.
Another condition for reducing the dimensions of the feature space (different information value of face image areas) also seems to be quite obvious (e.g. the image area that depicts an eye or a mouth has much higher information value than the area containing a cheek). Even inside a region there are areas that contain different amount of information hidden in the binary patterns (this fact is partly reflected in the uniform binary patterns). This is why it is recommended to delete from the final feature vector the features that do not affect the final result of the classification. To identify the meaningful features it is proposed to use the AdaBoost [27] algorithm that enables training a committee of simple classifiers.
Let us consider a training set for gender classification G l defined by a multitude of precedent pairs {x i , y i }, i = 1, n; G l ∈ R m , x i is the image feature vector i of the training set G l obtained using half of the source image, and y i is the corresponding value of gender, y i ∈ {−1, +1}. Let us enumerate all features from 1 to 1218, i.e.
i is the frequency of occurrence of the jth sequential feature ( j = 1.1218) of a uniform binary pattern in the full vector representation of half of the ith image.
In order to identify the most informative of original features it is proposed to use the Adaboost [27] algorithm for binary classification. The main idea is to apply a boosting procedure to each of the features, i.e. to force the Adaboost algorithm to make decisions on assigning the image to one class or another separately by each singular feature x j i , i = 1.n; j = 1.1218. In this case the task of classification by means of the Adaboost algorithm may be formulated in the following manner: i.e. the decision function will be generated in such a manner as to classify images only by the jth feature ( j = 1.1218) of the whole training set G l . In this relationship the weight coefficients α j determine the significance of the basic function b(x). It is proposed to use the simplest binary classifiers with separation by threshold value (Decision Stump) to represent this function. This threshold value is calculated as the average value of the x j i parameter of the whole training set G I .
Let us define the loss function L( f (x j ), G l ) as the number of errors committed by the committee of 1218 basic decision functions (by the number of features) on features x j of all objects of the training set G l : In accordance with the Adaboost algorithm, instead of the threshold function z < 0 we will use its continuously differentiable upper bound estimate in the form of E(z) = exp(−z): Minimization of this function leads to the following result for the weight coefficients [27]: where P(x j ) is the fraction of correct classifications and N (x j ) is the fraction of erroneous classifications x j of all objects of the training set: , the coefficients α j = 0. The calculated weight coefficients are normalized in such a way that their sum equals 1.
As a result of application of this approach we obtain a combination of weight coefficients α j that determine the significance of the basic algorithm b(x). Because the basic algorithm is applied to a single feature x j , this weight coefficient will characterize the significance of this particular feature x j when the decision is made on assigning this object to a particular class.
Next, it is proposed to arrange the features by decreasing weight coefficients, introduce the significance threshold δ and employ for the purposes of classification only those features for which the following condition is fulfilled: i.e. leave only the first N features with the summary weight of δ. These features will be called boosted and labeled as X, and the formalized training set containing only boosted features will be labeled as G l .
The use of a priori information about the human face along with determining the significance of the image features based on the boosting procedure allows reducing the number of dimensions of the LBP feature space to approximately 250 (with the significance threshold δ = 0.95). These features are proposed for further use in gender, race and age classification.

Modifying the procedure for classifying images of human faces by gender and race
The classification of images by the "race" and "gender" attributes is binary or may be reduced to a binary one. This section proposes a modified support vector machine (SVM) that has achieved the best results to-day by the Accuracy [20,22] metric when determining the "gender" and "race" attributes. A soft margin SVM [29] was used as the initial algorithm for modification. This method allows the algorithm to commit errors (the case of linearly indivisible sets) but the magnitude of the errors is minimized.
For the sake of improving binary classification, it is proposed to apply a bootstrapping procedure that involves learning on so-called "hard" examples [7,19]. It should be noted that this procedure is commonly used to solve another problem of computer vision, namely detecting a specified object on an image that contains a number of various (similar) objects [19] (e.g. detecting a pedestrian on an image of a street with many people in cars, on bicycles and on billboards). The main problem in solving this task is a huge number of background examples (non-pedestrians) as compared to the target objects. This is why the central idea of bootstrapping is that the training set should contain "hard" examples, i.e. examples of background that may be erroneously identified by the classifier as the target objects.
Let us illustrate the application of the bootstrapping procedure with an example of gender classification. Let us assume we have a training setĜ l defined by a set of precedent pairs { x i , y i }, i = 1, n; x i ∈ R m , y i ∈ {−1, +1}, where the image feature vector i contains only boosted features that have been generated using the procedure described above.
The proposed bootstrapping procedure consists of three steps: 1. The training set G l is randomly divided into two parts, G l 1 and G l 2 , in the ratio of 1 to 2: G l 1 ∩ G l 2 = ∅. The first part G l 1 is used as a training set for generation of a preliminary estimationf of the decision function f using a soft-margin SVM. 2. The second part G l 2 is used as a test set to evaluate the predictive ability of the decision functionf . In the course of this procedure all wrongly classified objects x i ⊂ G l 2 are identified. 3. Erroneously classified objects identified in step 2 (examples that are hard to classify) are added to the training set G l 1 , i.e. a new training set G l 1new enhanced with "hard" examples is generated. This enhanced set is used for retraining, i.e. the final version of the decision function f is generated.
The proposed modifications (using only a half of the image, selecting the most relevant LBP features using Adaboost and bootstrapping at the stage of classifier training based on a soft margin SVM) result in forming of a classifier that is able to classify human face images by gender.
To identify the "race" attribute in a face image, a multiple classification is used under the "one versus all" scheme, where the objects of the "Caucasian" class are identified first based on the proposed modification of the binary classification, and then the remaining objects are classified as either "Asian" or "Black".
As a result of the proposed method the following set of classifiers is generated: • a gender classifier (assigns labels "M" and "F" to images); • a classifier by race among men that identifies Caucasians among the images that carry the "M" label, i.e. the images receive the label "CM"; • a classifier by race among men that identifies Asians among the images that are labeled "M" and have not been classified as Caucasian, i.e. the images receive the label "MM", and the rest of the images are classified as Black and receive the label BM; • a classifier by race among women that identifies Caucasians among the images that carry the "F" label, i.e. the images receive the label "CF"; • a classifier by race among women that identifies Asians among the images that are labeled "F" and have not been classified as Caucasian, i.e. the images receive the label "MF", and the rest of the images are classified as Black and receive the label BF.
The result of these classifiers is the attribution of one of the following labels to the images: CM, MM, BM, CF, MF, BF.
Further the method of age classification may be applied to each separate gender-race group of the images.

Modification of the two-stage scheme for human age classification
Based on an analysis of various approaches to age classification by face images using regression analysis, the following action sequence that combines the best of currently available ideas is proposed: • using support vector regression (SVR) [29]; • using the idea of cumulative features [4] as the source data for the SVR; • using a two-stage scheme of determining the "age" attribute [8].
The basic idea of cumulative features is as follows: Let us consider the X l training set of size n that is defined by a multitude of precedent pairs {x i , y i }, wherex i is the vector of "boosted" features of image i, and y i is the corresponding age value. For each precedent, the scalar value of age is transformed into a vector of cumulative features a i with m dimensions that corresponds to the range of ages (y min , y max ): m = y max − y min + 1.
Each element of the cumulative feature vector is determined as follows: In this case the cumulative feature vector will be assigned (y i − y min ) the value of 1, whereas all the others will be deemed equal to 0.
The task of finding a correlation between the original boosted and cumulative features is reduced to the task of ridge regression and is solved for each gender group separately; however, unlike the basic algorithm [4], all the image features are not used to identify the cumulative features, but only those that are most relevant for the classification (the boosted features). This modification provides for substantial (proportional to the decrease of the dimensionality of the feature space) saving of time required for classification.
The algorithm of determining cumulative featuresā i based on the original features is described in detail in [4] and is reduced to a quadratic programming problem.
The basic idea of the two-stage age estimation scheme is as follows. At the first stage, the approximate age is calculated using a decision function f 0 ( x) defined on the basis of a regression constructed based on the training set G l across the whole range of ages (y min , y max ). At the second stage, this value is refined by means of a decision function f d ( x) generated on the basis of a regression constructed for a specific age group d that includes the value of age estimated at the first stage. As in the publication [8], we shall call the regression used at the first stage global and the one used at the second stage local.
In accordance with the basic algorithm, the whole age interval (y min , y max ) is divided into non-intersecting ranges that are used to determine a decision function for each of them on the basis of the local regression. This article proposes rejecting fixed range limits and using floating limits that depend on the specific age value obtained at the first stage. The following statement is the basic premise of the proposed modification: with age identification, the significance of the error depends on the absolute age value. For example, an error of 2 years in estimating the age of a 15year-old adolescent appears quite significant while an error of 5 years in estimating the age of a 70-year-old man could hardly be considered as such.
At the second stage, it is proposed to employ the range of ages (y − d − (y), y + d + (y)) for local regression, where y is the approximate value of age estimated at the first stage. It should be noted that in the general case d − (y) = d + (y), i.e. the range may be asymmetric. Selecting such a range is appropriate only in cases when the distribution of the number of precedents by age is substantially irregular.
The second way of modifying the two-stage system of estimating age is the modification of the loss function used in regression analysis. The methods known today [8] use an ε-sensitive loss function with a fixed ε sensitivity value. In line with the above-mentioned idea of floating range limits, at the second stage of the two-stage age estimation scheme it is proposed to apply different loss function sensitivity values depending on the absolute age, i.e. ε = ε(y) depends on the y age value obtained at the first stage. Figure 3 shows a graphic illustration of the idea of the proposed modifications.
To summarize, we propose the following procedure of generating a set of decision functions for estimating age using SVR based on the suggested modifications of the two-stage age classification scheme: 3. The obtained cumulative features A | l of the formalized training set G l are employed for regression analysis using SVR for the whole training set with a predefined value of ε-sensitivity ε 0 , i.e. a decision function f 0 ( a, ε 0 , G l ) is generated for the preliminary estimation of the age valuẽ A bootstrapping procedure is used on the whole training set: • the set G l is randomly divided into two parts G l 1 and G l 2 with a ratio of 1 to 2; • a decision function is generated for the set G l 1 using SVR; • the set G l 2 is used for training tests with identification of "hard" examples (examples are considered "hard" if they do not fall within the sensitivity band ε 0 ); Fig. 4 The general scheme of the algorithm for estimating the age from a face image in a specified gender-race group • the set G l 1 is expanded with "hard" examples, i.e. the set G l 1new is generated; • the set G l 1new is used for final determination of the decision function f 0 ( a, ε 0 , G l ).
4. For each value of age y a range of ages (y − d − (y), y + d + (y)) is selected with offset values that depend on y and are defined by the expert based on the specific features of the problem being solved. The most obvious idea is that the higher the age value, the wider the range; but other rules can be applied as well. 5. Inside each range for the corresponding subset of the training set G l : y i ∈ (y − d − (y), y + d + (y)), SVR is employed for regression analysis where the sensitivity of the loss function ε(y) depends on the value of y and is also defined by the expert based on the specific features of the problem being solved. The most obvious idea is still that the higher the value of y, the lower the sensitivity, i.e. the higher the ε(y). Thus a decision function f y ( a, ε(y), d(y), G l ) is generated for estimating the refined age value. Here, as in step 4, a bootstrapping procedure is used for each range (y − d − (y), y + d + (y)) of the training set (the examples are still considered "hard" if they fall outside of the sensitivity band ε(y)).
The final result of the proposed algorithm is a decision function f 0 (â, ε 0 , G l ) that estimates the approximate age y across the whole range of ages (y min , y max ) (global regression), and a set of functions f y (â, ε(y), d(y), G l ) that estimates the refined value of age at the second stage (local regression).

Summary of the proposed algorithm
The combination of the proposed modifications forms a general approach to estimating a person's age from a face image based on preliminary gender and race classification (Fig. 4). The preliminary stage Generation of "boosted" features X l for the training set of images: • selection of half of a normalized face image and application of LBP to this half-image in order to generate a feature vector containing only uniform patterns; • usage of the Adaboost method for the "gender" attribute to exclude insignificant features from the image feature vector (the sum of weight coefficients of the boosted features is equal to 0.95).
Stage 1 Generation of a decision function f gender ( x) for the binary gender classification the objects using SVM on the boosted features and the proposed bootstrapping procedure.

Stage 2
Generation of decision functions f race M ( x) also f race F ( x) within each gender group for a multiple classification of objects by race using a binary classification (the "one versus all" scheme) taking into account the proposed bootstrapping procedure. In total, two decision functions are generated for each gender group: • function f C F ( x) identifies the objects belonging to the "Caucasian" class among the objects classified as "Female"; • function f AB F ( x) identifies the objects belonging to the "Asian" class among the objects classified as "Female"; the rest of the objects are classified as "Black"; • function f C M ( x) identifies the objects belonging to the "Caucasian" class among the objects classified as "Male"; • function f AB M ( x) identifies the objects belonging to the "Asian" class among the objects classified as "Male"; the rest of the objects are classified as "Black".
Stage 3 Generation of a set of decision functions for the twostage scheme of age estimation using SVR for each genderrace group: • the cumulative features are generated A l p based on boosted features X l p of the training set for each combination of gender ("Male", "Female") and race ("Caucasian", "Asian", "Black") groups p; p = (1, 6); • the cumulative features A l p are used for regression analysis by SVR on the whole training set of the gender-race group p with a predefined value of ε-sensitivity ε p 0 , i.e. a decision function is generated f p 0 (â p , ε p 0 ) (in general, the sensitivity ε of the loss function may depend on the gender-race group p) for a preliminary estimation of age (stage 3.1, global regression) for each gender-race group p, p = (1, 6). As a result, six decision functions are generated, each capable of calculating an approximate value of the "age" attribute for each object with the attributes of "gender" and "race" determined at the previous stages using the boosted features of this object. A bootstrapping procedure is used on the entire training set for generating decision functions f p 0 ( a p , ε p 0 ) for each gender-race group p; • for each age value y p in each gender-race group p an age range (y p − d p− (y p ), y p + d p+ (y p )) is selected with values of d p− (y p ) and d p+ (y p ) (in general, the breadth of the range may depend on the genderrace group p), that are defined by the expert on the basis of the specific features of the problem being solved; within each range belonging to value y p , for the corresponding subset of precedents (x p i , y p i ): y p i ∈ (y p − d p− (y p ), y p + d p+ (y p )); p = (1, 6); i = (1, n p ). n p is the number of precedents of the training set in the gender-race group p, SVR is used for regression analysis (stage 3.2, local regression) where the sensitivity of the loss function ε p (y p ) depends on the value of y p and is also defined by the expert based on the features of the problem being solved (in general, the sensitivity ε of the loss function may depend on the gender-race group p). As a result, a set of decision functions f p y [ a p , ε p (y p ), d p+ (y p ), d p− (y p )] is generated for the purpose of estimating the refined age values for each gender-race group p and age y p : p = (1, 6), y p ∈ (y min , y max ). A bootstrapping procedure is used for generating a decision function f p y [ a p , ε p (y p ), d p+ (y p ), d p− (y p )] for each genderrace group p in every age range (y p − d p− (y p ), y p + d p+ (y p )). Table 1 shows the contents of the training sets for each stage of the algorithm.

Experimental results
Training of classifiers to determine the attributes of a person based on a face image implies the availability of a database of images with labeled values of gender, race and age. Not many of those are publicly available. If a database of faces that do not carry labels for gender or race is available, it is possible to manually process such a database and specify the corresponding attribute values. In case of the "age" attribute it is practically impossible to perform a similar procedure, as a human cannot estimate the age value from a face image. Table 2 provided below lists the publicly available databases of people's faces with specification of their parameters.
An analysis of publicly available face image databases has shown that they have limited use for purposes of analysis of accuracy of gender, race and age classification (only the accuracy of some of the attributes may be analyzed). It must be noted that the majority of databases contain images obtained while photographing people specifically, leading to inflated classification quality estimates in comparison with analysis of images obtained in real-life conditions. The most suitable database for purposes of the present analysis is the LFW, but it contains very few images of faces younger than 20 years, and age classification in this particular range is considered the most important in many cases. In view of the above, it was decided to create our own face image database using publicly available sources (social networks) on the Internet.
The task of generation of the face image database is made significantly simpler by the availability of special instruments-services aggregating data from social networks that offer search capability for all available social networks via a single interface (http://people.yandex.ru). The simplest age and gender classifiers were employed for preliminary distribution of uploaded images by the corresponding attributes. Then all images obtained were manually viewed to check and refine the gender and race data. This work has been performed by the author in cooperation with the staff of the Computer Graphics Lab of the Moscow State University. As a result, the BigSample database has been generated containing 169,629 face images. Samples of images are shown in Fig. 5.
The race and gender composition of the BigSample image database is presented in Table 3, and the distribution of images by age is shown in Fig. 6.
The results of the research are shown in Tables 4 and 5. An analysis of the obtained results permits drawing the following conclusions:  • the accuracy of gender classification using a conventional SVM based on LBP on the BigSample image database virtually coincides with the published results [5,22] obtained from actual images from the Internet (the difference in accuracy is lower than 1%); a slightly more accurate gender classification on the FERET and MORTH databases is due to the fact that these databases, unlike BigSample, contain specially prepared images; • the transition to boosted LBP features does not decrease the accuracy of gender and race classification either in the case of specially prepared databases of face images (FERET, MORPH, Mall), or in the case of real face images from the Internet (BigSample);  • the application of a bootstrapping procedure leads to an increase in accuracy of gender and race classification both for databases of specially prepared face images and for databases of real face images from the Internet by ∼12% in comparison to the basic method. • the simultaneous application of boosted LBP features, a bootstrapping procedure and sequential classification of race after the classification of gender lead to an increase in the accuracy of race classification by ∼15% in comparison to the basic method.
The analysis of accuracy of age classification employed the most commonly used Mean Absolute Error (MAE) metric, which calculates the average absolute deviation of the age values predicted by the decision function for the objects included in the test set from the true values of age [13,24,26].
The results of the analysis of accuracy of age classification are shown in Table 6.
On the basis of results of the analysis, the following conclusions can be made: • the implementation of the proposed modification of the two-stage regression scheme for age classification in combination with the use of boosted image description features leads to an increase in accuracy of estimation of this attribute in real face images by about 2 years using the MAE metric, based on Internet face image analysis. • the higher accuracy of age estimation in face images from FG-NET and MORPH databases is explained by the use of specially prepared face images in these databases • a slight decrease in the accuracy of age estimation with the use of the proposed method is explained by the fact that sometimes the classifier commits errors in determining the gender or race; this leads to the use of wrong decision function trained on a "foreign" gender-race group at the age estimation stage.
To obtain statistically significant results a k-fold (k = 5) cross-validation procedure was applied.

Conclusion
This article proposes an algorithm to estimate human age from face images within a preliminarily selected genderrace group based on local binary patterns used as feature description of an image. To identify the most significant (boosted) features, it is proposed to apply the Adaboost method that resulted in an approximately tenfold decrease in the dimensionality of the feature space. For gender and race classification, the standard approach based on support vector machines is modified by adding a bootstrapping procedure (learning on "hard" examples), while to ensure more precise age estimation it is proposed to combine the idea of cumulative features with two-stage support vector regression with a bootstrapping procedure.
The conducted research has demonstrated that each of the proposed modifications contributes to increased age estimation precision according to the MAE metric. As a result, a 2-year reduction in the average error in age estimation from real face images published on the Internet was achieved as compared to the source algorithm. The obtained results allow recommending this algorithm to solve the task of gender, race and age classification of human face images for use in computer vision systems.