TL;DR
This paper introduces a robust framework for Near-Infrared to Visible (NIR-VIS) masked face recognition, a task severely impacted by information loss and domain gaps during the COVID-19 pandemic. The authors overcome data scarcity by synthesizing realistic masked faces using 3D face reconstruction and propose Heterogeneous Semi-Siamese Training (HSST) to maximize the mutual information between masked NIR probes and full VIS gallery images.
What Problem Does This Paper Address?
Heterogeneous face recognition—specifically matching Near-Infrared (NIR) probe images (often used in low-light surveillance) to Visible-light (VIS) gallery images (like ID photos)—has made great strides thanks to deep learning. However, the widespread adoption of facial masks introduces a trifecta of complications:
- Massive Information Loss: Masks fully occlude critical facial features like the mouth, nose, and cheeks.
- Data Scarcity: There is a severe lack of paired, heterogeneous training datasets containing masked faces.
- Amplified Domain Gap: The domain discrepancy between NIR and VIS modalities persists, and is harder to resolve when only the eyes and forehead are visible.
While generative methods usually try to synthesize full VIS faces from NIR images to bridge this gap, they fail completely when a mask is present because the missing facial structure cannot be reliably hallucinated.
Methods
The authors tackle this problem from two angles: data synthesis and network training.
1. 3D Face Reconstruction-based Mask Synthesis
To generate realistic training data, the authors eschew simple 2D overlay methods, which fail at large head angles. Instead, they use a 3D structure approach (PR-Net) to extract a UV texture map and a UV position map from a non-masked face. They segment a mask from real-world images, map it onto the 3D UV space, and then reconstruct a highly accurate 2D masked face image.
2. Heterogeneous Semi-Siamese Training (HSST)
To extract domain-invariant features from the unoccluded parts of the face (e.g., eyes and eyebrows), the authors propose HSST. The architecture consists of two networks:
- A Probe-Net updated via Stochastic Gradient Descent (SGD).
- A Gallery-Net updated via a moving average of the Probe-Net's weights.
During training, a positive pair (a masked NIR image and a full VIS image) has an equal chance of being fed into either network. Crucially, the framework maintains two separate prototype queues—one for NIR and one for VIS. By alternating the inputs and optimizing the softmax cross-entropy or triplet loss, the network implicitly maximizes the mutual information shared between the two domains in the feature space.
Datasets
The models were pre-trained on the large-scale visible face dataset MS1M-v1c and evaluated on three widely-used heterogeneous face datasets (with masks synthetically added to the NIR probes):
- CASIA NIR-VIS 2.0: The largest benchmark, containing 725 identities and 17,580 images.
- Oulu-CASIA NIR-VIS: 80 identities with 6 different expressions.
- BUAA-VisNir: 150 identities captured under controlled illumination.
Key Insights and Ideas
- Information Maximization over Image Generation: Instead of trying to guess what a person looks like under a mask (which introduces noise and artifacts), it is far more effective to maximize the mathematical mutual information between the visible regions across both domains.
- The Power of Dual Queues: Maintaining separate prototype queues for NIR and VIS features provides the network with two complementary views of the identity space, preventing the model from overfitting to domain-specific or mask-specific noise.
Key Results
The "mask penalty" is severe: a standard baseline model trained on non-masked data drops from 98.25% Rank-1 accuracy to just 53.88% when tested on masked faces.
By introducing the synthesized data and the HSST framework, performance recovers dramatically:
- On the CASIA NIR-VIS 2.0 dataset using a lightweight MobileFaceNet backbone, HSST improved Rank-1 accuracy on masked faces from 83.90% (plain training) to 93.60%.
- Scaling up to a ResNet-50 backbone with Triplet loss, HSST achieved a state-of-the-art 98.60% Rank-1 accuracy and a 98.58% Verification Rate (at a strict False Accept Rate of 0.1%).
The method also demonstrated strong cross-dataset generalization, outperforming alternative domain-invariant learning methods like IDR and W-CNN on the Oulu-CASIA and BUAA-VisNir benchmarks.
Limitations and Future Work
While the 3D mask synthesis approach handles pose variations well, the training and evaluation still rely entirely on synthesized masks rather than real-world masked NIR imagery. A natural next step for this research would be validating and fine-tuning the model on real-world datasets of masked individuals under infrared light to account for physical mask deformations and varied fabric textures.
Summary updated