SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.07574 · ICLR · 2023

Is synthetic data from generative models ready for image recognition?

Philip Torr, Xin Yu, Xiaojuan Qi, Song Bai, Wenqing Zhang, Ruifei He, Shuyang Sun, Chuhui Xue

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2210.07574.json · badge: /api/ran/2210.07574.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
CVMI-Lab/SyntheticData canonical (classifier label)
classifier basis not recorded on the link
5 ran · 4 no recorded run
FunctionStatusWhere it lives
betas_for_alpha_bar Ran
ran, honoured the contract we drafted
CVMI-Lab/SyntheticData/src/glide_text2im/gaussian_diffusion.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("2ab2316ac6fdd869")
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 NVlabs/DiffPure, 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.

get_beta_schedule Ran
ran, honoured the contract we drafted
CVMI-Lab/SyntheticData/src/glide_text2im/gaussian_diffusion.py
code served (permissive licence) · get_code("0996aa0f716afd2d")
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 1, dtype family float, shape (1000,) 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

ARGS = {
    'beta_schedule': 'linear',
    'beta_start': 0.0001,
    'beta_end': 0.02,
    'num_diffusion_timesteps': 1000,
}
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 1, dtype family float, shape (1000,) — shape (1000,) 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_named_beta_schedule Ran
ran, honoured the contract we drafted
CVMI-Lab/SyntheticData/src/glide_text2im/gaussian_diffusion.py
code served (permissive licence) · get_code("14e2c5e6c9d5ba6c")
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 1, dtype family float, shape (100,) 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 math
import numpy as np

ARGS = {
    'schedule_name': 'linear',
    'num_diffusion_timesteps': 100,
}
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 1, dtype family float, shape (100,) — shape (100,) 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
space_timesteps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CVMI-Lab/SyntheticData/src/glide_text2im/respace.py
code served (permissive licence) · get_code("9cf6b68718b21b4c")
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 set. 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

# Test case 1: Basic list of section counts
num_timesteps_1 = 300
section_counts_1 = [10, 15, 20]

# Test case 2: String with comma-separated counts
num_timesteps_2 = 100
section_counts_2 = "5,10,5"

# Test case 3: DDIM string format
num_timesteps_3 = 1000
section_counts_3 = "ddim50"

# Test case 4: fast27 string format
num_timesteps_4 = 1000
section_counts_4 = "fast27"

# Using the first test case for ARGS
ARGS = {
    "num_timesteps": 300,
    "section_counts": [10, 15, 20]
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
zero_module Ran
ran; our contract draft was wrong, not the code
CVMI-Lab/SyntheticData/src/glide_text2im/nn.py
code served (permissive licence) · get_code("129b804760b3115f")
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 SimpleModule. 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 as nn

torch.manual_seed(0)

# Create a simple module with some parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 2, 3)
    
    def forward(self, x):
        return x

module = SimpleModule()

# Verify the module has non-zero parameters before zeroing
for p in module.parameters():
    assert p.abs().sum() > 0, "Parameters should be non-zero initially"

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 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 SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule 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
avg_pool_nd Not yet run
unverified (harvested, no recorded run)
CVMI-Lab/SyntheticData/src/glide_text2im/nn.py
code served (permissive licence) · get_code("ecd0fc28815b65ae")
How it ran

no invocation recorded.

conv_nd Not yet run
unverified (harvested, no recorded run)
CVMI-Lab/SyntheticData/src/glide_text2im/nn.py
code served (permissive licence) · get_code("fe4eb545bbb728e0")
How it ran

no invocation recorded.

fetch_file_cached Not yet run
unverified (harvested, no recorded run)
CVMI-Lab/SyntheticData/src/glide_text2im/download.py
code served (permissive licence) · get_code("0ded220539a3a3ea")
How it ran

no invocation recorded.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
CVMI-Lab/SyntheticData/src/glide_text2im/download.py
code served (permissive licence) · get_code("0537243f2ce113e1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 9 later) and 0 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
zero_module 196 other papers
20 dated earlier, 1 the same month, 175 later · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
conv_nd 121 other papers
18 dated earlier, 1 the same month, 102 later · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
avg_pool_nd 113 other papers
19 dated earlier, 1 the same month, 93 later · 31 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 110 more not named here
betas_for_alpha_bar 92 other papers
19 dated earlier, 1 the same month, 72 later · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
and 89 more not named here
get_beta_schedule 31 other papers
1 dated earlier, 30 later
2202.09671 (2022-02)
TRUNCATED DIFFUSION PROBABILISTIC MODELS AND DIFFUSION-BASED ADVERSARIAL AUTO-ENCODERS
2306.02562 (2023-06)
Video Diffusion Models with Local-Global Context Guidance
2306.12511 (2023-06)
Semi-Implicit Denoising Diffusion Models (SIDDMs)
and 28 more not named here
get_named_beta_schedule 25 other papers
25 later
2306.02562 (2023-06)
Video Diffusion Models with Local-Global Context Guidance
2306.12511 (2023-06)
Semi-Implicit Denoising Diffusion Models (SIDDMs)
2312.02139 (2023-12)
DiffiT: Diffusion Vision Transformers for Image Generation
and 22 more not named here
space_timesteps 5 other papers
5 later
2211.15388 (2022-11)
Shifted Diffusion for Text-to-image Generation
2306.02562 (2023-06)
Video Diffusion Models with Local-Global Context Guidance
and 2 more not named here
fetch_file_cached 2 other papers
2 later
2212.08751 (2022-12)
Point-E: A System for Generating 3D Point Clouds from Complex Prompts
2412.02693 (2024-12)
Diffusion-based Visual Anagram as Multi-task Learning
load_checkpoint 1 other paper
1 later
2412.02693 (2024-12)
Diffusion-based Visual Anagram as Multi-task Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

Recent text-to-image generation models have shown promising results in generating high-fidelity photo-realistic images. Though the results are astonishing to human eyes, how applicable these generated images are for recognition tasks remains under-explored. In this work, we extensively study whether and how synthetic images generated from state-of-the-art text-to-image generation models can be used for image recognition tasks, and focus on two perspectives: synthetic data for improving classification models in data-scarce settings (i.e. zero-shot and fewshot), and synthetic data for large-scale model pre-training for transfer learning. We showcase the powerfulness and shortcomings of synthetic data from existing generative models, and propose strategies for better applying synthetic data for recognition tasks. Code: https://github.com/CVMI-Lab/SyntheticData.

For agents

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

get_harvested_code_for_paper("2210.07574")
get_code_for_paper("2210.07574")
have("2210.07574")

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

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

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

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

Connect an agent — have() is free.