Point Neighborhood Embeddings

Pedro Hermosilla · Submission to ICLR 2024 · Rejected

TL;DR

Most 3D point cloud architectures rely on a continuous convolution whose behavior is dictated by how neighboring coordinates are embedded. This paper provides the first systematic benchmark isolating Point Neighborhood Embeddings (PNE), revealing that the ubiquitous MLP + ReLU embedding performs worse than using raw coordinates, while smooth embeddings (Gaussian radial basis functions or Sin/GELU activations) combined with Ball-Query selection deliver state-of-the-art results even with simple linear kernels.

What Problem Does This Paper Address?

In 3D deep learning, point convolutions process unstructured point sets by aggregating features from a point’s local neighborhood:

$$\mathbf{F}^l(x) = \sum_{c} \sum_{y \in \mathcal{N}(x)} \mathbf{F}_c^{l-1}(y) \, \kappa_c(e(y - x))$$

Here, the embedding function $e(y - x)$ encodes relative 3D spatial displacements before passing them to a learnable kernel $\kappa$.

Historically, point convolutions have been evaluated as monolithic blocks intertwined with specific architectures, pooling layers, and data augmentations. As a result, the community never systematically evaluated which neighborhood embedding mechanisms actually drive performance. Practitioners commonly pick an embedding—such as a single-layer MLP with ReLU—without knowing whether it helps or hurts feature representation.

Methods

To isolate the embedding mechanism from confounding architectural tricks, the authors standardized the framework:

  • Simplified Kernel: The kernel $\kappa$ is constrained to a simple linear projection over embedding dimensions, keeping parameter counts identical across configurations by projecting embeddings to a uniform dimension ($E = 16$).
  • Compared Embedding Types:
  • Kernel Point (KP) Embeddings: Relative distances to 13 predefined kernel points (12 on an icosahedron + 1 at the center) using Box, Triangular, or Gaussian correlation functions.
  • MLP Embeddings: Single-layer MLP, $e(x) = \alpha(Wx + b)$, evaluating ReLU, GELU, Sin (Fourier-style), and Softmax.
  • Baseline ("None"): Feeding raw relative coordinates $(x, y, z)$ directly to the kernel.
  • Neighborhood Selection: Comparing fixed-radius Ball-Query (BQ) against $k$-Nearest Neighbors ($k$NN).
  • Controlled Backbone: An encoder-decoder network structured around Metaformer blocks (replacing self-attention with point convolutions).

Datasets

The authors evaluated PNEs across multiple 3D scene understanding tasks:

  • ScanObjNN: Real-world 3D object classification across 13 categories (evaluated on OBJ_ONLY, OBJ_BG, and the perturbed PB_T50_RS variants).
  • ScanNetV2: Indoor scene dataset (1,513 scans) evaluated on 20-class semantic segmentation (mean IoU) and 18-class 3D bounding box object detection (AP@25 / AP@50). (No new datasets were introduced; standard public benchmarks were used).

Key Insights and Ideas

  • ReLU is actively harmful in spatial embeddings: The default standard across point cloud literature—MLP with ReLU—consistently produced the lowest accuracy across benchmarks. On ScanObjNN classification, MLP-ReLU scored 91.1% accuracy, falling below the baseline of using raw coordinates without an embedding (92.4%). Zero-gradient regions in ReLU make learning spatial filters difficult.
  • Smoothness and differentiability are crucial: Replacing ReLU with GELU or Sin immediately restored performance. Gaussian correlation functions outperformed non-differentiable Triangular functions in KP embeddings.
  • Bounded activations tame $k$NN outliers: When using $k$NN, local density variations stretch receptive fields. Sin activation outperformed GELU under $k$NN because its bounded range $[-1, 1]$ prevents extreme spatial outliers from blowing up embedding values.
  • Ball-Query (BQ) beats $k$NN: Measuring the spatial radius across network layers revealed that $k$NN suffers from massive variance in physical receptive field sizes (especially in deep layers). BQ maintains consistent spatial scales and yields universally higher performance.

Key Results

  • Controlled Comparison (ScanObjNN / ScanNetV2):
  • Best Overall: Gaussian KP embeddings under BQ achieved 92.9% accuracy on ScanObjNN and 73.1% mIoU on ScanNetV2.
  • Worst: MLP-ReLU under $k$NN dropped to 89.9% accuracy on ScanObjNN and 71.0% mIoU on ScanNetV2.
  • Outperforming Complex Architectures:
  • With a simple linear kernel and Gaussian KP embeddings, the proposed model achieved 90.4% accuracy on ScanObjNN PB_T50_RS, outperforming dedicated architectures like PointMLP (85.4%), PointNeXt (87.7%), and pre-trained P2P-HorNet (89.3%).
  • On ScanNetV2 test semantic segmentation, it scored 75.5% mIoU, outperforming standard point convolutions like KPConv (68.4%) and PointConvFormer (74.9%), while competing closely with voxel transformers like OctFormer (76.6%).
  • Drop-in Improvement on Existing Models:
  • In PointTransformerV2, replacing the relative position encoder's ReLU with GELU boosted ScanNet validation mIoU from 73.0% to 73.8%, while simultaneously reducing overfitting and stabilizing the loss curve.

Limitations and Future Work

  • Interaction with Complex Attention: The study primarily isolates simple linear continuous kernels. While the authors demonstrated improvements when transferring findings to PointTransformerV2, interactions between embeddings and complex feature-attention mechanisms were not exhaustively explored.
  • Hyperparameter Sensitivity: KP embeddings require tuning the bandwidth parameter $\sigma$; setting $\sigma$ too low leaves spatial gaps, while setting it too high causes excessive overlap.

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