Papers › CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs

CoordGAN: Self-Supervised Dense Correspondences Emerge from GANs

30 Mar 2022CVPR 2022 1arXiv:2203.16521archive 2025-07-28

Jiteng Mu, Shalini De Mello, Zhiding Yu, Nuno Vasconcelos, Xiaolong Wang, Jan Kautz, Sifei Liu

Recent advances show that Generative Adversarial Networks (GANs) can synthesize images with smooth variations along semantically meaningful latent directions, such as pose, expression, layout, etc. While this indicates that GANs implicitly learn pixel-level correspondences across images, few studies explored how to extract them explicitly. In this work, we introduce Coordinate GAN (CoordGAN), a structure-texture disentangled GAN that learns a dense correspondence map for each generated image. We represent the correspondence maps of different images as warped coordinate frames transformed from a canonical coordinate frame, i.e., the correspondence map, which describes the structure (e.g., the shape of a face), is controlled via a transformation. Hence, finding correspondences boils down to locating the same coordinate in different correspondence maps. In CoordGAN, we sample a transformation to represent the structure of a synthesized instance, while an independent texture branch is responsible for rendering appearance details orthogonal to the structure. Our approach can also extract dense correspondence maps for real images by adding an encoder on top of the generator. We quantitatively demonstrate the quality of the learned dense correspondences through segmentation mask transfer on multiple datasets. We also show that the proposed generator achieves better structure and texture disentanglement compared to existing approaches. Project page: https://jitengmu.github.io/CoordGAN/

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

Code

Syntology Ran 6 of 16 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

NVlabs/CoordGAN officialmentioned 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

16 samples harvested; 6 ran; 0 honoured the contract we drafted; 10 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.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
3ran
10unverified

Licence: 0 of the 16 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 NVlabs/CoordGAN. “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.

d_r1_loss NVlabs/CoordGAN/loss/gan_loss.py official repository ran · fixture could not drive it MIT (permissive) · 0693ac46c6c25e65 · report
default_loader NVlabs/CoordGAN/dataset.py official repository ran MIT (permissive) · ac269a0e4b8d946e · report
normalize_tensor NVlabs/CoordGAN/loss/lpips_loss.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7257fdf155f5ef45 · report
reduce_sum NVlabs/CoordGAN/distributed.py official repository ran fingerprinted MIT (permissive) · 3f0a1105ef251d78 · report
spatial_average NVlabs/CoordGAN/loss/lpips_loss.py official repository ran fingerprinted MIT (permissive) · e268053216b1dd62 · report
str2bool NVlabs/CoordGAN/eval_corr.py official repository ran · violated contract MIT (permissive) · 7c508037b40522af · report
all_gather NVlabs/CoordGAN/distributed.py official repository unverified MIT (permissive) · ed03ba54397adbe4 · report
apply_random_crop NVlabs/CoordGAN/loss/patchgan_loss.py official repository unverified MIT (permissive) · 0e2078aff3bb57c9 · report
compute_patch_discriminator_losses NVlabs/CoordGAN/loss/patchgan_loss.py official repository unverified MIT (permissive) · 484375c2ea0102d8 · report
d_logistic_loss NVlabs/CoordGAN/loss/gan_loss.py official repository unverified MIT (permissive) · e88ba1e8aa95eea5 · report
g_nonsaturating_loss NVlabs/CoordGAN/loss/gan_loss.py official repository unverified MIT (permissive) · f8b6363145aa25ad · report
get_cor_img NVlabs/CoordGAN/loss/warp_loss.py official repository unverified MIT (permissive) · 80db4290f1bdf5c9 · report
get_random_crops NVlabs/CoordGAN/loss/patchgan_loss.py official repository unverified MIT (permissive) · 89c6b5dda075f671 · report
is_image_file NVlabs/CoordGAN/dataset.py official repository unverified MIT (permissive) · 08750a49987bd9a5 · report
make_dataset NVlabs/CoordGAN/dataset.py official repository unverified MIT (permissive) · 7a422a9212828aec · report
reduce_loss_dict NVlabs/CoordGAN/distributed.py official repository unverified MIT (permissive) · 5144ad456049f8ce · report

Tasks

Disentanglement

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