Abstract
In this paper, we propose HeadNeRF, a novel NeRF-based parametric head model that integrates the neural radiance field to the parametric representation of the human head. It can render high-fidelity head images in real-time on modern GPUs and supports directly controlling the generated images' rendering pose and various semantic attributes. Different from existing related parametric models, we use the neural radiance fields as a novel 3D proxy instead of the traditional 3D textured mesh, which enables HeadNeRF to generate high-fidelity images. To address the computationally expensive rendering process of the original NeRF, we adopt the strategy of integrating 2D neural rendering to the rendering process and design novel loss terms. As a result, the rendering speed is significantly accelerated, reducing the rendering time of one frame from 5s to 25ms. The well-designed loss terms also improve rendering accuracy, allowing fine-level details such as the gaps between teeth, wrinkles, and beards to be represented and synthesized.
Introduction
Generating and editing digital human heads is a cornerstone of computer vision and graphics, but existing methods usually force a trade-off between quality, control, and speed. Traditional 3D Morphable Models (3DMMs) provide excellent control but struggle with "non-manifold" features like fluffy hair or complex beards. Conversely, Generative Adversarial Networks (GANs) produce realistic 2D images but lack 3D consistency, leading to "texture sticking" during rotation. While Neural Radiance Fields (NeRF) offer incredible 3D consistency, they are typically too slow for real-time use and difficult to edit semantically.
HeadNeRF bridges these gaps by combining the high-fidelity, 3D-consistent rendering of NeRF with the semantic controllability of 3DMMs. By integrating a 2D neural rendering pipeline, it achieves real-time performance (40+ FPS), allowing users to independently edit identity, expression, appearance, and pose in a single unified framework.
The HeadNeRF Architecture
HeadNeRF moves away from the traditional "render every pixel with NeRF" approach to achieve its speed and controllability. The architecture is built on three main pillars:
- NeRF as a 3D Proxy: Instead of a mesh, HeadNeRF uses an MLP-based implicit function. It takes four disentangled latent codes—Identity ($z_{id}$), Expression ($z_{exp}$), Albedo ($z_{alb}$), and Illumination ($z_{ill}$)—along with 3D coordinates to predict volume density and a high-dimensional feature vector.
- The 2D Neural Rendering "Shortcut": Standard NeRF rendering is slow due to dense sampling along rays. HeadNeRF accelerates this by rendering a low-resolution (32x32) feature map using volume rendering. This map is then passed through a 2D Neural Rendering module (a series of upsampling CNN layers) to produce the final 256x256 image. This shifts the heavy lifting from expensive 3D sampling to efficient 2D convolutions.
- 3DMM Bootstrapping: To ensure the latent space is controllable, the authors use 3DMM parameters to initialize the latent codes and align training images into a canonical coordinate system.
By predicting a 256-dimensional feature vector at the NeRF stage rather than raw RGB values, the 2D neural renderer can hallucinate fine-grained details like hair strands and wrinkles that are difficult for pure volume rendering to capture at low resolutions.
Training and Datasets
The model was trained on a diverse mix of multi-view and in-the-wild data to ensure generalization:
- FaceSEIP: 51 subjects with various expressions and 4 lighting conditions captured across 13 cameras.
- FaceScape: A large-scale dataset providing 359 subjects with 20 specific expressions.
- FFHQ: To improve generalization to "in-the-wild" faces, the authors used a subset of 4,133 high-quality images from the StyleGAN dataset.
The training process utilizes a combination of Photometric loss, Perceptual loss (using VGG features), and a Disentangled loss to keep the latent codes independent.
Results and Applications
HeadNeRF achieves 40+ FPS on an NVIDIA 3090 GPU, making it suitable for real-time avatars. Qualitatively, it captures details like the gaps between teeth and the texture of beards far better than mesh-based 3DMMs. Unlike 2D GANs, HeadNeRF maintains strict geometric consistency; when the camera rotates, the features move exactly as they should in 3D space.
The authors demonstrated several successful applications, including Expression Transfer—taking the expression from a video of one person and applying it to another's latent code—and smooth interpolation of facial attributes.
Conclusion
While HeadNeRF represents a significant step forward, it has limitations. It currently struggles with headgear and accessories (like hats or glasses) not represented in the 3DMM-aligned training data. Additionally, illumination control is limited by the discrete lighting types in the FaceSEIP dataset. Future work may incorporate "Light Stage" data for more sophisticated relighting and explore self-supervised methods to learn from even larger, unlabelled video datasets.
Summary updated