Abstract
Person re-identification (Re-ID) often faces challenges due to variations in human poses and camera viewpoints, which significantly affect the appearance of individuals across images. Existing datasets frequently lack diversity and scalability in these aspects, hindering the generalization of Re-ID models to new camera systems. Previous methods have attempted to address these issues through data augmentation; however, they rely on human poses already present in the training dataset, failing to effectively reduce the human pose bias in the dataset. We propose Diff-ID (also referred to as Pose-dIVE), a novel data augmentation approach that incorporates sparse and underrepresented human pose and camera viewpoint examples into the training data, addressing the limited diversity in the original training data distribution. Our objective is to augment a training dataset that enables existing Re-ID models to learn features unbiased by human pose and camera viewpoint variations. To achieve this, we leverage the knowledge of pre-trained large-scale diffusion models. Using the SMPL model, we simultaneously capture both the desired human poses and camera viewpoints, enabling realistic human rendering. The depth information provided by the SMPL model indirectly conveys the camera viewpoints. By conditioning the diffusion model on both the human pose and camera viewpoint concurrently through the SMPL model, we generate realistic images with diverse human poses and camera viewpoints. Qualitative results demonstrate the effectiveness of our method in addressing human pose bias and enhancing the generalizability of Re-ID models compared to other data augmentation-based Re-ID approaches. The performance gains achieved by training Re-ID models on our offline augmented dataset highlight the potential of our proposed framework in improving the scalability and generalizability of person Re-ID models.
Introduction
Person Re-identification (Re-ID)—the task of identifying the same individual across different non-overlapping camera views—is a cornerstone of modern surveillance and robotics. However, existing Re-ID models suffer from a significant "distribution bias." Most training datasets are captured by a small number of fixed cameras, meaning models primarily observe individuals from a limited set of specific angles and in common poses, such as walking or standing.
When these models are deployed in real-world environments, they often fail when encountering individuals from novel perspectives, such as high-angle "bird's eye" views, or in unusual postures. Manual labeling to address these gaps is prohibitively expensive and difficult to scale. While previous data augmentation attempts utilized simple image flips or Generative Adversarial Networks (GANs), these methods often lacked realism or merely recycled the biased poses already present in the training data.
Methodology: The Pose-dIVE Framework
To overcome these limitations, we introduce Pose-dIVE (Pose-Diversified Augmentation), a framework that utilizes the generative power of Stable Diffusion to create high-quality, identity-preserving synthetic data. The pipeline consists of three primary stages:
- 3D Pose & Viewpoint Sampling: Rather than relying on 2D skeletons, Pose-dIVE utilizes the SMPL 3D human body model. This allows for the mathematical manipulation of a person's pose and the camera's elevation/azimuth in 3D space, ensuring a truly uniform distribution of viewpoints.
- Multi-Condition Generation: To guide the diffusion model, the framework extracts three types of 2D information from the 3D SMPL model: skeletons, depth maps, and surface normals. This provides the model with critical spatial and structural context that 2D skeletons alone cannot provide.
- Identity-Preserving Diffusion: To ensure the generated person maintains the identity of the original subject, a dual-branch U-Net architecture is employed. A Reference U-Net processes the original image, and its features are injected into a Denoising U-Net via self-attention layers. This keeps clothing and physical features consistent while the person is "warped" into a new pose.
Experimental Evaluation and Results
The effectiveness of Pose-dIVE was evaluated on standard Re-ID benchmarks, including Market-1501, MSMT17, and CUHK03. A new evaluation protocol, MSMT17-S, was introduced to specifically measure generalization to unseen conditions by testing on viewpoints or poses entirely absent from the training set.
Performance Gains
Pose-dIVE provides a "plug-and-play" boost to state-of-the-art Re-ID models:
- General Performance: On the MSMT17 dataset, Pose-dIVE improved the mAP (mean Average Precision) of CLIP-ReID from 68.0% to 71.0%.
- Extreme Generalization: On the custom MSMT17-S (Cam) split, the model's mAP increased by 6.3%, demonstrating that synthetic data successfully teaches models to handle radically different camera angles.
Key Insights: Diversity Over Volume
A key finding of this research is that "filling the holes" in a data distribution is more valuable than simply increasing data volume. In a striking comparison, adding approximately 30,000 Pose-dIVE generated images outperformed adding nearly 500,000 real images from the MARS dataset. This suggests that targeted augmentation of underrepresented poses and viewpoints is a more efficient path to model robustness.
Conclusion
Pose-dIVE demonstrates the potential of leveraging pre-trained foundation models for data augmentation in specialized computer vision tasks. By using 3D body models to guide diffusion-based generation, the framework effectively reduces pose and viewpoint bias in Re-ID datasets. While the approach currently requires an offline generation step due to the computational overhead of diffusion models, it significantly enhances the generalizability and scalability of Re-ID systems. Future work will focus on improving the preservation of fine-grained identity details and synthesizing complex backgrounds to further reduce domain gaps.
Summary updated