Flare-Aware Cross-modal Enhancement Network for Multi-spectral Vehicle Re-identification

Aihua Zheng, Zhiqi Ma, Zi Wang, Chenglong Li

TL;DR

FACENet is a novel multi-spectral vehicle re-identification (Re-ID) framework designed to overcome the "blinding" effect of intense light flares from headlights or sunlight. By using flare-immune thermal infrared (TI) data to guide the restoration of corrupted RGB and near-infrared (NI) features, it achieves state-of-the-art performance in challenging, real-world lighting conditions.

What Problem Does This Paper Address?

Vehicle re-identification—the task of spotting the same vehicle across different camera views—is notoriously difficult in complex lighting. While multi-spectral approaches (combining RGB, near-infrared, and thermal data) have helped with low-light scenarios, they often fail when faced with intense flares.

Standard RGB and NI sensors are easily saturated by headlights or direct sunlight, leading to a total loss of discriminative details (like textures or logos) in those regions. Existing fusion methods typically focus on global enhancement and struggle to "repair" these localized, flare-corrupted areas. The authors identify a critical gap: how to effectively use the flare-immune TI spectrum to restore local information in the other modalities without introducing modality-specific noise.

Figure 1: Feature map visualization of how the intense flares affect existing multi-modal methods.

Methods

The authors propose the Flare-Aware Cross-modal Enhancement Network (FACENet), which consists of three primary innovations:

  1. Mutual Flare Mask Prediction (MFMP): To fix a flare, you first have to find it. This module uses a self-supervised approach, generating pseudo-labels from image histograms (identifying pixels with values near 255). It includes a Flare-susceptible Modality Interaction (FMI) scheme that jointly analyzes RGB and NI features to predict a robust, shared mask of the flare-affected regions.
  2. Flare-aware Cross-modal Enhancement (FCE): This is the core "repair" mechanism. It uses the predicted masks to isolate corrupted regions in the RGB/NI streams and then adaptively "fills" them using features extracted from the flare-immunized TI branch.
  3. Inter-modality Consistency (IC) Loss: To prevent the TI branch from over-influencing the others and introducing bias, the authors use a KL-divergence-based loss. This ensures that the semantic predictions (the "meaning" of the features) across RGB and NI remain consistent after enhancement.
Figure 2: The overall structure of the proposed method FACENet. First, we obtain the pseudo-label according to the histogram. We extract features of multi-spectrum vehicle images by three individual ResNet50 [7] to obtain features 𝑓𝑅, 𝑓𝑁, 𝑓𝑇of each spectrum. 𝑓𝑅and 𝑓𝑁are fed into the FMI to obtain the flare masks for each spectrum. Then, we train the mutual flare mask prediction from FMI under the supervision of the pseudo-label. Finally, the flare-immunized 𝑓𝑇is fed into a flare-aware cross-modal enhancement module to guide 𝑓𝑅and 𝑓𝑁with the aid of the predicted flare masks. The overall training stage for Re-ID is supervised by Cross-Entropy loss, and Triplet loss [9] on three individual spectra, together with the proposed IC loss on RGB and NI spectra. In the testing stage, we concatenate the multi-branch features for final distance measuring.

Datasets

The paper evaluates FACENet on several benchmarks and introduces a significant new dataset:

  • WMVEID863 (New): A "Wild Multi-spectral Vehicle Re-IDentification" dataset. It contains 14,127 images of 863 identities captured at real traffic checkpoints. Unlike previous datasets, it specifically includes challenges like motion blur and intense flare degradation.
  • Existing Benchmarks: The model was also tested on MSVR310, RGBN300, and RGBNT100 to demonstrate generalizability.
Figure 4: Challenge comparison between the proposed WMVeID863 and existing multi-spectral datasets. Each col- umn represents an image triplet of a vehicle ID while the two columns with the same challenges such as VR, PO, and IL derive from two different scenes of the same vehicle. WMVeID863 presents a more challenging and realistic multi- spectral vehicle Re-ID scenario.

Key Insights and Ideas

  • TI as a Geometric Anchor: The most powerful insight is treating the Thermal Infrared spectrum not just as another data source, but as a "flare-immune" prior. Because TI relies on heat rather than reflected light, it maintains structural integrity even when a car's headlights are pointed directly at the camera.
  • Synergistic Masking: Flares affect RGB and NI sensors differently in terms of pixel values, but the spatial location of the flare is usually identical. By forcing the modalities to interact during mask prediction (FMI), the model identifies corrupted regions much more accurately than looking at a single spectrum alone.
  • Semantic vs. Feature Alignment: Instead of forcing the raw features of different modalities to be identical (which is difficult due to their inherent physical differences), the IC Loss aligns their high-level semantic outputs. This allows each modality to keep its unique strengths while agreeing on the vehicle's identity.
Figure 5: Visualization of feature map of SMP. Mask predic- tion without FMI concentrates on the small region near the car lamp. With the aid of FMI, the mask prediction focuses on a much broader flare-corrupted area.

Key Results

FACENet significantly outperforms existing state-of-the-art (SOTA) methods, particularly on the new, flare-heavy WMVEID863 dataset:

  • Performance Boost: FACENet achieved 62.1% mAP and 67.3% Rank-1 accuracy. For comparison, the previous SOTA multi-modal method (CCNet) achieved only 50.3% mAP on the same data.
  • Ablation Success: Removing the FCE module caused a significant drop in performance, proving that the TI-guided local restoration is the primary driver of the model's success.
  • Generality: The authors showed that their IC Loss and FCE modules could be "plugged in" to other backbones like ViT and TransReID, consistently improving their performance by 3-9% mAP.

Limitations and Future Work

  • Computational Overhead: The three-stream architecture (RGB, NI, TI) plus the enhancement modules increases the model's parameter count and inference time compared to single-modality systems.
  • Sensor Alignment: The method assumes that the three spectra are well-aligned. In real-world deployments, maintaining perfect pixel-level registration between three different cameras (especially with vehicles in motion) remains a significant engineering challenge.
  • Future Directions: The authors suggest that this flare-aware approach could be extended to other domains, such as multi-spectral person re-identification or improving the robustness of autonomous vehicle perception systems in night-driving scenarios.

Summary updated

BibTeX
@article{zheng2023flare,
  author = {Aihua Zheng and Zhiqi Ma and Zi Wang and Chenglong Li},
  title = {{Flare-Aware Cross-modal Enhancement Network for Multi-spectral Vehicle Re-identification}},
  journal = {Information Fusion},
  year = {2023},
}
Figure