通过区域感知的妆容特征,实现更精细的面部妆容迁移。
Diffusion-Based Makeup Transfer with Facial Region-Aware Makeup Features
- 用自监督对比学习训练专用妆容CLIP模型,提升妆容表征能力。
- 引入可学习标记提取眼、嘴等区域妆容特征,实现局部可控迁移。
- 支持个体身份与区域妆容分离控制,适合个性化美妆应用。
现有基于扩散模型的妆容迁移方法通常依赖通用预训练模型(如CLIP)编码的妆容信息作为条件,以保留参考图像的妆容风格。然而,这些方法存在两大局限:(1) 通用模型难以捕捉精细妆容特征;(2) 整体注入参考图像的妆容特征,忽略眼部、口部等面部区域的差异,限制了局部妆容控制能力。为此,本文提出面部区域感知妆容特征(FRAM),包含两个阶段:(1) 妆容CLIP微调——利用GPT-o3和文本驱动图像编辑模型合成带标注的妆容数据,通过自监督与图文对比学习训练专用妆容编码器;(2) 身份与区域感知妆容注入——基于第一阶段生成的前后妆容图像对,学习将源图像身份与参考图像妆容注入扩散去噪模型。具体地,使用可学习标记查询妆容CLIP编码器,提取面部区域感知妆容特征,并通过注意力损失实现区域控制。身份注入则通过ControlNet Union同时编码源图像及其3D网格。实验验证了该方法在区域可控性与妆容迁移性能上的优势。代码已开源:https://github.com/zaczgao/Facial_Region-Aware_Makeup。
原文摘要 · Abstract (English)
Current diffusion-based makeup transfer methods commonly use the makeup information encoded by off-the-shelf foundation models (e.g., CLIP) as condition to preserve the makeup style of reference image in the generation. Although effective, these works mainly have two limitations: (1) foundation models pre-trained for generic tasks struggle to capture makeup styles; (2) the makeup features of reference image are injected to the diffusion denoising model as a whole for global makeup transfer, overlooking the facial region-aware makeup features (i.e., eyes, mouth, etc) and limiting the regional controllability for region-specific makeup transfer. To address these, in this work, we propose Facial Region-Aware Makeup features (FRAM), which has two stages: (1) makeup CLIP fine-tuning; (2) identity and facial region-aware makeup injection. For makeup CLIP fine-tuning, unlike prior works using off-the-shelf CLIP, we synthesize annotated makeup style data using GPT-o3 and text-driven image editing model, and then use the data to train a makeup CLIP encoder through self-supervised and image-text contrastive learning. For identity and facial region-aware makeup injection, we construct before-and-after makeup image pairs from the edited images in stage 1 and then use them to learn to inject identity of source image and makeup of reference image to the diffusion denoising model for makeup transfer. Specifically, we use learnable tokens to query the makeup CLIP encoder to extract facial region-aware makeup features for makeup injection, which is learned via an attention loss to enable regional control. As for identity injection, we use a ControlNet Union to encode source image and its 3D mesh simultaneously. The experimental results verify the superiority of our regional controllability and our makeup transfer performance. Code is available at https://github.com/zaczgao/Facial_Region-Aware_Makeup.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。