CM-NAS: Cross-Modality Neural Architecture Search for Visible-Infrared Person Re-Identification

Chaoyou Fu

TL;DR

This paper introduces CM-NAS, a novel Neural Architecture Search (NAS) method specifically designed for Visible-Infrared Person Re-Identification (VI-ReID). By focusing on the optimal separation of Batch Normalization (BN) layers within a two-stream network, CM-NAS automatically discovers architectures that significantly outperform manual designs and existing state-of-the-art methods on challenging VI-ReID benchmarks.

What Problem Does This Paper Address?

Person re-identification (ReID) is crucial for surveillance, but traditional systems struggle in low-light conditions. Visible-Infrared (VI-ReID) aims to bridge this gap by matching images from visible (VIS) and infrared (IR) cameras. The primary challenge in VI-ReID is the significant "modality discrepancy" between VIS and IR images, making direct matching difficult. Existing solutions often employ two-stream networks, where some network layers are shared (to learn common identity features) and others are separated (to learn modality-specific features). However, manually designing these architectures, specifically deciding which layers to separate and which to share, is a time-consuming and empirical process with no clear consensus. This paper addresses the need for an automated, principled approach to designing effective VI-ReID architectures.

Methods

The core innovation is CM-NAS (Cross-Modality Neural Architecture Search). The authors first conducted an extensive empirical study on manually designed two-stream architectures, revealing that separating Batch Normalization (BN) layers is more effective than separating entire convolutional blocks for VI-ReID. This insight led to the development of a BN-oriented search space. In this space, each BN layer in a backbone network (like ResNet50) is treated as a searchable unit. For each BN layer, there are two possible operations: either it uses separate parameters for VIS and IR data, or it shares parameters across both modalities.

To enable gradient-based optimization, the binary choices for each BN layer are relaxed into continuous probabilities. This forms a bi-level optimization problem: the inner loop trains the network weights (w) to minimize the training loss, and the outer loop searches for the optimal architecture parameters (α) by minimizing the validation loss.

The objective function used during training is crucial. It combines a basic loss (classification and triplet loss) with a novel Cross-Modality Multi-Modal Discrepancy (LC3MMD) loss. LC3MMD comprises two components:

  1. Class-specific Maximum Mean Discrepancy (CMMD): Measures the discrepancy between VIS and IR feature distributions for each class.
  2. Correlation Consistency Loss (Lcc): Enforces consistency in the pairwise similarity (correlation) matrices of VIS and IR features.

Datasets

The paper evaluates CM-NAS on two widely used VI-ReID benchmarks:

  • SYSU-MM01: A large-scale dataset with 287,628 VIS images and 15,792 IR images from 395 training and 96 testing identities. It features diverse indoor/outdoor scenarios and poses.
  • RegDB: A smaller dataset with 4,120 paired VIS-IR images from 412 identities, captured simultaneously.

The authors also perform a cross-dataset experiment, searching on RegDB and training on SYSU-MM01 (and vice-versa), to assess the generalization ability of the searched architectures.

Key Insights and Ideas

  • BN Layer Separation is Key: The most significant finding is that strategically separating BN layers, rather than entire blocks, provides a substantial performance boost in VI-ReID. This suggests that BN layers play a critical role in managing modality-specific information.
  • NAS for Cross-Modality: Applying NAS to the specific problem of modality separation in VI-ReID is a novel contribution. Existing NAS methods are often designed for single-modality tasks and lack the mechanisms to effectively bridge modality gaps.
  • BN-Oriented Search Space: The proposed search space, focused on BN layer operations (separate vs. shared), is tailored to the VI-ReID problem and proves highly effective.
  • LC3MMD Loss Effectiveness: The combined CMMD and correlation consistency loss effectively guides the network to learn discriminative and aligned cross-modality features.

Key Results

CM-NAS achieves state-of-the-art performance on both SYSU-MM01 and RegDB datasets.

  • On SYSU-MM01 (single-shot, all-search setting), CM-NAS improves Rank-1 accuracy by 6.70% and mAP by 6.13% compared to previous best methods.
  • On RegDB (Visible to Infrared setting), CM-NAS improves Rank-1 accuracy by 12.17% and mAP by 11.23% compared to state-of-the-art MACE.
  • The searched architectures are complex and difficult to design manually, highlighting the value of the automated search.
  • A cross-dataset evaluation (CM-NAS†) demonstrates the strong generalization ability of the learned architectures.

Limitations and Future Work

  • Computational Cost of NAS: While CM-NAS is more efficient than manual design, NAS methods generally require significant computational resources for the search phase.
  • Manual Design Insights: The paper relies on extensive manual experiments to identify the importance of BN layer separation. While this informs the NAS, it's still a labor-intensive initial step.
  • Future Work: The authors suggest that their BN-oriented search space and NAS framework can be extended to other cross-modality tasks. Further exploration of more sophisticated search spaces and objective functions for VI-ReID is also a natural next step.

Summary updated

Abstract

Visible-Infrared person re-identification (VI-ReID) aims to match cross-modality pedestrian images, breaking through the limitation of single-modality person ReID in dark environment. In order to mitigate the impact of large modality discrepancy, existing works manually design various two-stream architectures to separately learn modality-specific and modality-sharable representations. Such a manual design routine, however, highly depends on massive experiments and empirical practice, which is time consuming and labor intensive. In this paper, we systematically study the manually designed architectures, and identify that appropriately separating Batch Normalization (BN) layers is the key to bring a great boost towards cross-modality matching. Based on this observation, the essential objective is to find the optimal separation scheme for each BN layer. To this end, we propose a novel method, named Cross-Modality Neural Architecture Search (CM-NAS). It consists of a BN-oriented search space in which the standard optimization can be fulfilled subject to the cross-modality task. Equipped with the searched architecture, our method outperforms state-of-the-art counterparts in both two benchmarks, improving the Rank-1/mAP by 6.70%/6.13% on SYSU-MM01 and by 12.17%/11.23% on RegDB. Code is released at https://github.com/JDAI-CV/CM-NAS.
BibTeX
@inproceedings{fu2021cm,
  author = {Chaoyou Fu},
  title = {{CM-NAS: Cross-Modality Neural Architecture Search for Visible-Infrared Person Re-Identification}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01161},
}
Figure