SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1811.03205 · 2018

Robustness of Conditional GANs to Noisy Labels

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 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, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/1811.03205.json · badge: /api/ran/1811.03205.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
POLane16/Robust-Conditional-GAN canonical (classifier label)
classifier basis: census
6 ran · 7 no recorded run
FunctionStatusWhere it lives
MultiScaleSSIM Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
POLane16/Robust-Conditional-GAN/cifar10/common/msssim.py
code served (permissive licence) · get_code("2ec0891e6548e951")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create two image batches with shape [batch_size, height, width, depth]
# Using distinct dimensions: batch=2, height=32, width=48, depth=3 (RGB)
batch_size = 2
height = 32
width = 48
depth = 3

np.random.seed(0)

# Create two similar but not identical image batches
img1 = np.random.randint(0, 256, (batch_size, height, width, depth), dtype=np.uint8)
img2 = np.random.randint(0, 256, (batch_size, height, width, depth), dtype=np.uint8)

# Construct the ARGS dictionary with all parameters for MultiScaleSSIM
ARGS = {
    'img1': img1,
    'img2': img2,
    'max_val': 255,
    'filter_size': 11,
    'filter_sigma': 1.5,
    'k1': 0.01,
    'k2': 0.03,
    'weights': [0.0448, 0.2856, 0.3001, 0.2363, 0.1333]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv_out_size_same Ran
ran, honoured the contract we drafted
POLane16/Robust-Conditional-GAN/mnist/model.py
pointer only (licence: MIT); the stored copy get_code serves, from xtarx/Unsupervised-Anomaly-Detection-with-Generative-Adversarial-Networks, is pointer only (licence: NONE) · get_code("40125e1efb67fa92")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xtarx/Unsupervised-Anomaly-Detection-with-Generative-Adversarial-Networks, and GitHub detected no licence in that repository when it was checked. 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.

custom_crop Ran
ran on a synthesized input
POLane16/Robust-Conditional-GAN/cifar10/common/misc.py
code served (permissive licence) · get_code("fc22db7fa7e0e135")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family int, shape (100, 110, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small test image with shape (height, width, channels)
# Using shape (100, 120, 3) for a small RGB image
img = np.random.randint(0, 256, size=(100, 120, 3), dtype=np.uint8)

# Create a bounding box [x1, y1, x2, y2]
# Using reasonable values within the image dimensions
bbox = [30, 20, 80, 70]

ARGS = {
    "img": img,
    "bbox": bbox
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (100, 110, 3) — shape (100, 110, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_image Ran
ran on a synthesized input
POLane16/Robust-Conditional-GAN/cifar10/common/misc.py
code served (permissive licence) · get_code("c69f8aa044146a22")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import imageio
import scipy.misc
from unittest.mock import patch, MagicMock

# Create a small synthetic image (height=64, width=64, channels=3)
synthetic_image = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8).astype(np.float32)

# Define a bounding box [x1, y1, x2, y2]
bbox = [10, 10, 50, 50]

# Mock imageio.imread to return our synthetic image
def mock_imread(path):
    return synthetic_image

# Patch imageio.imread globally
with patch('imageio.imread', side_effect=mock_imread):
    pass

ARGS = {
    'image_path': '/fake/path/to/image.jpg',
    'image_size': 32,
    'is_crop': True,
    'bbox': bbox
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
imageio, numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
nonlinearity Ran
ran on a synthesized input
POLane16/Robust-Conditional-GAN/cifar10/gan_resnet.py
code served (permissive licence) · get_code("e98109fb35cf54c3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SymbolicTensor. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# Create a small test tensor (batch_size=2, features=4)
x = tf.constant(np.random.randn(2, 4).astype(np.float32))

ARGS = {
    'x': x,
    'activation_fn': 'relu',
    'leakiness': 0.2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
preds2score Ran
ran on a synthesized input
POLane16/Robust-Conditional-GAN/cifar10/common/inception/inception_score.py
code served (permissive licence) · get_code("7fdc6f75b649fe37")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Create a valid predictions array
# Shape: (batch_size, num_classes)
# Must be probability-like (positive values that sum to 1 across classes for each sample)
batch_size = 10
num_classes = 4
preds = np.random.dirichlet(np.ones(num_classes), size=batch_size)

# Number of splits to divide the predictions into
splits = 2

ARGS = {
    "preds": preds,
    "splits": splits,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv_cond_concat Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/ops.py
code served (permissive licence) · get_code("97a17fbee43a92bd")
How it ran

no invocation recorded.

deconv2d Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/ops.py
code served (permissive licence) · get_code("f43eeb47efdaf9c4")
How it ran

no invocation recorded.

get_image Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/utils.py
code served (permissive licence) · get_code("a0b95d6b4e00d081")
How it ran

no invocation recorded.

imread Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/utils.py
code served (permissive licence) · get_code("f2972a3201c29e83")
How it ran

no invocation recorded.

save_images Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/utils.py
code served (permissive licence) · get_code("3218db3da6c1ad6c")
How it ran

no invocation recorded.

spectral_normed_weight Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/mnist/sn.py
code served (permissive licence) · get_code("805d7edd87867aad")
How it ran

no invocation recorded.

transform Not yet run
unverified (harvested, no recorded run)
POLane16/Robust-Conditional-GAN/cifar10/common/misc.py
code served (permissive licence) · get_code("b67362dfc6797565")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 8 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 6 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
save_images 7 other papers
2 dated earlier, 5 later
1703.03208 (2017-03)
Compressed Sensing using Generative Models
1802.08406 (2018-02)
Solving Linear Inverse Problems Using GAN Priors: An Algorithm with Provable Guarantees
1907.10830 (2019-07)
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
and 4 more not named here
conv_out_size_same 6 other papers
3 dated earlier, 3 later
1511.06434 (2015-11)
Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
1703.05921 (2017-03)
Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery
1804.04391 (2018-04)
MGGAN: Solving Mode Collapse using Manifold Guided Training
and 3 more not named here
MultiScaleSSIM 3 other papers
1 dated earlier, 2 later
1611.01704 (2016-11)
End-to-end Optimized Image Compression
2001.01568 (2020-01)
Learned Image Compression with Discretized Gaussian Mixture Likelihoods and Attention Modules
2109.03082 (2021-09)
Perceptual Learned Video Compression with Recurrent Conditional GAN
conv_cond_concat 2 other papers
1 dated earlier, 1 later
1703.05921 (2017-03)
Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery
2202.07857 (2022-02)
Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series
custom_crop 2 other papers
2 dated earlier
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
transform 2 other papers
2 dated earlier
1612.03242 (2016-12)
StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
1710.10916 (2017-10)
StackGAN++: Realistic Image Synthesis with Stacked Generative Adversarial Networks
deconv2d 1 other paper
1 later
2202.07857 (2022-02)
Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series
get_image 1 other paper
1 later
2202.07857 (2022-02)
Graph-Augmented Normalizing Flows for Anomaly Detection of Multiple Time Series

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

Repositories linked to this paper

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

Abstract

We study the problem of learning conditional generators from noisy labeled samples, where the labels are corrupted by random noise. A standard training of conditional GANs will not only produce samples with wrong labels, but also generate poor quality samples. We consider two scenarios, depending on whether the noise model is known or not. When the distribution of the noise is known, we introduce a novel architecture which we call Robust Conditional GAN (RCGAN). The main idea is to corrupt the label of the generated sample before feeding to the adversarial discriminator, forcing the generator to produce samples with clean labels. This approach of passing through a matching noisy channel is justified by corresponding multiplicative approximation bounds between the loss of the RCGAN and the distance between the clean real distribution and the generator distribution. This shows that the proposed approach is robust, when used with a carefully chosen discriminator architecture, known as projection discriminator. When the distribution of the noise is not known, we provide an extension of our architecture, which we call RCGAN-U, that learns the noise model simultaneously while training the generator. We show experimentally on MNIST and CIFAR-10 datasets that both the approaches consistently improve upon baseline approaches, and RCGAN-U closely matches the performance of RCGAN.

For agents

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

get_harvested_code_for_paper("1811.03205")
get_code_for_paper("1811.03205")
have("1811.03205")

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

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

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

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

Connect an agent — have() is free.