WithEveryone: Unified Planning and Identity Grounding for Group Image Generation
让AI在画多人合照前先规划好谁站在哪里,结果脸部混淆问题大幅减少
根据多张参考人脸生成合影的AI,一旦人数增加到五到十人,就容易出现认错人、脸部混淆,或明显的直接拼贴痕迹。WithEveryone的做法是先规划好画面中有哪些人、他们分别在什么位置和姿势,再据此渲染图像,并利用规划好的人脸区域直接监督每个人的身份,不再依赖训练时不稳定的人脸匹配。结果显示,其在目标图像中的人脸相似度达到0.499,高于GPT-Image 2的0.462,同时拼贴痕迹得分从0.169降到0.055。
他们做了什么
- 现有方法在人数增多后,训练时很难判断生成的哪张脸对应哪个参考身份,容易导致身份互相混淆
- WithEveryone为每个人分配一个身份标记令牌,并在生成图像前先自动预测一份结构化的布局方案,包含每个人的位置、姿势和身份绑定,再将方案渲染成视觉条件图
- 核心方法Layout-Grounded ID Loss利用规划好的人脸区域标注直接监督每个身份,避免了传统基于人脸嵌入匹配的不稳定问题
- 在五到十人的基准测试中,该方法取得了最高的目标图像人脸相似度0.499,覆盖了97.3%的所要求身份,重复率仅2.8%
- 拼贴痕迹得分为0.055,是所有对比系统中最低的,说明其相似度并非靠直接复制参考人脸得来


| Method | Identity Similarity | Identity Coverage | Generation Quality | |||||
|---|---|---|---|---|---|---|---|---|
| Sim(Tgt) ↑ | Sim(Ref) ↑ | Copy-Paste ↓ | Coverage ↑ | Dup ↓ | CLIP-I ↑ | DINO-I ↑ | CLIP-T ↑ | |
| Academic identity-preserving methods | ||||||||
| WithAnyone | 0.405 | 0.483 | 0.096 | 0.957 | 0.045 | 0.807 | 0.695 | 0.281 |
| UMO | 0.371 | 0.484 | 0.112 | 0.630 | 0.258 | 0.780 | 0.663 | 0.286 |
| UniPortrait | 0.339 | 0.464 | 0.115 | 0.635 | 0.187 | 0.679 | 0.415 | 0.301 |
| DreamO | 0.297 | 0.331 | 0.027 | 0.298 | 0.299 | 0.724 | 0.611 | 0.282 |
| ID-Patch | 0.225 | 0.259 | 0.032 | 0.247 | 0.224 | 0.609 | 0.320 | 0.331 |
| Open-source general-purpose models | ||||||||
| FLUX.2 Klein | 0.264 | 0.265 | 0.002 | 0.314 | 0.265 | 0.787 | 0.685 | 0.291 |
| Qwen-Image-Edit | 0.253 | 0.289 | 0.018 | 0.176 | 0.291 | 0.614 | 0.312 | 0.227 |
| LongCat-Image-Edit | 0.287 | 0.288 | −0.001 | 0.381 | 0.264 | 0.802 | 0.657 | 0.288 |
| OmniGen2 | 0.267 | 0.275 | −0.002 | 0.418 | 0.267 | 0.774 | 0.633 | 0.288 |
| SenseNova U1 | 0.253 | 0.243 | −0.009 | 0.213 | 0.256 | 0.797 | 0.686 | 0.289 |
| BAGEL | 0.223 | 0.225 | 0.003 | 0.136 | 0.276 | 0.752 | 0.635 | 0.282 |
| HiDream-O1 | 0.353 | 0.376 | 0.026 | 0.780 | 0.190 | 0.806 | 0.692 | 0.286 |
| Proprietary systems | ||||||||
| Nano Banana Pro | 0.453 | 0.478 | 0.041 | 0.674 | 0.148 | 0.839 | 0.712 | 0.275 |
| Nano Banana 2 | 0.451 | 0.480 | 0.045 | 0.884 | 0.099 | 0.860 | 0.731 | 0.276 |
| GPT-Image 2 | 0.462 | 0.583 | 0.169 | 0.905 | 0.075 | 0.853 | 0.719 | 0.270 |
| Seedream 4.5 | 0.407 | 0.495 | 0.114 | 0.859 | 0.175 | 0.829 | 0.698 | 0.286 |
| Seedream 5.0 Pro | 0.436 | 0.522 | 0.114 | 0.913 | 0.065 | 0.850 | 0.715 | 0.275 |
| WithEveryone | 0.499 | 0.540 | 0.055 | 0.973 | 0.028 | 0.861 | 0.716 | 0.273 |


| Method | Sim(Tgt) ↑ | Sim(Ref) ↑ | CLIP-I ↑ | ArcFace Sim(Ref) ↑ |
|---|---|---|---|---|
| WithEveryone | 0.499±0.004 | 0.540±0.004 | 0.861±0.004 | 0.614±0.005 |
| GPT-Image 2 | 0.462±0.004 | 0.583±0.008 | 0.853±0.004 | 0.566±0.009 |
| Nano Banana 2 | 0.451±0.005 | 0.480±0.007 | 0.860±0.004 | 0.471±0.008 |
| Seedream 5.0 Pro | 0.436±0.005 | 0.522±0.008 | 0.850±0.004 | 0.506±0.009 |

| 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 | – | – |

| 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 |

为什么重要
多人合影、海报、拼图类图像的AI生成需求正在增加,但现有工具在人数变多时表现急剧下降。这项研究表明,先规划构图再生成图像的思路真正能解决大规模人数下的身份保持问题,而不只是缓解症状。
本文术语
- 身份保持生成(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.
在 arXiv 阅读最新论文
- LoRA-GA$^2$: Low Rank Adaptation with Multi-step Gradient Adaptive Alignment在正式微调前先偷看几步训练的梯度,让LoRA的初始化更聪明
- Remember, Verify, or Ask? Cross-Family Evaluation of Memory Commitment in LLM AgentsAI助手在该向你提问的时候,却更愿意自己去核实事实
- Robust Incomplete Multimodal Sentiment Analysis via Iterative Proxy Correction文本信息缺失或损坏时,这个AI不靠一次性猜测,而是反复修正猜测结果,从而更准确地判断情绪
- Generating Diverse Personas for User Simulators to Test Interview Dialogue Systems要测试访谈式对话系统需要大量不同性格的虚拟用户,这项研究用大语言模型自动生成这些虚拟用户人设
- Rethinking Patch Based Multivariate Time Series Forecasting with Semantic Structured Partitioning别再机械切分时间序列,按语义把它切成有意义的块
- Reliable Financial Named Entity Recognition under Domain ShiftAI在正式文件里学到的自信,一到推特上就变得不可信
- Bringing analytic rigor to agentic AI for science: The Brain Researcher platform for neuroimaging data analysis让AI分析脑影像数据时,把“为什么这个结论可信”也一并记录下来
- GenMatch: An End-to-End Generative Matching Framework for Micro-View Order-Dispatching in Ride-Hailing滴滴把打车派单从预测-计算-匹配三段式流程改成一次生成完成,线上效果提升明显
METAL LAB 最新报道
图片来源: Hengyuan Xu et al., arXiv:2608.20336, cc-by-nc-sa-4.0