| Literature DB >> 36267472 |
Imène Neggaz1, Nabil Neggaz1, Hadria Fizazi1.
Abstract
Due to technical advancements and the proliferation of mobile applications, facial analysis (FA) of humans has recently become an important area for computer vision research. FA investigates a variety of difficulties, including gender recognition, facial expression recognition, age and race recognition, with the goal of automatically comprehending social interactions. Due to the dimensional challenge posed by pre-trained CNN networks, the scientific community has developed numerous techniques inspired by biology, swarm intelligence theory, physics, and mathematical rules. This article presents a gender recognition system based on scAOA, that is a modified version of the Archimedes optimization algorithm (AOA). The latest variant (scAOA) enhances the exploitation stage by using trigonometric operators inspired by the sine cosine algorithm (SCA) in order to prevent local optima and to accelerate the convergence. The main purpose of this paper is to apply scAOA to select the relevant deep features provided by two pretrained models of CNN (AlexNet & ResNet) to recognize the gender of a human person categorized into two classes (men and women). Two datasets are used to evaluate the proposed approach (scAOA): the Brazilian FEI dataset and the Georgia Tech Face dataset (GT). In terms of accuracy, Fscore and statistical test, the comparison analysis demonstrates that scAOA outperforms other modern and competitive optimizers such as AOA, SCA, Ant lion optimizer (ALO), Salp swarm algorithm (SSA), Grey wolf optimizer (GWO), Simple genetic algorithm (SGA), Grasshopper optimization algorithm (GOA) and Particle swarm optimizer (PSO).Entities:
Keywords: Facial analysis; Gender recognition; Pretrained CNN; Sine cosine archimedes optimization algorithm (scAOA); Trigonometric operators; Wrapper feature selection (FS)
Year: 2022 PMID: 36267472 PMCID: PMC9569187 DOI: 10.1007/s00521-022-07925-8
Source DB: PubMed Journal: Neural Comput Appl ISSN: 0941-0643 Impact factor: 5.102
Fig. 1The design of AlexNet. [72]
AlexNet layer parameters
| Conv1 | Pool1 | Conv2 | Pool2 | Conv3 | Conv4 | Conv5 | Pool5 | |
|---|---|---|---|---|---|---|---|---|
| Kernel size | ||||||||
| Stride ( | 4 | 2 | 1 | 2 | 1 | 1 | 1 | 1 |
| Padding ( | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 0 |
Fig. 2ResNet residual block
Fig. 3Original residual unit
Fig. 4The design framework of scAOA-based FS for gender recognition
Confusion matrix
| Actual | Predicted | |
|---|---|---|
| Male | Female | |
| Male | TP | FN |
| Female | FP | TN |
Parameters settings of scAOA and other computational algorithms
| Algorithms | Parameters setting |
|---|---|
| Common settings | Population size ( |
| Maximum number of iterations ( | |
| Maximal limit is fixed to 1 | |
| Minimal limit is fixed to 0 | |
| AOA | |
| scAOA | |
| s=2 | |
| GOA | |
| SGA | |
| SCA | |
| GWO | a |
| SSA | |
| ALO | – |
| PSO | |
The impact of deep features models on the performance of scAOA over average fitness and standard deviation
| Fitness algorithms | FEI dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | ||||
| AOA | 0.0281 ± 0.0033 | 0.0246 ± 0.0050 | 0.0071 ± 0.029 | 0.0060 ± 0.0020 |
| SCA | 0.0130 ± 0.0039 | 0.0271 ± 0.0071 | 0.0033 ± 0.0018 | 0.0180 ± 0.0024 |
| GOA | 0.0421 ± 0.0044 | 0.0586 ± 0.0054 | 0.0195 ± 0.0018 | 0.0340 ± 0.0040 |
| SSA | 0.0296 ± 0.0030 | 0.0403 ± 0.0057 | 0.0140 ± 0.0024 | 0.0200 ± 0.0030 |
| ALO | 0.0278 ± 0.0032 | 0.0334 ± 0.0043 | 0.0116 ± 0.0024 | 0.0170 ± 0.0040 |
| SGA | 0.0333 ± 0.0041 | 0.0424 ± 0.0056 | 0.0158 ± 0.0021 | 0.0240 ± 0.0050 |
| PSO | 0.0289 ± | 0.0375 ± | 0.0121 ± 0.0012 | 0.0190 ± 0.0020 |
| GWO | 0.0362 ± 0.0044 | 0.0498 ± 0.0077 | 0.0147 ± 0.0026 | 0.0290 ± 0.0040 |
The impact of deep features models on the performance of scAOA over average accuracy and standard deviation
| Accuracy (%) algorithms | FEI Dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | ||||
| AOA | 97.47 ± 0.35 | 97.88 ± 0.50 | 99.48 ± 0.28 | 99.64 ± 0.23 |
| SCA | 98.73 ± 0.39 | 97.33 ± 0.71 | 99.72 ± 0.18 | 98.27 ± 0.44 |
| GOA | 96.25 ± 0.45 | 94.58 ± 0.54 | 99.52 ± 0.18 | 97.02 ± 0.40 |
| SSA | 97.48 ± 0.31 | 96.42 ± 0.57 | 99.05 ± 0.25 | 98.44 ± 0.30 |
| ALO | 97.65 ± 0.33 | 97.10 ± 0.42 | 99.28 ± 0.24 | 98.74 ± 0.36 |
| SGA | 97.12 ± 0.41 | 96.20 ± 0.57 | 98.88 ± 0.21 | 98.11 ± 0.53 |
| PSO | 97.55 ± | 96.70 ± | 99.25 ± 0.13 | 98.56 ± 0.21 |
| GWO | 96.72 ± 0.41 | 95.37 ± 0.78 | 98.80 ± 0.25 | 97.54 ± 0.35 |
The impact of deep features models on the performance of scAOA over average recall and standard deviation
| Recall (%) algorithms | FEI dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | ||||
| AOA | 97.47 ± 0.35 | 97.86 ± 0.47 | 98.22 ± 0.92 | 98.61 ± 0.85 |
| SCA | 98.70 ± 0.40 | 97.33 ± 0.71 | 99.05 ± 0.68 | 94.74 ± 1.45 |
| GOA | 96.10 ± 0.48 | 94.58 ± 0.54 | 94.83 ± 0.59 | 91.29 ± 1.35 |
| SSA | 97.39 ± 0.32 | 96.42 ± 0.58 | 96.52 ± 1.02 | 95.33 ± 1.03 |
| ALO | 97.56 ± 0.35 | 97.11 ± 0.42 | 97.36 ± 0.89 | 96.26 ± 1.04 |
| SGA | 97.00 ± 0.43 | 96.20 ± 0.57 | 95.91 ± 0.81 | 94.37 ± 1.53 |
| PSO | 97.46 ± | 96.71 ± | 97.23 ± 0.50 | 95.88 ± 0.76 |
| GWO | 96.60 ± 0.42 | 95.36 ± 0.78 | 95.87 ± 0.93 | 92.68 ± 0.99 |
The impact of deep features models on the performance of scAOA over average precision and standard deviation
| Precision (%) algorithms | FEI dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | ||||
| AOA | 97.49 ± 0.35 | 97.88 ± 0.55 | 99.19 ± 0.70 | 99.77 ± 0.25 |
| SCA | 98.76 ± 0.38 | 97.36 ± 0.71 | 99.76 ± 0.29 | 98.71 ± 0.50 |
| GOA | 96.46 ± 0.40 | 94.60 ± 0.54 | 98.76 ± 0.53 | 97.37 ± 0.58 |
| SSA | 97.59 ± | 96.42 ± 0.57 | 99.37 ± 0.27 | 98.76 ± 0.47 |
| ALO | 97.75 ± 0.29 | 97.11 ± | 99.53 ± 0.29 | 98.96 ± 0.55 |
| SGA | 97.26 ± 0.37 | 96.21 ± 0.56 | 99.24 ± 0.35 | 98.45 ± 0.63 |
| PSO | 97.25 ± 0.46 | 95.86 ± 0.57 | 99.21 ± 0.42 | 98.55 ± 0.62 |
| GWO | 96.86 ± 0.39 | 95.38 ± 0.77 | 98.92 ± 0.51 | 97.98 ± 0.63 |
The impact of deep features models on the performance of scAOA over average F-score and standard deviation
| F-score (%) algorithms | FEI dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | ||||
| AOA | 97.47 ± 0.35 | 97.87 ± 0.51 | 98.96 ± 0.68 | 99.18 ± 0.52 |
| SCA | 98.73 ± 0.39 | 97.33 ± 0.71 | 99.40 ± 0.39 | 96.58 ± 0.91 |
| GOA | 96.22 ± 0.46 | 94.58 ± 0.54 | 96.67 ± 0.41 | 94.00 ± 0.87 |
| SSA | 97.47 ± 0.31 | 96.42 ± 0.57 | 97.88 ± 0.58 | 96.94 ± 0.62 |
| ALO | 97.64 ± 0.33 | 97.10 ± 0.42 | 98.40 ± 0.55 | 97.55 ± 0.72 |
| SGA | 97.10 ± 0.41 | 96.20 ± 0.57 | 97.49 ± 0.50 | 96.26 ± 1.09 |
| PSO | 97.54 ± | 96.70 ± | 98.35 ± 0.29 | 97.20 ± 0.41 |
| GWO | 96.70 ± 0.41 | 95.37 ± 0.78 | 97.32 ± 0.57 | 95.09 ± 0.72 |
The impact of deep features models on the performance of scAOA over average selection ratio and standard deviation
| Selection ratio (%) algorithms | FEI Dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | 5.54 ± 2.08 | 18.46 ± 10.18 | 9.78 ± 3.01 | 16.09 ± 3.58 |
| AOA | 30.19 ± 1.43 | 26.48 ± 2.08 | 19.50 ± 3.99 | 23.82 ± 4.13 |
| SCA | ||||
| GOA | 49.39 ± 1.78 | 49.41 ± 1.55 | 48.83 ± | 49.95 ± 1.28 |
| SSA | 47.15 ± 1.82 | 47.78 ± | 46.26 ± 1.89 | 47.54 ± 1.63 |
| ALO | 44.88 ± 1.44 | 47.22 ± 1.35 | 44.75 ± 1.55 | 47.91 ± 1.34 |
| SGA | 47.32 ± 1.61 | 48.04 ± 1.78 | 46.63 ± 1.60 | 49.03 ± 1.71 |
| PSO | 46.84 ± | 48.21 ± 1.45 | 47.00 ± 1.34 | 49.17 ± |
| GWO | 36.51 ± 11.24 | 39.54 ± 12.40 | 28.69 ± 7.88 | 45.15 ± 13.07 |
Cpu time
| CPU time algorithms | FEI Dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| scAOA | 13.50 | 13.94 | 22.10 | 22.08 |
| AOA | 20.15 | 21.14 | 29.25 | 29.09 |
| SCA | ||||
| GOA | 21.97 | 21.68 | 49.57 | 50.39 |
| SSA | 21.13 | 21.43 | 47.71 | 48.85 |
| ALO | 21.96 | 21.75 | 49.75 | 51.01 |
| SGA | 16.92 | 16.71 | 37.76 | 39.08 |
| PSO | 21.76 | 21.60 | 49.57 | 51.03 |
| GWO | 21.33 | 20.61 | 45.04 | 47.21 |
Statistical study using Wilcoxon’s test (In bold )
| scAOA versus | FEI Dataset | Georgia tech daraset | ||
|---|---|---|---|---|
| AlexNet | ResNet | AlexNet | ResNet | |
| AOA | 1.28E-11 | 6.36E-09 | ||
| SCA | 3.80E-08 | 2.51E-03 | 2.03E-06 | 1.45E-11 |
| GOA | 1.60E-11 | 1.96E-11 | 2.62E-12 | 1.40E-11 |
| SSA | 9.73E-12 | 4.88E-09 | 4.68E-12 | 1.09E-11 |
| ALO | 1.05E-11 | 4.93E-06 | 1.34E-11 | 3.37E-11 |
| SGA | 1.40E-11 | 7.02E-10 | 4.13E-12 | 1.47E-11 |
| PSO | 2.10E-12 | 1.25E-08 | 1.59E-12 | 8.92E-12 |
| GWO | 1.46E-11 | 6.80E-11 | 2.64E-12 | 1.29E-11 |
Fig. 5Convergence curve of scAOA versus other swarm intelligence algorithms over all datasets
Fig. 6Boxplot of scAOA versus other swarm intelligence algorithms over all datasets
Comparative study
| Datasets algorithms | FEI dataset | GT dataset |
|---|---|---|
| Accuracy | Accuracy | |
| AlexNet (Deep features)+ | 97.29 | 98.04 |
| scAOA+ | ||
| ResNet (Deep features)+ | 94.08 | 97.03 |
| scAOA+ | 97.92 | 99.69 |
Fig. 7The comparative study between scAOA based on pretrained CNN with existing algorithms – FEI dataset
Fig. 8The comparative study between scAOA based on pretrained CNN with existing algorithms – GT dataset