Stable-Hair: Real-World Hair Transfer via Diffusion Model

Authors

  • Yuxuan Zhang Shanghai Jiaotong University
  • Qing Zhang Shenyang Institute of Automation Chinese Academy of Sciences
  • Yiren Song National University of Singapore
  • Jichao Zhang Ocean University of China
  • Hao Tang Peking University
  • Jiaming Liu Tiamat AI

DOI:

https://doi.org/10.1609/aaai.v39i10.33123

Abstract

Current hair transfer methods struggle to handle diverse and intricate hairstyles, limiting their applicability in real-world scenarios. In this paper, we propose a novel diffusion-based hair transfer framework, named Stable-Hair, which robustly transfers a wide range of real-world hairstyles to user-provided faces for virtual hair try-on. To achieve this goal, our Stable-Hair framework is designed as a two-stage pipeline. In the first stage, we train a Bald Converter alongside stable diffusion to remove hair from the user-provided face images, resulting in bald images. In the second stage, we specifically designed a Hair Extractor and a Latent IdentityNet to transfer the target hairstyle with highly detailed and high-fidelity to the bald image. The Hair Extractor is trained to encode reference images with the desired hairstyles, while the Latent IdentityNet ensures consistency in identity and background. To minimize color deviations between source images and transfer results, we introduce a novel Latent ControlNet architecture, which functions as both the Bald Converter and Latent IdentityNet. After training on our curated triplet dataset, our method accurately transfers highly detailed and high-fidelity hairstyles to the source images. Extensive experiments demonstrate that our approach achieves state-of-the-art performance compared to existing hair transfer methods.

Downloads

Published

2025-04-11

How to Cite

Zhang, Y., Zhang, Q., Song, Y., Zhang, J., Tang, H., & Liu, J. (2025). Stable-Hair: Real-World Hair Transfer via Diffusion Model. Proceedings of the AAAI Conference on Artificial Intelligence, 39(10), 10348–10356. https://doi.org/10.1609/aaai.v39i10.33123

Issue

Section

AAAI Technical Track on Computer Vision IX