M2M-GAN: Many-to-Many Generative Adversarial Transfer Learning for Person Re-Identification

Wenqi Liang, Guangcong Wang, Jianhuang Lai, Jun-Yong ZhuarXiv 2018

Introduction

Person Re-Identification (Re-ID) is the task of matching the same individual across different, non-overlapping camera views. A significant challenge in this field is the "domain gap"—models trained on one dataset (source) often perform poorly on another (target) due to variations in lighting, background, and camera perspectives.

Current Cross-Domain Transfer Learning (CDTL) methods typically employ Generative Adversarial Networks (GANs) to translate the style of source images to match the target domain. However, these methods often treat each dataset as a single, monolithic domain, ignoring the fact that Re-ID datasets are composed of multiple sub-domains (individual cameras). Ignoring these intra-dataset variations can confuse the GAN and lead to suboptimal style translation.

Comparison between (a) traditional one-to-one domain transfer and (b) the proposed many-to-many sub-domain transfer approach.

While one could theoretically train a separate GAN for every possible camera pair between two datasets, the computational cost for a source with $M$ cameras and a target with $N$ cameras ($M \times N$ models) is prohibitively expensive. M2M-GAN addresses this by performing many-to-many sub-domain style transfer in a single, unified optimization process.

The M2M-GAN Framework

The authors propose a novel framework that leverages shared knowledge across camera pairs to improve transfer efficiency and robustness.

The M2M-GAN framework architecture, highlighting the unified generator and the mask-based identity preservation loss.

Key Methodological Components

  • Sub-domain Label Embedding: Instead of multiple models, M2M-GAN uses a single generator. It accepts a source image alongside binary tensors representing source and target camera IDs, guiding the generator to produce a specific camera-style output.
  • Unified Optimization: By optimizing all sub-domain relationships simultaneously, the model shares parameters across different camera pairs. This prevents overfitting and drastically reduces the parameter count to $1/(M \times N)$ compared to a brute-force approach.
  • Mask-based Identity Preservation: To ensure that the person's identity is maintained during style transformation, the authors utilize Mask-RCNN to segment the foreground. A specific loss function penalizes changes to the person (foreground) while allowing the background (style) to adapt to the target domain.
  • Sub-domain Classification Loss: The discriminator is designed to not only distinguish real from fake images but also to correctly classify the camera sub-domain, further ensuring style accuracy.

Experimental Evaluation

The model was evaluated on three major Re-ID benchmarks: Market-1501 (6 cameras), DukeMTMC-reID (8 cameras), and MSMT17 (15 cameras). MSMT17 is particularly challenging, featuring both indoor and outdoor views.

Key Results

M2M-GAN consistently outperformed standard "one-to-one" transfer methods and other state-of-the-art unsupervised approaches:

  • Performance Gains: On the DukeMTMC $\to$ Market-1501 task, M2M-GAN achieved a 57.5% Rank-1 accuracy, a significant improvement over the 47.4% achieved by standard one-to-one CycleGAN-based methods.
  • Efficiency: For the MSMT17 dataset, which would require 90 separate mappings in a brute-force setup, M2M-GAN uses a single model with roughly 1/90th of the parameters.
  • Refinement: Incorporating Label-guided Multi-domain Person (LMP) refinement further boosted results to 63.1% Rank-1 on the Duke $\to$ Market task.

Conclusion

M2M-GAN demonstrates that acknowledging camera-specific sub-domains is crucial for effective cross-domain Re-ID. By leveraging a unified many-to-many architecture, the framework achieves superior style transfer and Re-ID accuracy while remaining computationally efficient. Future work may explore generalizing this adversarial topology to other types of sub-domains, such as varying weather conditions or times of day, and reducing the dependency on pre-trained segmentation models like Mask-RCNN.

Summary updated

BibTeX
@misc{liang2018m,
  author = {Wenqi Liang and Guangcong Wang and Jianhuang Lai and Jun-Yong Zhu},
  title = {{M2M-GAN: Many-to-Many Generative Adversarial Transfer Learning for Person Re-Identification}},
  year = {2018},
  eprint = {1811.03768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.03768},
}
Figure