SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.11708 · ICML · 2024

Mastering Text-to-Image Diffusion: Recaptioning, Planning, and Generating with Multimodal LLMs

Chenlin Meng, Stefano Ermon, Minkai Xu, Ling Yang, Bin Cui, Zhaochen Yu

arXiv · PDF · Open in the Atlas

Code that ran

21 of 24 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, 4 violated it and 0 have no contract verdict; 12 failures of our instrument; 3 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2401.11708.json · badge: /api/ran/2401.11708.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
CompVis/stable-diffusion canonical (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
YangLing0818/RPG-DiffusionMaster canonical (classifier label)
classifier basis not recorded on the link
8 ran · 2 no recorded run
hako-mikan/sd-webui-regional-prompter extension (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
FunctionStatusWhere it lives
floatdef Ran
ran, honoured the contract we drafted
hako-mikan/sd-webui-regional-prompter/scripts/regions.py
pointer only (licence: AGPL-3.0) · get_code("72867247ca40fc4d")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, hako-mikan/sd-webui-regional-prompter, is not in the permissive set Syntology serves inline. 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.

interpolate_fn Ran
ran; our contract draft was wrong, not the code
CompVis/stable-diffusion/ldm/models/diffusion/dpm_solver/dpm_solver.py
pointer only (licence: NONE) · get_code("6a35b62fbc80f70a")
How it ran

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

always Ran
ran; our contract draft was wrong, not the code
CompVis/stable-diffusion/ldm/modules/x_transformer.py
pointer only (licence: NONE) · get_code("fe5dd5258046898c")
How it ran

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

default Ran
ran, violated the contract we drafted
CompVis/stable-diffusion/ldm/modules/attention.py
pointer only (licence: NONE) · get_code("424012cb37b31172")
How it ran

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

disabled_train Ran
ran, violated the contract we drafted
CompVis/stable-diffusion/ldm/models/diffusion/classifier.py
pointer only (licence: NONE) · get_code("4cb732f513d69dfd")
How it ran

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

exists Ran
ran, violated the contract we drafted
CompVis/stable-diffusion/ldm/modules/attention.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

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

expand_dims Ran
ran; our contract draft was wrong, not the code
CompVis/stable-diffusion/ldm/models/diffusion/dpm_solver/dpm_solver.py
pointer only (licence: NONE) · get_code("e6110366588c5c65")
How it ran

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

floatdef Ran
ran, honoured the contract we drafted
YangLing0818/RPG-DiffusionMaster/matrix.py
code served (permissive licence) · get_code("9b32f5c5fdc1fed6")
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 float, 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 numpy as np

torch.manual_seed(0)

ARGS = {
    "x": "123.45",
    "vdef": 0.0
}
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 float, 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
get_params_dict Ran
ran; our contract draft was wrong, not the code
YangLing0818/RPG-DiffusionMaster/mllm.py
code served (permissive licence) · get_code("8a3533b6e18fc64e")
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 dict. 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 get_params_dict(output_text):
    response = output_text
    split_ratio_match = re.search('Final split ratio: ([\\d.,;]+)', response)
    if split_ratio_match:
        final_split_ratio = split_ratio_match.group(1)
        print('Final split ratio:', final_split_ratio)
    else:
        print('Final split ratio not found.')
    prompt_match = re.search('Regional Prompt: (.*?)(?=\\n\\n|\\Z)', response, re.DOTALL)
    if prompt_match:
        regional_prompt = prompt_match.group(1).strip()
        print('Regional Prompt:', regional_prompt)
    else:
        print('Regional Prompt not found.')
    image_region_dict = {'Final split ratio': final_split_ratio, 'Regional Prompt': regional_prompt}
    return image_region_dict

output_text_example = """Final split ratio: 0.7,0.3;0.5
Regional Prompt: A beautiful landscape with mountains and trees
Some other content here"""

ARGS = {
    'output_text': output_text_example
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
is_l2 Ran
ran, violated the contract we drafted
YangLing0818/RPG-DiffusionMaster/matrix.py
code served (permissive licence) · get_code("98feb4cf3a68bbf2")
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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'l': [[1, 2, 3], [4, 5, 6]]
}
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
l2_count Ran
ran, honoured the contract we drafted
YangLing0818/RPG-DiffusionMaster/matrix.py
code served (permissive licence) · get_code("44c2fbeedf9741bb")
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 int, ndim 0, dtype family int, 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 numpy as np

torch.manual_seed(0)

# The function l2_count iterates over l (a list-like object)
# and for each row in l, it calls len(row)
# So l should be a list of objects that have a len()

# Create a list of lists with distinct sizes
l = [
    [1, 2, 3],           # len = 3
    [4, 5, 6, 7],        # len = 4
    [8, 9],              # len = 2
]

ARGS = {
    "l": l
}
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 int, ndim 0, dtype family int, 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
lange Ran
ran, honoured the contract we drafted
hako-mikan/sd-webui-regional-prompter/scripts/regions.py
pointer only (licence: AGPL-3.0) · get_code("caef5f29201552d2")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, hako-mikan/sd-webui-regional-prompter, is not in the permissive set Syntology serves inline. 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.

mode2tabs Ran
ran; our contract draft was wrong, not the code
hako-mikan/sd-webui-regional-prompter/scripts/rp.py
pointer only (licence: AGPL-3.0) · get_code("f48ba5307635aedf")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, hako-mikan/sd-webui-regional-prompter, is not in the permissive set Syntology serves inline. 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.

model_wrapper Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CompVis/stable-diffusion/ldm/models/diffusion/dpm_solver/dpm_solver.py
pointer only (licence: NONE); the stored copy get_code serves, from wl-zhao/dc-solver, is pointer only (licence: NONE) · get_code("c38c4cd486f7a766")
How it ran

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

rescale_noise_cfg Ran
ran; our contract draft was wrong, not the code
YangLing0818/RPG-DiffusionMaster/RegionalDiffusion_base.py
code served (permissive licence) · get_code("bea2d776a332f2b0")
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 Tensor, ndim 4, dtype family float, shape (2, 4, 3, 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 torch

torch.manual_seed(0)

# Create small tensors with distinct dimensions
# noise_cfg: shape (batch=2, channels=4, height=3, width=3)
noise_cfg = torch.randn(2, 4, 3, 3)

# noise_pred_text: shape (batch=2, channels=4, height=3, width=3)
noise_pred_text = torch.randn(2, 4, 3, 3)

# guidance_rescale: float between 0 and 1
guidance_rescale = 0.7

ARGS = {
    "noise_cfg": noise_cfg,
    "noise_pred_text": noise_pred_text,
    "guidance_rescale": guidance_rescale,
}
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 Tensor, ndim 4, dtype family float, shape (2, 4, 3, 3) — shape (2, 4, 3, 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
retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
YangLing0818/RPG-DiffusionMaster/RegionalDiffusion_xl.py
pointer only (licence: MIT); the stored copy get_code serves, from susunghong/seg-sdxl, is pointer only (licence: NONE) · get_code("63e7d99da5ea137f")
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 susunghong/seg-sdxl, 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.

retrieve_timesteps Ran
ran; our contract draft was wrong, not the code
YangLing0818/RPG-DiffusionMaster/RegionalDiffusion_base.py
code served (permissive licence) · get_code("6cccd001a059f194")
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 tuple. 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 inspect
from typing import List, Optional, Union

torch.manual_seed(0)

# Create a minimal scheduler class that satisfies the function's needs
class MockScheduler:
    def __init__(self, supports_timesteps=True):
        self.supports_timesteps = supports_timesteps
        self.timesteps = torch.tensor([999, 500, 100, 10])
    
    def set_timesteps(self, num_inference_steps=None, device=None, timesteps=None, **kwargs):
        if timesteps is not None:
            self.timesteps = torch.tensor(timesteps, device=device)
        else:
            # Simulate creating timesteps based on num_inference_steps
            self.timesteps = torch.linspace(999, 0, num_inference_steps, dtype=torch.long, device=device)

# Create scheduler instance
scheduler = MockScheduler(supports_timesteps=True)

# Define arguments for the retrieve_timesteps function
ARGS = {
    "scheduler": scheduler,
    "num_inference_steps": 4,
    "device": "cpu",
    "timesteps": None,
}
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 tuple — a tuple output has no array shape of its own; none is 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
split_dims Ran
ran, honoured the contract we drafted
YangLing0818/RPG-DiffusionMaster/cross_attention.py
pointer only (licence: MIT); the stored copy get_code serves, from krafton-ai/rare-to-frequent, is pointer only (licence: NONE) · get_code("56156523c6123e73")
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 krafton-ai/rare-to-frequent, 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.

split_l2 Ran
ran; our contract draft was wrong, not the code
hako-mikan/sd-webui-regional-prompter/scripts/regions.py
pointer only (licence: AGPL-3.0) · get_code("488d8298f13237c8")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, hako-mikan/sd-webui-regional-prompter, is not in the permissive set Syntology serves inline. 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.

uniform_on_device Ran
ran; our contract draft was wrong, not the code
CompVis/stable-diffusion/ldm/models/diffusion/ddpm.py
pointer only (licence: NONE) · get_code("d48d8354986e3b0e")
How it ran

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

uniq Ran
ran; our contract draft was wrong, not the code
CompVis/stable-diffusion/ldm/modules/attention.py
pointer only (licence: NONE); the stored copy get_code serves, from JingWu321/MUNBa, is pointer only (licence: NONE) · get_code("9a299fe5ae09e407")
How it ran

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

GPT4 Not yet run
unverified (harvested, no recorded run)
YangLing0818/RPG-DiffusionMaster/mllm.py
code served (permissive licence) · get_code("24399db18bc9c34f")
How it ran

no invocation recorded.

download_models Not yet run
unverified (harvested, no recorded run)
CompVis/stable-diffusion/notebook_helpers.py
pointer only (licence: NONE) · get_code("4533e43e06a12dc5")
How it ran

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

local_llm Not yet run
unverified (harvested, no recorded run)
YangLing0818/RPG-DiffusionMaster/mllm.py
code served (permissive licence) · get_code("0861ce73c0e98185")
How it ran

no invocation recorded.

Also present in other papers' code

Of 24 samples lifted from this paper's linked repositories, 24 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 21 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 7 the same month, 21 later) and 1 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
exists 486 other papers
283 dated earlier, 9 the same month, 183 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
117 dated earlier, 6 the same month, 78 later, 6 same year, order not determinable · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
disabled_train 173 other papers
75 dated earlier, 4 the same month, 86 later, 8 same year, order not determinable · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
uniq 115 other papers
58 dated earlier, 5 the same month, 48 later, 4 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
and 112 more not named here
rescale_noise_cfg 62 other papers
11 dated earlier, 2 the same month, 48 later, 1 same year, order not determinable
2206.02779 (2022-06)
Blended Latent Diffusion
2304.06720 (2023-04)
Expressive Text-to-Image Generation with Rich Text
2309.06380 (2023-09)
InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generation
and 59 more not named here
always 56 other papers
36 dated earlier, 2 the same month, 17 later, 1 same year, order not determinable
2102.12092 (2021-02)
Zero-Shot Text-to-Image Generation
2107.03312 (2021-07)
SoundStream: An End-to-End Neural Audio Codec
2206.00100 (2022-06)
VALHALLA: Visual Hallucination for Machine Translation
and 53 more not named here
uniform_on_device 44 other papers
23 dated earlier, 1 the same month, 17 later, 3 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
and 41 more not named here
expand_dims 39 other papers
15 dated earlier, 21 later, 3 same year, order not determinable · 4 only as an assembly brick
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2202.09778 (2022-02)
Pseudo Numerical Methods for Diffusion Models on Manifolds
2206.00927 (2022-06)
DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps
and 36 more not named here
interpolate_fn 34 other papers
12 dated earlier, 19 later, 3 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2211.01095 (2022-11)
DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models
2212.09478 (2022-12)
MM-Diffusion: Learning Multi-Modal Diffusion Models for Joint Audio and Video Generation
and 31 more not named here
retrieve_timesteps 21 other papers
1 dated earlier, 20 later
2310.06313 (2023-10)
Advancing Pose-Guided Image Synthesis with Progressive Conditional Diffusion Models
2403.06976 (2024-03)
BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion
2403.17924 (2024-03)
Attention Interpolation for Text-to-Image Diffusion
and 18 more not named here
download_models 17 other papers
9 dated earlier, 7 later, 1 same year, order not determinable
2211.01324 (2022-11)
eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoisers
Dombrowski_Foreground-Background_Separation_through_Concept_Distillation_from_Generative_Image_Foundation_Models_ICCV_2023_paper (2023 (year only))
Foreground-Background Separation through Concept Distillation from Generative Image Foundation Models
2303.00836 (2023-03)
Ensemble flow reconstruction in the atmospheric boundary layer from spatially limited measurements through latent diffusion models
and 14 more not named here
model_wrapper 6 other papers
1 dated earlier, 4 later, 1 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
aaai_28147 (2024 (year only))
Adv-Diffusion: Imperceptible Adversarial Face Identity Attack via Latent Diffusion Model
2406.18361 (2024-06)
Stable Diffusion Segmentation for Biomedical Images with Single-step Reverse Process
and 3 more not named here
floatdef 2 other papers
2 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
2504.09697 (2025-04)
SPICE: A Synergistic, Precise, Iterative, and Customizable Image Editing Workflow
split_dims 2 other papers
2 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
2410.22376 (2024-10)
Rare-to-Frequent: Unlocking Compositional Generation Power of Diffusion Models on Rare Concepts with LLM Guidance
GPT4 1 other paper
1 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
get_params_dict 1 other paper
1 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
is_l2 1 other paper
1 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
l2_count 1 other paper
1 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation
lange 1 other paper
1 later
2504.09697 (2025-04)
SPICE: A Synergistic, Precise, Iterative, and Customizable Image Editing Workflow
local_llm 1 other paper
1 later
2410.07171 (2024-10)
IterComp: Iterative Composition-Aware Feedback Learning from Model Gallery for Text-to-Image Generation

Shown: the 20 functions present in the most other papers. 1 more shared functions are not listed 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

Diffusion models have exhibit exceptional performance in text-to-image generation and editing. However, existing methods often face challenges when handling complex text prompts that involve multiple objects with multiple attributes and relationships. In this paper, we propose a brand new training-free text-to-image generation/editing framework, namely Recaption, Plan and Generate (RPG), harnessing the powerful chain-of-thought reasoning ability of multimodal LLMs to enhance the compositionality of text-toimage diffusion models. Our approach employs the MLLM as a global planner to decompose the process of generating complex images into multiple simpler generation tasks within subregions. We propose complementary regional diffusion to enable region-wise compositional generation. Furthermore, we integrate text-guided image generation and editing within the proposed RPG in a closed-loop fashion, thereby enhancing generalization ability. Extensive experiments demonstrate our RPG outperforms state-of-the-art textto-image diffusion models, including DALL-E 3 and SDXL, particularly in multi-category object composition and text-image semantic alignment. Notably, our RPG framework exhibits wide compatibility with various MLLM architectures (e.g., MiniGPT-4) and diffusion backbones (e.g., ControlNet). Our code is available at https://github.com/YangLing0818/RPG-DiffusionMaster

For agents

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

get_harvested_code_for_paper("2401.11708")
get_code_for_paper("2401.11708")
have("2401.11708")

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

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

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

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

Connect an agent — have() is free.