[Paper Review] Joint Discriminative and Generative Learning for Person Re-identification
DG-Net jointly learns discriminative re-id embeddings and a generative model that swaps appearance and structure codes to produce cross-identity and intra-identity images, achieving state-of-the-art results on multiple benchmarks. The framework uses online generated data to continually refine the appearance encoder and re-id learning in an end-to-end loop.
Person re-identification (re-id) remains challenging due to significant intra-class variations across different cameras. Recently, there has been a growing interest in using generative models to augment training data and enhance the invariance to input changes. The generative pipelines in existing methods, however, stay relatively separate from the discriminative re-id learning stages. Accordingly, re-id models are often trained in a straightforward manner on the generated data. In this paper, we seek to improve learned re-id embeddings by better leveraging the generated data. To this end, we propose a joint learning framework that couples re-id learning and data generation end-to-end. Our model involves a generative module that separately encodes each person into an appearance code and a structure code, and a discriminative module that shares the appearance encoder with the generative module. By switching the appearance or structure codes, the generative module is able to generate high-quality cross-id composed images, which are online fed back to the appearance encoder and used to improve the discriminative module. The proposed joint learning framework renders significant improvement over the baseline without using generated data, leading to the state-of-the-art performance on several benchmark datasets.
Motivation & Objective
- Reduce intra-class variation in person re-id by leveraging generated data.
- Couple discriminative and generative learning in a single network for end-to-end optimization.
- Learn disentangled appearance and structure codes to enable controllable image generation.
- Improve re-id embeddings by online feedback from synthesized images to the appearance encoder.
Proposed method
- Generative module with appearance encoder Ea, structure encoder Es, decoder G, and discriminator D to generate images by swapping appearance and structure codes.
- Two generation strategies: self-identity generation (reconstructs an image from itself and from another image of the same identity) and cross-identity generation (generates images from one appearance code and a different structure code).
- Latent-code supervision includes appearance and structure reconstructions, pixel-wise L1 image reconstruction losses, and latent code reconstructions to enforce consistency.
- Cross-identity generation includes an appearance-code based identity supervision and adversarial loss to align synthetic data with real data distribution.
- Discriminative module shares Ea as backbone, with two heads for primary feature learning and fine-grained feature mining, guided by dynamically labeled synthetic samples from a teacher model.
- Optimization combines image and code reconstruction losses, identity losses, adversarial loss, and the two discriminative losses, with carefully scheduled weights to stabilize training.
Experimental results
Research questions
- RQ1Can end-to-end coupling of discriminative and generative learning improve re-id performance by making generated data more task-relevant?
- RQ2How can disentangled appearance and structure codes enable controllable generation that covers intra- and cross-identity variations for re-id training?
- RQ3Does online feedback from synthesized cross-id images to the appearance encoder consistently enhance re-id embedding quality?
- RQ4What is the impact of primary feature learning and fine-grained feature mining on re-id accuracy when using generated data?
Key findings
- The proposed DG-Net achieves state-of-the-art re-id performance on benchmark datasets, outperforming baselines and competing methods.
- Generated images that swap appearance or structure codes are realistic and diverse, with ablation studies showing degraded quality without online feedback or identity supervision.
- A two-fold discriminative strategy (primary feature learning and fine-grained feature mining) leveraging synthetic data yields substantial gains over a baseline re-id model.
- End-to-end joint training with online generated data provides larger improvements than training on offline generated samples alone.
- Quantitative results demonstrate notable improvements in Rank@1 and mAP across Market-1501, DukeMTMC-reID, and MSMT17, with DG-Net achieving leading scores without post-processing steps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.