SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.14583 · 2025

A Theory for Conditional Generative Modeling on Multiple Data Sources

arXiv · PDF · Open in the Atlas

Code that ran

13 of 13 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; 4 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 6 failures of our instrument; 0 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/2502.14583.json · badge: /api/ran/2502.14583.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
ml-gsai/multi-source-gm canonical (classifier label)
classifier basis not recorded on the link
13 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_empirical_TV Ran
ran on a synthesized input
ml-gsai/multi-source-gm/simulations/util.py
code served (permissive licence) · get_code("73e67952514d4636")
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 numpy as np
import torch

torch.manual_seed(0)

# Create small test tensors for torch case
p_hat_torch = torch.tensor([0.1, 0.2, 0.3, 0.4], dtype=torch.float32)
p_true_torch = torch.tensor([0.15, 0.25, 0.25, 0.35], dtype=torch.float32)

# Create small test arrays for numpy case
p_hat_numpy = np.array([0.1, 0.2, 0.3, 0.4], dtype=np.float32)
p_true_numpy = np.array([0.15, 0.25, 0.25, 0.35], dtype=np.float32)

# Use torch tensors for this execution
ARGS = {
    'p_hat': p_hat_torch,
    'p_true': p_true_torch
}
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 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
edm_sampler Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/generate_images.py
pointer only (licence: MIT); the stored copy get_code serves, from nvlabs/edm2, is pointer only (licence: NOASSERTION) · get_code("a14db9805bf41197")
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 nvlabs/edm2, 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.

file_ext Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/dataset_tool.py
pointer only (licence: MIT); the stored copy get_code serves, from pdillis/stylegan3-fun, is pointer only (licence: NOASSERTION) · get_code("a2b45afa097b55b6")
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 pdillis/stylegan3-fun, 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.

format_time Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/dnnlib/util.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("863886ae28872158")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

format_time_brief Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/dnnlib/util.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("cf4282fe49551c8c")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

generate_shared_means Ran
ran on a synthesized input
ml-gsai/multi-source-gm/simulations/run_gaussian.py
code served (permissive licence) · get_code("d011780cb7c4038f")
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 float, shape (3, 6) 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)

ARGS = {
    "K": 3,
    "d_dif": 4,
    "d_sim": 2,
}
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 float, shape (3, 6) — shape (3, 6) 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
maybe_min Ran
ran, honoured the contract we drafted
ml-gsai/multi-source-gm/real_world_experiments/dataset_tool.py
pointer only (licence: MIT); the stored copy get_code serves, from pdillis/stylegan3-fun, is pointer only (licence: NOASSERTION) · get_code("dd1dc700e87f36cc")
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 pdillis/stylegan3-fun, 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.

mp_silu Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/training/networks_edm2.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("49d89884be5dc515")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

normalize Ran
ran; our contract draft was wrong, not the code
ml-gsai/multi-source-gm/real_world_experiments/training/networks_edm2.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("ebfd171dc25ba0ce")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

parse_int_list Ran
ran, honoured the contract we drafted
ml-gsai/multi-source-gm/real_world_experiments/generate_images.py
pointer only (licence: MIT); the stored copy get_code serves, from newbeeer/stf, is pointer only (licence: NONE) · get_code("cacd4f6ec202d9b4")
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 newbeeer/stf, and GitHub detected no licence in that repository 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.

parse_nimg Ran
ran, honoured the contract we drafted
ml-gsai/multi-source-gm/real_world_experiments/train_edm2.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("fcf68d736821de45")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

parse_tuple Ran
ran, honoured the contract we drafted
ml-gsai/multi-source-gm/real_world_experiments/dataset_tool.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("07b21b35ecb4815c")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

tuple_product Ran
ran, violated the contract we drafted
ml-gsai/multi-source-gm/real_world_experiments/dnnlib/util.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("d0955d86500b69a3")
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 xfetus/fetal-ultrasound-edm2, and GitHub detected no licence in that repository 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.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 11 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 6 the same month, 11 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
format_time 73 other papers
51 dated earlier, 2 the same month, 18 later, 1 same year, order not determinable, 1 undated
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
and 70 more not named here
format_time_brief 68 other papers
46 dated earlier, 2 the same month, 18 later, 1 same year, order not determinable, 1 undated
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
2206.07695 (2022-06)
VoxGRAF: Fast 3D-Aware Image Synthesis with Sparse Voxel Grids
and 65 more not named here
parse_int_list 37 other papers
26 dated earlier, 10 later, 1 same year, order not determinable
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2302.00670 (2023-02)
Stable Target Field for Reduced Variance Score Estimation in Diffusion Models
2302.04265 (2023-02)
PFGM++: Unlocking the Potential of Physics-Inspired Generative Models
and 34 more not named here
file_ext 35 other papers
28 dated earlier, 1 the same month, 6 later
2106.07023 (2021-06)
Styleformer: Transformer based Generative Adversarial Networks with Style Vector
2111.02175 (2021-11)
Discriminator Synthesis: On reusing the other half of Generative Adversarial Networks
2111.13792 (2021-11)
LAFITE: Towards Language-Free Training for Text-to-Image Generation
and 32 more not named here
maybe_min 35 other papers
28 dated earlier, 1 the same month, 6 later
2106.07023 (2021-06)
Styleformer: Transformer based Generative Adversarial Networks with Style Vector
2111.02175 (2021-11)
Discriminator Synthesis: On reusing the other half of Generative Adversarial Networks
2111.13792 (2021-11)
LAFITE: Towards Language-Free Training for Text-to-Image Generation
and 32 more not named here
parse_tuple 20 other papers
14 dated earlier, 6 later
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
and 17 more not named here
tuple_product 8 other papers
5 dated earlier, 2 later, 1 same year, order not determinable
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2310.11440 (2023-10)
EvalCrafter: Benchmarking and Evaluating Large Video Generation Models
and 5 more not named here
normalize 5 other papers
1 the same month, 4 later
2502.18197 (2025-02)
VCT: Training Consistency Models with Variational Noise Coupling
2505.07447 (2025-05)
Unified Continuous Generative Models
2506.14605 (2025-06)
Unsupervised Imaging Inverse Problems with Diffusion Distribution Matching
and 2 more not named here
edm_sampler 4 other papers
2 dated earlier, 2 later
2312.02696 (2023-12)
Analyzing and Improving the Training Dynamics of Diffusion Models
2406.02507 (2024-06)
Guiding a Diffusion Model with a Bad Version of Itself
2509.16447 (2025-09)
Local Mechanisms of Compositional Generalization in Conditional Diffusion
and 1 more not named here
mp_silu 3 other papers
1 the same month, 2 later
2502.18197 (2025-02)
VCT: Training Consistency Models with Variational Noise Coupling
2509.16447 (2025-09)
Local Mechanisms of Compositional Generalization in Conditional Diffusion
2608.05471 (2026-08)
A Foundational EDM2-Based Generative Model for High-Resolution Synthetic Fetal Ultrasound Imaging from Open Datasets
parse_nimg 2 other papers
2 later
2509.16447 (2025-09)
Local Mechanisms of Compositional Generalization in Conditional Diffusion
2608.05471 (2026-08)
A Foundational EDM2-Based Generative Model for High-Resolution Synthetic Fetal Ultrasound Imaging from Open Datasets

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

The success of large generative models has driven a paradigm shift, leveraging massive multi-source data to enhance model capabilities. However, the interaction among these sources remains theoretically underexplored. This paper takes the first step toward a rigorous analysis of multi-source training in conditional generative modeling, where each condition represents a distinct data source. Specifically, we establish a general distribution estimation error bound in average total variation distance for conditional maximum likelihood estimation based on the bracketing number. Our result shows that when source distributions share certain similarities and the model is expressive enough, multi-source training guarantees a sharper bound than single-source training. We further instantiate the general theory on conditional Gaussian estimation and deep generative models including autoregressive and flexible energy-based models, by characterizing their bracketing numbers. The results highlight that the number of sources and similarity among source distributions improve the advantage of multi-source training. Simulations and real-world experiments are conducted to validate the theory, with code available at: https://github.com/ML-GSAI/Multi-Source-GM.

For agents

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

get_harvested_code_for_paper("2502.14583")
get_code_for_paper("2502.14583")
have("2502.14583")

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

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

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

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

Connect an agent — have() is free.