Papers › Joint Discriminative and Generative Learning for Person Re-identification

Joint Discriminative and Generative Learning for Person Re-identification

15 Apr 2019CVPR 2019 6arXiv:1904.07223archive 2025-07-28

Zhedong Zheng, Xiaodong Yang, Zhiding Yu, Liang Zheng, Yi Yang, Jan Kautz

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1904.07223")

Code

Syntology Ran 3 of 19 code samples harvested from 5 repositories linked to this paper; 16 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 19 samples from 5 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Demonhesusheng/Reid mentioned on GitHubpytorchMIT report
NVlabs/DG-Net mentioned on GitHubpytorchNOASSERTION report
Proxim123/person-reID-No1- mentioned on GitHubpytorchMIT report
WuRui-Ella/Myfirststore mentioned on GitHubpytorchNOASSERTION report
ivychill/reid mentioned on GitHubpytorchMIT report
jiangsikai/Person_reID_baseline_pytorch mentioned on GitHubpytorch report
layumi/DG-Net mentioned on GitHubpytorch report
layumi/Person_reID_baseline_pytorch mentioned on GitHubpytorch report
lsh110600/person_re_id mentioned on GitHubpytorch report
taroogura/Person_reID_baseline_pytorch mentioned on GitHubpytorchMIT report
wxb589/Person_reID_baseline_pytorch-master mentioned on GitHubpytorchMIT report
youwenjing/reid_mgn-dgnet mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 3 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
16unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

euclidean_dist ivychill/reid/loss.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · c83d9f7fca950b77 · report
fliplr ivychill/reid/evaluate_online.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · e324277ab874fc3a · report
normalize ivychill/reid/loss.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · e3b2a83f52101f2d · report
compute_mAP Proxim123/person-reID-No1-/evaluate.py community (archive-listed) unverified MIT (permissive) · 3f91b09177ddeb33 · report
compute_mAP ivychill/reid/reid_metric.py community (archive-listed) unverified MIT (permissive) · 5ae586aedc34bdd6 · report
eval_func ivychill/reid/reid_metric.py community (archive-listed) unverified MIT (permissive) · 979f7c2f5bb4a9ec · report
evaluate jiangsikai/Person_reID_baseline_pytorch/evaluate.py community (archive-listed) unverified MIT (permissive) · 3713e246e333c32a · report
evaluate lsh110600/person_re_id/evaluate_gpu.py community (archive-listed) unverified MIT (permissive) · aa35d5d95fb54d49 · report
evaluate Proxim123/person-reID-No1-/evaluate_rerank.py community (archive-listed) unverified MIT (permissive) · c3d73c7bc76855c8 · report
evaluate taroogura/Person_reID_baseline_pytorch/evaluate_gpu.py community (archive-listed) unverified MIT (permissive) · a87e51760037d9e3 · report
getDataFromTxt ivychill/reid/data_split.py community (archive-listed) unverified MIT (permissive) · c5ee3b062fa991cd · report
get_id ivychill/reid/evaluate_online.py community (archive-listed) unverified MIT (permissive) · 1647e452ac25bf3c · report
hard_example_mining ivychill/reid/loss.py community (archive-listed) unverified MIT (permissive) · 93f2c0b80ea7f36e · report
k_reciprocal_neigh Proxim123/person-reID-No1-/re_ranking.py community (archive-listed) unverified MIT (permissive) · a610e67edff490e6 · report
re_ranking Proxim123/person-reID-No1-/re_ranking.py community (archive-listed) unverified MIT (permissive) · 59df0fc45b7bbcca · report
read_image ivychill/reid/dataset_loader.py community (archive-listed) unverified MIT (permissive) · 6cd98fed94c1be75 · report
selectDataFromDataDic ivychill/reid/data_split.py community (archive-listed) unverified MIT (permissive) · 4fb1bffe87902d0a · report
sort_img taroogura/Person_reID_baseline_pytorch/demo1.py community (archive-listed) unverified MIT (permissive) · 52efb1cc6b07efc4 · report
splitQueryDataGallayrData ivychill/reid/data_split.py community (archive-listed) unverified MIT (permissive) · 29539deb062cf054 · report

Tasks

Image GenerationImage-to-Image TranslationPerson Re-IdentificationUnsupervised Domain AdaptationUnsupervised Person Re-Identification

Datasets

Introduced by this paper, per the archive.

12 Best Undress AI Apps In 2025 (Free & Paid)

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Person Re-Identification CUHK03 DG-Net MAP 61.1 #13 of 19 Archive leaderboard report
Person Re-Identification CUHK03 DG-Net Rank-1 65.6 #13 of 19 Archive leaderboard report
Person Re-Identification DukeMTMC-reID DG-Net(RK) Rank-1 90.26 #17 of 94 Archive leaderboard report
Person Re-Identification DukeMTMC-reID DG-Net(RK) mAP 88.31 #17 of 94 Archive leaderboard report
Person Re-Identification DukeMTMC-reID DG-Net Rank-1 86.6 #57 of 94 Archive leaderboard report
Person Re-Identification DukeMTMC-reID DG-Net mAP 74.8 #57 of 94 Archive leaderboard report
Person Re-Identification MSMT17 DG-Net Rank-1 77.2 #34 of 43 Archive leaderboard report
Person Re-Identification MSMT17 DG-Net Rank-10 90.5 #34 of 43 Archive leaderboard report
Person Re-Identification MSMT17 DG-Net Rank-5 87.4 #34 of 43 Archive leaderboard report
Person Re-Identification MSMT17 DG-Net mAP 52.3 #34 of 43 Archive leaderboard report
Person Re-Identification Market-1501 DG-Net(RK) Rank-1 95.4 #60 of 135 Archive leaderboard report
Person Re-Identification Market-1501 DG-Net(RK) mAP 92.49 #60 of 135 Archive leaderboard report
Person Re-Identification Market-1501 DG-Net Rank-1 94.8 #73 of 135 Archive leaderboard report
Person Re-Identification Market-1501 DG-Net mAP 86.0 #73 of 135 Archive leaderboard report
Person Re-Identification Market-1501-C DG-Net Rank-1 31.75 #11 of 22 Archive leaderboard report
Person Re-Identification Market-1501-C DG-Net mAP 9.96 #11 of 22 Archive leaderboard report
Person Re-Identification Market-1501-C DG-Net mINP 0.35 #11 of 22 Archive leaderboard report
Person Re-Identification UAV-Human DG-Net Rank-1 65.81 #1 of 4 Archive leaderboard report
Person Re-Identification UAV-Human DG-Net Rank-5 85.71 #1 of 4 Archive leaderboard report
Person Re-Identification UAV-Human DG-Net mAP 61.97 #1 of 4 Archive leaderboard report
Unsupervised Domain Adaptation Duke to MSMT DG-Net mAP 6.35 #11 of 13 Archive leaderboard report
Unsupervised Domain Adaptation Duke to MSMT DG-Net rank-1 20.59 #11 of 13 Archive leaderboard report
Unsupervised Domain Adaptation Duke to MSMT DG-Net rank-10 37.04 #11 of 13 Archive leaderboard report
Unsupervised Domain Adaptation Duke to MSMT DG-Net rank-5 31.67 #11 of 13 Archive leaderboard report
Unsupervised Domain Adaptation Duke to Market DG-Net mAP 26.83 #23 of 26 Archive leaderboard report
Unsupervised Domain Adaptation Duke to Market DG-Net rank-1 56.12 #23 of 26 Archive leaderboard report
Unsupervised Domain Adaptation Duke to Market DG-Net rank-10 78.12 #23 of 26 Archive leaderboard report
Unsupervised Domain Adaptation Duke to Market DG-Net rank-5 72.18 #23 of 26 Archive leaderboard report
Unsupervised Domain Adaptation Market to Duke DG-Net mAP 24.25 #22 of 25 Archive leaderboard report
Unsupervised Domain Adaptation Market to Duke DG-Net rank-1 42.62 #22 of 25 Archive leaderboard report
Unsupervised Domain Adaptation Market to Duke DG-Net rank-10 64.63 #22 of 25 Archive leaderboard report
Unsupervised Domain Adaptation Market to Duke DG-Net rank-5 58.57 #22 of 25 Archive leaderboard report
Unsupervised Domain Adaptation Market to MSMT DG-Net mAP 5.41 #15 of 17 Archive leaderboard report
Unsupervised Domain Adaptation Market to MSMT DG-Net rank-1 17.11 #15 of 17 Archive leaderboard report
Unsupervised Domain Adaptation Market to MSMT DG-Net rank-10 31.62 #15 of 17 Archive leaderboard report
Unsupervised Domain Adaptation Market to MSMT DG-Net rank-5 26.66 #15 of 17 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->MSMT17 DGNet Rank-1 20.59 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->MSMT17 DGNet Rank-10 31.67 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->MSMT17 DGNet Rank-5 37.04 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->MSMT17 DGNet mAP 6.35 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->Market-1501 DGNet Rank-1 56.12 #6 of 8 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->Market-1501 DGNet Rank-10 72.18 #6 of 8 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->Market-1501 DGNet Rank-5 78.12 #6 of 8 Archive leaderboard report
Unsupervised Person Re-Identification DukeMTMC-reID->Market-1501 DGNet mAP 26.83 #6 of 8 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->DukeMTMC-reID DGNet Rank-1 61.89 #2 of 4 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->DukeMTMC-reID DGNet Rank-10 75.81 #2 of 4 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->DukeMTMC-reID DGNet Rank-5 80.34 #2 of 4 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->DukeMTMC-reID DGNet mAP 40.69 #2 of 4 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->Market-1501 DG-Net Rank-1 61.76 #2 of 3 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->Market-1501 DG-Net Rank-10 83.25 #2 of 3 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->Market-1501 DG-Net Rank-5 77.67 #2 of 3 Archive leaderboard report
Unsupervised Person Re-Identification MSMT17->Market-1501 DG-Net mAP 33.62 #2 of 3 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->DukeMTMC-reID DGNet Rank-1 42.62 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->DukeMTMC-reID DGNet Rank-10 64.63 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->DukeMTMC-reID DGNet Rank-5 58.57 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->DukeMTMC-reID DGNet mAP 24.25 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->MSMT17 DG-Net Rank-1 17.11 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->MSMT17 DG-Net Rank-10 26.66 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->MSMT17 DG-Net Rank-5 31.62 #6 of 7 Archive leaderboard report
Unsupervised Person Re-Identification Market-1501->MSMT17 DG-Net mAP 5.41 #6 of 7 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: DG-Net

DG-Net

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections