Local Implicit Ray Function for Generalizable Radiance Field Representation

Xin Huang, Qi Zhang, Ying Feng, Xiaoyu Li, Xuan Wang, Qing Wang

Introduction

Generalizable Neural Radiance Fields (NeRFs) represent a significant advancement in computer vision, allowing for the synthesis of novel views from unseen scenes without the need for time-consuming per-scene optimization. By querying features from a sparse set of source images, these models can reconstruct 3D environments on the fly. However, most existing generalizable NeRF frameworks rely on infinitesimal rays, which assume each pixel represents a single line in space. This simplification leads to significant artifacts—specifically aliasing when zooming out and blurring when zooming in—because the model fails to account for the actual volume of the pixel's footprint at varying scales.

To address these limitations, we introduce the Local Implicit Ray Function (LIRF). LIRF moves beyond the infinitesimal ray assumption by modeling pixels as 3D conical frustums. Combined with a transformer-based visibility module, LIRF enables high-quality, scale-invariant rendering for generalizable radiance fields.

The Challenge of Scale-Invariance

In standard NeRF implementations, a pixel is treated as a single ray. While effective for fixed-distance rendering, this approach breaks down during scale changes:

  • Aliasing (Downsampling): When a camera moves further away, a single ray fails to capture the aggregate information of the area covered by the pixel, resulting in jagged edges.
  • Blurring (Upsampling): When zooming in, the model lacks the local context necessary to maintain high-frequency details, leading to a loss of sharpness.

While scene-specific solutions like Mip-NeRF have addressed this using integrated positional encodings, adapting such logic to generalizable models is difficult. Generalizable models must query features across multiple source views with sub-pixel precision, a task that becomes computationally prohibitive using standard volumetric integration.

Methodology

1. Local Implicit Ray Function (LIRF)

LIRF replaces the traditional ray-casting approach with a volumetric reasoning process. Instead of sampling points along a line, the model considers the conical frustum—the actual volume of space visible to a pixel.

Key technical aspects include:

  • Frustum Representation: The frustum is defined by eight vertices. LIRF acts as an implicit function that takes a 3D coordinate within this volume and the features of its vertices as input.
  • Continuous Aggregation: By predicting a local volumetric radiance field, the model can "supersample" the ray. This allows for smooth transitions and consistent rendering across arbitrary resolutions, ranging from $\times0.5$ to $\times4$ scale.
  • Discrete Approximation: To maintain computational efficiency, the continuous integration of the cone is approximated by casting four rays from the pixel footprint and utilizing trilinear interpolation, ensuring the model remains practical for real-world applications.

2. Transformer-based Visibility Estimation

Handling occlusions is a critical hurdle for generalizable NeRFs. If an object in one source view blocks the view in another, the model must know which features to ignore. Rather than constructing expensive 3D cost volumes, LIRF utilizes a transformer module to perform local feature patch matching across views. This module predicts "visibility weights," ensuring that the final color of a point is derived only from the most relevant, unoccluded source pixels. This approach uses visual consistency as a robust proxy for geometric depth.

Experimental Results

Training and Evaluation

The model was trained on a diverse dataset of 190 real-world scenes, including the Real DTU object dataset and the LLFF/IBRNet collections of indoor and outdoor environments. Evaluation was conducted on unseen scenes from the LLFF dataset at multiple scales to test generalization and scale-invariance.

Performance Metrics

LIRF consistently outperforms state-of-the-art generalizable methods such as IBRNet, NeuRay, and GeoNeRF across PSNR, SSIM, and LPIPS metrics:

  • Multi-Scale Superiority: At a $\times0.5$ scale (downsampled), LIRF achieved a PSNR of 26.75, significantly higher than IBRNet’s 25.06, demonstrating a marked reduction in aliasing.
  • High-Resolution Detail: At a $\times4$ scale (upsampled), LIRF maintained a PSNR of 23.79, while competitors dropped toward 22.15.
  • Qualitative Quality: Visually, LIRF excels at rendering complex, thin structures—such as tree leaves and flower stamens—that typically appear blurred or distorted in other generalizable frameworks.

Discussion and Limitations

While LIRF represents a step forward in scale-invariant rendering, it introduces certain trade-offs. The complexity of casting multiple rays to approximate the conical frustum results in a rendering time of approximately 45 seconds per image at $\times1$ scale—roughly three times slower than IBRNet. Additionally, while the model generalizes well, it can occasionally exhibit "ghosting" artifacts in extremely sparse view settings (e.g., only 4 source views) where visibility estimation becomes less reliable. Future work may involve incorporating explicit geometric priors, such as depth maps, to further refine occlusion handling and improve temporal consistency.

Summary updated

BibTeX
@inproceedings{huang2023local,
  author = {Xin Huang and Qi Zhang and Ying Feng and Xiaoyu Li and Xuan Wang and Qing Wang},
  title = {{Local Implicit Ray Function for Generalizable Radiance Field Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure