HairFastGAN: Realistic and Robust Hair Transfer with a Fast Encoder-Based Approach
Not on the map. Why?
Abstract (arXiv)
Our paper addresses the complex task of transferring a hairstyle from a reference image to an input photo for virtual hair try-on. This task is challenging due to the need to adapt to various photo poses, the sensitivity of hairstyles, and the lack of objective metrics. The current state of the art hairstyle transfer methods use an optimization process for different parts of the approach, making them inexcusably slow. At the same time, faster encoder-based models are of very low quality because they either operate in StyleGAN's W+ space or use other low-dimensional image generators. Additionally, both approaches have a problem with hairstyle transfer when the source pose is very different from the target pose, because they either don't consider the pose at all or deal with it inefficiently. In our paper, we present the HairFast model, which uniquely solves these problems and achieves high resolution, near real-time performance, and superior reconstruction compared to optimization problem-based methods. Our solution includes a new architecture operating in the FS latent space of StyleGAN, an enhanced inpainting approach, and improved encoders for better alignment, color transfer, and a new encoder for post-processing. The effectiveness of our approach is demonstrated on realism metrics after random hairstyle transfer and reconstruction when the original hairstyle is transferred. In the most difficult scenario of transferring both shape and color of a hairstyle from different images, our method performs in less than a second on the Nvidia V100. Our code is available at https://github.com/AIRI-Institute/HairFastGAN.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 32 of its 44 references that are in the map. First posted on arXiv 1 Apr 2024.
Builds on
32 of 44 references.
References · 32
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
- 2021Efficient Geometry-aware 3D Generative Adversarial Networkscited by 1,204
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
- 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
- 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
- 2018BiSeNet: Bilateral Segmentation Network for Real-time Semantic Segmentationcited by 645
- 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
20 more
- 2021Designing an Encoder for StyleGAN Image Manipulationcited by 542
- 2021StyleNeRF: A Style-based 3D-Aware Generator for High-resolution Image Synthesiscited by 477
- 2021Pivotal Tuning for Latent-based Editing of Real Imagescited by 427
- 2020In-Domain GAN Inversion for Real Image Editingcited by 420
- 2019SEAN: Image Synthesis with Semantic Region-Adaptive Normalizationcited by 253
- 2022The Role of ImageNet Classes in Fr'echet Inception Distancecited by 211
- 2019SC-FEGAN: Face Editing Generative Adversarial Network with User's Sketch and Colorcited by 105
- 2020Improved StyleGAN Embedding: Where are the Good Latents?cited by 88
- 2021HairCLIP: Design Your Hair by Text and Reference Imagecited by 79
- 2019PSGAN: Pose and Expression Robust Spatial-Aware GAN for Customizable Makeup Transfercited by 66
- 2020Efficient Semantic Image Synthesis via Class-Adaptive Normalizationcited by 58
- 2021Diverse Semantic Image Synthesis via Probability Distribution Modelingcited by 49
- 2023STAR Loss: Reducing Semantic Ambiguity in Facial Landmark Detectioncited by 41
- 2020Deep Plastic Surgery: Robust and Controllable Image Editing with Human-Drawn Sketchescited by 37
- 2021LOHO: Latent Optimization of Hairstyles via Orthogonalizationcited by 30
- 2021Calibrating the Dice loss to handle neural network overconfidence for biomedical image segmentationcited by 17
- 2023HairCLIPv2: Unifying Hair Editing via Proxy Feature Blendingcited by 17
- 2022Style Your Hair: Latent Optimization for Pose-Invariant Hairstyle Transfer via Local-Style-Aware Hair Alignmentcited by 16
- 2022HairFIT: Pose-Invariant Hairstyle Transfer via Flow-based Hair Alignment and Semantic-Region-Aware Inpaintingcited by 9
- 2023StyleGAN Salon: Multi-View Latent Optimization for Pose-Invariant Hairstyle Transfercited by 7
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 4.
10 papers.
- 2024Stable-Hair: Real-World Hair Transfer via Diffusion Modelcited by 34
- 20253DGH: 3D Head Generation with Composable Hair and Facecited by 8
- 2024What to Preserve and What to Transfer: Faithful, Identity-Preserving Diffusion-based Hairstyle Transfercited by 7
- 2024HairDiffusion: Vivid Multi-Colored Hair Editing via Latent Diffusioncited by 3
- 2025Stable-Hair v2: Real-World Hair Transfer via Multiple-View Diffusion Modelcited by 2
- 2025HairShifter: Consistent and High-Fidelity Video Hair Transfer via Anchor-Guided Animationcited by 0
- 2026MSP-ReID: Hairstyle-Robust Cloth-Changing Person Re-Identificationcited by 0
- 2026UniBioTransfer: A Unified Framework for Multiple Biometrics Transfercited by 0
- 2026HairPort: In-context 3D-aware Hair Import and Transfer for Imagescited by 0
- 2026H-Adapter: Pose-Robust Hairstyle Transfer via Attention-Derived, Source-Aligned Hair Maskscited by 0
- 2026H-Adapter: Pose-Robust Hairstyle Transfer via Attention-Derived, Source-Aligned Hair Masks24 Jun 2026
- 2026HairPort: In-context 3D-aware Hair Import and Transfer for Images10 Jun 2026
- 2026UniBioTransfer: A Unified Framework for Multiple Biometrics Transfer20 Mar 2026
- 2026MSP-ReID: Hairstyle-Robust Cloth-Changing Person Re-Identification2 Mar 2026
- 2025HairShifter: Consistent and High-Fidelity Video Hair Transfer via Anchor-Guided Animation17 Jul 2025
- 2025Stable-Hair v2: Real-World Hair Transfer via Multiple-View Diffusion Model10 Jul 2025
- 20253DGH: 3D Head Generation with Composable Hair and Face25 Jun 2025
- 2024HairDiffusion: Vivid Multi-Colored Hair Editing via Latent Diffusion29 Oct 2024
- 2024What to Preserve and What to Transfer: Faithful, Identity-Preserving Diffusion-based Hairstyle Transfer29 Aug 2024
- 2024Stable-Hair: Real-World Hair Transfer via Diffusion Model19 Jul 2024