Abstract
Visible-Infrared Person Re-identification (VI-ReID) is a challenging task due to the significant modality gap between RGB and infrared images. This paper proposes a Unified Batch All (UBA) Triplet Loss to address the modality imbalance problem. By utilizing all triplets in a mini-batch and unifying the optimization metric to cosine distance, the proposed method achieves state-of-the-art performance on standard benchmarks without the need for complex generative models or attention mechanisms.
Introduction
Person Re-identification (ReID) aims to match individuals across non-overlapping camera views. In real-world scenarios, surveillance systems often switch between visible cameras during the day and infrared cameras at night. This necessitates Visible-Infrared ReID (VI-ReID), which matches standard RGB images with infrared (IR) images.
The primary challenge in VI-ReID is the "modality gap"—the drastic difference in visual appearance between RGB and IR images. Traditional "Batch Hard" triplet loss often fails in this context because it focuses on the hardest samples, which are frequently intra-modality (e.g., two different people in the same lighting). This leads to an optimization imbalance where the model fails to effectively bridge the cross-modality gap.
Methodology
The proposed framework introduces several key innovations to stabilize and improve VI-ReID training:
1. Batch All Triplet Selection
Unlike the "Batch Hard" strategy that selects only the single most difficult triplet, the Batch All approach calculates loss for every possible triplet in a mini-batch. This ensures that cross-modality relationships are consistently optimized, preventing the model from over-focusing on intra-modality variations.
2. Unified Metric Optimization
Standard ReID pipelines often suffer from a metric mismatch, using Euclidean distance for triplet loss and inner products for classification. The authors propose a Unified Batch All Triplet Loss and Cosine Softmax Loss, both optimized using cosine distance. This alignment ensures that the training objective directly reflects the inference process, leading to more stable feature representations.
3. Batch All Hetero Center Triplet Loss
The "Hetero Center" loss, which minimizes the distance between the centroids of different modalities for the same identity, is adapted into a "batch all" version. This further refines the feature space by pulling modality-specific centers closer together.
4. Random Grayscale Augmentation
To encourage the model to learn structural and shape-based features rather than relying on color (which is absent in IR), visible images are randomly converted to grayscale during training.
Experimental Results
The method was evaluated on the SYSU-MM01 dataset, a large-scale benchmark containing over 30,000 images of 491 identities.
The proposed approach achieved a Rank-1 accuracy of 65.90% and a mean Average Precision (mAP) of 63.74% in the all-search, single-shot setting. These results significantly outperform previous state-of-the-art methods like HCTri (61.68% Rank-1, 57.51% mAP). Ablation studies confirmed that the combination of UBA loss, Cosine Softmax, and Grayscale augmentation provides complementary benefits.
Conclusion
This research demonstrates that a "simple but effective" approach focused on loss function design and metric unification can outperform complex generative models in VI-ReID. By moving from "hardest-triplet" mining to a "batch all" strategy and aligning optimization metrics, the model effectively bridges the gap between visible and infrared modalities. Future work will focus on scaling these strategies to larger datasets and optimizing for real-time edge deployment.
Summary updated