FocusFace: Multi-task Contrastive Learning for Masked Face Recognition

Pedro C. Neto, Fadi Boutros, João Ribeiro Pinto, Naser Damer, Ana F. Sequeira +1 more
10/28/2021
cs.CVcs.LG
contrastive-ssl

Official code: NetoPedro/FocusFace (27 stars, Python, MIT, last commit 2025-01-30).

Abstract

SARS-CoV-2 has presented direct and indirect challenges to the scientific community. One of the most prominent indirect challenges advents from the mandatory use of face masks in a large number of countries.

Show full abstract

Face recognition methods struggle to perform identity verification with similar accuracy on masked and unmasked individuals. It has been shown that the performance of these methods drops considerably in the presence of face masks, especially if the reference image is unmasked. We propose FocusFace, a multi-task architecture that uses contrastive learning to be able to accurately perform masked face recognition. The proposed architecture is designed to be trained from scratch or to work on top of state-of-the-art face recognition methods without sacrificing the capabilities of a existing models in conventional face recognition tasks. We also explore different approaches to design the contrastive learning module. Results are presented in terms of masked-masked (M-M) and unmasked-masked (U-M) face verification performance. For both settings, the results are on par with published methods, but for M-M specifically, the proposed method was able to outperform all the solutions that it was compared to. We further show that when using our method on top of already existing methods the training computational costs decrease significantly while retaining similar performances. The implementation and the trained models are available at GitHub.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository of "FocusFace: Multi-task Contrastive Learning for Masked Face Recognition"

273PythonJan 24, 20221 years agoMIT

Similar Papers

Cite this paper

@article{neto2021focusface,
  title  = {FocusFace: Multi-task Contrastive Learning for Masked Face Recognition},
  author = {Pedro C. Neto and Fadi Boutros and João Ribeiro Pinto and Naser Damer and Ana F. Sequeira and Jaime S. Cardoso},
  year   = {2021},
  eprint = {2110.14940},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14940}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.14940.svg)](https://codeofpaper.com/paper/2110.14940)

Discussion