[Paper Review] Boosting Masked Face Recognition with Multi-Task ArcFace
This paper proposes Multi-Task ArcFace (MTArcFace), a multi-task learning framework that jointly optimizes masked face recognition and mask-usage classification by modifying ResNet-50 and combining ArcFace loss with a binary cross-entropy loss for mask detection. The method achieves 98.92% accuracy on masked LFW and 99.78% average accuracy in mask detection, while maintaining near-original performance on non-masked data.
In this paper, we address the problem of face recognition with masks. Given the global health crisis caused by COVID-19, mouth and nose-covering masks have become an essential everyday-clothing-accessory. This sanitary measure has put the state-of-the-art face recognition models on the ropes since they have not been designed to work with masked faces. In addition, the need has arisen for applications capable of detecting whether the subjects are wearing masks to control the spread of the virus. To overcome these problems a full training pipeline is presented based on the ArcFace work, with several modifications for the backbone and the loss function. From the original face-recognition dataset, a masked version is generated using data augmentation, and both datasets are combined during the training process. The selected network, based on ResNet-50, is modified to also output the probability of mask usage without adding any computational cost. Furthermore, the ArcFace loss is combined with the mask-usage classification loss, resulting in a new function named Multi-Task ArcFace (MTArcFace). Experimental results show that the proposed approach highly boosts the original model accuracy when dealing with masked faces, while preserving almost the same accuracy on the original non-masked datasets. Furthermore, it achieves an average accuracy of 99.78% in mask-usage classification.
Motivation & Objective
- Address the significant drop in face recognition accuracy caused by face masks during the COVID-19 pandemic.
- Develop a unified deep learning framework that simultaneously improves masked face recognition and detects mask usage without added inference cost.
- Maintain high performance on non-masked face recognition datasets to ensure backward compatibility.
- Generate a synthetic masked training dataset using data augmentation to enhance model generalization.
Proposed method
- Augment the original face recognition dataset by synthetically adding masks to images using data augmentation techniques.
- Modify a ResNet-50 backbone to output both deep feature embeddings and a mask-usage probability prediction with no additional computational cost.
- Introduce a novel Multi-Task ArcFace (MTArcFace) loss function that combines ArcFace margin-based classification loss with binary cross-entropy loss for mask detection.
- Train the model end-to-end on a combined dataset of original and masked faces to improve robustness to occlusions.
- Use a shared feature extractor across both tasks, enabling joint optimization of face recognition and mask detection.
- Apply a threshold of 0.5 to the mask probability output for binary mask-usage classification.
Experimental results
Research questions
- RQ1Can a single deep learning model effectively recognize masked faces while simultaneously detecting mask usage?
- RQ2How does joint training on masked and non-masked data affect performance on both masked and non-masked face recognition benchmarks?
- RQ3To what extent does the proposed method preserve accuracy on non-masked faces compared to the original ArcFace model?
- RQ4What is the accuracy of the model in classifying whether a face is wearing a mask or not?
Key findings
- The proposed MTArcFace model achieves 98.92% verification accuracy on the masked LFW dataset, a significant improvement over the original ArcFace model’s 94.75%.
- On the CFP_FP dataset, the model improves masked face recognition accuracy by nearly 12% (from 76.81% to 88.43%).
- The model maintains high performance on non-masked datasets, with only a 0.17% drop in accuracy on LFW (99.45% vs. 99.62% for the original model).
- The mask-usage classification task achieves an average accuracy of 99.78% across all tested datasets, with the lowest performance on CFP_FP at 98.82%.
- The model’s performance on profile faces is lower than on frontal faces, indicating a need for more profile data in training.
- The method effectively balances dual objectives: masked face recognition and mask detection, with minimal trade-off in non-masked recognition performance.
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.