Seeing through the Mask: Multi-task Generative Mask Decoupling Face Recognition

Zhaohui Wang, Sufang Zhang, Jianteng Peng, Xinyi Wang, Yandong GuoarXiv 2023 · DOI

Introduction

The widespread adoption of face masks during the COVID-19 pandemic introduced significant challenges for standard face recognition (FR) systems. Masks occlude critical facial regions, such as the nose and mouth, which are essential for identity verification. From a machine learning perspective, these occlusions "pollute" face embeddings by increasing intra-class distance (making the same person look different) and decreasing inter-class distance (making different people look similar due to shared mask patterns).

Existing approaches generally fall into two categories: feature-level methods that attempt to ignore masks at the embedding level, and generative methods that try to reconstruct the missing facial parts. However, feature-level methods often lack interpretability, while generative methods can introduce artifacts that degrade recognition performance. This paper introduces the MEER (Multi-task gEnera tive mask dEcoupling face Recognition) network to bridge this gap by explicitly disentangling mask-related features from identity-related features.

The MEER Framework

The MEER network utilizes a two-stage training process designed to purify identity features and leverage generative reconstruction as a regularizer.

Stage 1: Feature Disentanglement

The core of the architecture is the Mask Decoupling Module (MDM). As an image passes through the encoder, the MDM employs spatial and channel attention to split hybrid features into two uncorrelated components:

  • Identity Features ($X_{id}$): Focused on non-occluded regions like the eyes and forehead.
  • Mask Features ($X_{mask}$): Focused on the specific pattern and location of the mask.

During this stage, the model is trained to classify mask patterns while simultaneously performing identity classification using an ArcFace loss.

Stage 2: Joint Generative Training

In the second stage, the purified identity features are used to reconstruct a "fake unmasked" face via a decoder. Two key mechanisms ensure high-quality results:

  1. Mask Information Suppression (MIS): Standard U-Net skip connections often pass mask-related noise to the decoder. MIS uses the MDM's attention maps to filter these connections, ensuring only clean facial details are used for reconstruction.
  2. ID-Preserving Loss: The generated unmasked face is re-fed into the encoder. The model is penalized if the embedding of the generated face deviates from the original unmasked face's embedding, ensuring the generative process reinforces identity rather than just visual aesthetics.

Experimental Results

The authors evaluated MEER using a mix of synthetic and real-world datasets, including MS1M-v2-Aug for training and RMFD (Real-world Masked Face Dataset) for testing. MEER consistently outperformed state-of-the-art (SOTA) methods, achieving an accuracy of 93.61% on the RMFD benchmark.

Comparison of similarity scores between masked and unmasked face images.

Qualitative analysis demonstrates that MEER significantly boosts the cosine similarity between masked and unmasked versions of the same individual. As shown in Figure 1, the similarity score for ID: A increased from 0.253 to 0.511, making the identity much easier for the system to verify accurately.

Conclusion

By combining feature disentanglement with identity-preserving generative reconstruction, the MEER network effectively "sees through" masks. The use of reconstruction as a regularizer ensures that identity embeddings are both pure and informative. While challenges remain regarding extreme head poses and computational complexity, the decoupling framework offers a robust path forward for handling severe facial occlusions in recognition tasks.

Summary updated

BibTeX
@misc{wang2023seeing,
  author = {Zhaohui Wang and Sufang Zhang and Jianteng Peng and Xinyi Wang and Yandong Guo},
  title = {{Seeing through the Mask: Multi-task Generative Mask Decoupling Face Recognition}},
  year = {2023},
  eprint = {2311.11512},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.11512},
}
Figure