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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 43 code samples harvested from 1 repository linked to this paper: 13 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 0 violated, 5 with no contract checked; 7 where Syntology's instrument failed) · 30 unverified. Where Syntology's instrument failed: 6 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 43 samples from 1 repository, 13 ran (6 with no instrument failure; 7 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

bytedance/uno officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 43 samples, 13 ran (7 instrument-failed) · 30 unverified 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 (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 1 honoured, 0 violated, 5 with no contract checked; 7 where Syntology's instrument failed) · 30 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
6ran · our draft was wrong
1ran; the contract check could not run
5ran
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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

bytedance/uno official repository 43 samples, 13 ran (7 instrument-failed) · 30 unverified
DiagonalGaussian uno/flux/pipeline.py ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 141926ef085f264b · report fixture: signature z:Tensor/3/float · returned Tensor · level recorded 2026-09-22
Downsample in 58 papers uno/flux/pipeline.py ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · e50b194d9e5c1fb2 · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
LoRALinearLayer uno/flux/pipeline.py ran Apache-2.0 (permissive) · fd0e61395994c276 · report fixture: signature hidden_states:Tensor/2/float · returned Tensor · level recorded 2026-09-24
MLPEmbedder uno/flux/pipeline.py ran · metamorphic tier: invariant Apache-2.0 (permissive) · 094e7d93e9f6ab58 · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22
Upsample in 77 papers uno/flux/pipeline.py ran · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) · 5b35d346e47b654c · report fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22
get_lin_function in 6 papers uno/flux/pipeline.py ran · our draft was wrong Apache-2.0 (permissive) · 6116719157e7bd76 · report fixture: signature x1:float/0/float, y1:float/0/float, x2:float/0/float, y2:float/0/float · returned function · level recorded 2026-09-22
get_lora_rank uno/flux/pipeline.py ran · honoured contract Apache-2.0 (permissive) · a6ce9c89a8dcb637 · report fixture: signature checkpoint:dict/0/? · returned int · level recorded 2026-09-22
load_checkpoint in 277 papers uno/flux/pipeline.py ran · our draft was wrong Apache-2.0 (permissive) · ab79c3404dbddc29 · report fixture: signature local_path:str/0/str, repo_id:NoneType/0/?, name:NoneType/0/? · returned dict · level recorded 2026-09-22
load_model in 479 papers uno/flux/pipeline.py ran · our draft was wrong Apache-2.0 (permissive) · 5317947c40cdbb83 · report fixture: signature ckpt:str/0/str, device:str/0/str · returned dict · level recorded 2026-09-22
load_safetensors uno/flux/pipeline.py ran · our draft was wrong Apache-2.0 (permissive) · ec3fa3a95d08a424 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-22
prepare_multi_ip uno/flux/pipeline.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · 1ee6f33cbfb2cbe9 · report fixture: signature t5:callable/0/?, clip:callable/0/?, img:Tensor/4/float, prompt:list/1/str, ref_imgs:list/1/Tensor, pe:str/0/str · returned dict · level recorded 2026-09-22
preprocess_ref uno/flux/pipeline.py ran · our draft was wrong Apache-2.0 (permissive) · 8f824f754f1c382b · report fixture: signature raw_image:Image/0/?, long_size:int/0/int · returned Image · level recorded 2026-09-22
swish in 258 papers
census: 14 implementations from 37 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
uno/flux/pipeline.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5fb036462ae82f9f · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22
AttnBlock in 22 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 237044dc7eab755f · report
AutoEncoder in 11 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · fbae76808b84e0a7 · report
Decoder in 210 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · d1ebf28fb88a2094 · report
DoubleStreamBlock in 5 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · d8050e753e9c5ca8 · report
DoubleStreamBlockLoraProcessor uno/flux/pipeline.py unverified Apache-2.0 (permissive) · a24812f33fae55b7 · report
DoubleStreamBlockProcessor uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 22edaa04a474763a · report
Encoder in 278 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · d5faadf0ab7aec2d · report
Flux in 5 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · fdb03645e82376bd · report
HFEmbedder uno/flux/pipeline.py unverified Apache-2.0 (permissive) · d3268980d3acc461 · report
ModelSpec uno/flux/pipeline.py unverified Apache-2.0 (permissive) · b1dbb41fa4ebe7ef · report
ResnetBlock in 49 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 4479f990cc0a645e · report
SelfAttention in 66 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 3d23efb955326633 · report
SingleStreamBlock in 5 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · c3c72350a9e4085a · report
SingleStreamBlockLoraProcessor uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 381efa5cff5bbd21 · report
SingleStreamBlockProcessor uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 3cfa047b450ce3a0 · report
UNOPipeline uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 0a1d0bd5e3c40921 · report
denoise in 7 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 56043c53adfe4418 · report
get_noise in 29 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · f6d9d4596b3ebd28 · report
get_schedule in 6 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · a3d4da0ede5997f2 · report
load_ae uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 08cf34908f46f2a0 · report
load_clip in 8 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 022dc7a94a8ae580 · report
load_flow_model uno/flux/pipeline.py unverified Apache-2.0 (permissive) · cd23972a162f29d8 · report
load_flow_model_only_lora uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 7875bcc97a6839d0 · report
load_from_repo_id uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 710fb1ae1bde5dd7 · report
load_t5 uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 007103c6e39ef191 · report
set_lora uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 2c10ff79bdee3461 · report
time_shift in 7 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 8946943fa561779b · report
unpack in 18 papers uno/flux/pipeline.py unverified Apache-2.0 (permissive) · 330e00c9f233c90f · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for UNO framework (graph method: UNO framework). 54 bricks; individually on a fixture: 22 ran (of which 6 constructed an object rather than computing a result; 14 with no instrument failure: 1 honoured, 0 violated, 13 with no contract checked; 8 where Syntology's instrument failed) · 32 unverified. The assembly has not been run end-to-end.

  1. UNOPipeline entry · level 0 · unverified · 0a1d0bd5e3c40921
  2. DoubleStreamBlockLoraProcessor helper · level 0 · unverified · a24812f33fae55b7
  3. DoubleStreamBlockProcessor helper · level 0 · unverified · 22edaa04a474763a
  4. SingleStreamBlockLoraProcessor helper · level 0 · unverified · 381efa5cff5bbd21
  5. SingleStreamBlockProcessor helper · level 0 · unverified · 3cfa047b450ce3a0
  6. denoise helper · level 0 · unverified · 56043c53adfe4418
  7. get_lora_rank helper · level 1 · ran · honoured contract · a6ce9c89a8dcb637
  8. get_noise helper · level 0 · unverified · f6d9d4596b3ebd28
  9. get_schedule helper · level 0 · unverified · a3d4da0ede5997f2
  10. load_ae helper · level 0 · unverified · 08cf34908f46f2a0
  11. load_checkpoint helper · level 1 · ran · our draft was wrong · ab79c3404dbddc29
  12. load_clip helper · level 0 · unverified · 022dc7a94a8ae580
  13. load_flow_model helper · level 0 · unverified · cd23972a162f29d8
  14. load_flow_model_only_lora helper · level 0 · unverified · 7875bcc97a6839d0
  15. load_t5 helper · level 0 · unverified · 007103c6e39ef191
  16. prepare_multi_ip helper · level 1 · ran; the contract check could not run (RAISES) · 1ee6f33cbfb2cbe9
  17. preprocess_ref data_transform · level 1 · ran · our draft was wrong · 8f824f754f1c382b
  18. unpack helper · level 0 · unverified · 330e00c9f233c90f
  19. LoRALinearLayer helper · level 1 · ran · fd0e61395994c276
  20. attention helper · level 0 · unverified · 030be521b5aae819
  21. Flux model · level 0 · unverified · fdb03645e82376bd
  22. get_lin_function helper · level 1 · ran · our draft was wrong · 6116719157e7bd76
  23. time_shift helper · level 0 · unverified · 8946943fa561779b
  24. AutoEncoder model · level 0 · unverified · fbae76808b84e0a7
  25. print_load_warning helper · level 0 · unverified · c728727909e45352
  26. load_from_repo_id helper · level 0 · unverified · 710fb1ae1bde5dd7
  27. load_safetensors helper · level 1 · ran · our draft was wrong · ec3fa3a95d08a424
  28. HFEmbedder model · level 0 · unverified · d3268980d3acc461
  29. load_model helper · level 1 · ran · our draft was wrong · 5317947c40cdbb83
  30. set_lora helper · level 0 · unverified · 2c10ff79bdee3461
  31. apply_rope helper · level 0 · unverified · ad4327d0fd3beb3a
  32. DoubleStreamBlock helper · level 0 · unverified · d8050e753e9c5ca8
  33. EmbedND helper · level 1 · ran · ff3bd9590c746556
  34. FluxParams helper · level 1 · ran · 52004c455a1d9a71
  35. LastLayer helper · level 1 · ran · 1657e2f4b8f0d910
  36. MLPEmbedder helper · level 1 · ran · 094e7d93e9f6ab58
  37. SingleStreamBlock helper · level 0 · unverified · c3c72350a9e4085a
  38. timestep_embedding helper · level 0 · unverified · 7f58624d56f501f5
  39. AutoEncoderParams helper · level 1 · ran · b9f8b9efb85110e4
  40. Decoder helper · level 0 · unverified · d1ebf28fb88a2094
  41. DiagonalGaussian helper · level 1 · ran · 141926ef085f264b
  42. Encoder helper · level 0 · unverified · d5faadf0ab7aec2d
  43. Modulation helper · level 1 · ran · 901a2b936492d22c
  44. SelfAttention helper · level 0 · unverified · 3d23efb955326633
  45. rope helper · level 1 · ran; the contract check could not run · 6d4efcd033e6cec0
  46. QKNorm helper · level 1 · ran · e8f4e017c2ad4d90
  47. AttnBlock helper · level 0 · unverified · 237044dc7eab755f
  48. ResnetBlock helper · level 0 · unverified · 4479f990cc0a645e
  49. Upsample helper · level 1 · ran · 5b35d346e47b654c
  50. swish helper · level 1 · ran · our draft was wrong · 5fb036462ae82f9f
  51. Downsample helper · level 1 · ran · e50b194d9e5c1fb2
  52. ModulationOut helper · level 1 · ran · 56b80dad0a888bb4
  53. RMSNorm helper · level 1 · ran · 4de3b3072dadcd2f
  54. ModelSpec helper · level 0 · unverified · b1dbb41fa4ebe7ef

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2504.02160") returns these assemblies with each brick's role and wiring (how to connect).

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