SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2012.04781 · ICLR · 2021

You Only Need Adversarial Supervision for Semantic Image Synthesis

Dan Zhang, Bernt Schiele, Vadim Sushko, Edgar Schönfeld, Anna Khoreva

arXiv · PDF · Open in the Atlas

Code that ran

1 of 7 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 6 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/2012.04781.json · badge: /api/ran/2012.04781.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
boschresearch/OASIS marked official in Papers with Code
Papers with Code archive
1 ran · 6 no recorded run
FunctionStatusWhere it lives
get_spectral_norm Ran
ran; our contract draft was wrong, not the code
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("6aa177345c607564")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

OASIS_Generator Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("e8bd9b95b121b2d8")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

ResnetBlock_with_SPADE Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("82a67c279130d1cc")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

SPADE Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("1dbb4eb3753005ea")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

SynchronizedBatchNorm2d Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("f8702e039957dd78")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

_SynchronizedBatchNorm Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("978474dc09509a4f")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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.

get_norm_layer Not yet run
unverified (harvested, no recorded run)
boschresearch/OASIS/models/generator.py
pointer only (licence: AGPL-3.0) · get_code("b5fffb8bee3c2968")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, boschresearch/OASIS, is not in the permissive set Syntology serves inline. 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 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
SynchronizedBatchNorm2d
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2203.16898 (2022-03)
Semantic-shape Adaptive Feature Modulation for Semantic Image Synthesis
2207.06124 (2022-07)
DynaST: Dynamic Sparse Transformer for Exemplar-Guided Image Generation
_SynchronizedBatchNorm
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2203.16898 (2022-03)
Semantic-shape Adaptive Feature Modulation for Semantic Image Synthesis

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

Despite their recent successes, GAN models for semantic image synthesis still suffer from poor image quality when trained with only adversarial supervision. Historically, additionally employing the VGG-based perceptual loss has helped to overcome this issue, significantly improving the synthesis quality, but at the same time limiting the progress of GAN models for semantic image synthesis. In this work, we propose a novel, simplified GAN model, which needs only adversarial supervision to achieve high quality results. We re-design the discriminator as a semantic segmentation network, directly using the given semantic label maps as the ground truth for training. By providing stronger supervision to the discriminator as well as to the generator through spatially-and semantically-aware discriminator feedback, we are able to synthesize images of higher fidelity with better alignment to their input label maps, making the use of the perceptual loss superfluous. Moreover, we enable high-quality multi-modal image synthesis through global and local sampling of a 3D noise tensor injected into the generator, which allows complete or partial image change. We show that images synthesized by our model are more diverse and follow the color and texture distributions of real images more closely. We achieve an average improvement of 6 FID and 5 mIoU points over the state of the art across different datasets using only adversarial supervision.

For agents

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

get_harvested_code_for_paper("2012.04781")
get_code_for_paper("2012.04781")
have("2012.04781")

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

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

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

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

Connect an agent — have() is free.