Manuscript Offprint
arXiv:2608.20336WithEveryone: Unified Planning and Identity Grounding for Group Image Generation
Abstract
Identity-preserving image generation becomes increasingly unreliable when a scene must contain many specified people. Beyond retaining each identity, the model must bind every reference to a distinct person and location, while training-time identity losses must establish correspondence among several noisy predicted faces. We introduce WithEveryone, a unified framework for generating group images of 5–10 reference identities. WithEveryone injects each selected identity as an addressed token, predicts a structured identity–layout plan, and renders the plan as a visual condition. Its key objective, Layout-Grounded ID Loss, uses annotated face regions to supervise the intended identities directly, avoiding unstable embedding-based face matching; ID Representation Forcing additionally trains a prediction for each identity before image synthesis. WithEveryone leads in identity similarity (0.538 versus GPT-Image-2.5’s 0.472), with lower Copy-Paste (0.149 versus 0.197), 94.5% identity coverage, and 9.6% identity collisions. These results show that explicit identity–layout grounding enables identity-preserving generation to scale to larger groups without relying on direct reference-face copying.

Figure 1: Overview of WithEveryone. WithEveryone generates coherent group images from five to ten reference identities. A single model reasons about which references participate, plans identity–layout bindings, person regions, and poses, and generates the image conditioned on that plan, so identity and composition are decided in one context rather than by separate modules.

Figure 2: Group images generated by WithEveryone. The samples cover different group sizes, scene types, and visual styles.
1 Introduction

Figure 3: Overview of WithEveryone. The model loads selected reference identities as ID tokens, predicts structured Layout CoT, renders a visual layout condition, and predicts identity representations before generating the target group image. Modality-boundary tokens such as “BOI” are omitted, and the actual CoT order follows the text.
Recent image generation models, especially unified multimodal models (UMMs), have advanced rapidly in visual fidelity, text understanding, and controllability, and identity-preserving generation further lets users specify a person through one or more reference images [34, 60]. However, existing open academic methods and benchmarks primarily address one or a small number of people, typically covering one to five reference identities (IDs) [68, 9, 2]; even strong proprietary systems such as Nano Banana Pro support at most five people [19]. Real group-image creation requires jointly generating more specified people rather than repeatedly generating independent single-person images. We study group-image generation from five to ten reference IDs in one semantically and visually coherent image.
As the number of reference IDs increases, identity similarity is widely reported to decrease [68, 29, 76, 24], and models tend to duplicate faces or merge IDs in multi-person scenes [3]. When more reference images, visual tokens, and identity conditions share one generation context, each identity signal is more easily diluted, and cross-identity interference and incorrect binding become more likely. Supplying reference images or identity embeddings as conditions therefore does not guarantee that the model keeps reading every identity during generation: large-group generation needs a mechanism that both provides each reference identity and constrains the context to retain its representation.
Prior work also shows that conditioning alone is not enough, and that supervising the generated face directly with an identity loss is necessary for strong identity preservation [21, 68]. Such losses, however, are formulated for a single person or at most two. Extending them to a large group is not a matter of running the same loss more times, because the loss must first decide which generated face belongs to which reference, and existing formulations recover that correspondence by matching face embeddings in the generated image. Early in training or at high noise levels, however, the predicted faces are nearly identical, so this matching becomes unreliable and the identity loss fails or even becomes counterproductive.
More references also complicate spatial and bodily relationships. Identity similarity answers who is generated, but not where people appear, what poses they take, or how they are organized. As the group grows, pairwise relations multiply and one misplaced person propagates errors through the surrounding composition, making overlaps, limb errors, and crowded layouts especially likely. We therefore offload this planning burden to the understanding side of a unified model before image generation.
To address these challenges, we propose WithEveryone, a UMM framework shown in Figure 1. On the identity side, we extract an identity embedding for each reference person, project it into an ID token, and bind that token to the planned person it should control, so that references form an addressed set rather than an unordered pool. Because ID tokens are easily ignored in long multi-ID sequences, ID Representation Forcing adapts representation forcing [61] to identities, requiring the model to predict a representation aligned with each target person before synthesis. At the output level, we introduce a flow-compatible Layout-Grounded ID Loss (LG-ID Loss), which removes the matching problem described above rather than approximating it: the correspondence is read off the layout annotation, so each identity is supervised in its own annotated region no matter how many people share the image.
On the understanding side, the model autoregressively predicts a structured Layout Chain of Thought (Layout CoT) containing person indices, bounding boxes, identity–layout bindings, and pose keypoints, extending ATLAS-style planning [38] to an identity-aware setting in which every planned person is tied to a reference identity; a deterministic renderer then converts the plan into a visual condition. ID tokens and Representation Forcing determine who to generate, Layout CoT determines where and how each person appears, and identity–layout binding joins the two in a single plan.
We evaluate WithEveryone against academic, open-source, and proprietary systems, including GPT-Image-2 and GPT-Image-2.5. Ours reaches the highest Sim(Tgt)/Sim(Ref), at 0.538/0.641, compared with 0.472/0.615 for GPT-Image-2.5, while lowering Copy-Paste [68] from 0.197 to 0.149. This identity advantage comes with competitive scene similarity, but does not extend to every quality or coverage metric. Our contributions are threefold:
- We propose interleaved identity and layout reasoning inside a single unified model: each selected reference is loaded as an ID token, a structured Layout CoT extends ATLAS-style planning with identity–layout binding and joint prediction of face regions, body extents, and poses, and a deterministic renderer turns the plan into a visual condition. ID Representation Forcing adapts representation forcing by adding supervised per-identity predictions before image synthesis, encouraging the selected identities to remain addressable in the shared context.
- We propose the LG-ID Loss, which grounds output-side identity supervision in the layout annotation instead of in embedding-based face matching. This removes the failure mode that prevents existing identity losses from being applied beyond two people, and it is the single largest source of identity gain in our system.
- We build and systematically evaluate a group-image generation system for five to ten people. On an identity-disjoint benchmark it achieves higher target-context identity similarity than GPT-Image-2.5 (Sim(Tgt) 0.538 versus 0.472) at a lower copy-paste artifact score (0.149 versus 0.197), and our analysis separates plan prediction from plan execution as distinct sources of the remaining error.
Identity-Preserving and Identity-Consistent Generation.
Identity-preserving generation has progressed from single-person methods [60, 34, 56, 59, 70, 66] to multi-person customization [76, 24, 29, 9]. Existing methods, however, remain limited to small groups and can trade identity similarity for copy-paste behavior [8, 41, 28, 68]; reported examples from WithAnyone and UMO include at most four and three people, respectively. Output-side identity supervision is similarly limited: PuLID [21] handles one identity, while WithAnyone uses embedding-based Hungarian matching for at most two. Under training-time noise, this matching becomes unreliable as the number of faces grows. Our LG-ID Loss instead obtains correspondence from layout annotations, enabling output-side supervision for five to ten people.
Text-Image-to-Image Models and Unified Models.
Reference-conditioned generation is now supported by open models [1, 62, 54, 13, 6] and proprietary systems [20, 19, 5, 43, 44]. Unified architectures such as HunyuanImage 3 and BAGEL generate text and images in a shared context, enabling in-context planning before synthesis [7, 10, 77].
Layout Planning and Generation.
Most layout-conditioned methods use a separate planner and image generator [18, 23, 71, 75, 17, 16, 4], whereas ATLAS and PlanGen unify planning and synthesis in one contextual sequence [38, 25]. We extend this setting from text-to-image to identity-conditioned generation: each planned person is bound to a reference identity, with jointly predicted face regions, body extents, and poses rendered as a visual condition.
3 Method
3.1 Overview
We consider group-image generation from a text prompt and a set of five to ten reference identities. Our model follows a transfusion-style [77] mixture-of-transformers multimodal architecture [10, 7] in which text and structured reasoning are predicted autoregressively, while target-image latents are learned through flow matching [36]. This shared causal context lets high-level decisions made before image generation directly condition the subsequent image tokens.
As shown in Figure 3, WithEveryone prepares three complementary conditions before synthesizing the target image: it selects the reference identities participating in the scene and loads a compact representation for each, predicts a structured multi-person layout together with the association between identities and planned people, and finally predicts target identity representations from the accumulated context. The rendered layout condition and the representation scaffold jointly condition flow-based image generation.
3.2 Interleaved Identity and Layout Reasoning
ID binding and Representation Forcing.
The model selects requested reference people while allowing unreferenced people, and complements low-level image features with a high-level identity signal, analogous to ViT/VAE features [15]: each selected identity’s 512-dimensional ArcFace embedding [12, 11] is projected through an MLP into an ID token and bound in the subsequent layout. Because these sparse tokens can be diluted in a 10–20K-token context, ID Representation Forcing [61] places one prediction token per target-linked identity before image synthesis and maps its contextual hidden state back to the ArcFace space:
where is an MLP head, is the target-person embedding, and is the number of supervised identities. Unlike next-token prediction or flow matching, this loss directly aligns a continuous identity prediction from the shared context; the resulting scaffold stays causally available to later image tokens (Appendix C.2).
Structured Layout CoT.
ID-preserving generation must also resolve the spatial and bodily relationships among people, which we formulate as a structured Layout CoT. Following ATLAS [38], the model autoregressively predicts identity–layout bindings, person and face regions, body extents, and pose keypoints using a discretized coordinate vocabulary with 2,002 tokens, corresponding to 1,001 positions on each axis. The stages are emitted in a fixed causal order, so each decision is conditioned on the identities and regions already committed; short natural-language connectors carry the scene state across stages, while the spatial fields remain parseable and directly supervised. The model then calls a rendering tool that draws the planned face regions, body regions, and pose skeletons onto a blank canvas at the target aspect ratio, which is inserted into the context as a condition image.
3.3 Training Data and Objectives
Training data and sequence.
Each training sample interleaves reference images and the prompt, identity selection and ID loading, layout planning, the rendered layout condition, a recaption, the identity prediction, and the target image, in that causal order; Figure 4 shows how these signals are derived from real group photographs, and Appendix C.1 gives the full sequence and annotation pipeline.

Figure 4: Data statistics, pipeline, and example. We report the distributions of identity occurrence frequency, reference count, and real photographs versus collage and poster images; the data-construction pipeline; and an example training sample. The corpus contains 400K group-image samples, and the reference-count distribution covers the five-to-ten-person range used at evaluation time.
Layout-Grounded ID Loss.
Existing output-side identity losses [21, 68] either handle one person or recover correspondence by matching generated-face embeddings, which becomes unstable when noisy one-step predictions contain five to ten barely distinguishable faces. PuLID avoids correspondence by supervising one identity, whereas WithAnyone uses Hungarian matching and reports it for at most two. At high noise, arbitrary pairings pull one identity toward another, cancelling rather than sharpening supervision. We remove the matching problem rather than improving the matcher: we take each identity’s annotated face box from the target image and crop the predicted image at the same box, so every crop pair is correct by construction for ArcFace supervision [12]. This holds only at sufficiently low noise, where generated faces are recognizable and follow their boxes; a timestep threshold enforces this (Appendix B.6), and plan adherence converges before identity preservation (Section 4.4). Because correspondence no longer depends on generated appearance, Layout-Grounded ID Loss (LG-ID Loss) scales independently of group size and provides the largest individual identity gain in our ablation (Section 4.3).
Joint objective.
Different parts of the sequence receive supervision appropriate to their representation. Connector text, structured layout tokens, summaries, and recaptions use next-token prediction; target-image latents use flow matching; and identity predictions use the cosine alignment above. Given a noisy latent and predicted velocity under the reverse-flow convention, the one-step clean-image estimate used by the LG-ID Loss is
The overall objective is
We set , , and ; Appendix C.3 lists the backbone, initialization, data scale, optimizer, and hardware. At inference time, the model predicts identity selection, Layout CoT, and recaption autoregressively; the renderer deterministically constructs the layout condition from the predicted plan. Target identity embeddings are used only as training targets for representation forcing, not as inference-time conditions.
4 Experiments
4.1 Experimental Setup
Benchmark.
We evaluate on 210 real group images with five to ten reference identities, stratified into 60, 50, 40, 30, 20, and 10 examples, respectively. Each target contains exactly one detected face per reference and no duplicate identities. All benchmark identities and any training images containing them are held out, so the comparison tests unseen people rather than image-level memorization.
Baselines and protocol.
We compare academic identity methods (UMO [9], WithAnyone [68], UniPortrait [24], DreamO [41], and ID-Patch [76]), open models (FLUX.2 Klein [33], Qwen-Image-Edit [62], LongCat-Image-Edit [54], OmniGen2 [63], SenseNova U1 [13], BAGEL [10], and HiDream-O1 [6]), and proprietary Nano Banana Pro [19] and Nano Banana 2 [20], Seedream [5], and GPT-Image-2 [44] and GPT-Image-2.5 (Sunburst) [45]. Ours is evaluated at 2K in Table 1. We exclude missing generations (e.g., API-censored outputs) and undefined scores. Ablation experiments use earlier checkpoints without post-training and are evaluated at 1K. ID-Patch and WithAnyone receive ground-truth layouts because they do not plan them.
Metrics.
Following WithAnyone [68], and average ArcFace (buffalo_l) [12], FaceNet [53], and AdaFace [30]; ablations use ArcFace only. Assigning generated faces to references is reliable on the clean final image; the LG-ID Loss instead addresses noisy one-step training predictions. Human-validated Copy-Paste [68] measures reuse; Coverage is the mean per-image fraction of valid references with a one-to-one Hungarian match of at least 0.20; and Dup is the fraction whose best generated face is also selected by another reference. DINO-I [46] and CLIP-I/T [50] measure image/text alignment; Aes uses aesthetic-predictor-v2.5 [14], and HPSv3 [40] reports the unnormalized preference score with English benchmark captions; higher is better for both. Count is count accuracy; and Plan IoU is mean matched IoU between supplied face boxes and detected generated faces, measuring own-plan or oracle-plan execution. Appendix C gives full definitions.
Table 1: Quantitative comparison on our 5–10-person benchmark. The benchmark contains 210 examples; means use available valid scores and metric-specific sample counts. Identity similarities average the three face encoders of the main protocol. Coverage is the fraction of references whose one-to-one matched generated face reaches a similarity of 0.20, and Dup the fraction that collapse onto a face already claimed by another identity. , , and mark the first-, second-, and third-best results; for Copy-Paste only the three methods with the highest Sim(Ref) are ranked, since lower similarity means less copying naturally. WithAnyone and ID-Patch use ground-truth layouts and are excluded from the Coverage and Dup rankings.
Method Identity Similarity Identity Coverage Generation Quality Sim(Tgt) Sim(Ref) Copy-Paste Coverage Dup CLIP-I DINO-I CLIP-T Aes HPSv3 Academic identity-preserving methods WithAnyone 0.405 0.483 0.096 0.957 0.045 0.807 0.695 0.281 5.34 11.241 UMO 0.371 0.484 0.112 0.630 0.258 0.780 0.663 0.286 5.03 10.747 UniPortrait 0.339 0.464 0.115 0.635 0.187 0.679 0.415 0.301 5.09 10.286 DreamO 0.297 0.331 0.027 0.298 0.299 0.724 0.611 0.282 5.31 10.299 ID-Patch 0.225 0.259 0.032 0.247 0.224 0.609 0.320 0.331 4.89 6.446 Open-source general-purpose models FLUX.2 Klein 0.264 0.265 0.002 0.314 0.265 0.787 0.685 0.291 5.30 14.149 Qwen-Image-Edit 0.253 0.289 0.018 0.176 0.291 0.614 0.312 0.227 5.96 8.081 LongCat-Image-Edit 0.287 0.288 0.001 0.381 0.264 0.802 0.657 0.288 5.31 11.401 OmniGen2 0.267 0.275 0.002 0.418 0.267 0.774 0.633 0.288 5.43 11.886 SenseNova U1 0.253 0.243 0.009 0.213 0.256 0.797 0.686 0.289 5.25 11.445 BAGEL 0.223 0.225 0.003 0.136 0.276 0.752 0.635 0.282 4.10 10.358 HiDream-O1 0.353 0.376 0.026 0.780 0.190 0.806 0.692 0.286 5.49 12.004 Proprietary systems Nano Banana Pro 0.453 0.478 0.041 0.674 0.148 0.839 0.712 0.275 5.39 12.192 Nano Banana 2 0.451 0.480 0.045 0.884 0.099 0.860 0.731 0.276 5.28 12.280 GPT-Image-2 0.462 0.583 0.169 0.905 0.075 0.853 0.719 0.270 5.36 12.150 GPT-Image-2.5 0.472 0.615 0.197 0.925 0.106 0.839 0.710 0.279 5.63 12.023 Seedream 4.5 0.407 0.495 0.114 0.859 0.175 0.829 0.698 0.286 5.29 11.849 Seedream 5.0 Pro 0.436 0.522 0.114 0.913 0.065 0.850 0.715 0.275 5.44 12.638 WithEveryone 0.538 0.641 0.149 0.945 0.096 0.849 0.724 0.275 5.21 11.915
4.2 Cross-Model Comparison
Identity, coverage, and copying.
Table 1 shows that WithEveryone combines the strongest target-context and reference identity similarity with less copying than either GPT-Image baseline. This combination preserves identity while adapting faces to the target scene. It also achieves the highest coverage among methods without ground-truth layouts, showing that the identity gain extends to composing the requested group.
Generation quality and scaling.
The identity gains accompany competitive scene similarity, including the second-highest DINO-I. Although its Aes and HPSv3 scores are lower than those of the GPT-Image models, WithEveryone remains competitive on both metrics. Across five to ten references (Figure 5), WithEveryone ranks first at every group size and declines from 0.629 to 0.571, versus 0.593 to 0.496 for GPT-Image-2 and 0.412 to 0.330 for UMO; its distribution is tighter, while GPT-Image-2 has heavier tails. Together, the group-size trends show sustained identity preservation as more references compete within the same scene (Appendix B.2).
Figure 5: Scaling to more references. Lines show mean ArcFace similarity to the references; distributions are shown for WithEveryone and GPT-Image-2.
Table 2: Ablation results. The rows form three incremental branches from the same base: layout (P1–P3), ID token and Representation Forcing (P1, P4, P5), and LG-ID Loss (P1, P6); P7 is the complete configuration and additionally uses the text-to-layout corpus.
Variant Sim(Ref) Sim(Tgt) Count Coverage P1 Default 0.339 0.304 0.771 0.741 P2 Model Layout 0.364 0.316 0.828 0.813 P3 GT Layout 0.412 0.367 0.958 0.891 P4 ID Token 0.351 0.313 0.827 0.761 P5 ID Token + RF 0.364 0.328 0.817 0.782 P6 LG-ID Loss only 0.506 0.435 0.845 0.947 P7 Full Model 0.555 0.461 0.869 0.960

Figure 6: Qualitative comparison with proprietary models. , , and mark faces that reproduce a person already generated elsewhere in the image, that are not recognizable as their bound reference, and that appear transplanted without adapting to the pose, lighting, or viewpoint of the scene. These author annotations are illustrative; their quantitative counterparts are the duplicate rate, Sim(Ref), and Copy-Paste.
4.3 Ablation Studies
Table 2 evaluates layout conditioning (P1–P3), ID tokens and Representation Forcing (P1, P4, P5), LG-ID Loss (P1, P6), and the full model (P7). Variants are trained independently under the same recipe, except that P7 also uses the text-to-layout corpus (Appendix C.1); Appendix B.8 gives the full setup of each branch.
Effect of the LG-ID Loss.
LG-ID Loss provides the largest individual gain, raising Sim(Ref)/Sim(Tgt) from 0.339/0.304 to 0.506/0.435 and Count/Coverage from 0.771/0.741 to 0.845/0.947. Because each identity is supervised inside its annotated region, the loss is reduced only by placing the right person in the right location; it therefore carries spatial as well as identity information, so the layout-only gain below understates spatial grounding. P7 combines LG-ID Loss, ID tokens, Representation Forcing, Layout CoT, and text-to-layout data, reaching 0.555/0.461; these simultaneous changes prevent attribution of the margin. Its Coverage is not a threshold artifact: raising the matching threshold from 0.20 to 0.25, 0.30, and 0.35 lowers Coverage by only 0.010, 0.017, and 0.027, while just 3.6% of references lie near the boundary (Appendix C.7). Lowering the threshold to 0.15 changes Coverage by only , further confirming robustness.
Effect of Layout CoT.
P1 omits Layout CoT and ID tokens, while P2 and P3 use model-predicted and target-derived layouts, respectively. Model-predicted layout raises Sim(Ref) from 0.339 to 0.364, Count from 0.771 to 0.828, and Coverage from 0.741 to 0.813, with little Sim(Tgt) change. Ground-truth layout further raises Sim(Ref)/Sim(Tgt) to 0.412/0.367 and improves every layout metric. As a target-derived oracle rather than an achievable planning gain, it shows that high-quality layout improves both composition and identity and that planning quality remains a bottleneck.
Effect of ID tokens and Representation Forcing.
ID tokens yield small, consistent gains, with the largest increase in Count (0.771 to 0.827); Representation Forcing further improves Sim(Ref)/Sim(Tgt) by . Together with the identity-specific attention in Figure 9, these modest gains support improved identity addressability rather than a large direct identity gain.
4.4 Analysis
Figure 7: Identity similarity against relative face size. Face size is measured as a fraction of the image side. Curves are local means with 95% confidence bands, annotated with the fitted slope. The grey band spans the mean face size from ten references on its left edge to five on its right. The lower panel shows the distribution of relative face size for each group size.
Planning versus execution.
Following its own plan, the full model converges to 0.814 Plan IoU in Figure 8, matching the flat 0.79–0.80 reference of the oracle-plan variant, so it executes its own plan about as faithfully as a supplied one. Substituting that ground-truth layout nevertheless improves identity and coverage (Table 2), locating the residual error in plan prediction rather than execution. Since execution converges before identity preservation (Figure 13), the main opportunity lies on the understanding side; Appendix C.8 defines the Relative Layout Score (RLS), which scores plan quality against the ground-truth configuration, and Appendices B.4 and B.6.3 report it.
Representation Forcing mechanism.
Figure 9 shows layer-24 diagonal attention of 0.378–0.574 versus 0.104–0.121 off-diagonal, a to identity-specificity gap. This supports identity-specific routing at supervised prediction positions, but not a causal effect without a no-RF control or comparison to generated face patches.
Face size and scaling degradation.
Similarity could fall with group size simply because faces get smaller. Figure 7 shows that the baselines depend strongly on face size, gaining 0.016–0.019 similarity per percentage point of relative face side, whereas our slope is nearly flat at . Controlling for face size removes most of the group-size slope for GPT-Image-2 and Seedream 5.0 Pro but leaves ours essentially unchanged. The reduction in face resolution therefore does not explain our remaining group-size degradation, which may reflect other factors that grow with group size, including cross-identity interference, occlusion, and compositional complexity. Within a fixed pixel band WithEveryone leads below 200 px and GPT-Image-2 overtakes it above. This pattern is qualitatively consistent with GPT-Image-2’s higher Copy-Paste, although the association does not identify a causal explanation. Appendix B.3 gives the fits and the per-band numbers.
Figure 8: Plan IoU convergence. The model rapidly converges to follow the planned layout.

Figure 9: Attention at Representation Forcing prediction positions. In the three illustrated examples, layer-24 attention from the supervised identity predictions to reference ID tokens shows diagonal dominance.
5 Conclusion
We presented WithEveryone, combining ID tokens, Representation Forcing, identity-aware Layout CoT, and LG-ID Loss for five-to-ten-person generation. On an identity-disjoint benchmark, Ours achieves the highest Sim(Tgt)/Sim(Ref) (0.538/0.641), with lower Copy-Paste than GPT-Image-2.5 (0.149 versus 0.197). Its coverage reaches 0.945, while quality and identity-collision scores leave room for improvement. LG-ID Loss provides the largest gain, Layout CoT adds coverage and spatial control, and diagnostics identify plan prediction as the remaining bottleneck within this benchmark. More broadly, multi-person identity supervision benefits from explicit spatial addresses. Appendix E discusses limitations and responsible use.
References
[1] S. Batifol, A. Blattmann, F. Boesel, S. Consul, C. Diagne, T. Dockhorn, J. English, Z. English, P. Esser, S. Kulal, et al. (2025) FLUX. 1 kontext: flow matching for in-context image generation and editing in latent space. arXiv e-prints, pp. arXiv–2506. Cited by: Appendix D, §2.
[2] S. Borse, S. Choi, S. Park, J. Kim, S. Kadambi, R. Garrepalli, S. Yun, M. Hayat, and F. Porikli (2025) MultiHuman-testbench: benchmarking image generation for multiple humans. arXiv preprint arXiv:2506.20879. Cited by: §1.
[3] S. Borse, F. Farhadzadeh, M. Hayat, and F. Porikli (2026) Resolving the identity crisis in text-to-image generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 36703–36712. Cited by: §1.
[4] S. Borse, P. Pham, F. Farhadzadeh, S. Choi, P. Nguyen, A. Tran, S. Yun, M. Hayat, and F. Porikli (2026) Ar2can: an architect and an artist leveraging a canvas for multi-human generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 550–560. Cited by: §2.
[5] ByteDance Seed Team (2026) Beyond generation, it understands design: introducing seedream 5.0 pro. ByteDance. External Links: Link Cited by: §2, §4.1.
[6] Q. Cai, J. Chen, C. Gao, Z. Gong, Y. Li, Y. Pan, Y. Peng, Z. Qiu, K. Yu, Y. Zhang, et al. (2026) Hidream-o1-image: a natively unified image generative foundation model with pixel-level unified transformer. arXiv preprint arXiv:2605.11061. Cited by: §2, §4.1.
[7] S. Cao, H. Chen, P. Chen, Y. Cheng, Y. Cui, X. Deng, Y. Dong, K. Gong, T. Gu, X. Gu, et al. (2025) Hunyuanimage 3.0 technical report. arXiv preprint arXiv:2509.23951. Cited by: §2, §3.1.
[8] B. Chen, M. Zhao, H. Sun, L. Chen, X. Wang, K. Du, and X. Wu (2025) XVerse: consistent multi-subject control of identity and semantic attributes via dit modulation. arXiv preprint arXiv:2506.21416. Cited by: §2.
[9] Y. Cheng, W. Wu, S. Wu, M. Huang, F. Ding, and Q. He (2025) UMO: scaling multi-identity consistency for image customization via matching reward. arXiv preprint arXiv:2509.06818. Cited by: §1, §2, §4.1.
[10] C. Deng, D. Zhu, K. Li, C. Gou, F. Li, Z. Wang, S. Zhong, W. Yu, X. Nie, Z. Song, G. Shi, and H. Fan (2025) Emerging properties in unified multimodal pretraining. arXiv preprint arXiv:2505.14683. Cited by: §2, §3.1, §4.1.
[11] J. Deng, J. Guo, E. Ververas, I. Kotsia, and S. Zafeiriou (2020) RetinaFace: single-shot multi-level face localisation in the wild. In CVPR, Cited by: §3.2.
[12] J. Deng, J. Guo, N. Xue, and S. Zafeiriou (2019) Arcface: additive angular margin loss for deep face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4690–4699. Cited by: §3.2, §3.3, §4.1.
[13] H. Diao, P. Wu, H. Deng, J. Wang, S. Bai, S. Wu, W. Fan, W. Ye, W. Tong, X. Fan, et al. (2026) Sensenova-u1: unifying multimodal understanding and generation with neo-unify architecture. arXiv preprint arXiv:2605.12500. Cited by: §2, §4.1.
[14] discus0434 (2023) Aesthetic-predictor-v2-5. Note: https://github.com/discus0434/aesthetic-predictor-v2-5Accessed: 2025-05-12 Cited by: §4.1.
[15] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. (2020) An image is worth 16x16 words: transformers for image recognition at scale. arXiv preprint arXiv:2010.11929. Cited by: §C.2, §3.2.
[16] C. Duan, R. Fang, Y. Wang, K. Wang, L. Huang, X. Zeng, H. Li, and X. Liu (2025) Got-r1: unleashing reasoning capability of mllm for visual generation with reinforcement learning. arXiv preprint arXiv:2505.17022. Cited by: §2.
[17] R. Fang, C. Duan, K. Wang, L. Huang, H. Li, S. Yan, H. Tian, X. Zeng, R. Zhao, J. Dai, et al. (2025) Got: unleashing reasoning capability of multimodal large language model for visual generation and editing. arXiv preprint arXiv:2503.10639. Cited by: §2.
[18] W. Feng, W. Zhu, T. Fu, V. Jampani, A. Akula, X. He, S. Basu, X. E. Wang, and W. Y. Wang (2023) Layoutgpt: compositional visual planning and generation with large language models. Advances in Neural Information Processing Systems 36, pp. 18225–18250. Cited by: §2.
[19] Google DeepMind (2025) Introducing nano banana pro. Google DeepMind. External Links: Link Cited by: §1, §2, §4.1.
[20] Google DeepMind (2026) Nano banana 2: combining pro capabilities with lightning-fast speed. Google DeepMind. External Links: Link Cited by: §2, §4.1.
[21] Z. Guo, Y. Wu, Z. Chen, L. Chen, P. Zhang, and Q. He (2024) PuLID: pure and lightning id customization via contrastive alignment. In Advances in Neural Information Processing Systems, Cited by: §1, §2, §3.3.
[22] Z. Guo, P. Zhang, Y. Wu, C. Mou, S. Zhao, and Q. He (2025) MUSAR: exploring multi-subject customization from single-subject dataset via attention routing. arXiv preprint arXiv:2505.02823. Cited by: Appendix D.
[23] T. Gupta and A. Kembhavi (2023) Visual programming: compositional visual reasoning without training. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 14953–14962. Cited by: §2.
[24] J. He, Y. Geng, and L. Bo (2024) UniPortrait: a unified framework for identity-preserving single-and multi-human image personalization. arXiv preprint arXiv:2408.05939. Cited by: §1, §2, §4.1.
[25] R. He, B. Cheng, Y. Ma, Q. Jia, S. Liu, A. Ma, X. Wu, L. Wu, D. Leng, and Y. Yin (2025) Plangen: towards unified layout planning and image generation in auto-regressive vision language models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 18143–18154. Cited by: §2.
[26] J. Ho, A. Jain, and P. Abbeel (2020) Denoising diffusion probabilistic models. Advances in neural information processing systems 33, pp. 6840–6851. Cited by: Appendix D.
[27] D. Jiang, Z. Guo, R. Zhang, Z. Zong, H. Li, L. Zhuo, S. Yan, P. Heng, and H. Li (2026) T2i-r1: reinforcing image generation with collaborative semantic-level and token-level cot. Advances in Neural Information Processing Systems 38, pp. 39856–39890. Cited by: §C.8.
[28] L. Jiang, Q. Yan, Y. Jia, Z. Liu, H. Kang, and X. Lu (2025) InfiniteYou: flexible photo recrafting while preserving your identity. arXiv preprint arXiv:2503.16418. Cited by: §2.
[29] C. Kim, J. Lee, S. Joung, B. Kim, and Y. Baek (2024) Instantfamily: masked attention for zero-shot multi-id image generation. arXiv preprint arXiv:2404.19427. Cited by: §1, §2.
[30] M. Kim, A. K. Jain, and X. Liu (2022) Adaface: quality adaptive margin for face recognition. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 18750–18759. Cited by: §4.1.
[31] B. F. Labs (2024) FLUX. Note: https://github.com/black-forest-labs/flux Cited by: Appendix D.
[32] B. F. Labs (2025) FLUX.1 krea. Note: https://huggingface.co/black-forest-labs/FLUX.1-Krea-dev Cited by: Appendix D.
[33] B. F. Labs (2025) FLUX.2: Frontier Visual Intelligence. Note: https://bfl.ai/blog/flux-2 Cited by: §4.1.
[34] Z. Li, M. Cao, X. Wang, Z. Qi, M. Cheng, and Y. Shan (2024) Photomaker: customizing realistic human photos via stacked id embedding. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 8640–8650. Cited by: §1, §2.
[35] L. Lian, B. Li, A. Yala, and T. Darrell (2023) Llm-grounded diffusion: enhancing prompt understanding of text-to-image diffusion models with large language models. arXiv preprint arXiv:2305.13655. Cited by: Appendix D.
[36] Y. Lipman, R. T. Chen, H. Ben-Hamu, M. Nickel, and M. Le (2022) Flow matching for generative modeling. arXiv preprint arXiv:2210.02747. Cited by: Appendix D, §3.1.
[37] J. Liu, J. Su, X. Yao, Z. Jiang, G. Lai, Y. Du, Y. Qin, W. Xu, E. Lu, J. Yan, et al. (2025) Muon is scalable for llm training. arXiv preprint arXiv:2502.16982. Cited by: §C.3.
[38] J. Liu, J. Zhang, T. Huang, M. Yang, Z. Zhong, and L. Bo (2026) Think, plan, paint: layout-aware reasoning for controllable image generation in unified models. arXiv preprint arXiv:2607.16409. Cited by: §1, §2, §3.2.
[39] S. Liu, Y. Han, P. Xing, F. Yin, R. Wang, W. Cheng, J. Liao, Y. Wang, H. Fu, C. Han, et al. (2025) Step1X-edit: a practical framework for general image editing. arXiv preprint arXiv:2504.17761. Cited by: Appendix D.
[40] Y. Ma, X. Wu, K. Sun, and H. Li (2025) HPSv3: towards wide-spectrum human preference score. External Links: 2508.03789, Link Cited by: §4.1.
[41] C. Mou, Y. Wu, W. Wu, Z. Guo, P. Zhang, Y. Cheng, Y. Luo, F. Ding, S. Zhang, X. Li, et al. (2025) DreamO: a unified framework for image customization. arXiv preprint arXiv:2504.16915. Cited by: §2, §4.1.
[42] A. v. d. Oord, Y. Li, and O. Vinyals (2018) Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748. Cited by: Appendix D.
[43] OpenAI (2025) Addendum to gpt-4o system card: native image generation. OpenAI. External Links: Link Cited by: §2.
[44] OpenAI (2026) Introducing chatgpt images 2.0. OpenAI. External Links: Link Cited by: §2, §4.1.
[45] OpenAI (2026) Introducing ChatGPT Images 2.5. OpenAI. External Links: Link Cited by: §4.1.
[46] M. Oquab, T. Darcet, T. Moutakanni, H. V. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, R. Howes, P. Huang, H. Xu, V. Sharma, S. Li, W. Galuba, M. Rabbat, M. Assran, N. Ballas, G. Synnaeve, I. Misra, H. Jegou, J. Mairal, P. Labatut, A. Joulin, and P. Bojanowski (2023) DINOv2: learning robust visual features without supervision. Cited by: §C.6, §4.1.
[47] F. P. Papantoniou, A. Lattas, S. Moschoglou, J. Deng, B. Kainz, and S. Zafeiriou (2024) Arc2face: a foundation model for id-consistent human faces. In European Conference on Computer Vision, pp. 241–261. Cited by: Appendix D.
[48] W. Peebles and S. Xie (2023) Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 4195–4205. Cited by: Appendix D.
[49] X. Peng, J. Zhu, B. Jiang, Y. Tai, D. Luo, J. Zhang, W. Lin, T. Jin, C. Wang, and R. Ji (2024) Portraitbooth: a versatile portrait model for fast identity-preserved personalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 27080–27090. Cited by: Appendix D.
[50] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, et al. (2021) Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748–8763. Cited by: §C.6, Appendix D, §4.1.
[51] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer (2022) High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp. 10684–10695. Cited by: Appendix D.
[52] O. Ronneberger, P. Fischer, and T. Brox (2015) U-net: convolutional networks for biomedical image segmentation. In Medical image computing and computer-assisted intervention–MICCAI 2015: 18th international conference, Munich, Germany, October 5-9, 2015, proceedings, part III 18, pp. 234–241. Cited by: Appendix D.
[53] F. Schroff, D. Kalenichenko, and J. Philbin (2015) Facenet: a unified embedding for face recognition and clustering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 815–823. Cited by: §4.1.
[54] M. L. Team, H. Ma, H. Tan, J. Huang, J. Wu, J. He, L. Gao, S. Xiao, X. Wei, X. Ma, et al. (2025) Longcat-image technical report. arXiv preprint arXiv:2512.07584. Cited by: §2, §4.1.
[55] Ultralytics (2024) Ultralytics yolo11. External Links: Link Cited by: §C.1.
[56] D. Valevski, D. Lumen, Y. Matias, and Y. Leviathan (2023) Face0: instantaneously conditioning a text-to-image model on a face. In SIGGRAPH Asia 2023 Conference Papers, pp. 1–10. Cited by: §2.
[57] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin (2017) Attention is all you need. Advances in neural information processing systems 30. Cited by: Appendix D.
[58] K. Wang, D. Ostashev, Y. Fang, S. Tulyakov, and K. Aberman (2024) Moa: mixture-of-attention for subject-context disentanglement in personalized image generation. In SIGGRAPH Asia 2024 Conference Papers, pp. 1–12. Cited by: Appendix D.
[59] Q. Wang, X. Jia, X. Li, T. Li, L. Ma, Y. Zhuge, and H. Lu (2024) Stableidentity: inserting anybody into anywhere at first sight. arXiv preprint arXiv:2401.15975. Cited by: §2.
[60] Q. Wang, X. Bai, H. Wang, Z. Qin, and A. Chen (2024) InstantID: zero-shot identity-preserving generation in seconds. arXiv preprint arXiv:2401.07519. Cited by: §1, §2.
[61] Y. Wang, Z. Lin, C. Yang, Y. Zhao, F. Xiao, H. He, Q. Zhao, Z. Ding, F. Wang, S. Wang, et al. (2026) Representation forcing for bottleneck-free unified multimodal models. arXiv preprint arXiv:2605.31604. Cited by: §1, §3.2.
[62] C. Wu, J. Li, J. Zhou, J. Lin, K. Gao, K. Yan, S. Yin, S. Bai, X. Xu, Y. Chen, Y. Chen, Z. Tang, Z. Zhang, Z. Wang, A. Yang, B. Yu, C. Cheng, D. Liu, D. Li, H. Zhang, H. Meng, H. Wei, J. Ni, K. Chen, K. Cao, L. Peng, L. Qu, M. Wu, P. Wang, S. Yu, T. Wen, W. Feng, X. Xu, Y. Wang, Y. Zhang, Y. Zhu, Y. Wu, Y. Cai, and Z. Liu (2025) Qwen-image technical report. External Links: 2508.02324, Link Cited by: §2, §4.1.
[63] C. Wu, P. Zheng, R. Yan, S. Xiao, X. Luo, Y. Wang, W. Li, X. Jiang, Y. Liu, J. Zhou, Z. Liu, Z. Xia, C. Li, H. Deng, J. Wang, K. Luo, B. Zhang, D. Lian, X. Wang, Z. Wang, T. Huang, and Z. Liu (2025) OmniGen2: exploration to advanced multimodal generation. arXiv preprint arXiv:2506.18871. Cited by: §4.1.
[64] S. Wu, M. Huang, Y. Cheng, W. Wu, J. Tian, Y. Luo, F. Ding, and Q. He (2025) USO: unified style and subject-driven generation via disentangled and reward learning. External Links: 2508.18966 Cited by: Appendix D.
[65] S. Wu, M. Huang, W. Wu, Y. Cheng, F. Ding, and Q. He (2025) Less-to-more generalization: unlocking more controllability by in-context generation. arXiv preprint arXiv:2504.02160. Cited by: Appendix D.
[66] G. Xiao, T. Yin, W. T. Freeman, F. Durand, and S. Han (2025) Fastcomposer: tuning-free multi-subject image generation with localized attention. International Journal of Computer Vision 133 (3), pp. 1175–1194. Cited by: §2.
[67] S. Xiao, Y. Wang, J. Zhou, H. Yuan, X. Xing, R. Yan, C. Li, S. Wang, T. Huang, and Z. Liu (2024) Omnigen: unified image generation. arXiv preprint arXiv:2409.11340. Cited by: Appendix D.
[68] H. Xu, W. Cheng, P. Xing, Y. Fang, S. Wu, R. Wang, X. Zeng, G. Yu, X. Ma, and Y. Jiang (2025) WithAnyone: towards controllable and id-consistent image generation. arXiv preprint arxiv:2510.14975. Cited by: §C.5, §1, §1, §1, §1, §2, §3.3, §4.1, §4.1.
[69] H. Xu, L. Xiang, H. Ye, D. Yao, P. Chu, and B. Li (2024) Permutation equivariance of transformers and its applications. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5987–5996. Cited by: Appendix D.
[70] Y. Yan, C. Zhang, R. Wang, Y. Zhou, G. Zhang, P. Cheng, G. Yu, and B. Fu (2023) Facestudio: put your face everywhere in seconds. arXiv preprint arXiv:2312.02663. Cited by: §2.
[71] L. Yang, Z. Yu, C. Meng, M. Xu, S. Ermon, and B. Cui (2024) Mastering text-to-image diffusion: recaptioning, planning, and generating with multimodal llms.. In Icml, Vol. 3, pp. 7. Cited by: §2.
[72] H. Ye, J. Zhang, S. Liu, X. Han, and W. Yang (2023) IP-adapter: text compatible image prompt adapter for text-to-image diffusion models. Cited by: Appendix D.
[73] X. Zhai, B. Mustafa, A. Kolesnikov, and L. Beyer (2023) Sigmoid loss for language image pre-training. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 11975–11986. Cited by: Appendix D.
[74] L. Zhang, A. Rao, and M. Agrawala (2023) Adding conditional control to text-to-image diffusion models. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 3836–3847. Cited by: Appendix D.
[75] X. Zhang, L. Yang, Y. Cai, Z. Yu, K. Wang, J. Xie, Y. Tian, M. Xu, Y. Tang, Y. Yang, et al. (2024) Realcompo: balancing realism and compositionality improves text-to-image diffusion models. Advances in Neural Information Processing Systems 37, pp. 96963–96992. Cited by: §2.
[76] Y. Zhang, T. Zhi, J. Liu, S. Sang, L. Jiang, Q. Yan, S. Liu, and L. Luo (2025) ID-patch: robust id association for group photo personalization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §1, §2, §4.1.
[77] C. Zhou, L. Yu, A. Babu, K. Tirumala, M. Yasunaga, L. Shamis, J. Kahn, X. Ma, L. Zettlemoyer, and O. Levy (2025) Transfusion: predict the next token and diffuse images with one multi-modal model. In International Conference on Learning Representations, Vol. 2025, pp. 6446–6469. Cited by: §2, §3.1.
Appendix A Additional Qualitative Results
Figures 2–11 collect a small selection of group images generated by WithEveryone. A larger anonymous gallery, in which each generated group can be inspected together with its reference identities, is included in the supplementary ZIP. After extracting the archive, open showcase/index.html in a browser; all gallery assets are included locally.

Figure 10: Additional group images generated by WithEveryone.

Figure 11: Additional group images generated by WithEveryone.
Appendix B Additional Experiments and Analysis
B.1 Statistical Reliability of the Earlier Checkpoint
This section preserves the earlier-checkpoint analysis. Its means, intervals, and tests do not describe Ours or the updated Table 1; updated paired tests remain pending.
Table 3: Dispersion of the earlier comparison. Per-example means on the 210 benchmark examples with their standard errors. The last column is the single-encoder ArcFace similarity to the references for the earlier checkpoint.
| Method | Sim(Tgt) | Sim(Ref) | CLIP-I | ArcFace Sim(Ref) |
|---|---|---|---|---|
| WithEveryone | ||||
| GPT-Image-2 | ||||
| Nano Banana 2 | ||||
| Seedream 5.0 Pro |
The earlier comparison was reported over the 210-example benchmark. To show how precisely those means are determined, Table 3 recomputes them per example and gives the standard error for WithEveryone and the three strongest baselines. The historical paired statistics below are retained for the earlier checkpoint and require a cohort audit before reuse; they provide no significance evidence for the updated main comparison. Our Sim(Tgt) advantage over GPT-Image-2 is with a 20,000-sample bootstrap interval of , a Wilcoxon of , and a higher score on 73% of examples. Our CLIP-I margin over Nano Banana 2 is with an interval of , a of 0.98, and a higher score on 48% of examples: the two systems are statistically indistinguishable on this metric, and this historical near-tie should not be read as a lead. Against Seedream 5.0 Pro, Sim(Ref) improves by while Copy-Paste falls by and ArcFace similarity rises by , so both directions hold simultaneously.
B.2 Extended Reading of the Main Comparison
Table 1 now evaluates Ours. It leads Sim(Tgt)/Sim(Ref) at 0.538/0.641, followed by GPT-Image-2.5 at 0.472/0.615; Copy-Paste is 0.149 versus 0.197. Excluding the ground-truth-layout methods WithAnyone and ID-Patch, Ours ranks first in Coverage (0.945) and third in Dup (0.096); it does not have the lowest collision rate. CLIP-I/DINO-I are 0.849/0.724, below Nano Banana 2 at 0.860/0.731. Aes/HPSv3 are 5.21/11.915, below GPT-Image-2.5 at 5.63/12.023. The comparisons describe available-score means; no updated significance claim is made. The group-size and face-size analyses below retain the earlier checkpoint.
In the group-size breakdown of Figure 5, the per-example distribution of WithEveryone is also more concentrated, whereas GPT-Image-2 shows substantially heavier upper and lower tails. Because the groups are small, especially at the upper end with 20 and 10 examples for nine and ten references, we read the figure as a consistent advantage across the whole five-to-ten range and a flatter degradation trend, rather than as a claim about any individual group size.
B.3 Face Size and Scaling Degradation
This section expands the analysis summarized in Section 4.4 and refers to Figures 7 and 12. For every generated face on the benchmark we record its ArcFace similarity to the reference it is bound to, together with the size of its box, measured both as a fraction of the image side and in pixels. The analysis is per face, and every statement below concerns conditional means. The per-face standard deviation is 0.21–0.24 and is dominated by identity difficulty, pose, and occlusion, so face size accounts for only a small share of the variance of any single face.
Every baseline depends strongly on relative face size, as Figure 7 shows. Nano Banana 2 gains of similarity per percentage point of relative face side, Seedream 5.0 Pro , and GPT-Image-2 . WithEveryone at 2K is flat, at . This matters because growing the group barely changes how large the faces are: going from five to ten references moves the mean relative face side only from 11.9% to 9.4%. Across that narrow interval, shown in grey in the figure, Nano Banana 2 loses 0.040 of similarity and Seedream 5.0 Pro loses 0.042, while WithEveryone gains 0.006.
We then fit similarity on the number of references across all six group sizes, once with and once without face size as a covariate. For GPT-Image-2 and Seedream 5.0 Pro, controlling for face size removes most of the group-size slope, and what remains has an interval that includes zero; shrinking faces are therefore associated with a substantial part of their degradation. For WithEveryone the slope does not move, staying at with an interval that excludes zero. The reduction in face resolution thus does not explain our remaining degradation, but this analysis does not distinguish cross-identity interference from occlusion, compositional complexity, or other factors that vary with group size. We do not quote a numerical share of the face-size association, because the interval on that ratio is too wide to be informative.
Figure 12: Identity similarity against absolute face size. Face size is measured in pixels. Curves are local means with 95% confidence bands, annotated with the fitted slope. The dashed line marks 112 px, the input resolution of the ArcFace encoder, below which a face has to be upsampled before comparison. The lower panel shows the face-size distribution of each system.
Figure 12 repeats the analysis in absolute pixels. The systems differ in output resolution here, so the curves have to be compared within a pixel band rather than along the axis. Within a common band, WithEveryone is the strongest below 200 px, and its margin is largest on the smallest faces: between 112 and 150 px it reaches 0.611, against 0.561 for GPT-Image-2, 0.388 for Seedream 5.0 Pro, and 0.383 for Nano Banana 2. GPT-Image-2 overtakes WithEveryone only in the 200–260 px band, at 0.654 against 0.616, and only 8% of its faces fall there. Our advantage is therefore concentrated on small faces. This pattern is qualitatively consistent with GPT-Image-2’s higher Copy-Paste, although it does not establish copying as the cause of the difference.
The 1K curve is a reference point rather than a controlled ablation, since it differs from the 2K curve in the reference-image configuration as well as in resolution. It is nonetheless informative about resolution. At 1K, 61% of the faces are smaller than the 112 px input of the ArcFace encoder, against 3% at 2K, so much of the benefit of high-resolution training reported in Appendix B.4 amounts to moving faces out of that regime.
B.4 High-Resolution Training
(a) Identity similarity during training.
(b) Planning quality and plan execution.
Figure 13: High-resolution training. We compare the Full model trained at 1K and 2K while evaluating both at 1K. The horizontal references in (a) show the final 2K benchmark scores from a different evaluation pipeline.
Table 4: High-resolution comparison. The first two rows use the same internal pipeline; the last row uses the main 2K benchmark pipeline.
| Train / test | Sim(Ref) | Sim(Tgt) | Layout∗ | Plan IoU |
|---|---|---|---|---|
| 1K / 1K | 0.546 | 0.460 | 0.740 | 0.773 |
| 2K / 1K | 0.555 | 0.461 | 0.759 | 0.814 |
| 2K / 2K† | 0.614 | 0.511 | – | – |
∗Layout Score, defined in Appendix C.7. †Main benchmark pipeline; included as a contextual reference only.
Faces in a group image often occupy only a small fraction of the image. Increasing the target resolution therefore allocates more pixels to identity-critical facial regions and may also provide a denser spatial signal for executing the predicted layout. We study this effect by comparing the Full model trained at 1K with the Full model trained at 2K. For a controlled comparison, both models are first evaluated at 1K. We additionally report the final 2K benchmark result to show the operating point of the earlier checkpoint.
Under the controlled 1K evaluation, 2K training improves Sim(Ref) from 0.546 to 0.555 and does not reduce Sim(Tgt) or Layout Score. Its largest gain is in Plan IoU, which rises from 0.773 to 0.814. Figure 13(b) further shows that the 2K model reaches stronger planning and execution scores throughout the later stage of training. These results indicate that high-resolution training mainly improves how faithfully image generation realizes the spatial plan, while providing a smaller identity benefit at a fixed inference resolution. When the 2K model is evaluated at its native resolution in the main benchmark, it reaches 0.614 Sim(Ref) and 0.511 Sim(Tgt); because that benchmark uses a different scoring pipeline, these values should not be interpreted as a controlled estimate of the gain from changing inference resolution alone.
B.5 Representation Forcing Convergence
(a) Representation Forcing training loss.
(b) Inference-time representation alignment.
Figure 14: Representation Forcing convergence. The supervised identity prediction is steadily optimized during training and becomes increasingly aligned with both the target and reference identity embeddings.
Representation Forcing is designed to make the shared context retrieve identity information before image generation. Figure 14(a) shows that its training objective can be optimized smoothly: the loss decreases from approximately 1.0 to 0.15.
We further evaluate the predicted representation directly at inference time. As shown in Figure 14(b), the mean cosine similarity between the prediction and target identity embedding increases from 0.116 at 200 steps to 0.212 at 1800 steps. Its similarity to the reference identity follows the same trend. Both remain below the reference–target baseline of approximately 0.40, so the prediction does not fully reconstruct the target identity embedding. The result supports the narrower conclusion that Representation Forcing progressively aligns the prediction with the intended identity direction, consistent with improved identity addressability.
B.6 LG-ID Loss: Algorithm and Hyper-parameters
B.6.1 One-Step Identity Supervision
The LG-ID Loss augments the image flow-matching objective with identity supervision on a differentiable clean-image estimate. Given a noisy latent and predicted velocity , we first compute
decode with the VAE, and compare the resulting faces with their target identities using a frozen ArcFace encoder. Figure 15 summarizes the one-step prediction and visualizes its output at different sampled timesteps.

Figure 15: Training-time one-step prediction and its outputs under different sampled timesteps. We use as the timestep threshold and compute the LG-ID Loss only when .
For multi-person supervision, we avoid reordering identities with an embedding-based matching heuristic. The correspondence is already known from the annotation that supervises the Layout CoT: each referenced identity carries a fixed target face bounding box and its landmarks, so cropping the predicted and target images at these regions makes every crop pair correct by construction, and each identity is supervised on its own, independently of how many people share the image. We detect faces in the ground-truth image and match each detection to its dataset bounding box by IoU; bystanders without a referenced identity are ignored. The same ground-truth landmarks then determine corresponding crops in the predicted and target images. The LG-ID Loss is the mean per-face cosine distance, , over valid referenced identities.
B.6.2 Timestep Threshold
At high-noise timesteps, the one-step estimate may not contain a recognizable face, making identity supervision unreliable. As shown in Figure 15, the estimated clean image retains clear identity cues up to , whereas facial details degrade rapidly at larger timesteps. We therefore set the hard timestep threshold to and compute the LG-ID Loss only when .
B.6.3 Loss Weight
We vary only the LG-ID Loss weight while keeping the remaining Full-model recipe fixed. As shown in Figure 16(a), a larger weight consistently improves identity preservation at both training steps: Sim(Ref) at 1200 steps is 0.518, 0.537, and 0.561 for , , and , respectively; at 1600 steps, the corresponding values are 0.513, 0.548, and 0.559. The main experiments use , and this ablation shows that identity preservation can be pushed further by raising the weight.
(a) Identity preservation.
(b) Layout Score.
(c) RLS.
Figure 16: LG-ID Loss weight ablation. Increasing substantially improves Sim(Ref), whereas Layout Score and RLS remain in the same range without a stable ordering across weights.
The gain in identity does not produce a corresponding degradation in planning. Figures 16(b) and 16(c) show tightly overlapping trajectories across the three weights for the two composite layout measures, the Layout Score of Appendix C.7 and the Relative Layout Score (RLS) of Appendix C.8: Layout Score remains within approximately 0.80–0.89, and RLS within approximately 0.59–0.66. Larger identity weights can slow early layout improvement slightly, but the difference disappears later in training. Within the tested range, increasing therefore primarily affects identity preservation and has no visible cost in converged layout quality.
B.7 Effect of the LG-ID Loss
Table 5 expands the main-paper ablation of the LG-ID Loss with the complete set of identity and layout measures, including the Layout Score defined in Appendix C.7. The loss alone raises Sim(Ref) from 0.339 to 0.506 and Sim(Tgt) from 0.304 to 0.435. At the same time, Layout Score increases slightly from 0.690 to 0.700, Count from 0.771 to 0.845, and Coverage from 0.741 to 0.947. Direct identity supervision therefore does not trade layout validity for identity similarity. Because each identity is supervised inside its annotated region, the loss is reduced by putting the right person in the right place, so it carries a spatial signal in addition to an identity one.
Table 5: Effect of the LG-ID Loss. It gives the largest individual identity gain while preserving or improving all reported layout measures.
Variant Sim(Ref) Sim(Tgt) Layout Count Coverage Default 0.339 0.304 0.690 0.771 0.741 + ID Loss 0.506 0.435 0.700 0.845 0.947 Full 0.555 0.461 0.759 0.869 0.960
The complete configuration combines the LG-ID Loss with ID tokens, Representation Forcing, Layout CoT, and additional text-to-layout supervision, raising Sim(Ref) and Sim(Tgt) to 0.555 and 0.461, respectively, while reaching a Layout Score of 0.759. This result improves over the LG-ID-only branch, but because several components and the training corpus change together, the comparison does not isolate the source of the additional gain.
B.8 Setup and Reading of the Ablation Branches
All variants in Table 2 start from the same base model and are trained independently under the same recipe, with sample-wise rather than fixed training resolutions, and are evaluated at 1K with ArcFace-only identity scoring. P1 is the default model, trained on the same dataset but without Layout CoT or ID tokens. P2 and P3 are both trained with Layout CoT; at inference, P2 uses the layout the model predicts itself, whereas P3 replaces it with the ground-truth layout. Because the P3 layout is derived from the target image, P3 is an oracle upper bound rather than an estimate of an achievable planning gain. It establishes that high-quality layout conditions can improve both composition and identity preservation, while the gap between P2 and P3 identifies planning quality as an important remaining source of error.
P7 additionally trains on the text-to-layout corpus of Appendix C.1 and scores higher than P2 on both identity, with Sim(Ref) of 0.555 versus 0.364 and Sim(Tgt) of 0.461 versus 0.316, and composition, with Count of 0.869 versus 0.828 and Coverage of 0.960 versus 0.813. It also adds ID tokens, Representation Forcing, and the LG-ID Loss, however, so this comparison does not isolate the contribution of the corpus.
P4 adds an ID token to P1, and P5 adds Representation Forcing on top of P4. The ID token alone yields small but consistent gains, the largest of which is Count, from 0.771 to 0.827. Representation Forcing then raises Sim(Ref) from 0.351 to 0.364 and Sim(Tgt) from 0.313 to 0.328. In the three examples shown in Figure 9, each supervised identity prediction preferentially attends to its corresponding ID token. The end-to-end gains are modest, so we interpret this evidence as consistent with improved identity addressability rather than as a large direct source of identity gain, and the attention analysis does not establish the effect relative to a model without Representation Forcing, nor equally strong routing from generated face patches to the ID tokens.
Appendix C Experimental Details
C.1 Training Sequence and Data Construction
The causal training sequence is organized as follows: 1) reference images and the prompt; 2) reference-identity selection and ID loading; 3) face layout and identity binding, followed by body-region and pose planning; 4) rendering the plan into a visual layout condition; 5) a summary and detailed recaption; 6) target identity representation prediction; and 7) target image generation. Stage 5 restates the request after the plan has been committed, giving the generator a next-token-supervised language description that is already consistent with the rendered canvas instead of only the short user prompt. This order is the one used in training and inference; Figure 3 arranges some stages differently for visual layout only, and the order stated here takes precedence.
Each group-image training sample contains a target image, reference images, and reference-to-target identity correspondences, with short captions as user prompts and detailed captions as recaptions. Face detection and ArcFace provide reference and target identity embeddings, while person detection and pose estimation by YOLOv11 [55] provide person regions and keypoints. Together with the captions and correspondences, these signals supervise the structured reasoning stages and let the renderer produce the layout condition. We additionally use text-to-layout examples to supervise layout reasoning without a target image, strengthening planning independently of full image-generation samples.
C.2 Identity Loading and Representation Forcing
The prompt may require only a subset of the available reference people and may also describe people without a reference image, so the model first identifies the participating identities. Selection and binding are ordered rather than mutually dependent: the model emits the list of selected identities and loads one ID token per selection, and the binding of each token to a concrete planned person follows in the layout stage. This identity–layout binding gives each loaded identity a spatial role rather than treating the references as an unordered collection. The ID embeddings complement the low-level reference-image features with high-level identity-specific information, analogous to the complementary roles of ViT [15] and VAE embeddings at different feature levels: for each selected person, a 512-dimensional ArcFace embedding is mapped to the model hidden dimension by a lightweight MLP and injected at the corresponding ID-token position.
Loading ID tokens does not by itself guarantee that image generation will use them. Each person is represented by a single continuous token, projected from one 512-dimensional vector, inside an interleaved sequence of 10–20K tokens, so generation-side attention over the injected identity tokens can be diffuse and identity-agnostic. For every selected reference identity with a target correspondence, Representation Forcing therefore places a representation token before the target image. The backbone computes its hidden state from the preceding prompt, visual references, ID tokens, and layout reasoning, and the output projector maps it to the ArcFace space, where it is compared with the ArcFace embedding of the corresponding person in the target image. The resulting hidden states remain causally available to the later image tokens, forming an identity scaffold for generation.
C.3 Training Configuration
WithEveryone uses a mixture-of-transformers backbone with 60B parameters on the understanding side and 60B parameters on the generation side, initialized from an in-house base model. Training uses 400K in-house group-image samples; Figure 4 reports the identity-occurrence and reference-count statistics of this corpus. We optimize with Muon [37] at a learning rate of on the generation side and on the understanding side, with a packed sequence length of 72K tokens. Training runs on 128 H20 GPUs, and all reported models are taken from 1600 iterations. The objective weights are , , and .
C.4 Shared Evaluation Protocol
Existing multi-identity benchmarks focus on a small number of people and therefore do not measure how identity preservation scales to larger groups, which is why we construct the five-to-ten-person benchmark of Section 4.1. The benchmark contains 210 examples, but Table 1 aggregates available valid scores separately for each model and metric. Ours has 210 generated samples and GPT-Image-2.5 has 199; undefined face metrics can further reduce effective counts. Missing generations are not assigned zero scores, and these aggregates are not a matched-cohort significance analysis. Each evaluation example contains one generated image, 5–10 reference identities, a target group image, and reference-to-target identity correspondences. Face detections and embeddings are computed independently for the generated, reference, and target images. For models with Layout CoT, we additionally parse face boxes, body boxes, pose keypoints, and identity–layout bindings from the generated plan. Body-level evaluation uses YOLO11x-pose with a confidence threshold of 0.25 and an input size of 640; if body detection is unavailable, only face-level terms are retained.
C.5 Identity Metrics
The main comparison follows the WithAnyone protocol and averages results from ArcFace, FaceNet, and AdaFace. For each backbone, generated faces are matched to reference or target faces by maximum-similarity Hungarian assignment. The resulting means define Sim(Ref) and Sim(Tgt), respectively. Copy-Paste, introduced and validated against human judgment by WithAnyone [68], measures the scale of copy-paste artifacts. It compares each matched generated–target–reference triplet in angular embedding space:
where . A larger value indicates that the generated face is closer to the reference than to its target-context appearance. The ablation Sim(Ref) and Sim(Tgt) metrics use the same generated-to-reference and generated-to-target semantics with a single ArcFace encoder.
C.6 Image and Text Similarity Metrics
CLIP-I and DINO-I are the cosine similarities between the generated and the target image in the CLIP [50] and DINOv2 [46] image-embedding spaces, and CLIP-T is the cosine similarity between the generated image and the user prompt in the joint CLIP space. Aes is the aesthetic-predictor-v2.5 SigLIP score. HPSv3 is the official raw preference mean (mu), using English benchmark captions and official preprocessing, without clipping or normalization to 0–10. Both are higher-is-better. WithAnyone Aes uses 176 historically scored images; HPSv3 uses all 202 successful generations. These three similarity metrics describe overall scene and prompt agreement and are insensitive to which identity appears where, so we read them alongside the identity metrics above rather than on their own.
C.7 Layout Score
Layout Score measures the overall validity of the final generated image as a weighted aggregate of seven sub-scores in . If a component cannot be computed, it is omitted and the remaining weights are renormalized.
Count.
Let be the expected number of people in the target and the number of detected generated faces. We compute
so both missing and extra people are penalized relative to the target group size.
Coverage, uniqueness, and distinctness.
We construct the cosine-similarity matrix between reference and generated faces. Maximum-similarity Hungarian assignment determines one-to-one matches, and a reference is covered when its matched similarity is at least 0.20; is the fraction of covered references. For uniqueness, a reference is marked as over-claimed if more than one generated face has similarity at least 0.20 to it, and is one minus the over-claimed-reference rate. Table 1 reports Dup as the forced-collision rate, not the over-claimed-reference rate. Distinctness captures the opposite collision: each reference independently selects its most similar generated face, and is one minus the fraction of references whose best face is also selected by another identity. The Dup column of Table 1 reports this distinctness collision rate, .
Sensitivity to the matching threshold.
The 0.20 similarity threshold is permissive by design, so that a reference counts as covered whenever the generated person is recognizably the intended one. Coverage is nevertheless insensitive to it: for P7, raising the threshold to 0.25, 0.30, and 0.35 lowers Coverage by 0.010, 0.017, and 0.027, and lowering it to 0.15 raises Coverage by 0.012. Only 3.6% of references have a matched similarity in , against a median matched similarity of 0.554, so few decisions sit near the boundary.
Anonymous leakage and spatial validity.
Generated faces that are not valid Hungarian matches are treated as anonymous. An anonymous face is counted as identity leakage if its similarity to any reference is at least 0.25; is one minus the leaked-anonymous-face rate. Spatial validity is computed from pairwise overlaps. Face IoU above 0.30 and body IoU above 0.50 are treated as severe overlaps. When both detections are available, is one minus the mean of the face- and body-overlap rates; otherwise, only the face-overlap rate is used.
Plan adherence.
We match generated face boxes to the available layout boxes and average the matched IoUs. Ground-truth boxes are used when a ground-truth layout is available; otherwise, boxes parsed from the model’s CoT plan are used. This mean IoU defines .
C.8 Relative Layout Score and Plan IoU
The Relative Layout Score (RLS), adopted from “R-spatial” in T2I-R1 [27], evaluates the relative configuration of the model’s textual plan against the ground-truth layout, without using the generated image. It combines relative count, position, and size, all in and higher-is-better.
Person matching.
Planned and ground-truth people with the same reference identity are matched directly. Remaining people are represented by face centers, or body centers when faces are unavailable. The centers in each layout are centered and normalized by their root-mean-square spread before Hungarian geometric matching, preventing global translation or scale from dominating correspondence.
Relative count.
Face and body counts are scored independently with the same normalized cardinality rule as above, using planned and ground-truth counts. The available face- and body-count scores are then averaged into .
Relative position.
For every pair of matched people, we check whether their left–right and top–bottom ordering agrees between the plan and ground truth, giving the two order-consistency terms and . We additionally align planned centers to ground-truth centers with a non-reflective Umeyama similarity transform and convert the normalized residual distances into an OKS-style soft alignment score . A fitted-scale penalty prevents a collapsed layout from receiving a high score merely because Procrustes alignment can enlarge it. The order-consistency and aligned-center scores jointly define the position term,
where the horizontal ordering receives the larger of the two order weights.
Relative and absolute size.
For each matched face or body box, its area is divided by the mean matched-box area in the same layout. The clipped absolute log-ratio between planned and ground-truth normalized areas measures relative-size agreement. We also compare the mean absolute face area between the two layouts to retain a penalty when every planned person is uniformly too large or too small. The available face, body, and absolute-size scores are averaged into .
Aggregation.
The three terms are combined as
Because the position term is measured after similarity alignment and the size term is normalized within each layout, RLS is insensitive to a global translation, rotation, or scaling of the whole plan and instead scores the arrangement of people relative to one another. It does not penalize the person overlap that is normal in a group photograph, and it is not an absolute bounding-box IoU.
Plan IoU instead evaluates the generation side. Planned face boxes are matched to detected faces in the generated image, and the mean matched IoU is reported. When ground-truth layout is directly provided as the generation condition, the same computation uses ground-truth boxes. Thus, RLS measures whether the understanding side proposes an appropriate relative layout, whereas Plan IoU measures whether image generation executes the supplied plan, and Layout Score measures the validity of the final image, of which plan adherence is only one weighted sub-score.
Appendix D Extended Background
Generative backbones.
Text-to-image generation was established by denoising diffusion models [26] built on convolutional U-Net denoisers [52] and moved into a latent space to make high-resolution synthesis tractable [51]. Later systems replaced the convolutional denoiser with transformer architectures [57, 48] and the discrete noise schedule with flow matching [36], the recipe followed by current open-weight models [31, 32, 1]. Transformer backbones are permutation-equivariant over their token sequence up to positional encoding [69], which is what lets heterogeneous conditions such as reference images, ID tokens, and layout tokens be interleaved in a single sequence. Our generation side inherits this design, but its conditioning signals are produced by the understanding side of the same model rather than by an external encoder. Contrastively pre-trained image–text encoders [50, 73] remain the standard source of semantic image features and of the CLIP-based metrics reported in Section 4.
Reference-conditioned and identity-preserving generation.
Before unified models, reference conditioning was usually attached to a frozen generator: adapters inject reference features through additional cross-attention [72], and side networks inject spatial conditions [74]. Face-specific variants specialize this recipe to identity [47, 49], and attention routing extends it from one subject to several [58, 22]. A parallel line folds these tasks into a single model that generates and edits from interleaved inputs [67, 39, 65, 64]. Our setting differs in scale rather than in conditioning mechanism: with five to ten identities in one image, the limiting factor becomes how each identity is supervised and addressed, not how reference features enter the network.
Planning and representation objectives.
Layout planning has also been delegated to a language model that converts the prompt into a layout for a separate diffusion renderer [35], whereas we keep planning inside the same generative context so that the plan and the image share one state (Section 3.2). Supervising an intermediate prediction against a target representation is a long-standing idea in representation learning [42], which Section 3 specializes to one supervised prediction per reference identity rather than a single global representation.
Appendix E Limitations, Future Work, and Responsible Use
Layout is hard to evaluate.
We evaluate layout from two perspectives: whether the faces are correctly planned, and whether the plan follows the relative location relationships of the ground truth, for example whether the person on the left remains on the left. When the prompt is underspecified, however, which is common in real-world use, many layouts may be equally valid and layout quality becomes difficult to measure against a single reference. We leave this to future work.
Evaluation scope.
Our conclusions are drawn from 210 examples on a single benchmark, and the groups with more references are the smallest, so per-group numbers should be read as a trend rather than as precise estimates. All identity measures inherit the behavior of the underlying face detectors and recognizers, whose accuracy is known to vary across demographic groups, and the compared systems differ in their maximum output resolution and in whether they can plan a layout on their own.
Data and responsible use.
Training uses group images collected from publicly accessible sources solely for non-commercial research, as described in the Ethics statement. As with other identity-preserving generators, including the proprietary systems we compare against, identity-conditioned generation can be misused to produce images of real people without their consent, to place someone in a scene they never took part in, or to impersonate them. These risks are common to the task rather than specific to our method; deployments should require consent from the referenced people and pair generation with provenance signaling.
Ethics statement
We constructed the training dataset from images openly posted on public websites, including news outlets, official social-media accounts, and other publicly accessible pages, and did not collect from private or access-restricted sources. To reduce potential harm, we excluded images of minors and intimate, medical, or otherwise sensitive situations. The dataset is intended solely for non-commercial academic research, and any access to the full dataset will be governed by a research-only license and accompanying usage guidelines. Identity-preserving generation, including that offered by the open and proprietary systems we compare against, can be misused to depict real people without their consent or to impersonate them; this risk is shared by the task in general rather than specific to our method. We recommend that any deployment obtain consent from the referenced people and disclose generated content through provenance signals such as watermarking. Appendix E further discusses responsible use.
Reproducibility statement
Sections 3 and 4 specify the model design, objectives, benchmark protocol, baselines, and metrics. Appendix C documents data construction, training configuration, metric definitions, thresholds, and additional ablations. The in-house base model and training corpus limit exact end-to-end reproduction outside the authors’ environment; the reported details are intended to support reimplementation and evaluation with comparable resources.