PAPR: Proximity Attention Point Rendering

Yanshu Zhang, Shichong Peng, Alireza Moazeni, Ke Li

Abstract

Learning accurate and parsimonious point cloud representations of scene surfaces from scratch remains a challenge in 3D representation learning. Existing point-based methods often suffer from the vanishing gradient problem or require a large number of points to accurately model scene geometry and texture. To address these limitations, we propose Proximity Attention Point Rendering (PAPR), a novel method that consists of a point-based scene representation and a differentiable renderer. Our scene representation uses a point cloud where each point is characterized by its spatial position, influence score, and view-independent feature vector. The renderer selects the relevant points for each ray and produces accurate colours using their associated features. PAPR effectively learns point cloud positions to represent the correct scene geometry, even when the initialization drastically differs from the target geometry. Notably, our method captures fine texture details while using only a parsimonious set of points. We also demonstrate four practical applications of our method: zero-shot geometry editing, object manipulation, texture transfer, and exposure control.

Introduction

Presented at NeurIPS 2023, PAPR (Proximity Attention Point Rendering) introduces a novel approach to point-based 3D scene representation. While 3D reconstruction from 2D images has traditionally been split between volumetric methods (like NeRF) and surface-based methods (like meshes or point clouds), both have distinct drawbacks. Volumetric methods are computationally expensive due to cubic growth in sampling, while traditional point-based methods struggle with differentiability and often require high-quality initializations from LiDAR or Structure-from-Motion (SfM).

PAPR addresses the "vanishing gradient" problem inherent in traditional point-based rendering. By utilizing a proximity attention mechanism, the model can learn high-quality 3D geometry and fine textures from scratch—even starting from a random sphere of points.

Methodology

The core innovation of PAPR is the shift from absolute distance-based "splatting" to a relative distance-based attention mechanism.

1. Point Representation

Each point in the cloud is defined by three primary attributes:

  • Spatial Position: The 3D coordinates of the point.
  • Influence Score: A learnable parameter determining the point's contribution to the final render.
  • Feature Vector: A view-independent vector that captures local appearance and semantic information.

2. Proximity Attention Mechanism

In traditional renderers, if a ray does not directly hit a point "splat," no gradient is produced, preventing the point from moving toward the true surface during optimization. PAPR solves this by selecting the top $K$ nearest points for every ray cast from the camera.

The system uses a transformer-style attention mechanism where the ray acts as the query and the points act as keys and values. By calculating the relative distance (projecting points onto the ray to find depth $s$ and perpendicular distance $t$) and normalizing contributions across the $K$ points, the renderer ensures a non-zero gradient. This effectively "pulls" the point cloud toward the target geometry regardless of the starting position.

3. Rendering and Refinement

The aggregated features from the attention step are passed through a lightweight U-Net to produce the final RGB image. To maintain efficiency, the model employs progressive refinement through "Point Pruning" (removing points with low influence) and "Point Growing" (adding points in sparse areas), resulting in a parsimonious representation.

Experimental Results

The authors evaluated PAPR on the NeRF Synthetic and Tanks & Temples datasets, comparing it against established baselines like Point-NeRF and Gaussian Splatting.

Quantitative Performance

PAPR consistently outperformed its competitors on the NeRF Synthetic dataset. It achieved a PSNR of 32.07, surpassing both the original NeRF (31.00) and Point-NeRF (25.93). Notably, PAPR achieves these results using a significantly smaller set of points (approximately 30,000) than many existing methods.

Qualitative and Robustness Insights

The method captures sharper details, such as the fine mesh on a microphone or complex metallic reflections, which often appear blurred in other point-based reconstructions. Furthermore, PAPR demonstrated unique robustness by successfully reconstructing the Lego bulldozer geometry starting from a random sphere, a task where baselines like Point-NeRF and NPLF failed entirely.

Applications

The use of view-independent features and a parsimonious point set allows for several "zero-shot" downstream applications:

  • Geometry Editing: Bending or stretching the point cloud while the texture naturally follows the geometry.
  • Object Manipulation: Easily duplicating or deleting specific scene elements.
  • Texture Transfer: Swapping textures between different objects by exchanging feature vectors.
  • Exposure Control: Adjusting the brightness of the rendered scene post-training.

Conclusion and Future Work

PAPR represents a significant step forward in making point-based neural rendering more robust and easier to initialize. By replacing traditional splatting with proximity attention, it enables the learning of complex surfaces from scratch. While the current model assumes relatively simple backgrounds for its pruning strategy and faces some computational overhead from the attention mechanism, future work aims to optimize these layers and improve performance in complex, "in-the-wild" environments.

Summary updated

BibTeX
@inproceedings{zhang2023papr,
  author = {Yanshu Zhang and Shichong Peng and Alireza Moazeni and Ke Li},
  title = {{PAPR: Proximity Attention Point Rendering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=CgJJvuLjec},
}
Figure