Papers › Closed-Form Factorization of Latent Semantics in GANs

Closed-Form Factorization of Latent Semantics in GANs

13 Jul 2020CVPR 2021 1arXiv:2007.06600archive 2025-07-28

Yujun Shen, Bolei Zhou

A rich set of interpretable dimensions has been shown to emerge in the latent space of the Generative Adversarial Networks (GANs) trained for synthesizing images. In order to identify such latent dimensions for image editing, previous methods typically annotate a collection of synthesized samples and train linear classifiers in the latent space. However, they require a clear definition of the target attribute as well as the corresponding manual annotations, limiting their applications in practice. In this work, we examine the internal representation learned by GANs to reveal the underlying variation factors in an unsupervised manner. In particular, we take a closer look into the generation mechanism of GANs and further propose a closed-form factorization algorithm for latent semantic discovery by directly decomposing the pre-trained weights. With a lightning-fast implementation, our approach is capable of not only finding semantically meaningful dimensions comparably to the state-of-the-art supervised methods, but also resulting in far more versatile concepts across multiple GAN models trained on a wide range of 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="2007.06600")

Code

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

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

HideUnderBush/UI2I_via_StyleGAN2 mentioned on GitHubpytorchNOASSERTION report
akashgit/stylegan2_wt mentioned on GitHubpytorchMIT report
dkn16/stylegan2-pytorch mentioned on GitHubpytorch report
genforce/sefa mentioned on GitHubpytorch report
happy-jihye/Cartoon-StyleGAN mentioned on GitHubpytorch report
happy-jihye/Cartoon-StyleGan2 mentioned on GitHubpytorch report
kostagiolasn/satconcepts mentioned on GitHubpytorchMIT report
phymhan/stylegan2-pytorch mentioned on GitHubpytorch report
rosinality/stylegan2-pytorch mentioned on GitHubpytorch report
woctezuma/steam-stylegan2 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

14 samples harvested; 7 ran; 0 honoured the contract we drafted; 7 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
3ran · our draft was wrong
2ran · fixture could not drive it
1ran
7unverified

Licence: 0 of the 14 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 3 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.

calc_fid akashgit/stylegan2_wt/fid.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · e6c1de4697e7ed81 · report
convert_conv akashgit/stylegan2_wt/convert_weight.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 7fe245a7216ae67b · report
convert_modconv akashgit/stylegan2_wt/convert_weight.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 1c7cd5abc48bcf75 · report
convert_torgb akashgit/stylegan2_wt/convert_weight.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 96b279b9ef818d94 · report
make_kernel akashgit/stylegan2_wt/model.py community (archive-listed) ran · violated contract MIT (permissive) · 6f65e378a4313f87 · report
reduce_sum akashgit/stylegan2_wt/distributed.py community (archive-listed) ran fingerprinted MIT (permissive) · 3f0a1105ef251d78 · report
sample genforce/sefa/interface.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · c829d5c7718a2fb6 · report
all_gather akashgit/stylegan2_wt/distributed.py community (archive-listed) unverified MIT (permissive) · ed03ba54397adbe4 · report
extract_feature_from_samples akashgit/stylegan2_wt/fid.py community (archive-listed) unverified MIT (permissive) · 7284618ab4d5847d · report
extract_features akashgit/stylegan2_wt/calc_inception.py community (archive-listed) unverified MIT (permissive) · 826a4bfd8b5cb2fc · report
make_image kostagiolasn/Unsupervised-Discovery-of-Semantic-Concepts-in-Satellite-Imagery-with-Style-based-Wavelet-driven-Gen/apply_factor.py community (archive-listed) unverified MIT (permissive) · 3a06aea8ca067253 · report
reduce_loss_dict akashgit/stylegan2_wt/distributed.py community (archive-listed) unverified MIT (permissive) · 5144ad456049f8ce · report
score_2afc_dataset kostagiolasn/Unsupervised-Discovery-of-Semantic-Concepts-in-Satellite-Imagery-with-Style-based-Wavelet-driven-Gen/lpips/dist_model.py community (archive-listed) unverified MIT (permissive) · 514dd3c0eee3691c · report
score_jnd_dataset kostagiolasn/Unsupervised-Discovery-of-Semantic-Concepts-in-Satellite-Imagery-with-Style-based-Wavelet-driven-Gen/lpips/dist_model.py community (archive-listed) unverified MIT (permissive) · 581c80d602289d6d · report

Tasks

AttributeFormImage GenerationImage Manipulation

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