GreyReID: A Two-stream Deep Framework with RGB-grey Information for Person Re-identification

Lei Qi, Jing Huo, Yinghuan Shi, Yang GaoarXiv 2019

Introduction

Person Re-identification (Re-ID) aims to match individuals across non-overlapping camera views, a task complicated by variations in lighting, pose, and background. A significant yet often overlooked hurdle in this field is color over-fitting. Most contemporary Re-ID models rely heavily on color information. While color is a strong cue, it becomes a liability when multiple individuals wear similar-colored clothing, leading to "false positives" where the model prioritizes color over more stable structural features.

The GreyReID Framework

To address this, we introduce GreyReID, a novel two-stream deep learning framework designed to leverage both RGB and greyscale information. The core hypothesis is that RGB and greyscale data are complementary: RGB provides rich color cues, while greyscale forces the model to focus on shape, texture, and geometric details.

Architecture

The GreyReID architecture consists of three primary branches:

  1. RGB Branch: Utilizes a ResNet-50 backbone to extract color-dependent features.
  2. Greyscale Branch: A parallel ResNet-50 backbone that processes luminance-weighted greyscale versions of the input images, focusing on structural and textural features.
  3. Joint Branch: This branch fuses feature tensors from both the RGB and greyscale streams. It employs a part-based scheme, dividing the fused tensor into horizontal strips to capture fine-grained local details.
Top-10 retrieval results on CUHK03 and Market1501 datasets. Green boxes indicate correct matches, while red boxes indicate incorrect ones.

During training, each branch is optimized with independent loss functions (Cross-Entropy and Triplet Loss). The final identity prediction is based on a 1280-dimensional vector concatenated from all three branches, refined by a global loss function.

Experimental Results

GreyReID was evaluated on four major benchmarks: Market1501, DukeMTMC-reID, CUHK03-NP, and MSMT17. The framework consistently outperformed existing state-of-the-art methods like PCB, Mancs, and CASN.

On the large-scale MSMT17 dataset, GreyReID achieved a significant jump to 55.0% mAP from a 44.3% baseline. On Market1501, it reached 85.6% mAP and 94.5% Rank-1 accuracy, demonstrating its robustness in complex, real-world scenarios.

Discussion: Mitigating Color Bias

The effectiveness of GreyReID stems from its ability to mitigate color bias. Visualizations of feature response maps indicate that the greyscale branch often attends to different regions than the RGB branch, such as the specific texture of a bag or the silhouette of footwear.

Comparison of retrieval results highlighting the benefit of the greyscale stream. The dashed lines separate different query cases where standard RGB-only models often fail due to color similarity.

A key finding is that simply using greyscale images as data augmentation (mixing them into a standard training set) actually degrades performance. Greyscale information requires a dedicated architectural stream to be effectively integrated without introducing noise.

Conclusion

GreyReID demonstrates that incorporating greyscale information through a multi-stream architecture significantly enhances person Re-ID performance by reducing reliance on potentially misleading color cues. While the three-stream approach increases computational overhead, the gains in accuracy—particularly on challenging datasets like MSMT17—make it a compelling strategy for robust identity matching. Future work may explore learned color-to-grey conversions or alternative color spaces to further optimize feature extraction.

Summary updated

Abstract

In this paper, we observe that most false positive images (i.e., different identities with query images) in the top ranking list usually have the similar color information with the query image in person re-identification (Re-ID). Meanwhile, when we use the greyscale images generated from RGB images to conduct the person Re-ID task, some hard query images can obtain better performance compared with using RGB images. Therefore, RGB and greyscale images seem to be complementary to each other for person Re-ID. In this paper, we aim to utilize both RGB and greyscale images to improve the person Re-ID performance. To this end, we propose a novel two-stream deep neural network with RGB-grey information, which can effectively fuse RGB and greyscale feature representations to enhance the generalization ability of Re-ID. Firstly, we convert RGB images to greyscale images in each training batch. Based on these RGB and greyscale images, we train the RGB and greyscale branches, respectively. Secondly, to build up connections between RGB and greyscale branches, we merge the RGB and greyscale branches into a new joint branch. Finally, we concatenate the features of all three branches as the final feature representation for Re-ID. Moreover, in the training process, we adopt the joint learning scheme to simultaneously train each branch by the independent loss function, which can enhance the generalization ability of each branch. Besides, a global loss function is utilized to further fine-tune the final concatenated feature. The extensive experiments on multiple benchmark datasets fully show that the proposed method can outperform the state-of-the-art person Re-ID methods. Furthermore, using greyscale images can indeed improve the person Re-ID performance.
BibTeX
@misc{qi2019greyreid,
  author = {Lei Qi and Lei Wang and Jing Huo and Yinghuan Shi and Yang Gao},
  title = {{GreyReID: A Two-stream Deep Framework with RGB-grey Information for Person Re-identification}},
  year = {2019},
  eprint = {1908.05142},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.05142},
}
Figure