SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.25940 · ICLR · 2025

Steer Away From Mode Collisions: Improving Composition In Diffusion Models

Debottam Dutta, Jianchong Chen, Rajalaxmi Rajagopalan, Yu-Lin Romit, Roy Choudhury

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2509.25940.json · badge: /api/ran/2509.25940.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
debottam-dutta7/co3 canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
find_subsequence_indices Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
debottam-dutta7/co3/composers/utils/ptp_utils.py
pointer only (licence: NONE) · get_code("905ed9d10d63506c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, debottam-dutta7/co3 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_result_path Ran
ran; our contract draft was wrong, not the code
debottam-dutta7/co3/sample_co3.py
pointer only (licence: NONE) · get_code("c968831e4a00aa32")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, debottam-dutta7/co3 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
debottam-dutta7/co3/composers/Co3.py
pointer only (licence: NONE) · get_code("01c6e5b73656deb5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, debottam-dutta7/co3 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)
debottam-dutta7/co3/composers/utils/ptp_utils.py
pointer only (licence: NONE) · get_code("42f35256bd885673")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, debottam-dutta7/co3 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, honoured the contract we drafted
debottam-dutta7/co3/composers/utils/ptp_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from giannisdaras/ambient-tweedie, is pointer only (licence: GPL-3.0) · get_code("d3d9b5fd6b42f66c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, debottam-dutta7/co3 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 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 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
rescale_noise_cfg 62 other papers
56 dated earlier, 5 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
text_under_image 5 other papers
5 dated earlier
2301.13826 (2023-01)
Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
2305.16311 (2023-05)
Break-A-Scene: Extracting Multiple Concepts from a Single Image
2307.10816 (2023-07)
BoxDiff: Text-to-Image Synthesis with Training-Free Box-Constrained Diffusion
and 2 more not named here
tokenize_prompt 3 other papers
3 dated earlier
2305.19256 (2023-05)
Ambient Diffusion: Learning Clean Distributions from Corrupted Data
2404.10177 (2024-04)
Consistent Diffusion Meets Tweedie: Training Exact Ambient Diffusion Models with Noisy Data
2410.05591 (2024-10)
TweedieMix: Improving Multi-Concept Fusion for Diffusion-based Image/Video Generation

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

We propose to improve multi-concept prompt fidelity in text-to-image diffusion models. We begin with common failure cases-prompts like "a cat and a dog" that sometimes yields images where one concept is missing, faint, or colliding awkwardly with another. We hypothesize that this happens when the diffusion model drifts into mixed modes that over-emphasize a single concept it learned strongly during training. Instead of re-training, we introduce a corrective sampling strategy that steers away from regions where the joint prompt behavior overlaps too strongly with any single concept in the prompt. The goal is to steer towards "pure" joint modes where all concepts can coexist with balanced visual presence. We further show that existing multi-concept guidance schemes can operate in unstable weight regimes that amplify imbalance; we characterize favorable regions and adapt sampling to remain within them. Our approach, CO3, is plug-and-play, requires no model tuning, and complements standard classifier-free guidance. Experiments on diverse multi-concept prompts indicate improvements in concept coverage, balance and robustness, with fewer dropped or distorted concepts compared to standard baselines and prior compositional methods. Results suggest that lightweight corrective guidance can substantially mitigate brittle semantic alignment behavior in modern diffusion systems. Code is available at https://github.com/debottam-dutta7/co3

For agents

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

get_harvested_code_for_paper("2509.25940")
get_code_for_paper("2509.25940")
have("2509.25940")

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

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

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

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

Connect an agent — have() is free.