Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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

Chaeyeon Chung, Sunghyun Park, Jeongho Kim, Jaegul Choo• 2024

Related benchmarks

TaskDatasetResultRank
Cross-Attribute TransferCelebV-Text and VFHQ Cross-attribute transfer
mCLIP-I0.8809
13
Hairstyle TransferCelebA-HQ (face-aligned)
DINOhair0.81
13
Self-Attribute TransferCelebV-Text and VFHQ Self-attribute transfer
L10.1438
13
Hairstyle TransferCelebA-HQ pose-different
FID28.03
9
Hairstyle TransferCelebA-HQ pose-agnostic
FID28.92
8
Hairstyle TransferCelebA-HQ
HFS Score2.55
6
Hairstyle TransferHairstyle Transfer (test)
HFS2.95
6
Hairstyle TransferHairstyle Transfer Evaluation Gemini-2.5-Flash (test)
HFS2.08
6
Hairstyle TransferUser Study 20 examples
Hair Accuracy3.95
5
Hairstyle TransferUncropped Full-frame (test)
DINOhair0.64
5
Showing 10 of 12 rows

Other info

Follow for update