SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.04292 · ICCV · 2021

Toward a Visual Concept Vocabulary for GAN Latent Space

Jacob Andreas, Antonio Torralba, Sarah Schwettmann, Evan Hernandez, David Bau, Samuel Klein, Mit Kfg

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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 11 have no contract verdict; 2 failures of our instrument; 5 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/2110.04292.json · badge: /api/ran/2110.04292.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
schwettmann/visual-vocab canonical (classifier label)
classifier basis not recorded on the link
14 ran · 5 no recorded run
FunctionStatusWhere it lives
apply_ablation_replacement Ran
ran, honoured the contract we drafted
schwettmann/visual-vocab/visualvocab/deps/netdissect/nethook.py
pointer only (licence: MIT); the stored copy get_code serves, from davidbau/dissect, is pointer only (licence: NOASSERTION) · get_code("e6e2771a0de59277")
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 davidbau/dissect, and GitHub could not classify the licence of that repository (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.

border_from_mask Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/imgviz.py
code served (permissive licence) · get_code("c58beb7c0ad92d3b")
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 int, shape (4, 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)

# Create a small 2D binary mask tensor
# The function expects a 2D tensor and performs border detection operations
mask = torch.tensor([
    [0, 0, 1, 1],
    [0, 1, 1, 0],
    [1, 1, 0, 0],
    [1, 0, 0, 1]
], dtype=torch.uint8)

ARGS = {
    "mask": mask,
    "thickness": 1,
    "outside": True
}
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 int, shape (4, 4) — shape (4, 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
data_attrs Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/labwidget.py
code served (permissive licence) · get_code("cfd108b7ac813d88")
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 str. 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 html

def data_attrs(d):
    if not d:
        return ''
    return ''.join([' data-%s="%s"' % (k, html.escape(str(v))) for k, v in d.items()])

ARGS = {
    'd': {'key1': 'value1', 'key2': 'value2', 'special': '<script>alert("xss")</script>'}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
default_loader Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/parallelfolder.py
code served (permissive licence) · get_code("b45785074318f58d")
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 2, dtype family int, shape (2, 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
import tempfile
import os

# Create temporary files for testing
temp_dir = tempfile.mkdtemp()

# Create a .npy file
npy_array = numpy.array([[1, 2, 3], [4, 5, 6]])
npy_path = os.path.join(temp_dir, "test.npy")
numpy.save(npy_path, npy_array)

# Create a .npz file
npz_path = os.path.join(temp_dir, "test.npz")
numpy.savez(npz_path, arr1=npy_array, arr2=npy_array * 2)

# Create a simple image file (PNG format)
try:
    from PIL import Image
    img = Image.new('RGB', (4, 3), color='red')
    img_path = os.path.join(temp_dir, "test.png")
    img.save(img_path)
except ImportError:
    # Fallback: create a minimal valid PNG
    import struct
    import zlib
    img_path = os.path.join(temp_dir, "test.png")
    # Minimal 1x1 red PNG
    png_data = (
        b'\x89PNG\r\n\x1a\n'
        b'\x00\x00\x00\rIHDR\x00\x00\x00\x01\x00\x00\x00\x01'
        b'\x08\x02\x00\x00\x00\x90wS\xde'
        b'\x00\x00\x00\x0cIDATx\x9cc\xf8\x0f\x00\x00\x01\x01'
        b'\x00\x05\x18\r\n\x89'
        b'\x00\x00\x00\x00IEND\xaeB`\x82'
    )
    with open(img_path, 'wb') as f:
        f.write(png_data)

ARGS = {
    "filename": npy_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torchvision — 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 int, shape (2, 3) — shape (2, 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
grayscale_loader Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/parallelfolder.py
code served (permissive licence) · get_code("7d3d2f06691b22be")
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 Image. 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 numpy as np
from PIL import Image
import tempfile
import os

# Create a temporary grayscale image file
temp_dir = tempfile.mkdtemp()
temp_image_path = os.path.join(temp_dir, "test_grayscale.png")

# Create a small grayscale PIL image and save it
gray_image = Image.new('L', (4, 3), color=128)
gray_image.save(temp_image_path)

ARGS = {
    'path': temp_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 2 and dtype family int 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
is_npy_file Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/parallelfolder.py
code served (permissive licence) · get_code("606f24a2e8f3b10e")
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 bool, 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

ARGS = {
    'path': 'test_file.npy'
}
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 bool, 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
layer_regularizer_l1 Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/generate_lsds.py
code served (permissive licence) · get_code("1ef79e9ba4d9be9c")
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)

class MockGenerator(nn.Module):
    """Mock GAN generator that supports forward with layer extraction."""
    
    def __init__(self):
        super().__init__()
        self.layer1 = nn.Linear(4, 8)
        self.layer2 = nn.Linear(8, 16)
        self.embed_layer = nn.Embedding(10, 4)
    
    def forward(self, z, y, embed=False, layer=None):
        """
        Args:
            z: noise vector (batch_size, 4)
            y: class vector (batch_size,)
            embed: whether to embed y
            layer: which layer to extract from
        
        Returns:
            activations at specified layer
        """
        batch_size = z.size(0)
        
        if embed:
            y_embedded = self.embed_layer(y)
            x = z + y_embedded
        else:
            x = z
        
        x = self.layer1(x)
        
        if layer == 1:
            return x
        
        x = torch.relu(x)
        x = self.layer2(x)
        
        if layer == 2:
            return x
        
        return x

G = MockGenerator()
zd = torch.randn(2, 4)
z = torch.randn(2, 4)
y = torch.tensor([0, 1])
lay = 1

ARGS = {
    "G": G,
    "zd": zd,
    "z": z,
    "y": y,
    "lay": lay,
}
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
load_json Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/easydict.py
code served (permissive licence) · get_code("c4b1e3a489d47780")
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 EasyDict. 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 json
import tempfile
import os

# Create a temporary JSON file for testing
temp_dir = tempfile.mkdtemp()
test_json_file = os.path.join(temp_dir, "test_config.json")

# Write a simple JSON file
test_data = {
    "model": "resnet50",
    "learning_rate": 0.001,
    "batch_size": 32,
    "nested": {
        "x": 1,
        "y": 2
    },
    "items": [
        {"name": "item1", "value": 10},
        {"name": "item2", "value": 20}
    ]
}

with open(test_json_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "filename": test_json_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
make_matching_tensor Ran
ran; our contract draft was wrong, not the code
schwettmann/visual-vocab/visualvocab/deps/netdissect/nethook.py
pointer only (licence: MIT); the stored copy get_code serves, from davidbau/dissect, is pointer only (licence: NOASSERTION) · get_code("0a92af765d5132e3")
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 davidbau/dissect, and GitHub could not classify the licence of that repository (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.

make_svg_bargraph Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/bargraph.py
code served (permissive licence) · get_code("d7aa10473bd84c24")
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 str. 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 numpy as np
from xml.etree import ElementTree as et

# Construct arguments for make_svg_bargraph
ARGS = {
    'labels': ['bar1', 'bar2', 'bar3', 'bar4', 'bar5'],
    'heights': [10, 25, 15, 30, 20],
    'categories': [('Category A', 2), ('Category B', 3)],
    'palette': [('#4B4CBF', '#B6B6F2'), ('#55B05B', '#B6F2BA'), ('#50BDAC', '#A5E5DB')],
    'barheight': 100,
    'barwidth': 12,
    'show_labels': True,
    'file_header': False,
    'data_url': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
minify Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/labwidget.py
code served (permissive licence) · get_code("5304f2f28e1e74ac")
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 str. 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 re

def minify(t):
    return re.sub('\\n\\s*', '\n', t)

# The function takes a single parameter 't' which is a string
# It uses re.sub to remove newlines followed by whitespace
# We need to provide a string with newlines and spaces

ARGS = {
    't': "line 1\n    line 2\n        line 3\n  line 4"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
strip_image_from_grid_row Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/imgviz.py
code served (permissive licence) · get_code("67869aa0e58a1c8e")
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 Image. 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 numpy as np

torch.manual_seed(0)

# Create a small grid row tensor
# The function expects shape (batch_size, height, width, channels)
# Let's use distinct dimensions: batch=2, height=4, width=3, channels=3
row = torch.randint(0, 256, (2, 4, 3, 3), dtype=torch.uint8)

ARGS = {
    "row": row,
    "gap": 5,
    "bg": 255
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
style_attr Ran
ran on a synthesized input
schwettmann/visual-vocab/visualvocab/deps/netdissect/labwidget.py
code served (permissive licence) · get_code("45d86c3f32a219f8")
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 str. 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 html
import re

def css_style_from_dict(d):
    return ';'.join((re.sub('([A-Z]+)', '-\\1', k).lower() + ':' + re.sub('([][\\!"#$%&\'()*+,./:;<=>?@^`{|}~])', '\\\\\\1', str(v)) for k, v in d.items()))

def style_attr(d):
    if not d:
        return ''
    return ' style="%s"' % html.escape(css_style_from_dict(d))

# Test case 1: Non-empty dict with CSS properties
test_dict_1 = {
    'backgroundColor': 'red',
    'fontSize': '14px',
    'marginTop': '10px'
}

# Test case 2: Empty dict
test_dict_2 = {}

# Test case 3: Dict with special characters that need escaping
test_dict_3 = {
    'content': 'hello"world',
    'borderStyle': 'solid'
}

ARGS = {
    'd': test_dict_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
subsequence Ran
ran; our contract draft was wrong, not the code
schwettmann/visual-vocab/visualvocab/deps/netdissect/nethook.py
pointer only (licence: MIT); the stored copy get_code serves, from davidbau/dissect, is pointer only (licence: NOASSERTION) · get_code("aa2af4041a7e30bc")
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 davidbau/dissect, and GitHub could not classify the licence of that repository (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.

expand_last_filename Not yet run
unverified (harvested, no recorded run)
schwettmann/visual-vocab/visualvocab/deps/netdissect/imgsave.py
code served (permissive licence) · get_code("820d9a91ff407527")
How it ran

no invocation recorded.

layer_regularizer_L2 Not yet run
unverified (harvested, no recorded run)
schwettmann/visual-vocab/visualvocab/generate_lsds.py
code served (permissive licence) · get_code("6130cee0b8ea8193")
How it ran

no invocation recorded.

num_items Not yet run
unverified (harvested, no recorded run)
schwettmann/visual-vocab/visualvocab/deps/netdissect/imgsave.py
code served (permissive licence) · get_code("bdd83c4ac66fe892")
How it ran

no invocation recorded.

pidfile_taken Not yet run
unverified (harvested, no recorded run)
schwettmann/visual-vocab/visualvocab/deps/netdissect/pidfile.py
code served (permissive licence) · get_code("4888af493ac14d04")
How it ran

no invocation recorded.

tqdm_terminal Not yet run
unverified (harvested, no recorded run)
schwettmann/visual-vocab/visualvocab/deps/netdissect/pbar.py
code served (permissive licence) · get_code("b72ea5e7a549503a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 3 later) and 15 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
subsequence 49 other papers
2 dated earlier, 47 later
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
and 46 more not named here
apply_ablation_replacement 4 other papers
3 dated earlier, 1 later
2003.13659 (2020-03)
Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
and 1 more not named here
make_matching_tensor 4 other papers
3 dated earlier, 1 later
2003.13659 (2020-03)
Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulation
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
and 1 more not named here
load_json 1 other paper
1 dated earlier
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks

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

A large body of recent work has identified transformations in the latent spaces of generative adversarial networks (GANs) that consistently and interpretably transform generated images. But existing techniques for identifying these transformations rely on either a fixed vocabulary of prespecified visual concepts, or on unsupervised disentanglement techniques whose alignment with human judgments about perceptual salience is unknown. This paper introduces a new method for building open-ended vocabularies of primitive visual concepts represented in a GAN's latent space. Our approach is built from three components: (1) automatic identification of perceptually salient directions based on their layer selectivity; (2) human annotation of these directions with free-form, compositional natural language descriptions; and (3) decomposition of these annotations into a visual concept vocabulary, consisting of distilled directions labeled with single words. Experiments show that concepts learned with our approach are reliable and composable-generalizing across classes, contexts, and observers, and enabling fine-grained manipulation of image style and content.

For agents

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

get_harvested_code_for_paper("2110.04292")
get_code_for_paper("2110.04292")
have("2110.04292")

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

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

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

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

Connect an agent — have() is free.