SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.11627 · 2024

LoRA-Composer: Leveraging Low-Rank Adaptation for Multi-Concept Customization in Training-Free Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 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, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 3 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/2403.11627.json · badge: /api/ran/2403.11627.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
young98cn/lora_composer canonical (classifier label)
classifier basis: census
5 ran · 3 no recorded run
FunctionStatusWhere it lives
draw_rectangle Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
young98cn/lora_composer/region_lora/utils/attn_util.py
pointer only (licence: NOASSERTION) · get_code("49c29096f4f620e9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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.

generate_gaussian_matrix Ran
ran; our contract draft was wrong, not the code
young98cn/lora_composer/region_lora/multi_lora_sample.py
pointer only (licence: NOASSERTION) · get_code("056a6e797cbc0f04")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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.

lora_moved Ran
ran, honoured the contract we drafted
young98cn/lora_composer/mixofshow/archs/lora_override.py
pointer only (licence: NOASSERTION) · get_code("58181e7380207f46")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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.

preprocess Ran
ran, violated the contract we drafted
young98cn/lora_composer/region_lora/multi_lora_sample.py
pointer only (licence: NOASSERTION) · get_code("3fd71341dfc51281")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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.

text_under_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
young98cn/lora_composer/region_lora/utils/attn_util.py
pointer only (licence: NOASSERTION) · get_code("cbb03c8ff754e2d0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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.

aggregate_attention Not yet run
unverified (harvested, no recorded run)
young98cn/lora_composer/region_lora/utils/attn_util.py
pointer only (licence: NOASSERTION) · get_code("4ea31d866b78ba77")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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. No invocation recorded.

merge_pplus2sd_ Not yet run
unverified (harvested, no recorded run)
young98cn/lora_composer/inference/region_lora_sample.py
pointer only (licence: NOASSERTION) · get_code("687032a155aea28d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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. No invocation recorded.

replace_latents Not yet run
unverified (harvested, no recorded run)
young98cn/lora_composer/region_lora/multi_lora_sample.py
pointer only (licence: NOASSERTION) · get_code("32b15995404f4d2b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, young98cn/lora_composer (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. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 7 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
text_under_image 5 other papers
4 dated earlier, 1 later
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

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

Customization generation techniques have significantly advanced the synthesis of specific concepts across varied contexts. Multi-concept customization emerges as the challenging task within this domain. Existing approaches often rely on training a fusion matrix of multiple Low-Rank Adaptations (LoRAs) to merge various concepts into a single image. However, we identify this straightforward method faces two major challenges: 1) concept confusion, where the model struggles to preserve distinct individual characteristics, and 2) concept vanishing, where the model fails to generate the intended subjects. To address these issues, we introduce LoRA-Composer, a training-free framework designed for seamlessly integrating multiple LoRAs, thereby enhancing the harmony among different concepts within generated images. LoRA-Composer addresses concept vanishing through concept injection constraints, enhancing concept visibility via an expanded cross-attention mechanism. To combat concept confusion, concept isolation constraints are introduced, refining the self-attention computation. Furthermore, latent re-initialization is proposed to effectively stimulate concept-specific latent within designated regions. Our extensive testing showcases a notable enhancement in LoRA-Composer's performance compared to standard baselines, especially when eliminating the image-based conditions like canny edge or pose estimations. Code is released at \url{https://github.com/Young98CN/LoRA_Composer}

For agents

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

get_harvested_code_for_paper("2403.11627")
get_code_for_paper("2403.11627")
have("2403.11627")

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

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

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

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

Connect an agent — have() is free.