Abstract
We introduce an industrial Head Blending pipeline for the task of seamlessly integrating an actor's head onto a target body in digital content creation. The key challenge stems from discrepancies in head shape and hair structure, which lead to unnatural boundaries and blending artifacts. Existing methods treat foreground and background as a single task, resulting in suboptimal blending quality. To address this problem, we propose CHANGER, a novel pipeline that decouples background integration from foreground blending. By utilizing chroma keying for artifact-free background generation and introducing Head shape and long Hair augmentation ($H^2$ augmentation) to simulate a wide range of head shapes and hair styles, CHANGER improves generalization on innumerable various real-world cases. Furthermore, our Foreground Predictive Attention Transformer (FPAT) module enhances foreground blending by predicting and focusing on key head and body regions. Quantitative and qualitative evaluations on benchmark datasets demonstrate that our CHANGER outperforms state-of-the-art methods, delivering high-fidelity, industrial-grade results.
Introduction
In digital content creation—ranging from virtual avatars to high-end VFX—the ability to seamlessly place a source head onto a target body is a critical task. Unlike simple face swapping, full head blending requires reconciling disparate head shapes, hair structures, and necklines. Traditional approaches often fail because they attempt to process the foreground and background simultaneously, leading to boundary artifacts and background "ghosting" where the original scene is poorly inpainted.
The CHANGER Pipeline
To overcome these limitations, we propose CHANGER (Consistent Head blending with predictive AtteNtion Guided foreground Estimation under chroma key setting for industRial applications). The pipeline is built on three core pillars:
1. Chroma Keying Decoupling
Instead of forcing the model to generate complex backgrounds, CHANGER decouples background integration from foreground blending. By training the model to output the blended subject on a "green screen" (chroma key), we ensure that the final result can be cleanly composited back into any scene. This eliminates background artifacts and allows the model to dedicate its capacity entirely to the foreground.
2. $H^2$ Augmentation
To address discrepancies in head and hair shape, we introduce Head shape and long Hair ($H^2$) augmentation. During training, source images are randomly warped and augmented with synthetic long hair. This forces the model to learn robust inpainting of the body and neck regions that might be obscured or revealed by different hairstyles.
3. Foreground Predictive Attention Transformer (FPAT)
The FPAT module is the architectural core of CHANGER. Unlike standard transformers, FPAT explicitly predicts a foreground mask. It uses this mask to guide its attention mechanism, focusing specifically on the critical transition regions between the head and the body, ensuring anatomical consistency.
Evaluation and Results
The model was trained and evaluated on high-quality datasets including VoxCeleb1, VoxCeleb2, and HDTF (High-Definition Talking Face).
Quantitative results show that CHANGER significantly outperforms the previous state-of-the-art (H2SB):
- Fidelity: PSNR improved from 12.39 to 27.84.
- Perceptual Quality: LPIPS dropped from 0.134 to 0.011 (lower is better).
- Efficiency: The model uses 64% fewer parameters and runs 2.2x faster, achieving 60.57 FPS on an NVIDIA RTX 3090.
Conclusion
CHANGER represents a significant step toward industrial-grade head blending. By decoupling background processing and employing specialized augmentation and attention mechanisms, it achieves high-fidelity results suitable for professional production environments. Future work will focus on handling extreme attributes like voluminous hair and unusual colors at even higher resolutions.
Summary updated