1-Lipschitz Neural Distance Fields

Guillaume Coiffier, Louis Béthune · DOI

Introduction

Representing 3D geometry through implicit functions has become a cornerstone of modern computer graphics and geometry processing. Ideally, these functions take the form of a Signed Distance Field (SDF), where the value at any point in space represents the distance to the nearest surface, and the gradient norm is exactly one. While neural networks like DeepSDF and SIREN have shown great promise in approximating these fields, they often suffer from a critical flaw: they lack mathematical guarantees against overestimating distances.

The Challenge of Overestimation

In applications like sphere tracing (used for high-quality rendering), overestimating the distance to a surface is catastrophic. It causes the algorithm to "overshoot" the target, resulting in visual artifacts or holes in the reconstructed mesh. Most current neural approaches rely on "eikonal loss" regularization to encourage a unit gradient, but this is merely a soft constraint. Furthermore, training these models typically requires high-quality ground-truth distance data, which is often unavailable for noisy real-world scans or "triangle soup" models.

1-Lipschitz Architectures and hKR Loss

The authors propose a novel framework for 1-Lipschitz Neural Distance Fields that addresses these issues through two primary innovations:

  1. Guaranteed Underestimation: By utilizing Semi-definite Programming Lipschitz Layers (SLL), the network architecture is mathematically constrained to have a Lipschitz constant of at most 1. This ensures that the network may underestimate distances but will never overestimate them, making geometric queries inherently robust.
  2. The hKR Loss Function: Instead of regressing against known distances, the method employs the hinge-Kantorovitch-Rubinstein (hKR) loss. This classification-style loss only requires knowledge of whether a point is "inside" or "outside" the shape. Under the 1-Lipschitz constraint, the optimal solution for this loss naturally converges to a signed distance function.

For raw point clouds where "inside/outside" status is ambiguous, the researchers use generalized winding numbers to robustly determine occupancy before training.

Reconstruction of a complex spiral shape from an input point cloud, showing the learned distance field at various offset levels (-0.015, 0, 0.03, 0.08).

Key Results and Robustness

The proposed method demonstrates significant advantages in stability and noise resistance across standard benchmarks like Thingi10k and classic models like the Stanford Bunny:

  • Gradient Reliability: Unlike standard MLPs, which exhibit wild gradient fluctuations far from the surface, this method maintains a stable gradient norm $\le 1$ throughout the entire domain.
  • Noise Resistance: The framework can reconstruct manifold surfaces from highly sparse and noisy point clouds where traditional SDF methods often fail. For example, it successfully reconstructed the "Fertility" model from only 500 points with significant Gaussian noise.
  • Geometric Operations: Because the representation is a true distance field, operations like ray marching, medial axis estimation, and Constructive Solid Geometry (CSG) can be performed directly on the neural weights without manual tuning.
  • Open Surfaces: The method can be adapted to learn Unsigned Distance Fields (UDFs) for open surfaces or curves, as it does not strictly require a closed "inside" volume.

Limitations

While robust, the method introduces a "margin" parameter ($m$) in the hKR loss. A larger margin improves training stability but can result in a "thickened" or slightly blurry surface approximation. Additionally, 1-Lipschitz layers like SLL are more computationally intensive than standard ReLU layers, presenting a trade-off between mathematical rigor and inference speed.

Summary updated

BibTeX
@article{coiffier2024lipschitz,
  author = {Guillaume Coiffier and Louis Béthune},
  title = {{1-Lipschitz Neural Distance Fields}},
  journal = {Computer Graphics Forum},
  year = {2024},
  doi = {10.1111/cgf.15128},
}
Figure