TL;DR
This paper tackles the challenge of cross-domain person re-identification (re-ID) by proposing a novel approach that bridges the gap between source and target domains using intermediate domains. Their method, IDM++, introduces modules to generate these intermediate domains and align features, leading to state-of-the-art performance in both unsupervised domain adaptation (UDA) and domain generalization (DG) scenarios.
What Problem Does This Paper Address?
Person re-identification (re-ID) aims to identify individuals across different cameras, which is crucial for surveillance and security systems. A major hurdle in real-world applications is the "cross-domain" problem: models trained on data from one domain (e.g., a specific camera system) often perform poorly on data from another domain due to differences in image style, lighting, or viewpoint. This is especially true in unsupervised domain adaptation (UDA) re-ID, where labeled source data is available, but only unlabeled target data can be used for training. Existing methods often treat source and target domains as completely isolated, making direct knowledge transfer difficult, particularly when the domain gap is large. This paper argues that these domains are not entirely isolated but can be connected via a series of intermediate domains, offering a smoother path for knowledge transfer.
Methods
The core of the proposed solution lies in two novel modules:
- Intermediate Domain Module (IDM): This module generates synthetic intermediate domains by mixing hidden-layer features from the source and target domains. The key idea is to align the source and target domains not directly, but against these generated intermediate domains. IDM uses a "mixup" strategy, where the ratio of source to target features in the mix determines the position of the intermediate domain along the "domain bridge." To ensure effective bridging, IDM also incorporates a diversity loss to encourage a wide range of intermediate domains.
- Mirrors Generation Module (MGM): A side effect of IDM's feature mixing is that original identities can be diluted. MGM addresses this by mapping the original source and target identities into the IDM-generated intermediate domains. It uses an adaptive instance normalization (AdaIN) technique to transfer the style of intermediate domains to source/target features, creating "mirrors" that retain the original identity but adopt the intermediate domain's style. This allows the model to focus on cross-domain variations while preserving identity information.
IDM++ integrates these modules into a unified framework, reinforcing the alignment process and improving performance. The overall training involves minimizing several losses, including re-ID loss, bridge losses (aligning source/target to intermediate domains), diversity loss, and consistency loss (between original features and their mirrors).
Datasets
The paper evaluates IDM++ on a variety of datasets for both UDA and DG re-ID tasks:
- UDA Re-ID Datasets: Market-1501, DukeMTMC-reID, CUHK03, MSMT17, PersonX (synthetic), and Unreal (synthetic).
- DG Re-ID Protocols: The authors use a "leave-one-out" setting with a pool of datasets (Market-1501, DukeMTMC-reID, CUHK03, and MSMT17) for testing. They evaluate on two protocols: "DG-partial" and "DG-full."
Key Insights and Ideas
- Intermediate Domains as a Bridge: The central idea that source and target domains are not isolated but can be connected via intermediate domains is a novel perspective that simplifies the challenging cross-domain alignment problem.
- Smooth Alignment: Aligning to intermediate domains, rather than directly to the target, provides a more gradual and effective transfer of knowledge, especially when the domain gap is large.
- Identity Preservation with Mirrors: The MGM module is crucial for overcoming the identity dilution issue in feature mixing, enabling the model to learn identity-discriminative features by focusing on cross-domain style variations.
- Unified Framework for UDA and DG: IDM++ demonstrates effectiveness across both UDA and DG scenarios, suggesting its broad applicability in cross-domain re-ID.
Key Results
IDM++ achieves state-of-the-art performance on multiple UDA and DG re-ID benchmarks. For instance, on the challenging MSMT17 dataset, IDM++ surpasses prior methods by a significant margin (up to 9.9% and 7.8% rank-1 accuracy for UDA and DG, respectively). The ablation studies confirm the importance of both IDM and MGM, with IDM++ showing substantial improvements over baseline methods and the previous IDM work. The parameter analysis indicates that the proposed method is relatively insensitive to hyperparameter choices.
Limitations and Future Work
- Computational Cost: While IDM and MGM are designed to be plug-and-play, the generation of intermediate domains and mirrors adds computational overhead during training.
- Stage Selection: The optimal stages for plugging IDM and MGM were investigated, with stage-0 for IDM and stage-3 for MGM showing good performance on ResNet-50. However, finding the optimal stages for different backbones might require further exploration.
- Future Work: The authors suggest that their method can be extended to other backbones and that further research into the "domain bridge" concept could lead to even more robust cross-domain re-ID solutions. The analysis of pseudo-label quality also highlights the importance of robust pseudo-labeling for UDA methods.
Summary updated