arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16450cs.CV
收藏

保留什么与迁移什么:忠实且保持身份特征的基于扩散的发型迁移

What to Preserve and What to Transfer: Faithful, Identity-Preserving Diffusion-based Hairstyle Transfer

KAIST AI(韩国科学技术院人工智能研究院)

Chaeyeon Chung, Sunghyun Park, Jeongho Kim, Jaegul Choo

AI总结:

提出单阶段扩散模型HairFusion,通过头发无关表示、Align-CA对齐和自适应混合,在真实场景下实现高保真且保持身份特征的发型迁移。

摘要:

发型迁移是图像编辑领域的一项具有挑战性的任务,它需要在修改给定人脸图像发型的同时,保留其其他外观和背景特征。现有的发型迁移方法严重依赖 StyleGAN,该方法是在裁剪和对齐的人脸图像上预训练的。因此,它们在头部姿态或焦距极端变化等具有挑战性的条件下难以泛化。为了解决这个问题,我们提出了一种单阶段发型迁移扩散模型 HairFusion,适用于真实世界场景。具体来说,我们精心设计了一种与发型无关的表示作为模型的输入,其中原始的头发信息被彻底消除。接下来,我们引入了头发对齐交叉注意力(Align-CA),在考虑头部姿态差异的同时,将参考发型与人脸图像准确对齐。为了增强对人脸图像原始特征的保留,我们在推理过程中利用了自适应头发混合,其中输出的头发区域由 Align-CA 中的交叉注意力图估计,并与非头发区域混合。我们的实验结果表明,与现有方法相比,我们的方法在保持迁移发型和周围特征的完整性方面达到了最先进的性能。代码可在 https://github.com/cychungg/HairFusion 获取。

英文摘要:

Hairstyle transfer is a challenging task in the image editing field that modifies the hairstyle of a given face image while preserving its other appearance and background features. The existing hairstyle transfer approaches heavily rely on StyleGAN, which is pre-trained on cropped and aligned face images. Hence, they struggle to generalize under challenging conditions such as extreme variations of head poses or focal lengths. To address this issue, we propose a one-stage hairstyle transfer diffusion model, HairFusion, that applies to real-world scenarios. Specifically, we carefully design a hair-agnostic representation as the input of the model, where the original hair information is thoroughly eliminated. Next, we introduce a hair align cross-attention (Align-CA) to accurately align the reference hairstyle with the face image while considering the difference in their head poses. To enhance the preservation of the face image's original features, we leverage adaptive hair blending during the inference, where the output's hair regions are estimated by the cross-attention map in Align-CA and blended with non-hair areas of the face image. Our experimental results show that our method achieves state-of-the-art performance compared to the existing methods in preserving the integrity of both the transferred hairstyle and the surrounding features. The codes are available at https://github.com/cychungg/HairFusion

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑