Differentiable Iterative Surface Normal Estimation

Jan Eric Lenssen, Christian Osendorfer, Jonathan MasciarXiv 2019

Introduction

Surface normal estimation is a cornerstone of 3D computer vision, essential for tasks ranging from object recognition to high-fidelity reconstruction. Traditional geometric methods like Principal Component Analysis (PCA) offer speed but falter in the presence of noise, outliers, and sharp geometric features. Conversely, modern deep learning approaches have pushed accuracy boundaries but often at the cost of massive parameter counts, "black-box" interpretability, and significant computational overhead. This paper presents a hybrid framework that integrates the geometric rigor of least-squares fitting with the adaptive learning capabilities of Graph Neural Networks (GNNs).

Methodology: Deeply Reweighted Least Squares

The proposed "Differentiable Iterative Surface Normal Estimator" bridges the gap between classical optimization and deep learning. Rather than regressing normal vectors directly, the model learns to weight neighborhood points for a differentiable least-squares solver.

The proposed pipeline: (a) initial plane fitting, (b) GNN-based feature extraction, and (c) iterative deep re-weighting of the local neighborhood.

The architecture consists of three primary components:

  1. Graph Neural Network (GNN): The point cloud is treated as a graph where a lightweight GNN predicts parameters for an anisotropic kernel. This allows the model to selectively ignore points across sharp edges or filter out noise based on local geometric context.
  2. Rotation Equivariance: To ensure consistent predictions regardless of the input orientation, a Local Quaternion Transformer predicts a local coordinate frame using quaternions.
  3. Differentiable Solver: The core innovation is a differentiable implementation of the eigendecomposition for $3 \times 3$ covariance matrices. This allows the entire pipeline—from weight prediction to the final normal estimation—to be trained end-to-end via backpropagation.

The process is iterative. In each step, the GNN utilizes residuals (the distance from points to the currently estimated plane) from the previous iteration to refine point weights, effectively performing a "deeply reweighted" version of Iteratively Reweighted Least Squares (IRLS).

Experimental Evaluation

The model was evaluated primarily on the PCPNet benchmark, which includes point clouds with varying noise levels and sampling densities (such as striped and gradient patterns).

Performance comparison on the PCPNet dataset. The proposed method (dark blue) consistently outperforms PCA and previous deep learning models across various noise and density conditions.

Key findings from the experiments include:

  • Efficiency: The model utilizes only ~8,000 parameters, a fraction of the millions required by competing deep models like Nesti-Net or PCPNet.
  • Speed: Processing 100k points takes approximately 3.57 seconds, representing a massive speedup (roughly 378x faster than Nesti-Net) while remaining parallelizable on GPUs.
  • Robustness: The model achieves the lowest Root Mean Squared Error (RMSE) on the PCPNet benchmark, showing particular strength in preserving sharp features under varying sampling densities and low-noise conditions.
  • Generalization: Tests on the NYU Depth v2 dataset demonstrated that the model generalizes well to real-world indoor scans without specific fine-tuning on that data.

Discussion and Limitations

While the hybrid approach offers significant advantages, it faces specific challenges. Backpropagating through eigendecomposition can become numerically unstable when eigenvalues are nearly identical, such as on perfectly flat surfaces or at perfect corners. The authors mitigate this through noise injection and gradient clipping. Additionally, the model's high sensitivity to sharp features can occasionally lead to the misinterpretation of sensor artifacts as geometric structures in real-world scans. Finally, the authors noted that training stability decreases if the neighborhood size ($k$) is too small (typically $k < 30$).

Conclusion

By embedding geometric inductive biases—specifically least-squares plane fitting—into a neural architecture, this work demonstrates that deep learning models for 3D vision can be both highly efficient and interpretable. The "deeply reweighted" framework offers a promising template for applying neural optimization to other classical computer vision problems beyond surface normal estimation.

Summary updated

BibTeX
@misc{lenssen2019differentiable,
  author = {Jan Eric Lenssen and Christian Osendorfer and Jonathan Masci},
  title = {{Differentiable Iterative Surface Normal Estimation}},
  year = {2019},
  eprint = {1904.07172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.07172},
}
Figure