DUDF: Differentiable Unsigned Distance Fields with Hyperbolic Scaling

Miguel Fainstein, Viviana Siless, Emmanuel IarussiCVPR 2024 · DOI

Abstract

Implicit neural representations have revolutionized 3D geometry storage and reconstruction. However, a persistent challenge remains in choosing between Signed Distance Fields (SDFs), which are limited to watertight volumes, and Unsigned Distance Fields (UDFs), which can represent open surfaces but are difficult to train due to non-differentiability at the surface. This paper introduces DUDF, a method using hyperbolic scaling to make UDFs differentiable at the zero level set. By transforming the characteristic "V-shaped" distance field into a smooth, quadratic-like curve, DUDF enables direct computation of surface normals and curvatures via the Hessian, achieving superior reconstruction quality and up to a 10x speedup over previous state-of-the-art methods.

Introduction

Implicit neural representations are a cornerstone of modern 3D computer vision. While SDFs are mathematically elegant, they fail for non-watertight geometries like clothing or car interiors because they require a clear definition of "inside" versus "outside." UDFs solve this by considering only absolute distance, but they introduce a significant mathematical hurdle: at the surface (distance = 0), the function forms a sharp, non-differentiable "V" shape. This discontinuity makes it difficult for neural networks to learn accurate gradients for rendering and reconstruction.

The Problem: The "V-Shape" of UDFs

In 3D vision, surfaces are often represented as the zero level set of a function.

  • SDFs define a surface where distance flips from positive to negative. This fails for a single sheet of paper or open garments.
  • UDFs handle open surfaces but create a gradient discontinuity at the most critical location—the surface itself.

Existing UDF methods often result in fragmented surfaces or require prohibitively slow training to approximate these non-differentiable points.

Comparison of Signed, Unsigned, and Scaled Distance Fields illustrating the smoothing effect of hyperbolic scaling.

Methodology: Hyperbolic Scaling

The core innovation of DUDF is Hyperbolic Scaling. Instead of learning the raw unsigned distance $d_S$, the authors learn a scaled version: $$t_S(x) = d_S(x) \tanh(\alpha d_S(x))$$

This transformation provides two key benefits:

  1. Differentiability: Near the surface ($d_S \approx 0$), the function behaves quadratically, rounding off the sharp V-shape into a smooth U-shape. This makes the function perfectly differentiable at the surface.
  2. Linearity: Far from the surface, the function approaches a standard linear distance field.

The authors utilize a SIREN architecture—an MLP with periodic sine activation functions—to accurately represent these complex signals and their derivatives.

Hessian-based Normals

Because the gradient of the scaled DUDF is zero at the surface, standard normal estimation fails. However, the authors demonstrate that the Hessian matrix (the second derivative) can be used to find the direction of maximum curvature, which aligns perfectly with the surface normal. This allows for high-quality shading and rendering without the need for an intermediate mesh.

Experimental Results

DUDF was evaluated on diverse datasets including ShapeNet Cars, Multi-Garment, and DeepFashion. These datasets test the model's ability to handle complex, open geometries like sleeves, necklines, and vehicle interiors.

Qualitative comparison of 3D reconstructions for garments and car interiors across different methods.

Key findings include:

  • Speed: DUDF achieves up to a 10x increase in training speed compared to previous leaders like CAP-UDF.
  • Accuracy: DUDF consistently achieved lower Chamfer Distances than both SIREN (SDF) and CAP-UDF on garment datasets.
  • Visual Quality: Qualitative results show that DUDF successfully avoids "closing" holes that should remain open while maintaining sharp edges and thin structures that SDF-based methods often smooth away.

Conclusion

DUDF bridges the gap between the flexibility of UDFs and the differentiability required for efficient neural training. By accepting a small quadratic buffer at the surface level set, the method unlocks the use of standard gradient-based optimization and sphere tracing for open surfaces. While it currently requires ground truth distance supervision and involves the computational cost of Hessian calculations, its efficiency and reconstruction quality represent a significant step forward for implicit 3D modeling.

Summary updated

BibTeX
@inproceedings{fainstein2024dudf,
  author = {Miguel Fainstein and Viviana Siless and Emmanuel Iarussi},
  title = {{DUDF: Differentiable Unsigned Distance Fields with Hyperbolic Scaling}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.00429},
}
Figure