每天早上一封邮件,把昨天的 AI 梳理好订阅邮件

METAL LAB

WithEveryone: Unified Planning and Identity Grounding for Group Image Generation

arXiv:2608.203362026-08-19

让AI在画多人合照前先规划好谁站在哪里,结果脸部混淆问题大幅减少

根据多张参考人脸生成合影的AI,一旦人数增加到五到十人,就容易出现认错人、脸部混淆,或明显的直接拼贴痕迹。WithEveryone的做法是先规划好画面中有哪些人、他们分别在什么位置和姿势,再据此渲染图像,并利用规划好的人脸区域直接监督每个人的身份,不再依赖训练时不稳定的人脸匹配。结果显示,其在目标图像中的人脸相似度达到0.499,高于GPT-Image 2的0.462,同时拼贴痕迹得分从0.169降到0.055。

他们做了什么

  1. 现有方法在人数增多后,训练时很难判断生成的哪张脸对应哪个参考身份,容易导致身份互相混淆
  2. WithEveryone为每个人分配一个身份标记令牌,并在生成图像前先自动预测一份结构化的布局方案,包含每个人的位置、姿势和身份绑定,再将方案渲染成视觉条件图
  3. 核心方法Layout-Grounded ID Loss利用规划好的人脸区域标注直接监督每个身份,避免了传统基于人脸嵌入匹配的不稳定问题
  4. 在五到十人的基准测试中,该方法取得了最高的目标图像人脸相似度0.499,覆盖了97.3%的所要求身份,重复率仅2.8%
  5. 拼贴痕迹得分为0.055,是所有对比系统中最低的,说明其相似度并非靠直接复制参考人脸得来
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 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.
Figure 2: Group images generated by WithEveryone. The samples cover different group sizes, scene types, and visual styles.
Table 1: Quantitative comparison on our 5–10-person benchmark. All models are scored on the same 210 examples, and the identity similarities are averaged over the three face encoders of the main protocol. Coverage is the fraction of references whose best-matching 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.
MethodIdentity SimilarityIdentity CoverageGeneration Quality
Sim(Tgt) ↑Sim(Ref) ↑Copy-Paste ↓Coverage ↑Dup ↓CLIP-I ↑DINO-I ↑CLIP-T ↑
Academic identity-preserving methods
WithAnyone0.4050.4830.0960.9570.0450.8070.6950.281
UMO0.3710.4840.1120.6300.2580.7800.6630.286
UniPortrait0.3390.4640.1150.6350.1870.6790.4150.301
DreamO0.2970.3310.0270.2980.2990.7240.6110.282
ID-Patch0.2250.2590.0320.2470.2240.6090.3200.331
Open-source general-purpose models
FLUX.2 Klein0.2640.2650.0020.3140.2650.7870.6850.291
Qwen-Image-Edit0.2530.2890.0180.1760.2910.6140.3120.227
LongCat-Image-Edit0.2870.288−0.0010.3810.2640.8020.6570.288
OmniGen20.2670.275−0.0020.4180.2670.7740.6330.288
SenseNova U10.2530.243−0.0090.2130.2560.7970.6860.289
BAGEL0.2230.2250.0030.1360.2760.7520.6350.282
HiDream-O10.3530.3760.0260.7800.1900.8060.6920.286
Proprietary systems
Nano Banana Pro0.4530.4780.0410.6740.1480.8390.7120.275
Nano Banana 20.4510.4800.0450.8840.0990.8600.7310.276
GPT-Image 20.4620.5830.1690.9050.0750.8530.7190.270
Seedream 4.50.4070.4950.1140.8590.1750.8290.6980.286
Seedream 5.0 Pro0.4360.5220.1140.9130.0650.8500.7150.275
WithEveryone0.4990.5400.0550.9730.0280.8610.7160.273
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-switch tokens that mark the boundaries between autoregressive reasoning and flow-based image generation are used in the sequence but omitted from the figure.
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-switch tokens that mark the boundaries between autoregressive reasoning and flow-based image generation are used in the sequence but omitted from the figure.
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.
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.
Table 3: Dispersion of the main 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 used in Section 4.2.
MethodSim(Tgt) ↑Sim(Ref) ↑CLIP-I ↑ArcFace Sim(Ref) ↑
WithEveryone0.499±0.0040.540±0.0040.861±0.0040.614±0.005
GPT-Image 20.462±0.0040.583±0.0080.853±0.0040.566±0.009
Nano Banana 20.451±0.0050.480±0.0070.860±0.0040.471±0.008
Seedream 5.0 Pro0.436±0.0050.522±0.0080.850±0.0040.506±0.009
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.
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.
Figure 7: Identity similarity against face size. Curves are local means with 95% confidence bands, annotated with the fitted slope. The lower panel of (a) shows the distribution of relative face size for each group size, and the lower panel of (b) shows the face-size distribution of each system.
Figure 7: Identity similarity against face size. Curves are local means with 95% confidence bands, annotated with the fitted slope. The lower panel of (a) shows the distribution of relative face size for each group size, and the lower panel of (b) shows the face-size distribution of each system.
Table 4: High-resolution comparison. The first two rows use the same internal pipeline; the last row uses the main 2K benchmark pipeline.
Train / testSim(Ref) ↑Sim(Tgt) ↑Layout∗ ↑Plan IoU ↑
1K / 1K0.5460.4600.7400.773
2K / 1K0.5550.4610.7590.814
2K / 2K†0.6140.511
(b) Absolute face size in pixels; the dashed line marks 112 px, the input resolution of the ArcFace encoder, below which a face has to be upsampled before it can be compared.
(b) Absolute face size in pixels; the dashed line marks 112 px, the input resolution of the ArcFace encoder, below which a face has to be upsampled before it can be compared.
Figure 10: Additional group images generated by WithEveryone.
Figure 10: Additional group images generated by WithEveryone.
Table 5: Effect of the LG-ID Loss. It gives the largest individual identity gain while preserving or improving all reported layout measures.
VariantSim(Ref) ↑Sim(Tgt) ↑Layout ↑Count ↑Coverage ↑
Default0.3390.3040.6900.7710.741
+ ID Loss0.5060.4350.7000.8450.947
Full0.5550.4610.7590.8690.960
Figure 11: Additional group images generated by WithEveryone.
Figure 11: Additional group images generated by WithEveryone.
Figure 12: 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.
Figure 12: 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.

为什么重要

多人合影、海报、拼图类图像的AI生成需求正在增加,但现有工具在人数变多时表现急剧下降。这项研究表明,先规划构图再生成图像的思路真正能解决大规模人数下的身份保持问题,而不只是缓解症状。

(b) Planning quality and plan execution.
(b) Planning quality and plan execution.
Figure 13: Representation Forcing convergence. The supervised identity prediction is steadily optimized during training and becomes increasingly aligned with both the target and reference identity embeddings.
Figure 13: Representation Forcing convergence. The supervised identity prediction is steadily optimized during training and becomes increasingly aligned with both the target and reference identity embeddings.

本文术语

  • 身份保持生成(Identity-preserving generation) · 根据某人的参考照片生成新图像,并让生成结果依然像本人的技术
  • 拼贴痕迹(Copy-Paste artifact) · 生成的人脸看起来像是直接从参考照片剪贴过来,与场景的光线、姿势、角度不协调
  • Layout CoT · 在生成图像前,以文字形式逐步预测每个人位置、姿势和身份分配的规划过程
  • ArcFace · 一种将人脸照片转换为数值向量、用来计算两张脸相似度的人脸识别模型
  • 身份令牌(ID token) · 代表某个人身份信息的紧凑信号,供模型在生成过程中参考

论文原文摘要(英文)

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 up to ten 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. On an identity-disjoint benchmark, WithEveryone achieves the highest target-context identity similarity, improving face similarity from 0.462 for GPT-Image-2 to 0.499, while reducing copy-paste artifacts from 0.169 to 0.055. It further covers 97.3\% of the requested identities with a duplicate rate of only 2.8\%. These results show that explicit identity--layout grounding enables identity-preserving generation to scale to larger groups without relying on direct reference-face copying.

作者 · Hengyuan Xu

在 arXiv 阅读

最新论文

全部论文 →

METAL LAB 最新报道

图片来源: Hengyuan Xu et al., arXiv:2608.20336, cc-by-nc-sa-4.0