Papers › Less-to-More Generalization: Unlocking More Controllability by In-Context Generation

Less-to-More Generalization: Unlocking More Controllability by In-Context Generation

2 Apr 2025arXiv:2504.02160archive 2025-07-28

Shaojin Wu, Mengqi Huang, Wenxu Wu, Yufeng Cheng, Fei Ding, Qian He

Although subject-driven generation has been extensively explored in image generation due to its wide applications, it still has challenges in data scalability and subject expansibility. For the first challenge, moving from curating single-subject datasets to multiple-subject ones and scaling them is particularly difficult. For the second, most recent methods center on single-subject generation, making it hard to apply when dealing with multi-subject scenarios. In this study, we propose a highly-consistent data synthesis pipeline to tackle this challenge. This pipeline harnesses the intrinsic in-context generation capabilities of diffusion transformers and generates high-consistency multi-subject paired data. Additionally, we introduce UNO, which consists of progressive cross-modal alignment and universal rotary position embedding. It is a multi-image conditioned subject-to-image model iteratively trained from a text-to-image model. Extensive experiments show that our method can achieve high consistency while ensuring controllability in both single-subject and multi-subject driven generation.

PaperPDFCodeCode 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="2504.02160")

Code

Syntology Ran 13 of 43 code samples harvested from 1 repository linked to this paper; 30 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 43 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bytedance/uno officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

43 samples harvested; 13 ran; 1 honoured the contract we drafted; 30 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.

1ran · honoured contract
4ran · our draft was wrong
8ran
30unverified

Licence: 0 of the 43 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 bytedance/UNO. “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.

DiagonalGaussian bytedance/UNO/uno/flux/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 141926ef085f264b · report
Downsample bytedance/UNO/uno/flux/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · e50b194d9e5c1fb2 · report
LoRALinearLayer bytedance/UNO/uno/flux/pipeline.py official repository ran Apache-2.0 (permissive) · fd0e61395994c276 · report
MLPEmbedder bytedance/UNO/uno/flux/pipeline.py official repository ran · metamorphic tier: invariant Apache-2.0 (permissive) · 094e7d93e9f6ab58 · report
Upsample bytedance/UNO/uno/flux/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 5b35d346e47b654c · report
get_lin_function bytedance/UNO/uno/flux/pipeline.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 6116719157e7bd76 · report
get_lora_rank bytedance/UNO/uno/flux/pipeline.py official repository ran · honoured contract Apache-2.0 (permissive) · a6ce9c89a8dcb637 · report
load_checkpoint bytedance/UNO/uno/flux/pipeline.py official repository ran Apache-2.0 (permissive) · ab79c3404dbddc29 · report
load_model bytedance/UNO/uno/flux/pipeline.py official repository ran Apache-2.0 (permissive) · 5317947c40cdbb83 · report
load_safetensors bytedance/UNO/uno/flux/pipeline.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ec3fa3a95d08a424 · report
prepare_multi_ip bytedance/UNO/uno/flux/pipeline.py official repository ran Apache-2.0 (permissive) · 1ee6f33cbfb2cbe9 · report
preprocess_ref bytedance/UNO/uno/flux/pipeline.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8f824f754f1c382b · report
swish bytedance/UNO/uno/flux/pipeline.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5fb036462ae82f9f · report
AttnBlock bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 237044dc7eab755f · report
AutoEncoder bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · fbae76808b84e0a7 · report
Decoder bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · d1ebf28fb88a2094 · report
DoubleStreamBlock bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · d8050e753e9c5ca8 · report
DoubleStreamBlockLoraProcessor bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · a24812f33fae55b7 · report
DoubleStreamBlockProcessor bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 22edaa04a474763a · report
Encoder bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · d5faadf0ab7aec2d · report
Flux bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · fdb03645e82376bd · report
HFEmbedder bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · d3268980d3acc461 · report
ModelSpec bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · b1dbb41fa4ebe7ef · report
ResnetBlock bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 4479f990cc0a645e · report
SelfAttention bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 3d23efb955326633 · report
SingleStreamBlock bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · c3c72350a9e4085a · report
SingleStreamBlockLoraProcessor bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 381efa5cff5bbd21 · report
SingleStreamBlockProcessor bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 3cfa047b450ce3a0 · report
UNOPipeline bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 0a1d0bd5e3c40921 · report
attention bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 030be521b5aae819 · report
denoise bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 56043c53adfe4418 · report
get_noise bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · f6d9d4596b3ebd28 · report
get_schedule bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · a3d4da0ede5997f2 · report
load_ae bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 08cf34908f46f2a0 · report
load_clip bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 022dc7a94a8ae580 · report
load_flow_model bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · cd23972a162f29d8 · report
load_flow_model_only_lora bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 7875bcc97a6839d0 · report
load_from_repo_id bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 710fb1ae1bde5dd7 · report
load_t5 bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 007103c6e39ef191 · report
set_lora bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 2c10ff79bdee3461 · report
time_shift bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 8946943fa561779b · report
timestep_embedding bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 7f58624d56f501f5 · report
unpack bytedance/UNO/uno/flux/pipeline.py official repository unverified Apache-2.0 (permissive) · 330e00c9f233c90f · report

Tasks

Conditional Image GenerationImage GenerationPersonalized Image GenerationText-to-Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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