TL;DR
INFAMOUS-NeRF is a novel 3D face modeling method that combines Neural Radiance Fields (NeRF) with hypernetworks to represent multiple subjects with high fidelity without losing editability. By forcing shared semantic attributes (like expressions) to map to identical latent codes across different subjects, it achieves state-of-the-art rendering quality and seamless expression transfer without requiring massive pretrained models.
What Problem Does This Paper Address?
High-fidelity 3D face modeling requires simultaneously capturing identity, shape, and expression across many individuals. Traditional 3D Morphable Models (3DMMs) rely on linear Principal Component Analysis (PCA), which lacks the capacity to model fine details like hair, eyes, and complex geometry.
While Neural Radiance Fields (NeRF) have revolutionized photorealistic 3D rendering, they traditionally excel only in single-subject settings. When trained on multiple subjects, a single multi-layer perceptron (MLP) becomes bottlenecked trying to memorize many distinct appearances. Hypernetworks can alleviate this by generating subject-specific MLP weights, but they introduce a classic trade-off: because each subject gets a unique network, their latent spaces become misaligned. This misalignment makes face editing—such as transferring an expression from person A to person B—extremely difficult without relying on massive, restrictive pretrained models like StyleGAN.
Methods
INFAMOUS-NeRF introduces a two-stage framework consisting of a coarse NeRF-based morphable model followed by a diffusion-based refinement stage.
The core innovations include:
- Semantically-Aligned Hypernetworks: Instead of a single universal NeRF model, a hypernetwork predicts subject-specific weights for the appearance and shape MLPs based on an identity code. To maintain editability, the authors enforce a simple yet powerful constraint: images across different subjects that share the same expression must use the exact same expression latent code. This forces the hypernetwork to absorb identity variations while keeping the expression space universally aligned and interpretable.
- Photometric Surface Constraint ($L_{sur}$): NeRF rendering artifacts frequently cluster around complex face boundaries. The authors address this by identifying the exact surface point along each ray (where volume density weights peak) and enforcing multi-view photometric consistency specifically on these surface points.
- Loss-Guided Adaptive Sampling: Rather than relying on uniform ray sampling or rigid landmark-based heuristics, the training process dynamically builds an $H \times W$ probability map based on per-pixel rendering loss. This ensures the network samples more frequently from high-error regions containing fine details or complex textures.
- Diffusion Refinement: A conditional Denoising Diffusion Probabilistic Model (DDPM) takes the coarse NeRF output as a spatial condition to output the final high-fidelity, refined view.
Datasets
The model was trained and evaluated using several prominent face datasets:
- FaceScape: The primary dataset, utilizing 300 training subjects (each with 20 distinct expressions) to learn the semantically aligned spaces. 56 unseen subjects were reserved for testing.
- FFHQ (Flickr-Faces-HQ): 2,386 in-the-wild images spanning 6 expressions were used to fine-tune the model for real-world generalizability, with 80 subjects held out for testing.
- CelebAHQ: 26 subjects were used exclusively for zero-shot, in-the-wild evaluation to test cross-dataset robustness.
Key Insights and Ideas
- Alignment from Scratch: You don't need a massive, frozen generator (like StyleGAN) to achieve an editable, aligned latent space across hypernetworks. Simply constraining the input codes to be shared across subjects with identical semantic attributes forces the hypernetwork to naturally discover an aligned space during training.
- MLP Downsizing: Because the hypernetwork customizes the weights for each individual face, the underlying NeRF MLPs can be significantly smaller. INFAMOUS-NeRF achieves superior representation power with a hidden size of 128 (compared to 1024 in prior architectures), dramatically reducing the memory footprint during rendering.
- Surface-Level Supervision: Standard NeRF loss supervises the integrated color of an entire ray. Explicitly isolating and supervising the color at the peak density point (the surface) provides a strong geometric anchor that sharpens boundaries.
Key Results
INFAMOUS-NeRF achieves state-of-the-art performance across both controlled and in-the-wild benchmarks, outperforming strong baselines like HeadNeRF and MoFaNeRF.
Quantitative Performance
On the FaceScape dataset, the model delivers substantial improvements in both 3DMM fitting and Novel View Synthesis (NVS):
- FaceScape NVS: Achieves a PSNR of 22.43 and SSIM of 0.9186, significantly outperforming HeadNeRF (17.12 PSNR / 0.8376 SSIM).
- In-the-Wild Fitting (CelebAHQ): Reaches a PSNR of 19.97, compared to HeadNeRF's 13.13 and MoFaNeRF's 13.90.
Qualitative Performance
Qualitatively, the model excels at preserving fine details, distinct skin tones, and complex hairstyles without the blurriness typical of HeadNeRF or the convergence failures seen in MoFaNeRF.
Furthermore, the learned latent space allows for clean, artifact-free expression transfers and identity component swapping.
Limitations and Future Work
- Out-of-Distribution Expressions: The model can struggle with extreme or unusual expressions not well-represented in the training data (for instance, FFHQ is heavily biased toward smiles and grins).
- Test-Time Optimization Cost: Fitting the model to a new, unseen target image requires an expensive iterative optimization loop to regress the correct identity, shape, and expression codes. The authors note that training a separate encoder network to predict these codes directly is a promising avenue for future work.
Summary updated