Papers › Consistent text-to-image generation via scene de-contextualization

Consistent text-to-image generation via scene de-contextualization

16 Oct 2025ICLRarXiv:2510.14553added by Syntology

Song Tang, Peihao Gong, Kunyu Li, Kai Guo, Boyu Wang, Mao Ye, Jianwei Zhang, Xiatian Zhu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Consistent text-to-image (T2I) generation seeks to produce identity-preserving images of the same subject across diverse scenes, yet it often fails due to a phenomenon called identity (ID) shift. Previous methods have tackled this issue, but typically rely on the unrealistic assumption of knowing all target scenes in advance. This paper reveals that a key source of ID shift is the native correlation between subject and scene context, called scene contextualization, which arises naturally as T2I models fit the training distribution of vast natural images. We formally prove the near-universality of this scene-ID correlation and derive theoretical bounds on its strength. On this basis, we propose a novel, efficient, training-free prompt embedding editing approach, called Scene De-Contextualization (SDeC), that imposes an inversion process of T2I's built-in scene contextualization. Specifically, it identifies and suppresses the latent scene-ID correlation within the ID prompt's embedding by quantifying the SVD directional stability to adaptively re-weight the corresponding eigenvalues. Critically, SDeC allows for per-scene use (one scene per prompt) without requiring prior access to all target scenes. This makes it a highly flexible and general solution well-suited to real-world applications where such prior knowledge is often unavailable or varies over time. Experiments demonstrate that SDeC significantly enhances identity preservation while maintaining scene diversity.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.14553")

Code

Syntology Ran 5 of 18 code samples harvested from 3 repositories linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 18 samples from 3 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

NVlabs/consistory found in paper text by SyntologyNOASSERTION report
HVision-NKU/StoryDiffusion found in paper text by SyntologyApache-2.0 report
byliutao/1Prompt1Story found in paper text by SyntologyMIT report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 5 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
2ran · fixture could not drive it
1ran
13unverified

Licence: 5 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

UNetController byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology ran MIT (permissive) · e50934b785284e12 · report
find_sublist_index byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · e3db6e3a013fcf3d · report
gen_dropout_mask byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · efd2a5bc21534924 · report
ipca byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · d8a734b4027a6ccf · report
prompt2tokens byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · b0b3e07f83915937 · report
add_caption HVision-NKU/StoryDiffusion/utils/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 293847aedbd19e46 · report
add_white_border HVision-NKU/StoryDiffusion/utils/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · fbe121fea006a44e · report
apply_embeds_mask byliutao/1Prompt1Story/unet/utils.py found in paper text by Syntology unverified MIT (permissive) · 3d5030270e5e8fbc · report
attn_map_to_binary NVlabs/consistory/utils/general_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 5c36037d32ef030e · report
cal_attn_indice_xl_effcient_memory HVision-NKU/StoryDiffusion/utils/gradio_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b109efdd314c37ba · report
cal_attn_mask HVision-NKU/StoryDiffusion/utils/gradio_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2bf55a5e0aed32ff · report
cal_attn_mask_xl HVision-NKU/StoryDiffusion/utils/gradio_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1c16defbfcfd003b · report
create_anchor_mapping NVlabs/consistory/consistory_cache.py found in paper text by Syntology unverified licence not identified · pointer only · b9bc58f981bca9d7 · report
create_token_indices NVlabs/consistory/consistory_cache.py found in paper text by Syntology unverified licence not identified · pointer only · aa081efafe522f87 · report
gaussian_smooth NVlabs/consistory/utils/general_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 333c7d79c6682d84 · report
get_dynamic_threshold NVlabs/consistory/utils/general_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 6980c2a0a68bc7d7 · report
get_image_path_list HVision-NKU/StoryDiffusion/gradio_app_sdxl_specific_id_low_vram.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 4397f62f7d8c4e57 · report
process_mulline_text HVision-NKU/StoryDiffusion/utils/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · ac2390fc5e5bbe10 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.14553, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections