SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1606.03657 · 2016

InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets

arXiv · PDF · Open in the Atlas

Code that ran

5 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, 0 violated it and 0 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/1606.03657.json · badge: /api/ran/1606.03657.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
gtegner/mine-pytorch reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
reihaneh-torkzadehmahani/DP-CGAN extension (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
eriklindernoren/PyTorch-GAN reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
build_dist Ran
ran; our contract draft was wrong, not the code
gtegner/mine-pytorch/mine/models/mine.py
code served (permissive licence) · get_code("2e757a88026d14d3")
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 MultivariateNormal. 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)

# The function expects a scalar rho value that will be used as the correlation coefficient
# in a 2x2 covariance matrix. It should be between -1 and 1 for a valid covariance matrix.
rho = 0.5

ARGS = {
    "rho": rho
}
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 MultivariateNormal — a MultivariateNormal output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MultivariateNormal 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
classify Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
reihaneh-torkzadehmahani/DP-CGAN/DP_CGAN/dp_conditional_gan_mnist/DP_CGAN_MomentAcc.py
code served (permissive licence) · get_code("effa600d353bed01")
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) and returned ndarray, ndim 2, dtype family float, shape (5, 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
from sklearn.multiclass import OneVsRestClassifier
from sklearn import svm

# Create small synthetic training data
np.random.seed(0)
n_train_samples = 10
n_test_samples = 5
n_features = 4
n_classes = 3

# Generate random feature data
X_train = np.random.randn(n_train_samples, n_features).astype(np.float32)
X_test = np.random.randn(n_test_samples, n_features).astype(np.float32)

# Generate random labels (multiclass: 0, 1, 2)
Y_train = np.random.randint(0, n_classes, n_train_samples)

# Define classifier name
classifier_name = 'svm'

# Define random state value
random_state_value = 0

ARGS = {
    'X_train': X_train,
    'Y_train': Y_train,
    'X_test': X_test,
    'classiferName': classifier_name,
    'random_state_value': random_state_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 3) — shape (5, 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
compute_fpr_tpr_roc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
reihaneh-torkzadehmahani/DP-CGAN/DP_CGAN/dp_conditional_gan_mnist/DP_CGAN_MomentAcc.py
code served (permissive licence) · get_code("a431303cc26f22db")
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 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 small test data for multi-class classification
n_samples = 10
n_classes = 3

# Y_test should be binary labels in one-hot encoded format (n_samples, n_classes)
Y_test = np.zeros((n_samples, n_classes))
# Assign each sample to one class
for i in range(n_samples):
    Y_test[i, i % n_classes] = 1

# Y_score should be predicted probabilities/scores (n_samples, n_classes)
Y_score = np.random.rand(n_samples, n_classes)
# Normalize to make them look like probabilities (optional but realistic)
Y_score = Y_score / Y_score.sum(axis=1, keepdims=True)

ARGS = {
    'Y_test': Y_test,
    'Y_score': Y_score
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy, sklearn — 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
ema Ran
ran, honoured the contract we drafted
gtegner/mine-pytorch/mine/models/mine.py
code served (permissive licence) · get_code("a1073d8f05df7b5a")
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 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

torch.manual_seed(0)

mu = torch.randn(2, 4)
alpha = 0.1
past_ema = torch.randn(2, 4)

ARGS = {
    'mu': mu,
    'alpha': alpha,
    'past_ema': past_ema
}
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 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
ema_loss Ran
ran; our contract draft was wrong, not the code
gtegner/mine-pytorch/mine/models/mine.py
code served (permissive licence) · get_code("33a893f5d09f90f7")
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 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
import math

torch.manual_seed(0)

# Create a small input tensor
x = torch.randn(6)  # 1D tensor with 6 elements

# Create running_mean - can be 0 initially or a tensor
running_mean = 0

# Alpha parameter for EMA
alpha = 0.9

ARGS = {
    'x': x,
    'running_mean': running_mean,
    'alpha': alpha
}
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 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
to_categorical Not yet run
unverified (harvested, no recorded run)
eriklindernoren/PyTorch-GAN/implementations/infogan/infogan.py
code served (permissive licence) · get_code("0d666ee36db81e43")
How it ran

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, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 2 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
ema 3 other papers
3 later
1703.00810 (2017-03)
Opening the Black Box of Deep Neural Networks via Information
1801.04062 (2018-01)
MINE: Mutual Information Neural Estimation
2311.01489 (2023-11)
Invariant Causal Imitation Learning for Generalizable Policies
ema_loss 3 other papers
3 later
1703.00810 (2017-03)
Opening the Black Box of Deep Neural Networks via Information
1801.04062 (2018-01)
MINE: Mutual Information Neural Estimation
2311.01489 (2023-11)
Invariant Causal Imitation Learning for Generalizable Policies
build_dist 1 other paper
1 later
1703.00810 (2017-03)
Opening the Black Box of Deep Neural Networks via Information
to_categorical 1 other paper
1 later
ijcai2021_0350 (2021 (year only))
Interpretable Minority Synthesis for Imbalanced Classification

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

More are linked than shown here.

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

Abstract

This paper describes InfoGAN, an information-theoretic extension to the Generative Adversarial Network that is able to learn disentangled representations in a completely unsupervised manner. InfoGAN is a generative adversarial network that also maximizes the mutual information between a small subset of the latent variables and the observation. We derive a lower bound to the mutual information objective that can be optimized efficiently, and show that our training procedure can be interpreted as a variation of the Wake-Sleep algorithm. Specifically, InfoGAN successfully disentangles writing styles from digit shapes on the MNIST dataset, pose from lighting of 3D rendered images, and background digits from the central digit on the SVHN dataset. It also discovers visual concepts that include hair styles, presence/absence of eyeglasses, and emotions on the CelebA face dataset. Experiments show that InfoGAN learns interpretable representations that are competitive with representations learned by existing fully supervised methods.

For agents

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

get_harvested_code_for_paper("1606.03657")
get_code_for_paper("1606.03657")
have("1606.03657")

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

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

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

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

Connect an agent — have() is free.