Shape Reconstruction by Learning Differentiable Surface Representations

Jan Bednarík, Shaifali Parashar, Erhan Gündogdu, Mathieu Salzmann, Pascal Fua

Abstract

Generative models that produce point clouds have emerged as a powerful tool to represent 3D surfaces, and the best current ones rely on learning an ensemble of parametric representations. Unfortunately, they offer no control over the deformations of the surface patches that form the ensemble and thus fail to prevent them from either overlapping or collapsing into single points or lines. As a consequence, computing shape properties such as surface normals and curvatures becomes difficult and unreliable. In this paper, we show that we can exploit the inherent differentiability of deep networks to leverage differential surface properties during training so as to prevent patch collapse and strongly reduce patch overlap. Furthermore, this lets us reliably compute quantities such as surface normals and curvatures. We will demonstrate on several tasks that this yields more accurate surface reconstructions than the state-of-the-art methods in terms of normals estimation and amount of collapsed and overlapped patches.

Introduction

State-of-the-art 3D reconstruction methods often represent surfaces as an ensemble of 2D patches mapped into 3D space, such as in AtlasNet or FoldingNet. While powerful, these models suffer from two major flaws: patch collapse, where patches deform into points or lines, and patch overlap, where multiple patches redundantly cover the same area. Because these models typically optimize only for point-to-point distances (e.g., Chamfer Distance), they lack an inherent understanding of local surface geometry. Consequently, calculating surface normals or curvatures from the resulting point clouds is often noisy or impossible.

Methods

This work proposes a "differentiable surface representation" approach. Instead of treating the output as a discrete collection of points, the decoder is treated as a continuous, differentiable mapping function $f(u, v)$.

Overview of the proposed reconstruction pipeline, showing ground truth data alongside predicted patches and computed differential properties.

By calculating the Jacobian of the mapping function, the authors analytically derive surface normals, metric tensors, and curvatures (mean and Gaussian) at any point. This is significantly more accurate than approximating these values from discrete data. To improve training, two key loss terms are introduced:

  • Deformation Loss ($L_{def}$): Encourages "scaled isometric" mappings to prevent patches from stretching or shrinking into non-surface configurations (preventing collapse).
  • Overlap Loss ($L_{ol}$): Penalizes the model if the total area of all patches significantly exceeds the area of the target surface, forcing patches to distribute themselves more efficiently.

Additionally, the authors use Softplus activations instead of ReLU to ensure the network is $C^2$-differentiable, allowing for smooth curvature calculations.

Results

The model was evaluated on ShapeNet Core v2, Textureless Deformable Surfaces (TDS), and a synthetic Female T-Shirts (FTS) dataset. Key findings include:

  • Eliminating Collapse: On the FTS dataset, the proposed model reduced the number of collapsed patches from an average of 9 to zero.
  • Superior Normals: Mean angular error for surface normals dropped from 24.38° to 5.94° compared to baseline models.
  • State-of-the-Art Performance: On ShapeNet, the method achieved comparable Chamfer Distance to AtlasNet but with significantly lower patch overlap and more accurate normal estimation (e.g., reducing airplane normal error from 21.26° to 17.90°).
Detail of the computed mean curvature on a reconstructed T-shirt surface, demonstrating the high fidelity of the analytical derivation.

Discussion and Conclusion

The core insight of this research is that a neural network defining a surface inherently contains the "ground truth" differential geometry of that surface within its weights. By regularizing the Jacobian of the mapping, the authors control the transformation from 2D to 3D space, ensuring well-behaved manifolds. This efficiency ensures every parameter contributes to a unique part of the shape.

While the "scaled isometric" assumption works well for many objects like clothing, it may be a limitation for highly complex, non-developable organic shapes. Future work could integrate this framework into end-to-end pipelines for tasks like shape-from-shading or texture mapping, where exact, differentiable normals are crucial for realistic rendering.

Summary updated

BibTeX
@inproceedings{bednarik2020shape,
  author = {Jan Bednarík and Shaifali Parashar and Erhan Gündogdu and Mathieu Salzmann and Pascal Fua},
  title = {{Shape Reconstruction by Learning Differentiable Surface Representations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=jj6iaHXe0Cw},
}
Figure