Skip to main content
QUICK REVIEW

[Paper Review] RetinaFaceMask: A Single Stage Face Mask Detector for Assisting Control of the COVID-19 Pandemic

Xinqi Fan, Mingjie Jiang|arXiv (Cornell University)|May 8, 2020
Face recognition and analysisComputer Science17 citations
TL;DR

RetinaFaceMask proposes a single-stage face mask detector with a novel context attention module and transfer learning from face detection to distinguish between no mask, correct mask, and incorrect mask wearing states. It achieves state-of-the-art performance, improving mAP by 4% on the AIZOO dataset and 2% on the newly created MAFA-FMD dataset, which includes fine-grained mask state annotations.

ABSTRACT

Coronavirus 2019 has made a significant impact on the world. One effective strategy to prevent infection for people is to wear masks in public places. Certain public service providers require clients to use their services only if they properly wear masks. There are, however, only a few research studies on automatic face mask detection. In this paper, we proposed RetinaFaceMask, the first high-performance single stage face mask detector. First, to solve the issue that existing studies did not distinguish between correct and incorrect mask wearing states, we established a new dataset containing these annotations. Second, we proposed a context attention module to focus on learning discriminated features associated with face mask wearing states. Third, we transferred the knowledge from the face detection task, inspired by how humans improve their ability via learning from similar tasks. Ablation studies showed the advantages of the proposed model. Experimental findings on both the public and new datasets demonstrated the state-of-the-art performance of our model.

Motivation & Objective

  • To address the lack of fine-grained mask-wearing state detection in existing face mask detection research, particularly distinguishing between correct and incorrect mask usage.
  • To create a new, realistic dataset (MAFA-FMD) with 56,000 annotations that include three mask-wearing states: no mask, correct mask, and incorrect mask.
  • To design a context attention module (CAM) that enhances feature learning for discriminating mask-wearing states by focusing on relevant contextual cues.
  • To leverage transfer learning from face detection to improve performance on the face mask detection task, inspired by human-like knowledge transfer.
  • To achieve state-of-the-art performance on both public and newly created benchmark datasets for face mask detection.

Proposed method

  • Proposed a context attention module (CAM) that dynamically emphasizes discriminative spatial and channel-wise features related to mask-wearing states by attending to contextual regions around the face.
  • Integrated transfer learning by initializing the RetinaFaceMask backbone with pre-trained weights from a face detection model to improve feature representation for mask detection.
  • Adopted a single-stage object detection framework based on RetinaFace, using feature pyramid networks (FPN) for multi-scale detection and focal loss for handling class imbalance.
  • Reannotated the MAFA dataset to create MAFA-FMD, labeling mask-wearing states into three classes: no mask, correct mask, and incorrect mask, with a focus on healthcare-relevant mask types.
  • Employed data augmentation techniques including mix-up and multi-scale training to improve robustness and generalization across diverse real-world scenarios.
  • Used distance IoU non-maximum suppression (NMS) to refine bounding box predictions and reduce overlap in dense detection scenarios.

Experimental results

Research questions

  • RQ1Can a single-stage face mask detector achieve state-of-the-art performance by incorporating context-aware feature learning and transfer learning?
  • RQ2Does distinguishing between correct and incorrect mask-wearing states improve the practical utility of face mask detection in public health settings?
  • RQ3To what extent does transfer learning from face detection enhance performance on the face mask detection task?
  • RQ4How does the proposed context attention module improve feature discrimination for mask-wearing state classification compared to standard attention or baseline models?
  • RQ5Can a lightweight version of the model maintain acceptable accuracy while reducing parameter count for deployment in resource-constrained environments?

Key findings

  • RetinaFaceMask achieved a 94.8% mAP on the AIZOO dataset, outperforming YOLOv3 (93.1%) and RetinaFace (93.0%) by 1.7 and 1.8 percentage points, respectively.
  • On the newly created MAFA-FMD dataset, RetinaFaceMask achieved a 68.3% mAP, representing a 2% improvement over the second-best method, RetinaFace (66.5%).
  • The context attention module (CAM) significantly improved feature discrimination, contributing to a substantial mAP gain in ablation studies.
  • Transfer learning from face detection substantially boosted performance, demonstrating strong correlation between face detection and mask detection features.
  • The lightweight version, RetinaFaceMask-Light, achieved 92.0% mAP on AIZOO with significantly fewer parameters, indicating strong efficiency-accuracy trade-off.
  • Qualitative results showed the model successfully detected correct and incorrect mask-wearing states and handled small or blurred faces, though performance dropped on heavily occluded faces.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.