A new study has pitted three leading deep learning models against each other to tackle the growing threat of face spoofing in biometric security systems. Researchers compared MobileNetV2, ResNet50, and Vision Transformer (ViT) on a massive dataset of nearly 151,000 images, aiming to determine which architecture best detects fake faces.
Results show that MobileNetV2 outperformed its rivals on the test set, achieving an accuracy of 91.59% with a precision of 91.72%, recall of 91.59%, and F1 score of 91.58%. In contrast, ViT lagged behind with 86.54% accuracy and 86.39% F1 score. On the validation dataset, MobileNetV2 again edged ahead at 97.17% accuracy versus ViT's 96.36%.
The study highlights that while both MobileNetV2 and ViT exhibited some overfitting, MobileNetV2 converged faster during training and generalized better to unseen data. ResNet50, however, did not perform competitively.
Face spoofing poses a critical security risk in authentication systems, from smartphones to border control. The researchers emphasize that model selection is key: MobileNetV2 offers a balanced, robust solution suitable for real-world deployment where reliability on new data is essential.
The findings provide a practical benchmark for developers building anti-spoofing systems, suggesting that lightweight convolutional networks like MobileNetV2 may still outshine more complex transformer-based architectures in this domain.