Papers › Unsupervised Domain Adaptation in the Dissimilarity Space for Person Re-identification

Unsupervised Domain Adaptation in the Dissimilarity Space for Person Re-identification

27 Jul 2020ECCV 2020 8arXiv:2007.13890archive 2025-07-28

Djebril Mekhazni, Amran Bhuiyan, George Ekladious, Eric Granger

Person re-identification (ReID) remains a challenging task in many real-word video analytics and surveillance applications, even though state-of-the-art accuracy has improved considerably with the advent of deep learning (DL) models trained on large image datasets. Given the shift in distributions that typically occurs between video data captured from the source and target domains, and absence of labeled data from the target domain, it is difficult to adapt a DL model for accurate recognition of target data. We argue that for pair-wise matchers that rely on metric learning, e.g., Siamese networks for person ReID, the unsupervised domain adaptation (UDA) objective should consist in aligning pair-wise dissimilarity between domains, rather than aligning feature representations. Moreover, dissimilarity representations are more suitable for designing open-set ReID systems, where identities differ in the source and target domains. In this paper, we propose a novel Dissimilarity-based Maximum Mean Discrepancy (D-MMD) loss for aligning pair-wise distances that can be optimized via gradient descent. From a person ReID perspective, the evaluation of D-MMD loss is straightforward since the tracklet information allows to label a distance vector as being either within-class or between-class. This allows approximating the underlying distribution of target pair-wise distances for D-MMD loss optimization, and accordingly align source and target distance distributions. Empirical results with three challenging benchmark datasets show that the proposed D-MMD loss decreases as source and domain distributions become more similar. Extensive experimental evaluation also indicates that UDA methods that rely on the D-MMD loss can significantly outperform baseline and state-of-the-art UDA methods for person ReID without the common requirement for data augmentation and/or complex networks.

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="2007.13890")

Code

Syntology Ran 2 of 19 code samples harvested from 2 repositories linked to this paper; 17 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

By repository: official repository: 10 samples from 1 repository, 2 ran; community (archive-listed): 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

djidje/D-MMD officialmentioned in papermentioned on GitHubpytorchMIT report
fremigereau/mtda_kd_reid mentioned on GitHubpytorchMIT 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; 2 ran; 0 honoured the contract we drafted; 17 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
17unverified

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 2 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.

conv1x1 djidje/D-MMD/torchreid/models/resnet.py official repository ran · our draft was wrong MIT (permissive) · 158bf4c3a5f11f04 · report
conv3x3 djidje/D-MMD/torchreid/models/resnet.py official repository ran · our draft was wrong MIT (permissive) · 29df79c9fdb0cee8 · report
accuracy djidje/D-MMD/torchreid/metrics/accuracy.py official repository unverified MIT (permissive) · 3f035a8f26b7201e · report
compute_distance_matrix djidje/D-MMD/torchreid/metrics/distance.py official repository unverified MIT (permissive) · 47abff66686e1367 · report
cosine_distance djidje/D-MMD/torchreid/metrics/distance.py official repository unverified MIT (permissive) · e8878931ade705ee · report
euclidean_squared_distance djidje/D-MMD/torchreid/metrics/distance.py official repository unverified MIT (permissive) · 7f07c9c709558f20 · report
hook_convNd djidje/D-MMD/torchreid/utils/model_complexity.py official repository unverified MIT (permissive) · 864af8714b01d899 · report
hook_maxpool1d djidje/D-MMD/torchreid/utils/model_complexity.py official repository unverified MIT (permissive) · 3da6ed703abc90f2 · report
hook_maxpool2d djidje/D-MMD/torchreid/utils/model_complexity.py official repository unverified MIT (permissive) · ac37e89d43b7c73b · report
resnet50 djidje/D-MMD/torchreid/models/resnet.py official repository unverified MIT (permissive) · 1b930b1d1d88f2b9 · report
adjoint fremigereau/mtda_kd_reid/torchreid/losses/log_euclid_loss.py community (archive-listed) unverified MIT (permissive) · a8784aa9b1f9f43d · report
init_pretrained_weights fremigereau/mtda_kd_reid/torchreid/models/osnet.py community (archive-listed) unverified MIT (permissive) · 64a159f6f4dbec43 · report
logm fremigereau/mtda_kd_reid/torchreid/losses/log_euclid_loss.py community (archive-listed) unverified MIT (permissive) · ad3e59b7ac358ac0 · report
logm_scipy fremigereau/mtda_kd_reid/torchreid/losses/log_euclid_loss.py community (archive-listed) unverified MIT (permissive) · a3c2efa887b61229 · report
mobilenetv2_x1_0 fremigereau/mtda_kd_reid/torchreid/models/mobilenetv2.py community (archive-listed) unverified MIT (permissive) · a3b2dfaeb8242a74 · report
mobilenetv2_x1_4 fremigereau/mtda_kd_reid/torchreid/models/mobilenetv2.py community (archive-listed) unverified MIT (permissive) · 85fe509123aeb62c · report
osnet_x0_75 fremigereau/mtda_kd_reid/torchreid/models/osnet.py community (archive-listed) unverified MIT (permissive) · e16bb8aa7f328ab6 · report
osnet_x1_0 fremigereau/mtda_kd_reid/torchreid/models/osnet.py community (archive-listed) unverified MIT (permissive) · 33e115bbbea25b98 · report
resnet18 fremigereau/mtda_kd_reid/torchreid/models/resnet.py community (archive-listed) unverified MIT (permissive) · d0707f6bcff796e4 · report

Tasks

Data AugmentationDomain AdaptationMetric LearningPerson Re-IdentificationUnsupervised Domain Adaptation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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