[Paper Review] Part-based Face Recognition with Vision Transformers
This paper proposes fViT, a Vision Transformer-based face recognition model that achieves state-of-the-art performance on multiple benchmarks using a standard loss. It further introduces part fViT, a part-based framework that uses a lightweight CNN to predict facial landmarks end-to-end, then applies ViT on patches extracted around these landmarks—boosting accuracy without any landmark supervision.
Holistic methods using CNNs and margin-based losses have dominated research on face recognition. In this work, we depart from this setting in two ways: (a) we employ the Vision Transformer as an architecture for training a very strong baseline for face recognition, simply called fViT, which already surpasses most state-of-the-art face recognition methods. (b) Secondly, we capitalize on the Transformer's inherent property to process information (visual tokens) extracted from irregular grids to devise a pipeline for face recognition which is reminiscent of part-based face recognition methods. Our pipeline, called part fViT, simply comprises a lightweight network to predict the coordinates of facial landmarks followed by the Vision Transformer operating on patches extracted from the predicted landmarks, and it is trained end-to-end with no landmark supervision. By learning to extract discriminative patches, our part-based Transformer further boosts the accuracy of our Vision Transformer baseline achieving state-of-the-art accuracy on several face recognition benchmarks.
Motivation & Objective
- To evaluate the performance of a vanilla Vision Transformer (fViT) as a strong baseline for face recognition using standard loss functions.
- To explore the potential of Vision Transformers in processing irregularly spaced visual tokens, inspired by part-based face recognition.
- To develop a novel end-to-end trainable pipeline, part fViT, that jointly learns discriminative facial part localization and recognition without explicit landmark annotations.
- To demonstrate that learning part-based features via ViT improves generalization and accuracy over holistic feature learning.
- To show that the landmark prediction head in part fViT can serve as an effective unsupervised facial landmark discovery method.
Proposed method
- A Vision Transformer (ViT) is trained directly on full face images using the ArcFace loss, forming the fViT baseline model.
- A lightweight CNN performs direct regression of facial keypoint coordinates from the input image, without requiring annotated landmarks.
- Patches are extracted from the face image around the predicted landmark coordinates, forming a non-uniform grid of visual tokens.
- These irregularly spaced patches are fed into a Vision Transformer for feature extraction and recognition, enabling part-based attention learning.
- The entire system, including the landmark regressor and ViT, is trained end-to-end with only identity supervision.
- The method leverages the ViT's ability to attend to non-uniformly spaced tokens, allowing effective modeling of facial parts such as eyes, nose, and mouth.
Experimental results
Research questions
- RQ1Can a standard Vision Transformer backbone, without architectural modifications, achieve state-of-the-art face recognition accuracy when properly optimized?
- RQ2Can the inherent flexibility of Vision Transformers in handling non-uniformly spaced visual tokens be exploited to design a part-based face recognition system?
- RQ3Does end-to-end training of a landmark prediction head and ViT on identity labels alone lead to effective and discriminative part localization?
- RQ4How does the performance of the proposed part fViT compare to holistic ViT and other state-of-the-art face recognition models on standard benchmarks?
- RQ5Can the landmark prediction head in the part fViT pipeline serve as a useful unsupervised facial landmark detection method?
Key findings
- The fViT baseline, trained with standard ArcFace loss, achieves state-of-the-art accuracy on LFW (99.44%), AgeDB-30 (93.52%), and IJB-C (91.03%) among models without specialized data augmentation or complex head designs.
- The part fViT model surpasses the fViT baseline on all evaluated benchmarks, achieving 99.56% on LFW, 93.92% on AgeDB-30, and 91.03% on IJB-C, setting a new state-of-the-art on these datasets.
- Visualizations of attention maps show that part fViT learns to attend to multiple discriminative facial parts—especially the eyes—whereas the holistic fViT shows less focused and less consistent attention across heads.
- The learned landmarks in part fViT demonstrate good correspondence across different poses, indicating that the model implicitly learns meaningful facial structure without supervision.
- The landmark prediction head in part fViT generalizes well as an unsupervised facial landmark discovery method, as validated in the supplementary material.
- Ablation studies confirm that both the landmark prediction head and the part-based patch extraction mechanism significantly contribute to the final accuracy gain over the holistic fViT baseline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.