SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.10910 · 2024

DataDream: Few-shot Guided Dataset Generation

arXiv · PDF · Open in the Atlas

Code that ran

17 of 21 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; 5 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 10 failures of our instrument; 4 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/2407.10910.json · badge: /api/ran/2407.10910.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
explainableml/datadream canonical (classifier label)
classifier basis: census
17 ran · 4 no recorded run
FunctionStatusWhere it lives
atoi Ran
ran, honoured the contract we drafted
explainableml/datadream/DataDream/util.py
pointer only (licence: NONE); the stored copy get_code serves, from harshmaru7/DilatedConv, is pointer only (licence: NONE) · get_code("6dbf1b2a5b901370")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

collate_fn Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/DataDream/datadream.py
pointer only (licence: NONE) · get_code("fa5f79455727e22f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

configure_metadata Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/util_data.py
pointer only (licence: NONE) · get_code("cc90acdad40fda89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

cosine_scheduler Ran
ran, honoured the contract we drafted
explainableml/datadream/classify/utils.py
pointer only (licence: NONE) · get_code("ce0623da3f4979ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

filter_dset Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/data.py
pointer only (licence: NONE) · get_code("4321e2732ef4f573")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

get_class_labels Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/util_data.py
pointer only (licence: NONE) · get_code("b84909a8cfcfe0a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

get_dataset_name_for_template Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/models/clip.py
pointer only (licence: NONE) · get_code("f4b98c9ac15c8f31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

get_image_ids Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/util_data.py
pointer only (licence: NONE) · get_code("d3b2000a296af30e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

get_prompt_embeds Ran
ran, honoured the contract we drafted
explainableml/datadream/generate/generate.py
pointer only (licence: NONE) · get_code("7be7d32ca034f009")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

int2none Ran
ran, honoured the contract we drafted
explainableml/datadream/DataDream/config.py
pointer only (licence: NONE) · get_code("98a6d35bba77d210")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

int2none Ran
ran, honoured the contract we drafted
explainableml/datadream/classify/config.py
pointer only (licence: NONE) · get_code("8b6b0510fd096618")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

natural_keys Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/DataDream/util.py
pointer only (licence: NONE) · get_code("5d0ab01cafdf38db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

split_eurosat Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/classify/data.py
pointer only (licence: NONE) · get_code("135ddc3e2d86aefb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

str2bool Ran
ran, violated the contract we drafted
explainableml/datadream/DataDream/config.py
pointer only (licence: NONE) · get_code("50232749441a454d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

str2bool Ran
ran, violated the contract we drafted
explainableml/datadream/classify/config.py
pointer only (licence: NONE) · get_code("0e3bc5d81a9cb964")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

tokenize_prompt Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/DataDream/datadream.py
pointer only (licence: NONE); the stored copy get_code serves, from 120l020904/ace, is pointer only (licence: NONE) · get_code("a67a2074238bd9ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

update_pipe Ran
ran; our contract draft was wrong, not the code
explainableml/datadream/generate/generate.py
pointer only (licence: NONE) · get_code("563f9ecbc1a3b12d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

get_pipe Not yet run
unverified (harvested, no recorded run)
explainableml/datadream/generate/generate.py
pointer only (licence: NONE) · get_code("ca36e8d2604c2ef5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

import_model_class_from_model_name_or_path Not yet run
unverified (harvested, no recorded run)
explainableml/datadream/DataDream/datadream.py
pointer only (licence: NONE); the stored copy get_code serves, from KU-VGI/APDM, is pointer only (licence: NONE) · get_code("0eb3e94e8635150e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

str2none Not yet run
unverified (harvested, no recorded run)
explainableml/datadream/DataDream/config.py
pointer only (licence: NONE) · get_code("0feb0cc068d06acc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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.

str2none Not yet run
unverified (harvested, no recorded run)
explainableml/datadream/classify/config.py
pointer only (licence: NONE) · get_code("906309df9be8f07e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, explainableml/datadream 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 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 5 later) and 16 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
cosine_scheduler 37 other papers
32 dated earlier, 1 the same month, 3 later, 1 same year, order not determinable
2005.10242 (2020-05)
Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
2103.15375 (2021-03)
AlignMixup: Improving Representations By Interpolating Aligned Features
2106.09681 (2021-06)
XCiT: Cross-Covariance Image Transformers
and 34 more not named here
atoi 13 other papers
10 dated earlier, 2 later, 1 same year, order not determinable
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2104.08773 (2021-04)
Cross-Task Generalization via Natural Language Crowdsourcing Instructions
and 10 more not named here
import_model_class_from_model_name_or_path 13 other papers
9 dated earlier, 1 the same month, 3 later
2305.19327 (2023-05)
Cones 2: Customizable Image Synthesis with Multiple Subjects
2307.06949 (2023-07)
HyperDreamBooth: HyperNetworks for Fast Personalization of Text-to-Image Models
2311.18815 (2023-11)
IMMA: Immunizing text-to-image Models against Malicious Adaptation
and 10 more not named here
natural_keys 12 other papers
9 dated earlier, 2 later, 1 same year, order not determinable
1511.07122 (2015-11)
Multi-Scale Context Aggregation by Dilated Convolutions
1908.03706 (2019-08)
Exploiting temporal consistency for real-time video depth estimation
2203.03339 (2022-03)
L2CS-Net: Fine-Grained Gaze Estimation in Unconstrained Environments
and 9 more not named here
tokenize_prompt 6 other papers
3 dated earlier, 3 later
2401.06442 (2024-01)
RotationDrag: Point-based Image Editing with Rotated Diffusion Features
2403.06741 (2024-03)
Distribution-Aware Data Expansion with Diffusion Models
2406.07487 (2024-06)
GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection
and 3 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

While text-to-image diffusion models have been shown to achieve state-of-the-art results in image synthesis, they have yet to prove their effectiveness in downstream applications. Previous work has proposed to generate data for image classifier training given limited real data access. However, these methods struggle to generate in-distribution images or depict fine-grained features, thereby hindering the generalization of classification models trained on synthetic datasets. We propose DataDream, a framework for synthesizing classification datasets that more faithfully represents the real data distribution when guided by few-shot examples of the target classes. DataDream fine-tunes LoRA weights for the image generation model on the few real images before generating the training data using the adapted model. We then fine-tune LoRA weights for CLIP using the synthetic data to improve downstream image classification over previous approaches on a large variety of datasets. We demonstrate the efficacy of DataDream through extensive experiments, surpassing state-of-the-art classification accuracy with few-shot data across 7 out of 10 datasets, while being competitive on the other 3. Additionally, we provide insights into the impact of various factors, such as the number of real-shot and generated images as well as the fine-tuning compute on model performance. The code is available at https://github.com/ExplainableML/DataDream.

For agents

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

get_harvested_code_for_paper("2407.10910")
get_code_for_paper("2407.10910")
have("2407.10910")

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

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

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

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

Connect an agent — have() is free.