Comparative Study of Lightweight CNN Architectures and FaceNet-based Transfer Learning for Face Recognition in Smart Attendance Systems
DOI:
https://doi.org/10.46610/JOIPAI.2026.v12i02.001Keywords:
Convolutional neural network, Deep metric learning, Face recognition, FaceNet, MTCNN, SVM, Transfer learningAbstract
Automated face recognition has emerged as a critical enabler of touchless attendance management, addressing growing demands for hygienic, contact-free identification in academic and professional environments. This paper presents a systematic comparative study of three custom-trained Convolutional Neural Network architectures — CNN-7, CNN-9, and CNN-11 — and a transfer-learning pipeline based on FaceNet (InceptionResnetV1 / VGGFace2) paired with Support Vector Machine (SVM), K-Nearest Neighbour (KNN), and Softmax classifiers. Experiments are conducted across three dataset configurations: (i) a controlled custom dataset of 1,890 face images from 30 subjects (15 male, 15 female), captured at nine illumination levels (−40% to +40% in 10% increments) and seven rotation angles (-90° to +90° in 30° increments); (ii) the publicly available PINS Face Recognition dataset comprising 50 celebrity subjects and 9,721 in-the-wild images; and (iii) a combined 80-class benchmark of 11,610 images formed by merging both sources. Among the custom CNN models, CNN-11 — comprising five convolutional blocks with Batch-Normalization and two Dropout regularisation layers — achieves the highest test accuracy of 100% on the custom dataset, followed by CNN-9 at 99.63% (F1 = 0.9963) and CNN-7 at 89.63%. The FaceNet + SVM pipeline attains perfect classification (100% accuracy, F1 = 1.0) on the isolated custom dataset and 99.66% accuracy (F1 = 0.9967) on the PINS dataset. On the combined 80-class benchmark, FaceNet + Softmax achieves 99.89% accuracy, with a five-fold cross-validation mean of 99.72% ± 0.04%, confirming robust generalisation across both controlled and unconstrained imaging conditions. All models are evaluated using accuracy, misclassification rate, sensitivity, specificity, precision, F1-score, and ROC-AUC. The system additionally incorporates a Duplicate Face Filter (DFF) module, an adaptive confidence-threshold real-time inference pipeline, and a desktop-based attendance monitoring application.
References
L. N. Thalluri et al., K. Babburu, A. K. Madam, "Automated face recognition system for smart attendance application using convolutional neural networks," International Journal of Intelligent Robotics and Applications, vol. 8, pp. 162–178, 2024.
T. Ojala, M. Pietikäinen, and T. Mäenpää, "Multiresolution gray-scale and rotation invariant texture classification with local binary patterns," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 7, pp. 971–987, 2002.
M. Turk and A. Pentland, "Eigenfaces for recognition," Journal of Cognitive Neuroscience, vol. 3, no. 1, pp. 71–86, 1991.
P. Viola and M. Jones, “Rapid object detection using a boosted cascade of simple features,” Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001, vol. 1, 2001.
F. Schroff, D. Kalenichenko, and J. Philbin, “FaceNet: A unified embedding for face recognition and clustering,” 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 2015.
K. Zhang, Z. Zhang, Z. Li, and Y. Qiao, “Joint Face Detection and Alignment Using Multitask Cascaded Convolutional Networks,” IEEE Signal Processing Letters, vol. 23, no. 10, pp. 1499–1503, Oct. 2016
A. S. Sanchez-Moreno et al., "Efficient face recognition system for operating in unconstrained environments," Journal of Imaging, vol. 7, no. 9, pp. 161, 2021.
E. Winarno, I. Husni Al Amin, H. Februariyanti, P. W. Adi, W. Hadikurniawati, and M. T. Anwar, “Attendance System Based on Face Recognition System Using CNN-PCA Method and Real-time Camera,” 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Dec. 2019.
M. Umit Uyar, "Convolutional Neural Networks," in Machine Learning and AI with Simple Python and Matlab Scripts: Courseware for Non-computing Majors, IEEE, 2025, pp.99-113.