DiffCD: A Symmetric Differentiable Chamfer Distance for Neural Implicit Surface Fitting

Linus Härenstam-Nielsen, Lu Sang, Abhishek Saroha, Nikita Araslanov, Daniel Cremers

Introduction

Reconstructing 3D geometry from raw point clouds is a fundamental task in computer vision. Recently, neural implicit surfaces—where a surface is defined as the zero-level set of a neural network—have gained popularity due to their ability to represent complex topologies and provide smooth, continuous geometry. However, standard optimization-based methods often suffer from "spurious surfaces," creating extra geometry in empty space.

This paper introduces DiffCD, a method that utilizes a symmetric, differentiable Chamfer distance to ensure reconstructed surfaces stay close to input points while eliminating artifacts without the over-smoothing typical of previous regularization techniques.

The Problem: Spurious Surfaces and Over-Smoothing

Existing methods like Implicit Geometric Regularization (IGR) typically minimize a one-sided distance: they ensure every input point is near the predicted surface. However, they do not necessarily ensure every part of the predicted surface is near an input point. This "blind spot" results in spurious surfaces—extra blobs or sheets of geometry appearing where no data exists.

While some methods, such as SIREN, use an "off-surface" loss to suppress these artifacts, this paper provides a significant theoretical contribution in Theorem 1. The authors prove that SIREN’s off-surface loss is mathematically equivalent to regularizing the surface area. Consequently, while it removes artifacts, it also acts as a low-pass filter that washes away sharp features and high-frequency details.

The DiffCD Approach

DiffCD addresses these issues by employing a purely geometric constraint: the symmetric Chamfer distance. The method consists of several key components:

  1. Symmetric Loss: By adding a "surface-to-points" term to the standard "points-to-surface" distance, DiffCD forces the neural surface to "shrink-wrap" tightly around the point cloud.
  2. Differentiable Surface Sampling: To compute the distance from the surface to the points, the authors developed an efficient SDF-descent algorithm to project random points onto the zero-level set of the implicit surface $S_\theta$.
  3. Gradient Computation: The authors leverage the level-set equation to compute gradients of these sampled surface points with respect to network parameters, enabling end-to-end optimization.
  4. Eikonal Regularization: An Eikonal loss is used to encourage the network to behave like a Signed Distance Field (SDF), maintaining a gradient magnitude of 1.

Experimental Results

The authors evaluated DiffCD on the FAMOUS dataset (22 ground-truth meshes with varying noise levels) and the Thingi10k dataset (100 diverse point clouds).

The Stanford Bunny reconstructed using DiffCD, showing clean geometry without spurious blobs in hollow regions.

Qualitatively, DiffCD successfully removes the large artifacts that plague IGR—such as blobs in the mouth of the Dragon or the hollow parts of the Bunny—while maintaining sharper edges than SIREN. Quantitatively, DiffCD consistently outperformed other optimization-based methods across all noise levels. In noise-free settings, it even surpassed several supervised methods trained on massive datasets.

A high-fidelity reconstruction of the Dragon model, demonstrating DiffCD's ability to preserve complex topological details.

Conclusion and Future Work

DiffCD demonstrates that geometric regularization via a symmetric Chamfer distance is superior to analytic area-based penalties for surface reconstruction. While the method is currently roughly 6x slower than simpler approaches like IGR due to the surface sampling requirements, it provides a robust path toward high-fidelity, artifact-free neural implicit surfaces. Future work will focus on improving sampling efficiency and integrating learned surface priors to handle extremely sparse or incomplete data.

Summary updated

BibTeX
@inproceedings{harenstamnielsen2024diffcd,
  author = {Linus Härenstam-Nielsen and Lu Sang and Abhishek Saroha and Nikita Araslanov and Daniel Cremers},
  title = {{DiffCD: A Symmetric Differentiable Chamfer Distance for Neural Implicit Surface Fitting}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73464-9\_26},
}
Figure