Bridging the Gap: Heterogeneous Face Recognition with Conditional Adaptive Instance Modulation

Anjith George, Sébastien Marcel · DOI

Abstract

Heterogeneous Face Recognition (HFR) involves matching facial images across different modalities, such as thermal, near-infrared, or sketches, against a gallery of visible-spectrum (VIS) images. This task is complicated by a significant domain gap and the scarcity of labeled multi-modal data. This paper discusses a novel framework utilizing Conditional Adaptive Instance Modulation (CAIM), a lightweight module that adapts pre-trained RGB face recognition models for HFR. By treating modality as a "style" and modulating intermediate feature maps, CAIM achieves state-of-the-art performance across multiple benchmarks without the need for computationally expensive image synthesis.

Introduction

Standard Face Recognition (FR) systems have reached high levels of maturity when matching visible-light images. However, real-world security and surveillance often require matching a "probe" image from a non-visible modality—such as thermal imagery captured at night—against a standard enrollment database. This is the core challenge of Heterogeneous Face Recognition (HFR).

The difficulty in HFR stems from two primary factors. First, the domain gap is substantial; a thermal or infrared signature differs fundamentally from an RGB representation in terms of texture and intensity. Second, data scarcity limits the ability to train deep networks from scratch, as multi-modal datasets are significantly smaller than the massive RGB datasets used for standard FR. While Generative Adversarial Networks (GANs) are often used to translate images between domains, they are computationally heavy and can introduce artifacts that degrade recognition accuracy.

Methodology

The proposed CAIM framework avoids the pitfalls of image-to-image translation by operating directly in the feature space of a high-performance, pre-trained FR backbone (specifically Iresnet100).

Conditional Adaptive Instance Modulation (CAIM)

The CAIM module is inspired by style transfer techniques, specifically Adaptive Instance Normalization (AdaIN). The researchers hypothesize that the difference between modalities can be treated as a difference in "style." The CAIM block is inserted into the early layers of the frozen backbone and performs the following operations:

  1. Normalization: It applies Instance Normalization (IN) to the incoming feature maps, effectively stripping away modality-specific style information.
  2. Modulation: A small, learnable convolutional network estimates new scaling and shifting parameters to align the features with the source modality's representation space.
  3. Conditional Gating: To maintain the model's original utility, a global gate signal determines the block's activation. If the input is a standard VIS image, the CAIM block acts as an identity function, ensuring no "catastrophic forgetting" of the original RGB recognition capabilities.

Training Strategy

The system is trained using a contrastive loss within a Siamese network architecture. By using a small number of paired samples (the same identity in different modalities), the network learns to minimize the distance between embeddings across the domain gap while the backbone weights remain frozen, ensuring stability and efficiency.

Experiments and Results

The CAIM-equipped model was evaluated across five diverse benchmarks to test its robustness across spectral and non-spectral domains.

  • Tufts Face Database (Thermal): The model achieved a 73.07% Rank-1 accuracy, a significant improvement over previous benchmarks like DVG-Face (56.1%).
  • MCXFace (Multi-channel): On this dataset involving Thermal, NIR, and SWIR, CAIM reached 87.24% Rank-1 accuracy.
  • Polathermal (Polarimetric LWIR): The framework achieved 95.00% Rank-1, rivaling specialized transformer-based HFR models.
  • CUFSF (Sketches): Demonstrating the versatility of the "style" hypothesis, CAIM reached 76.38% Rank-1 when matching hand-drawn sketches to photos.

Discussion

A key insight from the study is that early adaptation is the most effective strategy. Inserting CAIM blocks in the initial layers of the CNN—where low-level textures and styles are processed—allows the deeper layers to focus on high-level identity features that are more consistent across modalities.

Furthermore, the approach is highly efficient. By modulating feature maps rather than generating synthetic images, the model is suitable for real-time applications and deployment on edge devices with limited computational budgets.

Conclusion

Conditional Adaptive Instance Modulation (CAIM) provides a robust and lightweight solution for bridging the gap in Heterogeneous Face Recognition. By leveraging pre-trained models and treating modality as a style, the framework achieves state-of-the-art results even with limited training data. Future research may explore extending this modulation technique to unpaired training scenarios and optimizing the placement of CAIM blocks for different neural architectures.

Summary updated

BibTeX
@inproceedings{george2023bridging,
  author = {Anjith George and Sébastien Marcel},
  title = {{Bridging the Gap: Heterogeneous Face Recognition with Conditional Adaptive Instance Modulation}},
  booktitle = {IJCB},
  year = {2023},
  url = {https://openreview.net/forum?id=p4R1qGHiYA},
}
Figure