Abstract
KeypointNeRF is a generalizable neural radiance field (NeRF) framework designed to reconstruct high-fidelity 3D human avatars from sparse input views (e.g., 2-3 images). Unlike existing methods that rely on global camera-relative spatial encodings—which often fail to generalize from studio training data to unconstrained real-world captures—KeypointNeRF introduces a relative spatial encoding anchored to sparse 3D keypoints. By defining a local coordinate system relative to the subject's anatomy, the model achieves robust generalization across different camera intrinsics and poses. We demonstrate state-of-the-art performance on studio datasets, in-the-wild smartphone captures, and full-body motion capture sequences.
Introduction
Creating high-fidelity digital doubles typically requires either massive multi-camera studio rigs or extensive person-specific training. While "generalizable" NeRFs aim to reconstruct new subjects instantly from sparse views, they often struggle with the "domain gap" between controlled training environments and real-world applications.
The authors identify spatial encoding as a primary bottleneck. Most existing methods use global encodings (such as depth relative to the camera) to resolve 3D geometry. However, these encodings cause models to overfit to specific camera setups and poses seen during training. When applied to handheld smartphone photos with different lenses or unconstrained poses, these models often produce "cloudy" artifacts. KeypointNeRF addresses this by anchoring the neural radiance field to the subject's own anatomy rather than the camera's coordinate system.
Methodology
The core innovation of KeypointNeRF is Relative Spatial Keypoint Encoding. The system follows a multi-stage pipeline:
- Keypoint Triangulation: Using an off-the-shelf 2D detector, the system identifies landmarks (e.g., facial features or body joints) in the input images and triangulates them into a sparse 3D point cloud.
- Relative Encoding: For any query point in 3D space, the model calculates its distance and relative depth to these 3D keypoints. This creates a "local" coordinate system that moves and deforms with the subject, effectively breaking the dependency on global camera coordinates.
- Pixel-Aligned Features: Similar to prior image-based rendering work, the model extracts features from input images using a Convolutional Neural Network (CNN).
- Fusion and Rendering: Relative spatial encodings and pixel features are fused via Multi-Layer Perceptrons (MLPs). To preserve high-frequency details like skin texture, the model predicts blending weights to combine colors directly from the original input images during volume rendering.
Experiments and Results
The authors validated KeypointNeRF across three distinct scenarios to test its versatility and generalization:
- Studio Head Dataset: Trained on 351 identities captured with 29 synchronized cameras, KeypointNeRF outperformed previous methods like PVA and IBRNet in both SSIM and PSNR.
- In-the-wild iPhone Captures: This challenging test set used standard smartphone photography. KeypointNeRF achieved a PSNR of 25.29, vastly outperforming the state-of-the-art IBRNet (18.45), which suffered from severe blur in this domain.
- ZJU-MoCap: Applied to full-body reconstruction, the model achieved a PSNR of 25.03, outperforming PixelNeRF (23.17) and performing on par with more complex models that use full parametric body priors (like SMPL).
Discussion and Conclusion
KeypointNeRF demonstrates that locality is king for generalization. By using a Gaussian kernel to weight the influence of keypoints, the model learns to prioritize the nearest anatomical anchors. This makes the reconstruction robust to pose changes; if a person turns their head, the coordinate system turns with them. Because the encoding is relative to the subject, the model remains effective regardless of whether the input comes from a high-end studio camera or a consumer smartphone.
Despite its strengths, the method has limitations. It relies on the accuracy of 2D keypoint detectors; extreme occlusions can lead to noisy spatial encodings. Additionally, it requires at least two views for triangulation and assumes pre-processed background matting. Future work may extend this relative encoding philosophy to other categories, such as vehicles or animals, where sparse keypoints can provide a robust structural anchor for neural rendering.
Summary updated