Adult Gender Classification Based on Facial Images Using Convolutional Neural Networks
DOI:
https://doi.org/10.54082/jiki.359Keywords:
Convolutional Neural Network, Gender Classification, Face Recognition, UTKFace, Deep LearningAbstract
Gender classification in facial images is a critical component in biometric verification systems and digital service personalization. However, unconstrained environmental conditions such as lighting variations, pose, and occlusion remain major challenges in implementing reliable systems. This study aims to develop and evaluate a lightweight Convolutional Neural Network (CNN) model for gender classification specifically on individuals aged 17 and above using the filtered UTKFace dataset. The methodology includes preprocessing 19,633 images divided into training (80%) and validation data (20%), with a three-layer CNN architecture (filters 32-64-128), ReLU activation functions, MaxPooling, and 0.5 Dropout. Training applied real-time data augmentation and early stopping mechanisms to prevent overfitting. Evaluation results show a global accuracy of 93%, with female precision reaching 96% and male recall at 96%, indicating high reliability in detecting both gender classes in a balanced manner. Error analysis identified three dominant factors causing misclassification: extreme lighting (35%), occlusion (28%), and non-frontal pose (22%). These findings confirm that a lightweight CNN architecture with three convolutional layers can achieve competitive performance for gender classification in unconstrained environments with relatively low computational requirements (1.47 million parameters), making it feasible for implementation as the core unit of automated biometric verification systems on resource-constrained devices.
References
Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436-444, 2015.
A. Krizhevsky, I. Sutskever, and G. E. Hinton, "ImageNet classification with deep convolutional neural networks," Communications of the ACM, vol. 60, no. 6, pp. 84-90, 2017.
S. Dewi and Rihartanto, "Biometric Face Recognition System Implementation using Convolutional Neural Networks for Automated Identification," Journal of Cyber Security, vol. 5, no. 2, pp. 110-120, 2025.
N. P. L. Sari and I. M. A. Pradnyana, "Klasifikasi Jenis Kelamin Berdasarkan Citra Wajah Menggunakan Metode Convolutional Neural Network (CNN)," Jurnal Ilmiah Teknologi Informasi dan Komputer, vol. 5, no. 1, pp. 55-64, 2024.
"Human Age and Gender Prediction from Facial Images Using Deep Learning Methods," Procedia Computer Science, vol. 238, pp. 314-321, 2024.
K. Simonyan and A. Zisserman, "Very deep convolutional networks for large-scale image recognition," in ICLR, 2015.
C. Szegedy et al., "Going deeper with convolutions," in CVPR, 2015, pp. 1-9.
A. Budiman and H. Setiawan, "Pergeseran Paradigma Hand-Crafted Feature Extraction Menuju Representation Learning pada Deep Learning: Sebuah Kajian Literatur," Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 7, no. 2, pp. 294-302, 2023.
M. A. Asif, M. Rahman, and J. Kim, "Age and gender prediction from unconstrained facial images using modified deep learning architectures," Sensors, vol. 22, no. 14, p. 5240, 2022.
İ. Akgül, "Deep convolutional neural networks for age and gender estimation using an imbalanced dataset of human face images," Neural Computing and Applications, 2024.
"Deep learning based features extraction for facial gender classification using ensemble of machine learning technique," Multimedia Systems, vol. 30, no. 4, 2024.
S. K. Zhou, R. Chellappa, and W. Zhao, Unconstrained Face Recognition. Springer, 2005.
M. Demirkus, K. Garg, and S. Guler, "Automated person categorization for video surveillance using soft biometrics," in Proc of SPIE, 2010.
E. Makinen and R. Raisamo, "Evaluation of gender classification methods with automatically detected and aligned faces," IEEE TPAMI, vol. 30, no. 3, pp. 541-547, 2008.
M. Toews and T. Arbel, "Detection, localization and sex classification of faces from arbitrary viewpoints and under occlusion," IEEE TPAMI, vol. 31, no. 8, pp. 1456-1470, 2008.
M. A. Fauzi, D. Rahmawati, and B. T. Utomo, "Analisis Performa Deep Learning CNN dalam Kondisi Citra Wajah Unconstrained untuk Klasifikasi Usia dan Karakteristik Wajah," Jurnal Tekno Kompak, vol. 18, no. 1, pp. 15-26, 2024.
S. Dammak, H. Mliki, and E. Fendri, "Gender estimation based on deep learned and handcrafted features in an uncontrolled environment," Multimedia Systems, vol. 29, no. 1, pp. 421-433, 2023.
E. Bekhet and S. Al-Bander, "Robust gender classification using deep convolutional neural networks under unconstrained environmental conditions," IEEE Access, vol. 9, pp. 84520-84531, 2021.
M. Oulad-Kaddour, H. Haddadou, D. Palacios-Alonso, C. Conde, and E. Cabello, "Facial mask-wearing prediction and adaptive gender classification using convolutional neural networks," EAI Endorsed Transactions on Industrial Networks and Intelligent Systems, vol. 11, no. 2, 2024
L. E. Lin and C. H. Lin, "Data augmentation with occluded facial features for age and gender estimation," IET Biometrics, 2021.
S. A. Bhavani and C. Karthikeyan, "An attention based deep learning with effective SVM-ConvFaceNeXt model for face recognition in unconstrained environment," Signal, Image and Video Processing, vol. 19, 2025.
P. Terhörst, M. Huber, J. N. Kolf, I. Zelch, N. Damer, F. Kirchbuchner, and A. Kuijper, "Reliable age and gender estimation from face images: stating the confidence of model predictions," in 2019 IEEE BTAS, pp. 1-8, 2019.
M. Wang and W. Deng, "Mitigating bias in face recognition using skewness-aware reinforcement learning," in CVPR, 2020.
C. Rathgeb et al., "On the Potential of Algorithm Fusion for Demographic Bias Mitigation in Face Recognition," IET Biometrics, vol. 2024, 2024.
S. Jaiswal, S. Basu, S. Sikdar, and A. Mukherjee, "Exploring Disparity-Accuracy Trade-offs in Face Recognition Systems: The Role of Datasets, Architectures, and Loss Functions," in Proceedings of ICWSM, 2025.
A. Manzano Rodriguez, C. Guinaudeau, and S. Satoh, "Uncovering Gender Biases in Gender Identification Models for Japanese Data Analysis," in CVPR Workshop on Demographic Diversity in Computer Vision, 2025.
S. Zhang, Y. Wang, T. Liu, and J. Li, "UTKFace Dataset: A Large-Scale Face Dataset for Age and Gender Recognition," IEEE TPAMI, vol. 43, no. 3, pp. 650-664, 2021.
Federal Bureau Investigation (FBI), 2019 Internet Crime Report, 2020.
K. Zulkarimah, "Deep Learning Based Gender and Age Prediction from Facial Images: A Comparative Study Using EfficientNet and MobileNet," Innovative Informatics and Artificial Intelligence Research, vol. 4, no. 1, pp. 12-21, 2026..
D. Antal and G. Nemes, "Gender recognition from keystroke dynamics," Acta Universitatis Sapientiae, 2016
"Detection and Classification of Human Gender into Binary (Male and Female) Using Convolutional Neural Network (CNN) Model," Asian Journal of Research in Computer Science, vol. 17, no. 6, pp. 135-144, 2024
M. Z. Arifin and A. Pribadi, "Analisis Kelemahan Sistem Validasi Usia Berbasis Teks pada Platform Digital dan Urgensi Verifikasi Biometrik untuk Perlindungan Anak," Jurnal Hukum dan Kebijakan Teknologi, vol. 3, no. 1, pp. 45-58, 2023
M. Z. Arifin and A. Pribadi, "Analisis Kelemahan Sistem Validasi Usia Berbasis Teks pada Platform Digital dan Urgensi Verifikasi Biometrik untuk Perlindungan Anak," Jurnal Hukum dan Kebijakan Teknologi, vol. 3, no. 1, pp. 45-58, 2023.
M. A. Satriawan and W. Widhiarso, "Klasifikasi Pengenalan Wajah Untuk Mengetahui Jenis Kelamin Menggunakan Metode Convolution Neural Network," Jurnal Algoritme, vol. 4, no. 1, pp. 43-52, 2023.
S. B. Mohammed et al., "A Real-Time Gender and Age Prediction System Based on Facial Images Using Convolutional Neural Networks," Journal of Science and Technology, vol. 30, no. 11, pp. 85-99, 2025..
A. Tunc, S. Tasdemir, M. Koklu, and A. C. Cinar, "Age group and gender classification using convolutional neural networks with a fuzzy logic-based filter method for noise reduction," Journal of Intelligent & Fuzzy Systems, vol. 41, no. 1, pp. 491-501, 2021.
S. K. Gupta and N. Nain, "Single attribute and multi attribute facial gender and age estimation," Multimedia Tools and Applications, vol. 82, no. 1, pp. 1289-1311, 2023.
S. K. Gupta and N. Nain, "Single attribute and multi attribute facial gender and age estimation," Multimedia Tools and Applications, vol. 82, no. 1, pp. 1289-1311, 2023.
T. Moodley and S. Sithungu, "Detecting Minors According to South African Law Using Computer Vision Methods," in HCI International 2023 Posters, Springer, 2023, pp. 491-497.
Undang-Undang Nomor 24 Tahun 2013 tentang Administrasi Kependudukan.
Undang-Undang Dasar Negara Republik Indonesia Tahun 1945 & Undang-Undang Pemilihan Umum.
Cheng et al., "Challenges in Gender Classification: A Review of External Factors," IEEE Transactions on Affective Computing, vol. 10, no. 3, pp. 315-329, 2019.
Mahmod et al., "Integration of Gender Identification as a Layer of Multi-Factor Authentication," International Journal of Information Security, vol. 24, no. 1, pp. 45-58, 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Salma Dewi, Rihartanto Rihartanto, Hari Purwadi

This work is licensed under a Creative Commons Attribution 4.0 International License.



