HyP-NeRF: Learning Improved NeRF Priors using a HyperNetwork

Bipasha Sen, Gaurav Singh, Aditya Agarwal, Rohith Agaram, Madhava Krishna, Srinath Sridhar

TL;DR

HyP-NeRF introduces a novel way to learn generalizable, category-level 3D priors for Neural Radiance Fields (NeRFs) using hypernetworks. By predicting both the network weights and multi-resolution hash encodings, and pairing this with a unique 2D-denoising-to-3D-finetuning step, the method generates high-quality, multi-view consistent NeRFs from single images or text prompts. It achieves state-of-the-art generalization and enables a massive 60x compression of 3D asset libraries.

The Challenge of Generalizable NeRFs

Neural Radiance Fields (NeRFs) are incredible at memorizing and rendering high-fidelity 3D scenes, but they are typically "one-off" models. Training a NeRF from scratch for every new object is computationally expensive, and standard NeRFs cannot easily generalize to unseen objects from sparse views (such as a single image).

While researchers have tried building generalizable NeRF priors using 2D image features or 3D voxel grids, these approaches often suffer from multi-view inconsistencies, high compute costs, or blurry outputs. Latent conditioning—where a network learns a shared latent space for a category of objects—is a promising alternative. However, standard latent-conditioned architectures lack the capacity to model diverse, high-resolution objects with fine geometric and textural details, often resulting in overly smoothed or blurry renders.

Introducing HyP-NeRF

To address these limitations, the authors propose HyP-NeRF, a two-step framework that leverages a hypernetwork (a neural network that generates parameters for another neural network) to learn a high-quality, category-level NeRF prior.

HyP-NeRF Architecture and Results Comparison

The method relies on two core innovations:

  1. Hypernetwork with Hash Encodings: Instead of just predicting the weights of a standard Multi-Layer Perceptron (MLP), HyP-NeRF's hypernetwork predicts both the MLP weights and instance-specific Multi-Resolution Hash Encodings (MRHEs, the data structure popularized by InstantNGP). This dual-prediction is conditioned on learned shape and color latent codes. Predicting the hash encodings is the secret sauce for capturing high-frequency details that naive latent conditioning misses.
  2. Denoise and Finetune: To push the visual quality even further, the authors render 2D views from the hypernetwork-generated NeRF and pass them through a pre-trained 2D image denoiser (VQVAE2). They then finetune the NeRF using these enhanced 2D images. Because they are finetuning an already multi-view consistent NeRF, the final 3D model absorbs the high-quality textures from the 2D denoiser without breaking 3D consistency.

At test time, users can optimize the latent codes to match a target image, or use a trained "Query Network" to map CLIP embeddings (from text or unposed images) directly into the NeRF latent space for zero-shot generation.

Key Insights

  • Hash Encodings are Predictable: Predicting MRHEs alongside network weights via a hypernetwork is not only possible but yields vastly superior visual quality compared to relying on standard positional encodings. It bridges the gap between fast, instance-specific models and generalizable meta-learning.
  • 2D Denoising Upgrades 3D Models: Off-the-shelf 2D image denoisers can effectively improve 3D NeRFs. By rendering, denoising, and then finetuning, the NeRF acts as a 3D-consistent anchor that absorbs 2D enhancements without introducing multi-view artifacts.
  • Latent Disentanglement: The learned prior naturally separates shape and color. You can swap the "shape code" of one chair with the "color code" of another and get a perfectly fused, novel 3D object.

Experimental Results

The authors evaluated HyP-NeRF on the Amazon-Berkeley Objects (ABO) dataset for high-resolution (512x512) tasks and the ShapeNet (SRN) dataset for standard 128x128 resolution benchmarking.

  • State-of-the-Art Generalization: On the ABO dataset, HyP-NeRF crushed baselines on single-view novel NeRF generation. For chairs, it achieved a PSNR of 24.23 (vs. PixelNeRF's 18.30) and an FID of 68.11 (vs. 292.32).
  • Massive Compression: Because the hypernetwork learns a shared prior across thousands of objects, it acts as a highly efficient compression algorithm for 3D asset libraries. HyP-NeRF achieved a 60x compression ratio compared to training individual InstantNGP models for every object. Storing 1,038 chairs took only 163MB with HyP-NeRF, whereas individual InstantNGP models would require ~8.9MB each (over 9GB total). This came with only a minor ~11% drop in PSNR and nearly identical geometric accuracy.
  • Downstream Versatility: The learned prior successfully enabled text-to-NeRF generation and 3D reconstruction from heavily cluttered, in-the-wild single images using CLIP embeddings.

Limitations and Future Work

While powerful, HyP-NeRF has a few limitations. Test-time optimization currently requires known camera poses. Future work could incorporate iterative pose refinement to handle completely unposed images natively. Additionally, the latent space learned by the hypernetwork isn't a standard distribution (like a Gaussian), making unconditional, random generation of new objects difficult. The authors propose using latent diffusion models in the future to map a standard prior distribution into HyP-NeRF's learned space.

Summary updated

BibTeX
@inproceedings{sen2023hyp,
  author = {Bipasha Sen and Gaurav Singh and Aditya Agarwal and Rohith Agaram and Madhava Krishna and Srinath Sridhar},
  title = {{HyP-NeRF: Learning Improved NeRF Priors using a HyperNetwork}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=BExDjNDYkN},
}
Figure