SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.05053 · 2024

PrimeComposer: Faster Progressively Combined Diffusion for Image Composition with Attention Steering

arXiv · PDF · Open in the Atlas

Code that ran

16 of 17 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; 0 honoured the contract we drafted, 5 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 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.05053.json · badge: /api/ran/2403.05053.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
codegoat24/primecomposer canonical (classifier label)
classifier basis: census
16 ran · 1 no recorded run
FunctionStatusWhere it lives
Fourier_filter_high Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/ldm/modules/diffusionmodules/openaimodel.py
pointer only (licence: NONE) · get_code("a76b19985bf31287")
How it ran

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

Fourier_filter_low Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/ldm/modules/diffusionmodules/openaimodel.py
pointer only (licence: NONE) · get_code("50b86246db9baf9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, codegoat24/primecomposer 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
codegoat24/primecomposer/ldm/modules/diffusionmodules/model.py
pointer only (licence: NONE) · get_code("9fcdaa6e423e8aa7")
How it ran

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

append_dims Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
codegoat24/primecomposer/ldm/models/diffusion/sampling_util.py
pointer only (licence: NONE) · get_code("082e51fd548d78b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, codegoat24/primecomposer 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
codegoat24/primecomposer/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, codegoat24/primecomposer 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
codegoat24/primecomposer/ldm/models/diffusion/ddpm.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, codegoat24/primecomposer 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
codegoat24/primecomposer/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, codegoat24/primecomposer 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_timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
codegoat24/primecomposer/ldm/modules/diffusionmodules/model.py
pointer only (licence: NONE) · get_code("cb49209c125de1b4")
How it ran

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

isimage Ran
ran, violated the contract we drafted
codegoat24/primecomposer/ldm/util.py
pointer only (licence: NONE) · get_code("b1368330cf0f5642")
How it ran

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

ismap Ran
ran, violated the contract we drafted
codegoat24/primecomposer/ldm/util.py
pointer only (licence: NONE) · get_code("d72762b700feee6f")
How it ran

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

nonlinearity Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/ldm/modules/diffusionmodules/model.py
pointer only (licence: NONE) · get_code("3137073275f8c21a")
How it ran

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

norm_thresholding Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/ldm/models/diffusion/sampling_util.py
pointer only (licence: NONE) · get_code("9898fe8b041f354c")
How it ran

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

spatial_norm_thresholding Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/ldm/models/diffusion/sampling_util.py
pointer only (licence: NONE) · get_code("d86694c13b94ae3a")
How it ran

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

text_under_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
codegoat24/primecomposer/ptp_scripts/ptp_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from TFNTF/PostEdit, is pointer only (licence: NONE) · get_code("85d5eb123674597d")
How it ran

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

uniform_on_device Ran
ran; our contract draft was wrong, not the code
codegoat24/primecomposer/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, codegoat24/primecomposer 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
codegoat24/primecomposer/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, codegoat24/primecomposer 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.

log_txt_as_img Not yet run
unverified (harvested, no recorded run)
codegoat24/primecomposer/ldm/util.py
pointer only (licence: NONE) · get_code("f9bd2e83191afad1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, codegoat24/primecomposer 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 15 the same month, 15 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
exists 486 other papers
309 dated earlier, 19 the same month, 147 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
130 dated earlier, 9 the same month, 62 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
86 dated earlier, 9 the same month, 70 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
nonlinearity 156 other papers
66 dated earlier, 6 the same month, 80 later, 4 same year, order not determinable · 25 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 153 more not named here
uniq 115 other papers
66 dated earlier, 7 the same month, 38 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
get_timestep_embedding 91 other papers
50 dated earlier, 3 the same month, 34 later, 4 same year, order not determinable · 7 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 88 more not named here
ismap 69 other papers
40 dated earlier, 3 the same month, 23 later, 3 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
2208.13753 (2022-08)
Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis
and 66 more not named here
isimage 61 other papers
37 dated earlier, 3 the same month, 19 later, 2 same year, order not determinable
2206.02779 (2022-06)
Blended Latent Diffusion
2208.13753 (2022-08)
Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis
2210.12965 (2022-10)
High-Resolution Image Editing via Multi-Stage Blended Diffusion
and 58 more not named here
log_txt_as_img 55 other papers
30 dated earlier, 2 the same month, 20 later, 3 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
2210.12965 (2022-10)
High-Resolution Image Editing via Multi-Stage Blended Diffusion
and 52 more not named here
Normalize 54 other papers
15 dated earlier, 3 the same month, 35 later, 1 same year, order not determinable · 3 only as an assembly brick
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2208.13753 (2022-08)
Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 51 more not named here
uniform_on_device 44 other papers
27 dated earlier, 2 the same month, 12 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
append_dims 27 other papers
9 dated earlier, 3 the same month, 13 later, 2 same year, order not determinable · 2 only as an assembly brick
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2304.09787 (2023-04)
NeuralField-LDM: Scene Generation with Hierarchical Latent Diffusion Models
2307.12493 (2023-07)
TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition
and 24 more not named here
text_under_image 14 other papers
8 dated earlier, 2 the same month, 3 later, 1 same year, order not determinable
2307.12493 (2023-07)
TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition
2307.14352 (2023-07)
General Image-to-Image Translation with One-Shot Image Guidance
2309.14494 (2023-09)
Free-Bloom: Zero-Shot Text-to-Video Generator with LLM Director and LDM Animator
and 11 more not named here
norm_thresholding 11 other papers
6 dated earlier, 2 the same month, 1 later, 2 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2304.09787 (2023-04)
NeuralField-LDM: Scene Generation with Hierarchical Latent Diffusion Models
2307.12493 (2023-07)
TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition
and 8 more not named here
spatial_norm_thresholding 9 other papers
4 dated earlier, 2 the same month, 1 later, 2 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2307.12493 (2023-07)
TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition
2308.01472 (2023-08)
Reverse Stable Diffusion: What prompt was used to generate this image?
and 6 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

Image composition involves seamlessly integrating given objects into a specific visual context. Current training-free methods rely on composing attention weights from several samplers to guide the generator. However, since these weights are derived from disparate contexts, their combination leads to coherence confusion and loss of appearance information. These issues worsen with their excessive focus on background generation, even when unnecessary in this task. This not only impedes their swift implementation but also compromises foreground generation quality. Moreover, these methods introduce unwanted artifacts in the transition area. In this paper, we formulate image composition as a subject-based local editing task, solely focusing on foreground generation. At each step, the edited foreground is combined with the noisy background to maintain scene consistency. To address the remaining issues, we propose PrimeComposer, a faster training-free diffuser that composites the images by well-designed attention steering across different noise levels. This steering is predominantly achieved by our Correlation Diffuser, utilizing its self-attention layers at each step. Within these layers, the synthesized subject interacts with both the referenced object and background, capturing intricate details and coherent relationships. This prior information is encoded into the attention weights, which are then integrated into the self-attention layers of the generator to guide the synthesis process. Besides, we introduce a Region-constrained Cross-Attention to confine the impact of specific subject-related tokens to desired regions, addressing the unwanted artifacts shown in the prior method thereby further improving the coherence in the transition area. Our method exhibits the fastest inference efficiency and extensive experiments demonstrate our superiority both qualitatively and quantitatively.

For agents

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

get_harvested_code_for_paper("2403.05053")
get_code_for_paper("2403.05053")
have("2403.05053")

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

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

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

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

Connect an agent — have() is free.