Introduction
Person Re-Identification (Re-ID) systems are designed to recognize individuals across non-overlapping camera views. However, a significant bottleneck in real-world applications is the "clothes-changing" problem, where subjects change their attire between sightings. Traditional models often overfit to clothing features, leading to identification failures when the outfit changes. This challenge is exacerbated by the scarcity of diverse data; existing Clothes-Changing Re-ID (CC-ReID) datasets typically feature only a handful of outfits per person.
To address this, the DLCR (Generative Data Expansion via Diffusion) framework leverages the power of text-guided diffusion models and large language models (LLMs) to synthesize over 2.1 million identity-preserving images, expanding clothing diversity tenfold and setting new state-of-the-art benchmarks.
The DLCR Framework
DLCR is a two-stage framework designed to generate high-quality synthetic data and utilize it effectively for training.
Stage 1: Identity-Preserving Data Generation
The core innovation of DLCR lies in its ability to change a subject's clothing while strictly preserving their physical identity (face, hair, and body shape). This is achieved through a three-part process:
- Human Parsing: A parsing model generates binary masks to isolate clothing regions, ensuring that non-clothing identity features remain untouched during the generation process.
- LLM-Guided Prompting: Since Re-ID datasets lack descriptive text, the framework uses LLaVA to caption existing outfits and LLaMA to synthesize these into holistic text prompts for the diffusion model.
- Diffusion Inpainting: Using Stable Diffusion Inpainting, the framework "fills in" the masked clothing regions based on the generated prompts. This method avoids the "mode collapse" common in GANs and maintains higher fidelity than standard diffusion techniques.
Stage 2: Optimized Training and Inference
Managing a dataset expanded to 2.1 million images requires specialized strategies:
- Progressive Learning: The model is initially trained on original data, with synthetic images introduced gradually. This prevents the model from being overwhelmed by synthetic noise and optimizes training time.
- Prediction Refinement: At test time, the system generates multiple "clothed-changed" versions of the query image. Ensembling the results from these augmented queries helps the model focus on identity rather than specific clothing biases.
Experimental Results and Impact
The authors evaluated DLCR across five benchmark CC-ReID datasets: PRCC, CCVID, LaST, VC-Clothes, and LTCC. By generating over 2.2 million images, they provided a 10x increase in clothing diversity for the research community.
Key findings include:
- State-of-the-Art Performance: DLCR achieved new SOTA results on three out of four major benchmarks.
- Significant Accuracy Gains: On the PRCC dataset, DLCR improved the Top-1 accuracy of the CAL baseline by 11.3%. Standard Re-ID models like MGN saw even more dramatic improvements, with a 28.7% jump in Top-1 accuracy when trained on DLCR-expanded data.
- Enhanced Generalization: Models trained with DLCR data demonstrated superior zero-shot performance on unseen datasets, proving that the framework successfully teaches models to prioritize physical identity over transient clothing features.
Conclusion
DLCR represents a major step forward in solving the data scarcity problem for clothes-changing person re-identification. By combining human parsing, LLM-guided prompting, and diffusion-based inpainting, the framework enables the creation of massive, high-quality datasets that significantly boost model robustness. While the approach is computationally intensive, the public release of the generated data offers a valuable resource for future research in the field.
Summary updated