Abstract
Heterogeneous Face Recognition (HFR) aims to match face images across different imaging modalities, such as thermal, infrared, and visible light. This task is challenging due to the significant domain gap and the scarcity of paired training data. We present a framework based on Domain Invariant Units (DIU) that utilizes a teacher-student distillation approach. By fine-tuning only the lower layers of a pretrained high-capacity model, our method achieves state-of-the-art accuracy across several benchmarks, including Polathermal, Tufts Face, and SCFace.
Introduction
While modern Face Recognition (FR) systems excel with high-quality RGB images, their performance degrades significantly in heterogeneous scenarios—matching surveillance footage or thermal signatures against standard passport photos. The primary obstacles are the fundamental difference in feature textures between domains and the lack of large-scale paired datasets for training. Previous attempts using Generative Adversarial Networks (GANs) or complex adapters often suffer from high computational costs or overfitting on small datasets.
Methodology: Teacher-Student Distillation
The proposed framework employs a Teacher-Student architecture to bridge the modality gap. The "Teacher" is a frozen Iresnet101 model pretrained on the extensive WebFace12M RGB dataset. The "Student" model is initialized with the same weights, but its first few layers are designated as Domain Invariant Units (DIU).
The training process involves two primary objectives:
- Cosine Contrastive Loss ($\mathcal{L}_C$): This aligns the embeddings of paired images from different modalities (e.g., thermal and RGB) in a shared feature space.
- Distillation Loss ($\mathcal{L}_{DL}$): This ensures the student retains the discriminative power of the teacher by penalizing deviations in their outputs for RGB images.
Crucially, both the source (visible) and target (thermal/NIR) modalities pass through the same trainable DIU layers, encouraging the model to learn a domain-neutral representation.
Experimental Results
The DIU approach was evaluated on three major benchmarks, consistently outperforming existing state-of-the-art (SOTA) methods:
- Polathermal: Achieved a Rank-1 accuracy of 97.8%, surpassing the previous best of 97.1%.
- Tufts Face: Reached 82.94% Rank-1 accuracy, a significant improvement over the prior SOTA of 73.07%.
- SCFace (Far Protocol): On the challenging long-distance surveillance protocol, the model achieved 94.55% accuracy, compared to 86.05% for previous methods.
Ablation Study: Layer Selection
A key insight of this research is that the domain gap is primarily localized in the lower layers of the network, which handle low-level feature extraction. The authors conducted an ablation study to determine the optimal number of layers to unfreeze.
As shown in the experimental data, unfreezing the first 24 layers (blocks 1-24) of the Iresnet101 model provided the best balance between adapting to new modalities and maintaining recognition performance. Unfreezing additional layers beyond this point led to a decrease in accuracy, likely due to overfitting on the smaller heterogeneous datasets.
Conclusion
The Domain Invariant Units framework provides a robust and efficient solution for HFR by focusing adaptation on the lower layers of a pretrained model. The combination of selective fine-tuning and distillation loss allows the model to generalize well even with limited paired data. Future work may explore extending this approach to other modalities, such as forensic sketches or 3D face models.
Summary updated