SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.06741 · 2024

Distribution-Aware Data Expansion with Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

12 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 2 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/2403.06741.json · badge: /api/ran/2403.06741.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
haoweiz23/distdiff canonical (classifier label)
classifier basis: census
12 ran · 2 no recorded run
FunctionStatusWhere it lives
add_encoder_image_method Ran
ran; our contract draft was wrong, not the code
haoweiz23/distdiff/model_utils.py
pointer only (licence: NONE) · get_code("1f6ce19e4dcb2553")
How it ran

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

encode_prompt Ran
ran; our contract draft was wrong, not the code
haoweiz23/distdiff/dataloader.py
pointer only (licence: NONE) · get_code("a8377f4852c0c2ce")
How it ran

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

extract_performance Ran
ran, honoured the contract we drafted
haoweiz23/distdiff/parse_logs.py
pointer only (licence: NONE) · get_code("34a498b0a1a5b5ed")
How it ran

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

float_parameter Ran
ran, honoured the contract we drafted
haoweiz23/distdiff/augmentations/augmentations.py
pointer only (licence: NONE) · get_code("9f75cd937e9f1824")
How it ran

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

int_parameter Ran
ran, honoured the contract we drafted
haoweiz23/distdiff/augmentations/augmentations.py
pointer only (licence: NONE) · get_code("fa762f2f1e10f2e4")
How it ran

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

mixup_criterion Ran
ran; our contract draft was wrong, not the code
haoweiz23/distdiff/augmentations/mixup.py
pointer only (licence: NONE); the stored copy get_code serves, from hhi-aml/histobenchmark, is pointer only (licence: NONE) · get_code("97f484048ac03556")
How it ran

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

mixup_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haoweiz23/distdiff/augmentations/mixup.py
pointer only (licence: NONE) · get_code("345e624f9cc2e32a")
How it ran

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

sample_level Ran
ran, violated the contract we drafted
haoweiz23/distdiff/augmentations/augmentations.py
pointer only (licence: NONE) · get_code("5cc8d4764ac07a35")
How it ran

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

simple_preprocess Ran
ran; our contract draft was wrong, not the code
haoweiz23/distdiff/generate_data.py
pointer only (licence: NONE) · get_code("160b28a12db42974")
How it ran

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

vae_tensor_to_pil_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haoweiz23/distdiff/generate_data.py
pointer only (licence: NONE) · get_code("d54a985a9bdd066a")
How it ran

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

wrap_clip_forward Ran
ran; our contract draft was wrong, not the code
haoweiz23/distdiff/model_utils.py
pointer only (licence: NONE) · get_code("5dcf0f0ff560ab07")
How it ran

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

compute_text_embeddings Not yet run
unverified (harvested, no recorded run)
haoweiz23/distdiff/dataloader.py
pointer only (licence: NONE) · get_code("e39ea3d3e4b88bdf")
How it ran

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

denoise_one_step Not yet run
unverified (harvested, no recorded run)
haoweiz23/distdiff/generate_data.py
pointer only (licence: NONE) · get_code("114aaac37fbe6be6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, haoweiz23/distdiff 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, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 6 later) and 8 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
float_parameter 19 other papers
18 dated earlier, 1 later · 2 only as an assembly brick
1912.02781 (2019-12)
AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
2006.16241 (2020-06)
The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
2009.09238 (2020-09)
EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image Deraining
and 16 more not named here
int_parameter 19 other papers
18 dated earlier, 1 later · 2 only as an assembly brick
1912.02781 (2019-12)
AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
2006.16241 (2020-06)
The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
2009.09238 (2020-09)
EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image Deraining
and 16 more not named here
sample_level 17 other papers
16 dated earlier, 1 later · 3 only as an assembly brick
1912.02781 (2019-12)
AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
2006.16241 (2020-06)
The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
2009.09238 (2020-09)
EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image Deraining
and 14 more not named here
mixup_criterion 14 other papers
12 dated earlier, 2 later
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
1905.02175 (2019-05)
Adversarial Examples Are Not Bugs, They Are Features
1906.06784 (2019-06)
Interpolated Adversarial Training: Achieving Robust Neural Networks without Sacrificing Too Much Accuracy
and 11 more not named here
mixup_data 12 other papers
10 dated earlier, 1 later, 1 same year, order not determinable
1908.09699 (2019-08)
Gated Convolutional Networks with Hybrid Connectivity for Image Classification
2102.13280 (2021-02)
MixSearch: Searching for Domain Generalized Medical Image Segmentation Architectures
2104.00466 (2021-04)
Improving Calibration for Long-Tailed Recognition
and 9 more not named here
tokenize_prompt 6 other papers
1 dated earlier, 5 later
2401.06442 (2024-01)
RotationDrag: Point-based Image Editing with Rotated Diffusion Features
2406.07487 (2024-06)
GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection
2407.10910 (2024-07)
DataDream: Few-shot Guided Dataset Generation
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-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

The scale and quality of a dataset significantly impact the performance of deep models. However, acquiring large-scale annotated datasets is both a costly and time-consuming endeavor. To address this challenge, dataset expansion technologies aim to automatically augment datasets, unlocking the full potential of deep models. Current data expansion techniques include image transformation and image synthesis methods. Transformation-based methods introduce only local variations, leading to limited diversity. In contrast, synthesis-based methods generate entirely new content, greatly enhancing informativeness. However, existing synthesis methods carry the risk of distribution deviations, potentially degrading model performance with out-of-distribution samples. In this paper, we propose DistDiff, a training-free data expansion framework based on the distribution-aware diffusion model. DistDiff constructs hierarchical prototypes to approximate the real data distribution, optimizing latent data points within diffusion models with hierarchical energy guidance. We demonstrate its capability to generate distribution-consistent samples, significantly improving data expansion tasks. DistDiff consistently enhances accuracy across a diverse range of datasets compared to models trained solely on original data. Furthermore, our approach consistently outperforms existing synthesis-based techniques and demonstrates compatibility with widely adopted transformation-based augmentation methods. Additionally, the expanded dataset exhibits robustness across various architectural frameworks. Our code is available at https://github.com/haoweiz23/DistDiff

For agents

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

get_harvested_code_for_paper("2403.06741")
get_code_for_paper("2403.06741")
have("2403.06741")

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

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

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

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

Connect an agent — have() is free.