Leveraging Convolutional Neural Networks Preprocessing for Accurate Age and Gender Classification in Personalized Nutrition

Authors

  • Muhammad Aulia Nur Fadhillah Gunadarma University, Depok
  • Shidiq Al Hakim National Research and Innovation Agency, Jakarta
  • Rodiah Rodiah Gunadarma University, Depok
  • Mahendra Data Brawijaya University, Malang https://orcid.org/0000-0001-8986-1613 (unauthenticated)
  • Al Hafiz Akbar Maulana Siagian National Research and Innovation Agency, Jakarta
  • Slamet Riyanto National Research and Innovation Agency, Jakarta
  • Sarifuddin Madenda Gunadarma University, Depok
  • Niken Fitria Apriani National Research and Innovation Agency, Jakarta
  • Maukar Maukar Gunadarma University, Depok

DOI:

https://doi.org/10.25126/jitecs.2025101923

Abstract

Imagine having a personalized nutrition plan that caters to your unique dietary needs based on your age and gender. Such a system could revolutionize the way we approach health and wellness. A key component of this vision is the accurate classification of age and gender from facial images, which can be leveraged to provide tailored nutritional recommendations. In this paper, we explored the use of convolutional neural networks and their preprocessing techniques to enhance the performance of age and gender classification models. Our age classification aimed to identify the age group according to the regulation of the Indonesian Republic's Health Ministry in 2014 about the guidelines for balanced nutrition, which includes the following categories: 10-12 years old, 13-15 years old, 16-18 years old, 19-29 years old, and 30-49 years old. We utilized the ResNet50 and Inception-v3 models, which were fine-tuned on the UTKFace dataset, a collection of more than 20,000 face images with corresponding age and gender labels. However, the UTKFace dataset suffers from a data imbalance problem. To address this issue, we proposed innovative data augmentation methods to create a more balanced dataset. Our experimental results demonstrated that our proposed augmented methods could significantly improve the classification performances of the models, leading to more accurate age and gender predictions. This advancement in facial attribute classification could pave the way for developing personalized nutrition systems that cater to individual needs and preferences, ultimately improving health outcomes and quality of life.

Downloads

Download data is not yet available.

References

H. A. Younis et al., “Multimodal Age and Gender Estimation for Adaptive Human-Robot Interaction: A Systematic Literature Review,” Processes, vol. 11, no. 5, p. 1488, May 2023, doi: 10.3390/pr11051488.

A. Nisa et al., “Performance Face Image Quality Assessment under the Difference of Illumination Directions in Face Recognition System using FaceQnet, SDD-FIQA, and SER-FIQ,” in Proceedings of the 2022 International Conference on Computer, Control, Informatics and Its Applications, Virtual Event Indonesia: ACM, Nov. 2022, pp. 219-223. doi: 10.1145/3575882.3575924.

S. Lapuschkin, A. Binder, K.-R. Muller, and W. Samek, “Understanding and Comparing Deep Neural Networks for Age and Gender Classification,” Proc. IEEE Int. Conf. Comput. Vis. ICCV Workshop, pp. 1629-1638, Oct. 2017.

G. Levi and T. Hassner, “Age and Gender Classification using Convolutional Neural Networks,” Comput. Vis. Pattern Recognit. CVPR Workshop, pp. 34-42, Jun. 2015.

M. A. M. Patel and D. A. Shingala, “AGE ESTIMATION AND GENDER CLASSIFICATION TECHNIQUES USING CNN: A SURVEY,” EPRA Int. J. Multidiscip. Res. IJMR, vol. 9, no. 11, pp. 143-149, Nov. 2023, doi: 10.36713/epra2013.

A. Singh, N. Rai, P. Sharma, P. Nagrath, and R. Jain, “Age, Gender Prediction and Emotion recognition using Convolutional Neural Network,” Proc. Int. Conf. Innov. Comput. Commun. ICICC, Apr. 2021, doi: 10.2139/ssrn.3833759.

G. Trivedi and N. N. P. PhD, “Gender Classification and Age Estimation using Neural Networks: A Survey,” Int. J. Comput. Appl., vol. 176, no. 23, pp. 34-41, May 2020, doi: 10.5120/ijca2020920251.

K. Zhang et al., “Age Group and Gender Estimation in the Wild With Deep RoR Architecture,” Chin. Conf. Comput. Vis. CCCV, vol. 5, pp. 22492-22503, Oct. 2017, doi: 10.1109/ACCESS.2017.2761849.

I. R. H. Ministry, “The Regulation of the Indonesian Republic Health Ministry pertains to Balanced Nutrition Guidelines,” no. 41. pp. 86-89, 2014.

H. Fitriyah et al., “SobatGizi App for Suggesting Adequate Meal Portions,” in Proceedings of the 8th International Conference on Sustainable Information Engineering and Technology, in SIET '23. New York, NY, USA: Association for Computing Machinery, 2023, pp. 498-505. doi: 10.1145/3626641.3626677.

A. Garain, B. Ray, P. K. Singh, A. Ahmadian, N. Senu, and R. Sarkar, “GRA-Net: A Deep Learning Model for Classification of Age and Gender From Facial Images,” Open Access J., vol. 9, pp. 85672-85689, Jun. 2021, doi: 10.1109/ACCESS.2021.3085971.

Z. Zhang, Y. Song, and H. Qi, “Age Progression/Regression by Conditional Adversarial Autoencoder,” in 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, pp. 4352-4360. doi: 10.1109/CVPR.2017.463.

K. M. Hasib et al., “A Survey of Methods for Managing the Classification and Solution of Data Imbalance Problem,” J. Comput. Sci., vol. 16, no. 11, pp. 1546-1557, Nov. 2020, doi: 10.48550/arXiv.2012.11870.

S. Singh, “Facial Expression Recognition Using Convolutional Neural Networks (CNNs) and Generative Adversarial Networks (GANs) for Data Augmentation and Image Generation,” UNLV Theses Diss. Prof. Pap. Capstones, no. 4852, Aug. 2023, doi: 10.34917/36948203.

M. M. Taye, “Theoretical Understanding of Convolutional Neural Network: Concepts, Architectures, Applications, Future Directions,” Computation, vol. 11, no. 52, Mar. 2023, doi: 10.3390/computation11030052.

W. O. Apena and O. L. Joseph, “Convolutional Neural Network Model Layers Improvement For Segmentation And Classification On Kidney Stone Images Using Keras And Tensorflow,” J. Multidiscip. Eng. Sci. Technol. JMEST, vol. 8, no. 6, pp. 14151-14156, Jun. 2021.

I. Markov, E. Stamatatos, and G. Sidorov, “Improving Cross-Topic Authorship Attribution: The Role of Pre-Processing,” in Computational Linguistics and Intelligent Text Processing, A. Gelbukh, Ed., Cham: Springer International Publishing, 2018, pp. 289-302.

M. Z. Nisar, M. S. Ibrahim, M. Usman, and J.-A. Lee, “ALightweight Deep Learning Model for Automatic Modulation Classification Using Residual Learning and Squeeze-Excitation Blocks,” Appl. Sci., vol. 13, no. 8, Apr. 2023, doi: 10.3390/app13085145.

R. Huang et al., “Deep residual network framework for structural health monitoring,” Struct. Health Monit., vol. 20, no. 4, pp. 1443-1461, Jul. 2021, doi: 10.1177/1475921720918378.

S. Wang, F. Liu, and B. liu, “Escaping the Gradient Vanishing: Periodic Alternatives of Softmax in Attention Mechanism,” IEEE Access, vol. 9, pp. 168749-168759, Dec. 2021, doi: 10.1109/ACCESS.2021.3138201.

X. Huang, “Improved Model Based on GoogLeNet and Residual Neural Network ResNet,” Int. J. Cogn. Inform. Nat. Intell. IJCINI, vol. 16, no. 1, pp. 1-19, 2022, doi: 10.4018/IJCINI.313442.

C. Lu, H. Chen, Q. Chen, H. Law, Y. Xiao, and C.-K. Tang, “1-HKUST: Object Detection in ILSVRC 2014,” Comput. Vis. Pattern Recognit. CsCV, Sep. 2014, doi: 10.48550/arXiv.1409.6155.

L. Zmudzinski, “Deep Learning guinea pig image classification using Nvidia DIGITS and GoogLeNet,” CEUR Workshop Proc., vol. 2240, no. 16, 2018.

Jahandad, S. M. Sam, K. Kamardin, N. N. A. Sjarif, and N. Mohamed, “Offline Sifnature Verification using Deep Learning Convolutional Neural Network (CNN) Architectures GoogLeNet Inception-v1 Inception-v3,” Procedia Comput. Sci., vol. 161, pp. 475-483, 2019, doi: 10.1016/j.procs.2019.11.147.

A. Miljković, S. Nedeljković, M. Čabarkapa, M. Vuković, D. Randjelović, and V. Stojanović, “Practical Application of Artificial Intelligence and Machine Learning in Python Program Language,” Themat. Conf. Proc. Int. Significance, vol. 10, Nov. 2020.

F. Islam, “A Deep Study of Artificial Intelligence : Machine Learning in the Browser using TensorFlow,” Bachelor's Thesis, Metropolia University of Applied Sciences, 2021.

Downloads

Published

2026-08-19

Issue

Section

Articles

How to Cite

Leveraging Convolutional Neural Networks Preprocessing for Accurate Age and Gender Classification in Personalized Nutrition. (2026). Journal of Information Technology and Computer Science, 10(1), 98-106. https://doi.org/10.25126/jitecs.2025101923