HairPort: In-context 3D-aware Hair Import and Transfer for Images
Alireza Heidari, Amirhossein Alimohammadi, Ali Mahdavi-Amiri
Abstract
Transferring hairstyles between images is an important but challenging task in computer graphics, computer vision, and visual effects. It enables users to explore new looks without physically altering their hair, with applications in virtual try-on systems, augmented reality, and entertainment. Most prior works operate best under small pose gaps, and they fall short under large viewpoint and scale differences, where missing hair content must be synthesized rather than transferred. We propose HairPort, a 3D-aware hairstyle transfer framework that attempts to solve these issues by explicitly separating hair removal from transfer and enforcing geometric consistency before synthesis. We introduce a Bald Converter, which produces realistic bald versions of faces through LoRA-based in-context adaptation of FLUX.1 Kontext. To train our Bald Converter, we introduce a new dataset, Baldy, containing 6,000 paired bald and original images across diverse identities and conditions. We also use a 3D-Aware Transfer Pipeline that reconstructs and re-renders the reference hairstyle from the target viewpoint before compositing it onto the source image. Being 3D aware, our method supports large pose and scale discrepancies between the source and target. Finally, a conditional flow-matching generator synthesizes the transferred result from the bald source and geometry-aligned reference guidance. Together, our method enables accurate, pose-consistent, and identity-preserving hairstyle transfer, outperforming existing methods both qualitatively and quantitatively.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on29
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations
- SAM 3: Segment Anything with ConceptsNicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath et al.ICLR 2026 · 1,103 citations
Related papers
- Stable-Hair: Real-World Hair Transfer via Diffusion ModelYuxuan Zhang, Qing Zhang, Yiren Song, Jichao Zhang et al.AAAI 2025 · 37 citations
- HairMapper: Removing Hair from Portraits Using GANsYiqian Wu, Yong-Liang Yang, Xiaogang JinCVPR 2022 · 17 citations
- StyleGAN Salon: Multi-View Latent Optimization for Pose-Invariant Hairstyle TransferSasikarn Khwanmuang, Pakkapon Phongthawee, Patsorn Sangkloy, Supasorn SuwajanakornCVPR 2023
- HairNeRF: Geometry-Aware Image Synthesis for Hairstyle TransferSeunggyu Chang, Gihoon Kim, Hayeon KimICCV 2023 · 11 citations
- What to Preserve and What to Transfer: Faithful, Identity-Preserving Diffusion-based Hairstyle TransferChaeyeon Chung, Sunghyun Park, Jeongho Kim, Jaegul ChooAAAI 2025 · 6 citations
