FLNERF: 3D FACIAL LANDMARKS ESTIMATION IN NEURAL RADIANCE FIELDS

Hao Zhang, Tianyuan Dai, Yu-Wing Tai, Chi-Keung Tang · Submission to ICLR 2024 · Rejected

TL;DR

FLNeRF is the first framework designed to predict 3D facial landmarks directly inside Neural Radiance Fields (NeRFs) rather than relying on 2D images or intermediate 3D meshes. By combining a multi-scale, coarse-to-fine volumetric sampling scheme with 3D expression augmentation, it dramatically improves landmark accuracy across subtle and exaggerated expressions while enabling direct, fine-grained control for face editing and swapping.

What Problem Does This Paper Address?

Traditional 3D facial landmark localization typically takes 2D images as input. However, single-view predictions struggle with depth ambiguity and large pose variations, while multi-view predictions often fail to produce consistent 3D geometry when triangulated. On the other hand, explicit 3D representations (like voxel grids or point clouds) either demand enormous memory footprints or lose critical subtle facial details due to discretization.

While Neural Radiance Fields (NeRFs) offer a compact, continuous 5D representation of 3D facial geometry and appearance, no prior method estimated 3D face landmarks directly on the underlying radiance and density fields. Without direct NeRF landmarks, downstream tasks—such as expression retargeting, neural avatar editing, and face swapping—have remained restricted to rigid shape/expression latent codes rather than intuitive, point-based geometric control.

Methods

FLNeRF avoids converting NeRFs into heavy meshes or running multi-view 2D detectors. Instead, it queries the NeRF directly:

  • Continuous Volumetric Sampling & Filtering: Radiance (RGB) and volume density are sampled directly from the NeRF. To eliminate background noise and floaters, points with density values below a set threshold are zeroed out.
  • Coarse-to-Fine Pipeline:
  • Coarse Stage: A coarse $64^3$ grid samples the entire head region. Augmented with CoordConv-style Fourier positional encodings, a 3D backbone (VoxResNet or 3D VGG) predicts initial head pose (a $3 \times 4$ transform matrix) and coarse bilinear model parameters.
  • Fine Stage: Guided by the coarse prediction, the model resamples four dedicated $64^3$ sub-volumes: the full face, left eye/eyebrow, right eye/eyebrow, and mouth/cheek regions. The extracted feature vectors are concatenated and decoded into refined bilinear parameters and rigid transforms.
  • Bilinear Face Representation: Landmarks are parameterized via a Tucker decomposition of the FaceScape blendshape tensor into low-dimensional identity ($w_{\text{id}} \in \mathbb{R}^{50}$) and expression ($w_{\text{exp}} \in \mathbb{R}^{52}$) vectors to construct 68 canonical 3D landmarks, supervised with the Wing loss.
  • Expression Augmentation via 3D TPS: To overcome the scarcity of expressive facial data, 20 basic expressions are rigged into 52 FACS blendshapes and interpolated into 110 distinct expressions. Using 3D Thin Plate Spline (3D TPS) deformation, feature volumes are non-uniformly sampled to simulate exaggerated expressions (e.g., cheek blowing, wide mouth stretching).
  • Application to Face Editing & Swapping: The authors integrate FLNeRF with a modified MoFaNeRF, replacing its latent shape/expression codes with predicted 3D landmarks for direct spatial manipulation.
       [ Input Face NeRF ]
               │
      Coarse Sampling (64³)
               │
    [ 3D Backbone + PosEnc ] ──► Initial Pose & Rough Landmarks
               │
   Guided Fine Sub-Volumes (4 × 64³)
 (Whole Face, Left Eye, Right Eye, Mouth)
               │
    [ 3D Backbone + Decoder ]
               │
 ┌─────────────┴─────────────┐
 ▼                           ▼
Accurate 3D Landmarks    Expression Swapping / Face Editing

Datasets

  • FaceScape: Multi-view facial capture dataset (120 camera views per identity). Used to train both the NeRF representations and the bilinear landmark model.
  • Augmented Expression Benchmark: An expanded dataset generated by the authors featuring 110 expressions per identity (including exaggerated deformations via 3D TPS) across varying head orientations and translations.
  • In-the-Wild Reconstructions: Evaluated on real-world single images reconstructed into NeRFs using EG3D Inversion to test out-of-distribution robustness.

Key Insights and Ideas

  • Direct NeRF querying beats multi-view triangulation: Triangulating 2D landmarks across multiple views frequently suffers from occlusions and detection failures. By operating directly on the continuous 3D field, FLNeRF inherently guarantees view-consistent geometry.
  • Sub-volume zooming retains fine-grained features: Rather than processing a prohibitively large global 3D grid, FLNeRF’s coarse-to-fine cropping samples high-frequency areas (eyes, mouth contours) at high effective spatial resolutions.
  • Explicit landmarks outperform latent codes for editing: Latent expression codes in neural avatar generators often entangle features (e.g., moving the jaw unintentionally affects the eyes). FLNeRF provides explicit 3D landmark handles, yielding clean spatial disentanglement.

Key Results

  • Quantitative Accuracy: Measuring Wing loss ($\times 10$) on unseen test identities across all expressions, FLNeRF achieved 0.85 (mouth), 0.62 (eyes), and 0.55 (nose). In contrast, state-of-the-art averaged 3D estimators like 3DDFA scored 1.71, 2.10, and 1.42, while 2D triangulation baselines (e.g., RTMDet) scored 4.93, —, and 4.81.
  • Robustness on Exaggerated Expressions: On extreme facial poses (e.g., stretching mouth), FLNeRF maintained a low Wing loss of 0.78 (mouth) vs. 3DDFA's 4.07 and SynergyNet's 3.85.
  • Zero Failure Rate: While 2D and 3D image-based baselines failed completely on dozens of views per sequence (e.g., SPIGA failed on an average of 57.99 frames out of 120), FLNeRF operates holistically on the volume with zero frame-drop issues.
  • In-the-Wild Generalization: Successfully predicted accurate 3D landmarks on noisy, single-view NeRFs generated by EG3D Inversion.

Limitations and Future Work

  • Coarse Stage Bottleneck: Fine sub-volume sampling relies on the initial bounding box and pose predicted by the coarse stage; significant coarse localization errors will degrade the fine stage's performance.
  • Bilinear Subspace Assumptions: Because landmarks are parameterized via FaceScape’s bilinear core tensor, geometry representation remains bounded by the expressiveness of the underlying blendshape basis.
  • Non-standard Landmark Definitions: Due to differences in how cheek landmarks are defined in FaceScape compared to standard 2D/3D benchmarks, quantitative comparisons on cheek keypoints could not be evaluated directly.

Summary updated

BibTeX
@misc{zhang2022flnerf,
  author = {Hao ZHANG and Tianyuan DAI and Yu-Wing Tai and Chi-Keung Tang},
  title = {{FLNERF: 3D FACIAL LANDMARKS ESTIMATION IN NEURAL RADIANCE FIELDS}},
  year = {2022},
  eprint = {2211.11202},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.11202},
}
Figure