Point Neighborhood Embeddings

Pedro Hermosilla · DOI

Abstract

Modern 3D deep learning architectures rely on Point Neighborhood Embeddings (PNE) to encode local geometry. This study reveals that the ubiquitous MLP+ReLU embedding is often the least effective method due to gradient "dead zones." By evaluating various kernel-based and MLP-based embeddings across benchmark datasets like ScanObjNN and ScanNetV2, we demonstrate that smoother functions—such as Gaussian kernels or GELU/Sin activations—significantly improve performance. Furthermore, Ball-query neighborhood selection is shown to be superior to k-Nearest Neighbors, allowing simpler architectures to achieve state-of-the-art results.

Introduction

In 3D computer vision, point clouds are the standard representation for spatial data. To process these, "point convolutions" analyze a point and its local neighbors. A critical but often overlooked component of this process is the Point Neighborhood Embedding (PNE). This mathematical "lens" translates the relative positions of neighboring points into a format the neural network can understand. Despite its foundational role, most researchers default to Multi-layer Perceptrons (MLP) with ReLU activations. This paper conducts the first extensive, controlled study of PNEs to determine if there is a better way to "see" the neighborhood.

Methods

The study isolates the PNE mechanism from the rest of the network architecture to evaluate its impact independently. Two main families of embeddings were compared:

  1. Kernel Point (KP) Embeddings: These measure spatial correlations relative to fixed points using functions like Box, Triangular, and Gaussian kernels.
  2. MLP-based Embeddings: These process relative coordinates through a small network using different activation functions: ReLU (the standard), GELU (smoother), and Sin (periodic).

The researchers also compared Neighborhood Selection methods: k-Nearest Neighbors (kNN) versus Ball-query (BQ).

Visualization of different PNE types and their gradients, highlighting the smoothness of Gaussian and Sin/GELU embeddings compared to ReLU.

Key Insights

  • The "ReLU" Trap: MLP+ReLU embeddings often perform poorly, sometimes worse than using raw coordinates. ReLU creates "dead zones" with zero gradients, making it hard for the network to learn fine spatial details.
  • Smoothness Matters: Continuous and differentiable embeddings—like Gaussian correlations or GELU/Sin activations—provide much better learning signals. They ensure that every small movement of a point in space results in a meaningful change in the embedding.
  • Ball-query > kNN: While kNN is easier to implement, it creates receptive fields that vary wildly in size depending on point density. Ball-query is more stable and leads to better performance.

Results

The PNEs were evaluated on ScanObjNN (classification) and ScanNetV2 (semantic segmentation).

Performance comparison of neighborhood selection methods (BQ vs KNN) and embedding types across ScanObjNN and ScanNet datasets.

By simply using a Gaussian KP embedding, a basic encoder-decoder model achieved 75.5% mIoU on the ScanNet test set, outperforming much more complex models like PointConv and KPConv. On ScanObjNN, the proposed simple model hit 92.9% accuracy, beating specialized models like MVTN (92.6%) and PointNet++ (82.3%). Additionally, using Sin or GELU activations significantly reduced over-fitting and led to more stable training compared to ReLU.

Conclusion

The choice of Point Neighborhood Embedding is a decisive factor in 3D network performance. Moving away from ReLU toward smoother embedding functions and adopting Ball-query selection allows for simpler architectures to achieve state-of-the-art results. Future work could involve exploring these PNEs in 3D Transformers or generative tasks where gradient quality is even more critical.

Summary updated

Abstract

Point convolution operations rely on different embedding mechanisms to encode the neighborhood information of each point in order to detect patterns in 3D space. However, as convolutions are usually evaluated as a whole, not much work has been done to investigate which is the ideal mechanism to encode such neighborhood information. In this paper, we provide the first extensive study that analyzes such Point Neighborhood Embeddings (PNE) alone in a controlled experimental setup. From our experiments, we derive a set of recommendations for PNE that can help to improve future designs of neural network architectures for point clouds. Our most surprising finding shows that the most commonly used embedding based on a Multi-Layer Perceptron (MLP) with ReLU activation functions provides the lowest performance among all embeddings, even being surpassed on some tasks by a simple linear combination of the point coordinates. Additionally, we show that a neural network architecture using simple convolutions based on such embeddings is able to achieve state-of-the-art results on several tasks, outperforming recent and more complex operations. Lastly, we show that these findings extrapolate to other more complex convolution operations, where we show how following our recommendations we are able to improve recent state-of-the-art architectures.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ScanNet · V2Ours (simple linear combination of KP embeddings with Gaussian correlation)Mean IoU74.9split: val · input=points · resolution=2 cm
Source quote
L442: Ours │ points │ 2cm │ 74.9 │ 75.5
ScanNet · V2Ours (simple linear combination of KP embeddings with Gaussian correlation)Mean IoU75.5split: test · input=points · resolution=2 cm
Source quote
L442: Ours │ points │ 2cm │ 74.9 │ 75.5
ScanObjNN · OBJ_BGOurs (simple linear combination of KP embeddings with Gaussian correlation)Classification score (the table does not disambiguate overall accuracy from per-class mean accuracy)92.9split: test · subset=OBJ_BG
Source quote
L461: Ours │ 92.9 │ 90.4
ScanObjNN · PB_T50_RSOurs (simple linear combination of KP embeddings with Gaussian correlation)Classification score (the table does not disambiguate overall accuracy from per-class mean accuracy)90.4split: test · subset=PB_T50_RS
Source quote
L461: Ours │ 92.9 │ 90.4
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
ScanNet · V2OctFormer baselineMean IoU75.7split: val · input=voxels · resolution=1 cm
Source quote
L441: OctFormer │ voxels │ 1cm │ 75.7 │ 76.6
ScanNet · V2OctFormer baselineMean IoU76.6split: test · input=voxels · resolution=1 cm
Source quote
L441: OctFormer │ voxels │ 1cm │ 75.7 │ 76.6
BibTeX
@misc{hermosilla2023point,
  author = {Pedro Hermosilla},
  title = {{Point Neighborhood Embeddings}},
  year = {2023},
  eprint = {2310.02083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.02083},
}
Figure