From CNNs to Transformers: The Architectural Shift in Face Recognition
Abstract
For almost the past decade, face recognition has been dominated by convolutional neural networks. Margin-based losses (CosFace, ArcFace) have achieved over 99.6% verification accuracy on classic benchmarks. For a long time, further performance gains were believed to rely solely on larger-scale datasets and more sophisticated loss functions. This perspective has since shifted. Having demonstrated strong performance across general computer vision tasks, Vision Transformers are now adopted for face recognition to directly remedy key CNN deficiencies. This paper explores the architectural evolution of margin‑based CNNs, wherein hybrid CNN‑Transformer designs and fully Transformer‑based systems have emerged, drawing upon a range of relevant studies published between 2024 and 2026, such as LVFace (ICCV 2025), NPTFace and PaCo-FR (CVPR 2026), and the FaceLiVT series for mobile deployment, etc. The findings reveal that the the core issue lies not in Transformers outperforming CNNs on existing benchmarks, but in the shifts in computational models underlying face‑representation mechanisms.
References
- El Fadel, N. (2025). Facial recognition algorithms: A systematic literature review.Journal of Imaging, 11(2), 58.
- Kshirsagar, S., & Chhajed, G. (2026). A systematic review of deep learning methods in face recognition.AIJFR, 7(3).
- Advances in face recognition: A comprehensive review of feature extraction and dataset evaluation. (2025).Electronics, 15(2), 338.
- EmergentMind. (2025). Margin loss function in deep learning.EmergentMind. https://www.emergentmind.com/topics/margin-loss-function
- You, J., et al. (2025). LVFace: Progressive cluster optimization for large vision models in face recognition. InProceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)(pp. 11840-11849).
- Ran, Z., et al. (2026). NPTFace: Native pose-aligned transformer for face recognition. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPR Workshops)(pp. 1204-1213).
- Xie, Y., et al. (2026). PaCo-FR: Patch-pixel aligned end-to-end codebook learning for facial representation pre-training. InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPR Workshops)(pp. 1214-1224).
- Setyawan, N., et al. (2025). FaceLiVT: Face recognition using linear vision transformer with structural reparameterization for mobile device. InProceedings of the IEEE International Conference on Image Processing (ICIP)(pp. 1720-1725).
- Setyawan, N., et al. (2026). FaceLiVTv2: An improved hybrid architecture for efficient mobile face recognition [Preprint].arXiv. https://arxiv.org/abs/2604.09127
- Gupta, M., Singh, C. R., & Agarwal, G. (2026). Design and performance evaluation of a lightweight face recognition model for android devices.IRE Journals, 9(9), 629-635.