RENI++ A Rotation-Equivariant, Scale-Invariant, Natural Illumination Prior

James A. D. Gardner, Bernhard Egger, William A. P. Smith · DOI

Introduction

Inverse rendering—the process of estimating a scene's shape, material, and lighting from a 2D image—is a fundamentally ill-posed problem. Because infinitely many combinations of light and geometry can produce the same visual output, researchers rely on "priors" to model likely lighting conditions. Traditional priors, such as Spherical Harmonics (SH) or Spherical Gaussians (SG), often struggle with a trade-off: they are either too blurry to capture high-frequency details like the sun or require an inefficient number of parameters.

RENI++ introduces a high-performance neural representation of natural outdoor lighting designed to respect physical symmetries like rotation and scale. By combining a transformer-based variational auto-decoder with "Vector Neurons," the authors create a compact prior that outperforms traditional methods in inverse rendering and environment map completion.

Methodology

The core of RENI++ is a Conditional Spherical Neural Field built on a Variational Auto-decoder (VAD) architecture. Unlike previous models that use periodic activation functions (like SIREN), RENI++ utilizes a transformer-based decoder with cross-attention to better capture sharp, high-frequency details.

The architecture of the Rotation-Equivariant Conditional Spherical Neural Field, showing the invariant transformation and latent code processing.

Key Technical Components

  • Vector Neurons (VN): The model integrates Vector Neurons to embed rotation-equivariance directly into the network architecture. This mathematical guarantee ensures that rotating the latent code results in an identical rotation of the generated illumination map.
  • SO(2) Equivariance: While many models pursue full 3D rotation symmetry (SO(3)), RENI++ specifically targets rotation around the vertical axis (SO(2)). This respects the physical reality of natural scenes where "up" is defined by gravity, but horizontal orientation is arbitrary. This constraint prevents the model from generating impossible scenarios, such as the sun appearing below the horizon.
  • Scale-Invariant Loss: To handle the massive dynamic range of HDR images, the authors employ a scale-invariant loss function. This allows the model to learn the structural distribution of light without being biased by absolute exposure values.

Datasets and Training

The model was trained on a curated dataset of 1,694 HDR equirectangular images of natural outdoor environments. These images were sourced from CC0-licensed repositories and manually cleaned to remove unnatural light sources and personally identifiable information. The dataset was split into 1,673 training images and 21 test images to evaluate generalization to unseen environments.

Key Results and Insights

RENI++ demonstrates significant improvements over traditional lighting representations. By hard-coding SO(2) equivariance, the model becomes more data-efficient, as it does not need to "learn" that a rotated sunset is still a valid sunset.

Qualitative comparison of RENI++ against Spherical Harmonics (SH) and Spherical Gaussians (SG) across different latent dimensions, highlighting RENI++'s ability to capture sharp highlights.

Performance Metrics

  • Generalization: In reconstructing unseen environment maps at a latent dimension of $D=300$, RENI++ achieved a PSNR of 22.10, significantly higher than SH (19.15) and SG (20.24).
  • Inverse Rendering: When estimating lighting from a single image of a reflective object, RENI++ produced more detailed environment maps than traditional methods, particularly as object specularity increased.
  • Environment Completion: The model can accurately "hallucinate" missing parts of a scene. For instance, it can predict the sun's location from a small crop by analyzing the shadows and highlights present in the partial view.

Limitations and Future Work

While highly effective for natural outdoor scenes, RENI++ currently has an outdoor bias and struggles with complex indoor lighting (e.g., multiple colored lamps). Additionally, the model treats illumination as an independent prior and does not yet account for the complex interactions between light and specific scene geometries. Future research may extend this framework to spatially-varying lighting or dynamic video sequences.

Summary updated

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. This results in limitations for the inverse setting in terms of the expressivity of the illumination conditions, especially when taking specular reflections into account. We propose a conditional neural field representation based on a variational auto-decoder and a transformer decoder. We extend Vector Neurons to build equivariance directly into our architecture, and leveraging insights from depth estimation through a scale-invariant loss function, we enable the accurate representation of High Dynamic Range (HDR) images. The result is a compact, rotation-equivariant HDR neural illumination model capable of capturing complex, high-frequency features in 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. We share our PyTorch implementation, dataset and trained models at https://github.com/JADGardner/ns_reni
BibTeX
@article{gardner2026reni,
  author = {James A. D. Gardner and Bernhard Egger and William A. P. Smith},
  title = {{RENI++ A Rotation-Equivariant, Scale-Invariant, Natural Illumination Prior}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2026},
  doi = {10.1109/tpami.2026.3691593},
}
Figure