abstract
Inverse rendering is an ill-posed problem. Previous work has sought to resolve this by focussing on priors for object or scene shape or appearance. In this work, we instead focus on a prior for natural illuminations. Current methods rely on spherical harmonic lighting or other generic representations and, at best, a simplistic prior on the parameters. We propose a conditional neural field representation based on a variational auto-decoder with a SIREN network and, extending Vector Neurons, build equivariance directly into the network. Using this we develop a rotation-equivariant, high dynamic range neural illumination model that is compact and able to express complex, high-frequency features of natural environment maps. Training our model on a curated dataset of 1.6K HDR environment maps of natural scenes, we compare it against traditional representations, demonstrate its applicability for an inverse rendering task and show environment map completion from partial observations.
equivariance
We extend Vector Neurons to a neural field representation for spherical images, giving a generative model of spherical signals that is rotation-equivariant with respect to the latent representation of the signal. Because the field is equivariant, the training data need no augmentation over rotations: a signal observed once can be reconstructed with the same accuracy in any rotation.
illumination model
Applying the rotation-equivariant field gives a statistical model of natural illumination. Natural environments have a canonical up direction, set by gravity, but arbitrary rotation about the vertical axis, so equivariance is restricted to rotations about that axis. Trained on 1.6K HDR equirectangular images of natural scenes, RENI reconstructs natural illumination better than spherical harmonics and spherical Gaussians with a latent of the same size.
illumination prior
Sampling from and interpolating through RENI's latent space produces only plausible illumination. This can constrain inverse rendering problems or generate realistic synthetic data.
inverse rendering
A normalised Blinn-Phong environment map shader in PyTorch3D makes rendering fully differentiable. We fit RENI to a render of a 3D object with fixed geometry, pose, camera and material, so that only the lighting is unknown.
completion
Given only a small crop of an environment, RENI hallucinates plausible completions. It makes sensible guesses about the colours and shapes of land and sky, and often places the sun correctly even when it lies outside the crop.
data & weights
RENI HDR contains 1,704 outdoor HDR environment maps, all released under CC0. They were curated by hand to remove images containing people's identifiable information, offensive content or mostly artificial light, and are split into 1,673 training, 10 validation and 21 test maps.
- reni-hdrThe environment maps, with the fixed masks used for completion.
- reni-modelsCheckpoints for the RENI architecture as trained for the RENI++ experiments, alongside RENI++ itself.
citation
@inproceedings{gardner2022rotationequivariant,
title = {Rotation-Equivariant Conditional Spherical Neural Fields for Learning a Natural Illumination Prior},
author = {James A. D. Gardner and Bernhard Egger and William A. P. Smith},
booktitle = {Advances in Neural Information Processing Systems},
editor = {Alice H. Oh and Alekh Agarwal and Danielle Belgrave and Kyunghyun Cho},
year = {2022},
url = {https://openreview.net/forum?id=cj6K4IWVomU}
}