SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2106.05319 · ICLR · 2022

Stein Latent Optimization for Generative Adversarial Networks

Sungroh Yoon, Hyungyu Lee, Uiwon Hwang, Heeseung Kim, Dahuin Jung, Hyemi Jang

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2106.05319.json · badge: /api/ran/2106.05319.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
shinyflight/SLOGAN marked official in Papers with Code
Papers with Code archive
3 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
arcface Ran
ran, honoured the contract we drafted
shinyflight/SLOGAN/slogan_cifar2.py
pointer only (licence: NOASSERTION) · get_code("6ea0806448657822")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shinyflight/SLOGAN (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_similarity Ran
ran, violated the contract we drafted
shinyflight/SLOGAN/slogan_cifar2.py
pointer only (licence: NOASSERTION) · get_code("effae2ca204c6bfd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shinyflight/SLOGAN (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_similarity_matrix Ran
ran, violated the contract we drafted
shinyflight/SLOGAN/slogan_cifar2.py
pointer only (licence: NOASSERTION) · get_code("5ab5c90dcea6bcef")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shinyflight/SLOGAN (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unpickle Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from renyi-ai/moreau-yosida-f-divergences
pointer only; the stored copy get_code serves, from renyi-ai/moreau-yosida-f-divergences, is pointer only (licence: NONE) · get_code("c41924e881d94c2e")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_contrastive_loss Not yet run
unverified (harvested, no recorded run)
shinyflight/SLOGAN/slogan_cifar2.py
pointer only (licence: NOASSERTION) · get_code("30d2efd203b69262")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shinyflight/SLOGAN (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

remove_diag Not yet run
unverified (harvested, no recorded run)
shinyflight/SLOGAN/slogan_cifar2.py
pointer only (licence: NOASSERTION) · get_code("4eccf0c138321d1d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, shinyflight/SLOGAN (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
unpickle 2 other papers
2 dated earlier
1907.05681 (2019-07)
Adversarial Lipschitz Regularization
2102.13416 (2021-02)
Moreau-Yosida f -divergences

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Generative adversarial networks (GANs) with clustered latent spaces can perform conditional generation in a completely unsupervised manner. In the real world, the salient attributes of unlabeled data can be imbalanced. However, most of existing unsupervised conditional GANs cannot cluster attributes of these data in their latent spaces properly because they assume uniform distributions of the attributes. To address this problem, we theoretically derive Stein latent optimization that provides reparameterizable gradient estimations of the latent distribution parameters assuming a Gaussian mixture prior in a continuous latent space. Structurally, we introduce an encoder network and novel unsupervised conditional contrastive loss to ensure that data generated from a single mixture component represent a single attribute. We confirm that the proposed method, named Stein Latent Optimization for GANs (SLOGAN), successfully learns balanced or imbalanced attributes and achieves state-of-the-art unsupervised conditional generation performance even in the absence of attribute information (e.g., the imbalance ratio). Moreover, we demonstrate that the attributes to be learned can be manipulated using a small amount of probe data.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2106.05319")
get_code_for_paper("2106.05319")
have("2106.05319")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2106.05319.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2106.05319.svg)](https://syntology.ai/paper/2106.05319)

Connect an agent — have() is free.