Adversarially Learning Occlusions by Backpropagation for Face Recognition

Caijie Zhao, Ying Qin, Bob Zhang2023

TL;DR

This paper introduces ALOB, a novel double-network framework for face recognition that tackles occlusions without requiring manual annotation of occlusion locations. By adversarially learning to identify and remove corrupted features, ALOB achieves state-of-the-art performance on various occluded and masked face datasets, demonstrating its robustness and generality.

What Problem Does This Paper Address?

Face recognition (FR) systems have made significant strides, but their performance degrades considerably in real-world scenarios due to occlusions (e.g., masks, glasses, hands). Existing methods often rely on large-scale datasets with manually labeled occlusions, which is labor-intensive and costly. While some approaches attempt to learn occlusions without explicit labels, they often struggle to achieve competitive results or generalize across different types of occlusions and tasks like masked face recognition (MFR). This paper addresses the challenge of robust face recognition in the presence of occlusions by developing a method that learns to identify and mitigate the impact of occlusions without requiring explicit annotation of their locations.

Methods

The core of the proposed approach is the Adversarially Learning Occlusions by Backpropagation (ALOB) model, a double-network framework consisting of two main components: Trimmer and Identifier.

  • Trimmer: This network is designed to learn the corrupted features caused by occlusions. It uses a Gradient Reversal Layer (GRL) to invert the gradient during backpropagation. This forces the Trimmer to maximize the prediction loss based on identity labels, effectively learning to identify features that are detrimental to correct classification.
  • Identifier: This network functions as a standard face recognition model, extracting discriminative features. However, it also incorporates Feature Projection Purification (FPP). FPP projects the features extracted by the Identifier onto the orthogonal direction of the features learned by the Trimmer. This process aims to remove the corrupted features identified by the Trimmer from the discriminative features extracted by the Identifier, resulting in a cleaner and more robust feature representation.

Both Trimmer and Identifier use the same backbone architecture (e.g., ResNet18) but are trained independently with different optimizers. The overall loss function is a combination of the losses from both networks, with a weight coefficient (λ) to balance their contributions.

Datasets

The paper utilizes several standard datasets for training and evaluation:

  • Training:
    • OCC-CASIA-WebFace: A mixed dataset of clean and occluded faces, derived from CASIA-WebFace and augmented with occlusions.
  • Testing:
    • LFW (Labelled Faces in the Wild): A standard dataset for unconstrained face verification.
  • AR Face Datasets: A realistic occlusion dataset with sunglasses and scarves.
  • MFR2 (Masked Face Recognition): A real-world masked face dataset.
  • Synthetic Occluded Datasets (LFW-OCC-2.0, LFW-OCC-3.0): Generated by applying random occlusions to LFW images.
  • LFW-Masked: A synthetic masked face dataset created using a masking tool.

The paper also mentions using datasets from other state-of-the-art methods for comparison, such as MSML, FROM, UPA, LPD, and INFR.

Key Insights and Ideas

  • Adversarial Learning for Occlusion Detection: The core innovation is using adversarial learning (via GRL) to force a network to learn features that maximize classification error, thereby identifying the corrupted parts. This is a clever way to leverage identity labels to learn about occlusions without explicit annotation.
  • Feature Purification: The FPP mechanism is crucial for cleaning the discriminative features. By projecting onto the orthogonal space of the corrupted features, it effectively "removes" the occlusion's influence while preserving essential identity information.
  • End-to-End Training without Occlusion Labels: The ALOB model achieves strong performance without needing to know where occlusions are or what type they are, which significantly reduces the annotation burden.
  • Generality Across Tasks: The model demonstrates effectiveness not only for general occluded face recognition (OFR) but also for masked face recognition (MFR), highlighting its robustness to various types of obstructions.

Key Results

The ALOB model achieved state-of-the-art or highly competitive results across multiple datasets and scenarios:

  • AR Datasets: Achieved a 100% recognition rate for images with sunglasses (protocols 1 and 2).
  • Synthetic Occluded Datasets (LFW-OCC-2.0 and LFW-OCC-3.0): Achieved accuracies of 94.87% and 92.05% (TAR@FAR=1x10⁻³) respectively, outperforming existing methods.
  • General Face Recognition (LFW): Achieved 98.77% accuracy.
  • Masked Face Recognition (LFW-Masked and MFR2): Achieved 97.62% and 93.76% accuracy, respectively, surpassing other MFR methods.
  • Ablation Studies: Demonstrated the critical importance of both the GRL (Trimmer) and FPP (Identifier) components, with their removal leading to significant performance degradation.

Limitations and Future Work

  • Computational Cost: While the ALOB model uses relatively light backbones (ResNet18), it still involves two networks, which can increase computational overhead compared to single-network approaches.
  • Pre-trained Models: The paper mentions that future work could involve incorporating ALOB into pre-trained models (e.g., ResNet50) for better initialization of the Identifier and Trimmer subnetworks. This could potentially further improve performance and reduce training time.
  • Generalization to More Complex Scenarios: While ALOB shows good generality, further exploration into more extreme or novel occlusion types could be beneficial.

Summary updated

BibTeX
@misc{zhao2023adversarially,
  author = {Caijie Zhao and Ying Qin and Bob Zhang},
  title = {{Adversarially Learning Occlusions by Backpropagation for Face Recognition}},
  year = {2023},
  doi = {10.3390/s23208559},
}
Figure