Learning Neural Light Fields with Ray-Space Embedding Networks

Benjamin Attal, Jia-Bin Huang, Michael Zollhöfer, Johannes Kopf, Changil Kim

Abstract

Neural Radiance Fields (NeRF) have revolutionized view synthesis but suffer from a significant "rendering tax" due to the need for dense volumetric sampling. This paper introduces a novel neural light field representation that maps 4D ray coordinates directly to color, bypassing expensive volume rendering. The core innovation is a Ray-Space Embedding Network that learns to re-parameterize rays into a consistent latent space via local affine transformations. This method achieves state-of-the-art quality on dense datasets, renders significantly faster than NeRF, and better captures complex view-dependent effects such as reflections and refractions on challenging surfaces.

Introduction

While NeRF-based methods produce high-quality results, they require evaluating a neural network hundreds of times per pixel to approximate a volume integral. This computational overhead limits real-time applications. Furthermore, volumetric representations often struggle with complex view-dependent phenomena, such as warped reflections on curved surfaces or light passing through refractive media, because they typically assume a single density and late-conditioned color for 3D points.

Light fields offer a potential solution by providing a 4D representation where a ray query returns a color instantly. However, learning continuous light fields from sparse views is difficult because they lack explicit 3D geometry, often leading to "jittery" interpolation. This work addresses these challenges by combining the efficiency of light fields with a learned embedding that provides implicit geometric consistency.

Methodology: Ray-Space Embedding

The central contribution is the Ray-Space Embedding Network. Rather than feeding raw 4D ray coordinates $(x, y, u, v)$ directly into a color network, the system employs an embedding stage that learns local coordinate transformations.

The local affine transformation-based embedding network architecture, which enables implicit triangulation by warping ray space.

Local Affine Transformation Embedding

The network predicts a local affine transformation for each ray, effectively warping the ray space so that rays observing the same 3D point map to the same latent location. This acts as a form of implicit triangulation, allowing the network to "memorize" scene geometry without an explicit voxel grid or depth map.

Subdivided Neural Light Fields and Over-Compositing

To handle sparse input views where global interpolation is difficult, the authors divide the scene into a voxel grid, with each voxel containing its own local light field. During rendering, a simplified alpha-compositing technique is used: each local light field predicts both color and an integrated opacity for its segment, allowing the model to handle occlusions gracefully while remaining faster than full volumetric integration.

Experimental Results

The model was evaluated on several benchmarks, including the Stanford Light Field Dataset (dense), Real Forward-Facing (sparse), and the Shiny Dataset (complex reflections).

Qualitative visual comparisons on shiny objects and quantitative PSNR vs. Render Time performance.

Performance and Efficiency

On the Stanford dataset, the model achieved a rendering speed of 9.14 FPS, a massive improvement over NeRF’s 0.07 FPS, while also improving image quality (38.05 PSNR vs. 37.56). The model maintains a compact memory footprint of approximately 5.4 MB, comparable to NeRF and significantly smaller than "baked" alternatives like NeX (~38.4 MB).

Handling Complex Reflections

The method excels at modeling non-Lambertian effects. In the "CD" and "Lab" scenes from the Shiny Dataset, the model outperformed the NeX baseline by over 3dB. Because it maps rays directly to color, it is not constrained by the assumption that a 3D point must look similar from all angles, providing a natural advantage for mirrors and glass.

Discussion and Limitations

While the proposed method offers significant speed and quality advantages, it is primarily optimized for forward-facing scenes using two-plane parameterization. Although the authors demonstrated preliminary results for 360-degree scenes using Plücker coordinates, this is not the primary focus of the current architecture. Additionally, as the baseline between images increases, finer voxel subdivision is required, which can increase training and rendering overhead. Finally, unlike NeRF, this model is optimized for visual fidelity rather than explicit 3D reconstruction, meaning it does not produce high-quality meshes or point clouds as a secondary output.

Summary updated

BibTeX
@inproceedings{attal2022learning,
  author = {Benjamin Attal and Jia-Bin Huang and Michael Zollhöfer and Johannes Kopf and Changil Kim},
  title = {{Learning Neural Light Fields with Ray-Space Embedding Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=gZoAtHp0QZ},
}
Figure