NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Comparative Study of Face Detection Algorithms for Masked Face Detection

Sahel Mohammad Iqbal, Danush Shekar, Subhankar Mishra · DOI

Abstract

Contemporary face detection algorithms face numerous challenges, including variations in pose, illumination, and scale. A subclass of this problem that has recently gained significant attention is occluded face detection, specifically the detection of masked faces. Three years after the onset of the COVID-19 pandemic, there remains a lack of comprehensive evidence regarding the performance of existing face detection algorithms on masked subjects. This article reviews state-of-the-art face detectors and evaluates a representative set of models on a simulated masked face dataset, concluding with an analysis of the architectural factors contributing to their performance.

Introduction

The COVID-19 pandemic fundamentally altered the visual landscape of public spaces, making face masks a global norm. However, the majority of face detection systems currently deployed in security, biometrics, and mobile devices were developed and trained in a pre-pandemic environment where faces were expected to be fully visible. As shown in the recent surge of academic interest, the industry is now racing to bridge this "evidence gap."

Figure 1: The dramatic increase in research publications related to masked face detection following the 2020 pandemic.

This study seeks to quantify the performance degradation of standard models when the lower half of the face is obscured and to identify which architectural features provide robustness in these scenarios.

Methodology

The researchers evaluated seven representative face detection models: MTCCN, TinyFaces, FaceBoxes, RetinaFace, EXTD, LFFD, and CenterFace. To simulate real-world deployment of legacy technology, the study utilized pre-trained weights provided by the original authors, which were trained on standard, unmasked datasets.

Due to the scarcity of high-quality, large-scale masked datasets, the authors created a custom testing benchmark. They applied rectangular black masks to the lower half of every face in the WIDER Face validation set, which is categorized into "Easy," "Medium," and "Hard" subsets based on scale and existing occlusion. This allowed for a direct cross-comparison between "original" performance on clean images and "masked" performance on the same subjects.

Architectural Analysis: The Landmark Liability

A primary insight from the study involves the role of "extra supervision" branches in modern architectures. Models like RetinaFace and MTCCN often rely on detecting five specific facial landmarks: the eyes, nose, and corners of the mouth.

Figure 2: A typical multi-task architecture showing the facial landmark regression branch (Lpts) alongside standard classification and box regression.

When a mask obscures the nose and mouth, these specialized branches can become a liability. The model attempts to localize features that are no longer visible, which can lead to a failure in the primary detection task. Conversely, models that utilize broader contextual information—such as the human torso and shoulders—tend to maintain higher accuracy in "Easy" and "Medium" scenarios where such context is available.

Key Results and Discussion

The evaluation revealed a significant performance gap across all models when moving from clean to masked data.

  • RetinaFace emerged as the top performer for "Easy" (84% accuracy) and "Medium" (80%) masked datasets, largely due to its effective use of contextual cues.
  • The "Hard" Subset Surprise: In the most challenging scenarios involving small or blurry faces, the EXTD (Extremely Tiny Face Detector) outperformed the larger RetinaFace model, achieving 59% accuracy. The authors attribute this to EXTD's "Iterative Filter Reuse," which may prevent the model from overfitting to full-face structures, making it more robust to missing features.
  • Anchor-Free Advantages: Anchor-free models like LFFD showed promise because they do not rely on fixed box aspect ratios, which are often invalidated when only the top half of a face is visible.

Conclusion

While current face detectors can handle moderate masking through contextual reasoning, heavy occlusion remains a significant hurdle. The study highlights that rigid architectural assumptions regarding facial landmarks can hinder performance. Moving forward, there is an urgent need for large-scale, diverse masked datasets to train a new generation of pandemic-ready detection systems that can close the current performance gap.

Summary updated

BibTeX
@misc{iqbal2023comparative,
  author = {Sahel Mohammad Iqbal and Danush Shekar and Subhankar Mishra},
  title = {{A Comparative Study of Face Detection Algorithms for Masked Face Detection}},
  year = {2023},
  eprint = {2305.11077},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.11077},
}
Figure