SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1910.05852 · 2019

Implicit competitive regularization in GANs

arXiv · PDF · Open in the Atlas

Code that ran

13 of 14 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 8 have no contract verdict; 4 failures of our instrument; 1 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/1910.05852.json · badge: /api/ran/1910.05852.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
devzhk/Implicit-Competitive-Regularization community (classifier label)
classifier basis not recorded on the link
8 ran · 1 no recorded run
wagenaartje/torch-cgd community (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran on a synthesized input
devzhk/Implicit-Competitive-Regularization/distributed.py
code served (permissive licence) · get_code("ed03ba54397adbe4")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import pickle

torch.manual_seed(0)

# The function all_gather takes one parameter: data
# It should be something that can be pickled and unpickled
# We'll use a simple dictionary containing a tensor and some other data

data = {
    'tensor': torch.randn(2, 4),
    'value': 42,
    'string': 'test'
}

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list 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
apply_given_rotation Ran
ran on a synthesized input
wagenaartje/torch-cgd/torch_cgd/solvers/gmres.py
code served (permissive licence) · get_code("b7914ea8af7be96d")
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. 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 torch

torch.manual_seed(0)

# Create a small Hessenberg-like matrix (5x5 for flexibility)
# The function indexes H[i, j], H[i+1, j], H[j, j], H[j+1, j]
# So we need at least j+2 rows and j+1 columns
H = torch.randn(5, 5, dtype=torch.float32)

# cs and ss are lists that store cosine and sine values
# They're indexed by i in range(j) and then cs[j], ss[j] are set
# So they need to be able to hold at least j+1 elements
cs = [torch.tensor(0.0) for _ in range(5)]
ss = [torch.tensor(0.0) for _ in range(5)]

# j is the column index where we're applying the rotation
# It must be valid such that j+1 < H.shape[0] (we access H[j+1, j])
j = 2

ARGS = {
    "H": H,
    "cs": cs,
    "ss": ss,
    "j": j
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
arnoldi Ran
ran on a synthesized input
wagenaartje/torch-cgd/torch_cgd/solvers/gmres.py
code served (permissive licence) · get_code("5c0dbc25ffbe6494")
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 Tensor, ndim 1, dtype family float, shape (4,) 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 torch

torch.manual_seed(0)

# Parameters for arnoldi function
# vec: a vector to orthonormalize (1D tensor)
# V: matrix of orthonormal vectors (2D tensor, each row is a vector)
# H: Hessenberg matrix to store coefficients (2D tensor)
# j: iteration index (int)

vec = torch.randn(4)
V = torch.randn(3, 4)
H = torch.zeros(4, 4)
j = 2

ARGS = {
    "vec": vec,
    "V": V,
    "H": H,
    "j": j,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) 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
cal_rotation Ran
ran on a synthesized input
wagenaartje/torch-cgd/torch_cgd/solvers/gmres.py
code served (permissive licence) · get_code("9ccb04835431ae7d")
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 torch

torch.manual_seed(0)

# The function cal_rotation takes two scalar or tensor elements a and b
# and computes a rotation using them. Looking at the function body:
# - a and b are used in arithmetic operations (a*a, b*b, division)
# - They should be numeric (scalars or tensors)
# 
# Based on the docstring, these are "element h in position j" and "position j+1",
# suggesting they are individual elements from a larger structure.
# We'll create small tensors as examples.

a = torch.tensor(3.0)
b = torch.tensor(4.0)

ARGS = {
    "a": a,
    "b": b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
d_logistic_loss Ran
ran; our contract draft was wrong, not the code
devzhk/Implicit-Competitive-Regularization/losses.py
code served (permissive licence) · get_code("3651db4e5ae8d189")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () 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 torch

torch.manual_seed(0)

# Create predictions from discriminator for real and fake samples
# These are typically logits (unbounded real values)
# Shape: (batch_size,) or (batch_size, 1) - using (batch_size,) for simplicity
real_pred = torch.randn(2)  # batch size 2
fake_pred = torch.randn(2)  # batch size 2

ARGS = {
    'real_pred': real_pred,
    'fake_pred': fake_pred
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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
d_r1_loss Ran
ran; our contract draft was wrong, not the code
devzhk/Implicit-Competitive-Regularization/losses.py
code served (permissive licence) · get_code("0143fef228211c97")
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 Tensor, ndim 0, dtype family float, shape () 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 torch
from torch import autograd

torch.manual_seed(0)

# real_pred needs to:
# - support .sum()
# - be differentiable w.r.t. real_img
# - have a shape that allows reshape(shape[0], -1)

# real_img needs to:
# - be a tensor with requires_grad=True
# - support autograd.grad with create_graph=True

batch_size = 2
spatial_dims = 4

real_img = torch.randn(batch_size, 3, spatial_dims, spatial_dims, requires_grad=True)

# Create real_pred by applying some operation to real_img so it's differentiable
real_pred = (real_img ** 2).sum(dim=[2, 3])  # Shape: (batch_size, 3)

ARGS = {
    "real_pred": real_pred,
    "real_img": real_img,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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_loss Ran
ran on a synthesized input
devzhk/Implicit-Competitive-Regularization/losses.py
code served (permissive licence) · get_code("b3537003a80eee42")
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 Tensor, ndim 0, dtype family float, shape () 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal discriminator model
class SimpleDiscriminator(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 1)
    
    def forward(self, x):
        return self.linear(x)

# Create instances
D = SimpleDiscriminator()

# Create tensors for d_real and d_fake (batch size 2, output dim 1)
d_real = torch.randn(2, 1)
d_fake = torch.randn(2, 1)

# Define ARGS dict with all parameters
ARGS = {
    'name': 'WGAN',
    'g_loss': True,
    'd_real': d_real,
    'd_fake': d_fake,
    'gp_weight': 0,
    'l2_weight': 0.01,
    'D': D
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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
gram_schmidt Ran
ran; our contract draft was wrong, not the code
devzhk/Implicit-Competitive-Regularization/GANs/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from mshahbazi72/cGANTransfer, is pointer only (licence: NONE) · get_code("c41836f3e51fa8f1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from mshahbazi72/cGANTransfer, 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.

ith_element Ran
ran on a synthesized input
wagenaartje/torch-cgd/torch_cgd/utils.py
code served (permissive licence) · get_code("302d868d4be5c1c5")
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 Tensor, ndim 0, dtype family float, shape () 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 torch

torch.manual_seed(0)

# The function iterates through params and calls torch.numel() on each element
# and accesses .flatten()[index] on tensor elements.
# So params should be an iterable of tensors.

params = [
    torch.randn(2, 3),      # 6 elements
    torch.randn(4, 5),      # 20 elements
    torch.randn(2, 2),      # 4 elements
]

index = 5  # Will skip first tensor (6 elements), land in second tensor at position 5-6=-1... 
           # Actually: first tensor has 6 elements, index=5 is in first tensor at position 5
           # Let's use index=10 to go past first tensor into second: skip 6, then index 4 in second

index = 10

ARGS = {
    "params": params,
    "index": index,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () 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
power_iteration Ran
ran; our contract draft was wrong, not the code
devzhk/Implicit-Competitive-Regularization/GANs/layers.py
code served (permissive licence) · get_code("28d3a35157f2916d")
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. 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# Construct valid arguments for power_iteration
# W: weight matrix that will be multiplied with u and v vectors
# Shape should allow matmul operations: (4, 3) so u (1, 4) @ W (4, 3) = (1, 3)
W = torch.randn(4, 3)

# u_: list of initial vectors
# Each should be a 1D tensor with size matching W's first dimension
u_ = [
    torch.randn(1, 4),
    torch.randn(1, 4),
]

# update: boolean flag
update = True

# eps: small epsilon for numerical stability
eps = 1e-12

ARGS = {
    "W": W,
    "u_": u_,
    "update": update,
    "eps": eps,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
reduce_loss_dict Ran
ran on a synthesized input
devzhk/Implicit-Competitive-Regularization/distributed.py
code served (permissive licence) · get_code("5144ad456049f8ce")
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 dict. 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 torch
from torch import distributed as dist

torch.manual_seed(0)

# Create a sample loss_dict with tensor values
# The function iterates over keys, stacks values, and performs distributed operations
loss_dict = {
    'loss_classifier': torch.tensor(0.5),
    'loss_box_reg': torch.tensor(0.3),
    'loss_objectness': torch.tensor(0.2),
}

ARGS = {
    'loss_dict': loss_dict,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
reduce_sum Ran
ran, honoured the contract we drafted
devzhk/Implicit-Competitive-Regularization/distributed.py
code served (permissive licence) · get_code("3f0a1105ef251d78")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
import torch.nn as nn
from torch import distributed as dist

torch.manual_seed(0)

# The function takes a single parameter: tensor
# It calls .clone() on it and passes it to dist.all_reduce()
# So we need a torch.Tensor

tensor = torch.randn(2, 4)

ARGS = {
    "tensor": tensor
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
vectorize Ran
ran on a synthesized input
wagenaartje/torch-cgd/torch_cgd/utils.py
code served (permissive licence) · get_code("480f12ea8540663b")
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 Tensor, ndim 1, dtype family float, shape (29,) 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 torch

torch.manual_seed(0)

# The function takes a list `l` and expects each element `r` to have a .flatten() method
# This suggests each element should be a tensor
# Create a list of small tensors with distinct shapes

r1 = torch.randn(2, 4)  # shape (2, 4)
r2 = torch.randn(3, 5)  # shape (3, 5)
r3 = torch.randn(6)     # shape (6,)

l = [r1, r2, r3]

ARGS = {
    "l": l
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (29,) — shape (29,) 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
proj Not yet run
unverified (harvested, no recorded run)
devzhk/Implicit-Competitive-Regularization/GANs/layers.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from mshahbazi72/cGANTransfer, is pointer only (licence: NONE) · get_code("4015ab1f3ab9b881")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from mshahbazi72/cGANTransfer, 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. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 8 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 8 later) and 6 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
gram_schmidt 28 other papers
2 dated earlier, 26 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 25 more not named here
proj 28 other papers
2 dated earlier, 26 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 25 more not named here
power_iteration 25 other papers
2 dated earlier, 23 later · 5 only as an assembly brick
1809.11096 (2018-09)
Large Scale GAN Training for High Fidelity Natural Image Synthesis
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.00953 (2019-12)
LOGAN: Latent Optimisation for Generative Adversarial Networks
and 22 more not named here
reduce_sum 14 other papers
14 later
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
2106.08017 (2021-06)
Color2Embed: Fast Exemplar-Based Image Colorization using Color Embeddings
and 11 more not named here
all_gather 13 other papers
13 later
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
2106.08017 (2021-06)
Color2Embed: Fast Exemplar-Based Image Colorization using Color Embeddings
and 10 more not named here
reduce_loss_dict 13 other papers
13 later
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
2106.08017 (2021-06)
Color2Embed: Fast Exemplar-Based Image Colorization using Color Embeddings
and 10 more not named here
d_logistic_loss 12 other papers
12 later
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2001.04296 (2020-01)
High-Fidelity Synthesis with Disentangled Representation
2106.11485 (2021-06)
Spatial-Temporal Super-Resolution of Satellite Imagery via Conditional Pixel Synthesis
and 9 more not named here
d_r1_loss 5 other papers
5 later
2006.10738 (2020-06)
Differentiable Augmentation for Data-Efficient GAN Training
2112.10762 (2021-12)
StyleSwin: Transformer-based GAN for High-resolution Image Generation
2203.04121 (2022-03)
Few Shot Generative Model Adaption via Relaxed Spatial Structural Alignment
and 2 more not named here

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

To improve the stability of GAN training we need to understand why they can produce realistic samples. Presently, this is attributed to properties of the divergence obtained under an optimal discriminator. This argument has a fundamental flaw: If we do not impose regularity of the discriminator, it can exploit visually imperceptible errors of the generator to always achieve the maximal generator loss. In practice, gradient penalties are used to regularize the discriminator. However, this needs a metric on the space of images that captures visual similarity. Such a metric is not known, which explains the limited success of gradient penalties in stabilizing GANs. We argue that the performance of GANs is instead due to the implicit competitive regularization (ICR) arising from the simultaneous optimization of generator and discriminator. ICR promotes solutions that look real to the discriminator and thus leverages its inductive biases to generate realistic images. We show that opponent-aware modelling of generator and discriminator, as present in competitive gradient descent (CGD), can significantly strengthen ICR and thus stabilize GAN training without explicit regularization. In our experiments, we use an existing implementation of WGAN-GP and show that by training it with CGD we can improve the inception score (IS) on CIFAR10 for a wide range of scenarios, without any hyperparameter tuning. The highest IS is obtained by combining CGD with the WGAN-loss, without any explicit regularization.

For agents

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

get_harvested_code_for_paper("1910.05852")
get_code_for_paper("1910.05852")
have("1910.05852")

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

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

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

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

Connect an agent — have() is free.