Contrastive Learning for Joint Normal Estimation and Point Cloud Filtering

Dasith de Silva Edirimuni, Xuequan Lu, Gang Li, Antonio Robles-Kelly

TL;DR

This paper introduces a novel deep learning framework that jointly tackles point cloud denoising and normal estimation. By leveraging a 3D patch-based contrastive learning strategy alongside a unified joint loss function, the method achieves state-of-the-art performance while remarkably preserving sharp geometric features like edges and corners even under heavy noise.

What Problem Does This Paper Address?

Raw 3D point clouds captured by real-world sensors (like LiDAR or RGB-D cameras) are inherently noisy and lack connectivity information. To utilize these point clouds for downstream applications such as 3D rendering, animation, or surface reconstruction, two fundamental preprocessing steps are required: filtering (denoising) and normal estimation.

Traditionally, these two tasks are treated separately in sequential pipelines. However, this separation introduces a classic chicken-and-egg problem: accurate filtering relies heavily on precise normal vectors, while reliable normal estimation requires clean, noise-free point positions. Doing them sequentially leads to error propagation. Furthermore, existing deep learning methods often suffer from large network sizes (making them slow) or tend to over-smooth sharp geometric features like sharp edges and corners on CAD models.

Methods

The authors address these challenges by proposing a two-stage deep learning pipeline that unifies both tasks:

  1. 3D Patch-Based Contrastive Learning: To make the network robust to noise, the authors first train a PointNet-like feature encoder using a self-supervised contrastive learning framework. Here, positive pairs are constructed by taking the same underlying clean 3D patch and applying two different random levels of Gaussian noise corruption and rotation. By maximizing the similarity of their latent representations using a Normalized Temperature-scaled Cross Entropy (NT-XEnt) loss, the encoder learns to extract noise-invariant geometric features.
3D patch-based contrastive learning framework
  1. Joint Regression Network: Once pretrained, the encoder's weights are frozen. Its latent representations are passed to a multi-layer perceptron (MLP) regressor that simultaneously outputs both the estimated point normal and a displacement vector used to filter (re-position) the central point of the patch.
Overview of the Regression network
  1. Novel Joint Loss Function: To train the regressor, the authors introduce a joint loss function that mathematically links position and normal errors. It penalizes position deviation from the clean surface while dynamically ensuring that the predicted normal aligns with the ground-truth normal of the closest clean surface point to the regressed position.

Datasets

The framework was evaluated on both synthetic and real-world datasets:

  • Synthetic Dataset: Comprises 22 shapes (11 CAD and 11 non-CAD/organic shapes) for training, 3 for validation, and 23 for testing. Clean shapes were augmented with five different levels of Gaussian noise (ranging from 0.25% to 2.5% of the bounding box diagonal).
  • Real-World Scanned Datasets: To test generalization, the authors evaluated their model on real scans from Kinect v1 and Kinect v2, the Paris-Rue-Madame database (urban street scans), and the KITTI-360 dataset (mobile laser scanner data).

Key Insights and Ideas

  • Noise as a Data Augmentation: Instead of using typical color or jitter augmentations common in 2D computer vision, the authors treat noise corruption itself as a structural "view" change. This forces the contrastive encoder to look past the noise and map different corruption levels of the same patch to nearly identical locations in the latent space.
  • The Geometric Link: Position and normals are intrinsically coupled. The joint loss function elegantly exploits this by mapping the predicted normal to the ground-truth normal of whichever clean point ends up closest to the filtered position, forcing the network to optimize both tasks in harmony.
  • Latent Space Separation: Pretraining via contrastive learning creates a latent space where sharp features (edges/corners) and smooth features are cleanly separated, making the downstream regression task significantly easier for the network to learn.

Key Results

  • Superior Normal Estimation: The method consistently achieved the lowest Mean Squared Angular Error (MSAE) compared to state-of-the-art models like AdaFit and Nesti-Net, showing notable robustness at high noise levels (e.g., 2.0% noise).
  • High-Fidelity Filtering: Quantitative metrics (Chamfer Distance and Point2Surface distance) demonstrated that the model effectively filters out noise while preserving fine details (like the braids in a character's hair) and sharp CAD edges without causing the point clustering or surface shrinkage seen in prior work.
  • Speedups: By handling both tasks simultaneously, the proposed pipeline processed 100K points in 4.9 minutes. In comparison, running separate state-of-the-art pipelines sequentially can take much longer (e.g., Nesti-Net alone requires ~20.9 minutes just for normal estimation).

Limitations and Future Work

The primary limitation acknowledged by the authors is that the method cannot handle sparsely sampled point clouds well. When a point cloud is too sparse, the network can still recover some sharp edge information, but it struggles to accurately reconstruct flat, planar surfaces.

As a direction for future work, the authors suggest adapting the framework to handle highly non-uniform point densities and exploring its direct integration into end-to-end surface reconstruction pipelines.

Summary updated

BibTeX
@article{edirimuni2024contrastive,
  author = {Dasith de Silva Edirimuni and Xuequan Lu and Gang Li and Antonio Robles-Kelly},
  title = {{Contrastive Learning for Joint Normal Estimation and Point Cloud Filtering}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2024},
  doi = {10.1109/tvcg.2023.3263866},
}
Figure