MSML: Enhancing Occlusion-Robustness by Multi-Scale Segmentation-Based Mask Learning for Face Recognition

Ge Yuan, Huicheng Zheng, Jiayu Dong

Introduction

Face recognition technology has reached high levels of accuracy on clear images, but real-world performance often degrades significantly when faces are partially occluded by masks, sunglasses, or other objects. This paper, presented at AAAI 2022, introduces Multi-Scale Segmentation-Based Mask Learning (MSML), a framework designed to improve robustness by identifying and ignoring occluded regions within the network's internal feature representations.

The Challenge of Occluded Face Recognition

Occlusions introduce two primary challenges for deep learning models in face recognition:

  1. Missing Responses: Essential facial features (like the mouth or nose) are hidden, preventing the network from extracting identifying information.
  2. Mistaken Responses: The network may incorrectly interpret the texture or shape of the occlusion (e.g., the pattern on a scarf) as a facial feature, leading to a distorted identity embedding.

While previous approaches attempted to reconstruct missing parts using Generative Adversarial Networks (GANs), these methods are often computationally heavy and prone to "hallucinating" incorrect details. MSML instead focuses on purification—identifying contaminated features and masking them out at multiple scales before they can corrupt the final identity vector.

Multi-Scale Segmentation-Based Mask Learning (MSML)

The MSML architecture consists of two primary branches: a Face Recognition Branch (FRB) for identity extraction and an Occlusion Segmentation Branch (OSB) for identifying blocked pixels.

The MSML architecture featuring the Face Recognition Branch (FRB), Occlusion Segmentation Branch (OSB), and Feature Masking (FM) operators.

The core innovation lies in the Feature Masking (FM) operators. Unlike single-layer masking, MSML purifies features at four hierarchical levels. Shallow layers use fine-grained spatial masks to handle detail, while deeper layers utilize more abstract semantic masks. This multi-scale approach ensures that erroneous signals are filtered out before they can propagate and accumulate through the network. The model is trained using a joint loss function that optimizes both identity classification and occlusion segmentation, utilizing synthetic occlusions to build a robust detector without requiring massive amounts of manually labeled real-world data.

Experimental Results and Robustness

The researchers evaluated MSML across several benchmarks, including LFW, MegaFace, the AR Dataset, and the Masked Face Verification (MFV) dataset. MSML showed significant improvements over baselines like ArcFace and other specialized models like PDSN. For instance, on the MFV dataset, MSML boosted the accuracy of an ArcFace-18 backbone from 95.40% to 98.90%.

Top-1 Accuracy vs. Block Occlusion Ratio, comparing MSML against standard baselines.

As shown in the performance curves above, standard models (A18) experience a sharp decline in accuracy as the block occlusion ratio increases. While standard data augmentation (A18+aug) helps, the MSML approach (A18+MSML) provides the most significant boost in robustness, maintaining high performance even when a large portion of the face is obscured.

Conclusion

MSML demonstrates that for the specific task of face recognition, purifying existing features is more effective than attempting to reconstruct missing ones. By integrating a multi-scale segmentation branch, the framework effectively handles real-world occlusions without sacrificing performance on clean images. This hierarchical masking principle offers a promising direction for other computer vision tasks operating under heavy clutter or partial visibility.

Summary updated

BibTeX
@inproceedings{yuan2022msml,
  author = {Ge Yuan and Huicheng Zheng and Jiayu Dong},
  title = {{MSML: Enhancing Occlusion-Robustness by Multi-Scale Segmentation-Based Mask Learning for Face Recognition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i3.20228},
}
Figure