[论文解读] InstantID: Zero-shot Identity-Preserving Generation in Seconds
InstantID 提供即插即用的零-shot 身份保留生成方法,只需单张脸部图片且无需微调,兼容 SD1.5 与 SDXL。它引入 IdentityNet、一个 Image Adapter,以及 ID embedding,以实现高保真、可控的个性化生成。
There has been significant progress in personalized image synthesis with methods such as Textual Inversion, DreamBooth, and LoRA. Yet, their real-world applicability is hindered by high storage demands, lengthy fine-tuning processes, and the need for multiple reference images. Conversely, existing ID embedding-based methods, while requiring only a single forward inference, face challenges: they either necessitate extensive fine-tuning across numerous model parameters, lack compatibility with community pre-trained models, or fail to maintain high face fidelity. Addressing these limitations, we introduce InstantID, a powerful diffusion model-based solution. Our plug-and-play module adeptly handles image personalization in various styles using just a single facial image, while ensuring high fidelity. To achieve this, we design a novel IdentityNet by imposing strong semantic and weak spatial conditions, integrating facial and landmark images with textual prompts to steer the image generation. InstantID demonstrates exceptional performance and efficiency, proving highly beneficial in real-world applications where identity preservation is paramount. Moreover, our work seamlessly integrates with popular pre-trained text-to-image diffusion models like SD1.5 and SDXL, serving as an adaptable plugin. Our codes and pre-trained checkpoints will be available at https://github.com/InstantID/InstantID.
研究动机与目标
- 旨在仅使用一张参考人脸图像实现高保真、身份保留的图像合成。
- 通过避免对整个模型进行微调来降低存储和训练开销。
- 创建一个可插拔的适配器,使其与社区预训练的扩散模型兼容。
- 在确保强身份保真度的同时,保留文本编辑能力。
提出的方法
- Introduce a lightweight Image Adapter that supports image prompts and decoupled cross-attention.
- Develop IdentityNet to encode reference facial features with weak spatial controls.
- Use a face ID embedding sourced from a pre-trained face model to guide generation.
- Replace CLIP-based image prompts with robust ID embeddings for stronger identity preservation.
- Train only the Image Adapter and IdentityNet while keeping the base diffusion model frozen.
实验结果
研究问题
- RQ1Can a training-free adapter preserve facial identity from a single reference image across multiple styles and prompts?
- RQ2Does replacing CLIP image prompts with ID embeddings improve fidelity without sacrificing text controllability?
- RQ3How well does InstantID integrate with other controls like ControlNet while maintaining identity fidelity?
主要发现
- InstantID achieves high identity fidelity with just a single reference image, often matching or surpassing LoRA-based methods that require multiple images.
- ID embeddings provide richer semantic identity information than CLIP-based prompts, leading to better facial fidelity.
- Decoupled cross-attention allows image prompts to be used without degrading text control.
- InstantID is pluggable and compatible with pre-trained models like SD1.5 and SDXL and can work with ControlNet.
- A single forward pass suffices at inference, eliminating test-time fine-tuning.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。