ABLE-NeRF: Attention-Based Rendering with Learnable Embeddings for Neural Radiance Field

Zhe Jun Tang, Tat-Jen Cham, Haiyu Zhao

Introduction

Neural Radiance Fields (NeRF) have transformed 3D scene representation, yet they face a persistent challenge: Volumetric Rendering (VR). In standard NeRF, the density ($\sigma$) of a point is treated as a fixed property, independent of the viewing angle. This physics-based assumption often fails for materials like glass or polished metal, where perceived opacity and brightness change drastically based on the observer's position.

Consequently, standard NeRFs frequently produce "murky" translucent objects and "blurry" glossy surfaces. While previous methods like Ref-NeRF attempted to address this by predicting surface normals to calculate reflections, predicting normals within a volume is an ill-posed problem. These methods continue to struggle with multi-bounce lighting and complex intra-scene reflections.

Methodology

ABLE-NeRF (Attention-Based rendering with Learnable Embeddings) departs from the standard VR equation by introducing a transformer-based architecture designed to learn view-dependence implicitly.

The ABLE-NeRF architecture features the AB Transformer for ray-based rendering and the LE Transformer for global illumination via learnable embeddings.

Attention-Based Rendering (AB Transformer)

Instead of alpha-compositing points along a ray using a fixed formula, ABLE-NeRF treats the ray as a sequence of data. A "ray token" attends to sampled volumes along the ray using a Transformer. A critical component is the masking strategy, where points can only attend to points in front of them. This mimics the front-to-back nature of light transport, allowing the model to learn effective composition for complex materials.

Learnable Embeddings (LE Transformer)

Inspired by "light probes" in game engines, the authors introduce Learnable Embeddings. These latent memory tokens attend to the entire scene during training. During rendering, a view-dependent token queries these embeddings to retrieve global illumination and multi-bounce reflection data—effectively acting as a "neural cache" for the scene's light transport. This allows the model to render complex effects like "reflections of reflections."

Results and Discussion

The model was evaluated on the standard Blender Dataset and the Shiny Blender Dataset, the latter specifically designed to test specular reflections on glossy surfaces.

Qualitative comparison on the Drums scene demonstrates ABLE-NeRF's ability to produce sharper specular highlights and clearer translucent surfaces compared to Ref-NeRF.

Quantitative Performance

ABLE-NeRF achieved state-of-the-art results on the standard Blender dataset, outperforming Ref-NeRF across all major metrics:

  • PSNR: 35.02 vs 33.99
  • SSIM: 0.975 vs 0.966
  • LPIPS: 0.035 vs 0.038

Qualitative Improvements

Visual results show significantly sharper specular highlights on metallic surfaces (like cymbals) and clearer translucent surfaces on drum kits. While Ref-NeRF performs well on simple smooth shapes due to its normal-based priors, ABLE-NeRF proves superior on complex geometries, such as the 'Toaster' scene, where surface normals are difficult to predict accurately.

Conclusion

ABLE-NeRF demonstrates that replacing rigid physics-based volumetric rendering with a flexible attention mechanism significantly improves the rendering of complex view-dependent effects. While the model is computationally intensive to train (requiring approximately 1.5 days on 8 Tesla V100 GPUs per scene), the structured nature of the Learnable Embeddings opens doors for future work in scene editing and relighting without full retraining.

Summary updated

BibTeX
@inproceedings{tang2023able,
  author = {Zhe Jun Tang and Tat-Jen Cham and Haiyu Zhao},
  title = {{ABLE-NeRF: Attention-Based Rendering with Learnable Embeddings for Neural Radiance Field}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure