DualSDF: Semantic Shape Manipulation using a Two-Level Representation

Zekun Hao, Hadar Averbuch-Elor, Noah Snavely, Serge Belongie

In the rapidly evolving field of 3D computer vision, researchers often face a frustrating trade-off. You can have high-fidelity representations that capture every intricate detail of a mesh, or you can have interpretable, primitive-based models that are easy for humans to understand and edit. You rarely get both.

DualSDF, a new framework from researchers at Cornell Tech, aims to break this dichotomy. By linking a coarse, primitive-based proxy with a high-resolution neural representation through a shared latent space, they’ve created a system where you can edit a complex 3D model just by dragging around a few simple spheres.

TL;DR

DualSDF represents 3D shapes using two coupled levels of granularity: a coarse proxy made of simple primitives and a fine-grained neural Signed Distance Field (SDF). By optimizing a shared latent space, the model allows users to perform intuitive, semantic manipulations on the coarse proxy that are instantly and realistically reflected in the high-resolution model.

What Problem Does This Paper Address?

Capturing the complexity of the real world in 3D is hard. Current state-of-the-art methods like DeepSDF use deep networks to represent shapes as continuous functions, achieving incredible detail. However, these "black box" representations are notoriously difficult to edit. If you want to make a chair’s legs longer or an airplane’s fuselage wider, there’s no simple "handle" to grab.

Conversely, primitive-based methods represent shapes as collections of boxes or spheres. These are easy to manipulate but lack the fidelity needed for realistic applications. The challenge DualSDF tackles is fidelity-interpretability coupling: creating a single representation that is both highly expressive and intuitively editable.

Methods

The core innovation of DualSDF is its two-level representation linked by a shared latent space.

  1. The Coarse Level: The shape is approximated as a union of simple primitives (like spheres or boxes). Each primitive has attributes $\alpha$ (position, radius, etc.). The distance to the surface is defined by the minimum distance to any individual primitive.
  2. The Fine Level: A deep neural network (specifically, a Siren-like MLP) predicts the Signed Distance Field (SDF) value for any 3D point, capturing high-frequency details.
  3. The Shared Latent Space: Both levels are decoded from the same latent vector $z$. The authors use a Variational Auto-Decoder (VAD) framework. Unlike a standard auto-decoder, VAD imposes a Gaussian prior on the latent space, ensuring it is compact and smooth—essential for meaningful interpolation and editing.
Figure 2: Our technique learns a shared latent space for an input collection of shapes, represented as meshes. From this joint space, shapes can be expressed using two levels of granularity. Shapes can be manipulated via the coarse 3D proxy shape (marked with a dotted line). The figure illustrates how moving a primitive (red arrow on car) will propagate to changes to the latent code (red arrow in the latent space) – in this case, leading to a taller car where the other parts of the car adapt accordingly.

During Interactive Manipulation, a user modifies the coarse primitives. The system then performs a quick optimization to find a new latent code $z$ that satisfies the user's edits while staying "on the manifold" of likely shapes (regularized by the VAD prior). This updated $z$ is then passed to the fine-grained decoder to generate the final high-resolution mesh.

Figure 4: The training and manipulation stages of our two-level model. During training (left), we jointly learn the posterior distributions (for each shape j) and the shared networks fθ and gφ. The dotted red rectangle is detailed in Figure 3. During manipulation (right), the networks remain fixed and only the latent code of the j-th shape is updated.

Datasets

The model was trained and evaluated on several categories from the ShapeNet dataset, including Airplanes, Cars, Chairs, Bottles, and Vases. To evaluate the semantic consistency of the learned primitives, the authors also utilized the PartNet dataset, which provides fine-grained semantic part labels for 3D objects.

Key Insights and Ideas

  • Semantic Consistency Emerges Naturally: Even without explicit part labels during training, the primitives learn to correspond to specific semantic parts. For example, a specific sphere index will consistently represent the "wheel" of various car models.
  • Guided Manipulation: Because the latent space is regularized, the model "helps" the user. If you pull one leg of a chair to make it longer, the model automatically adjusts the other three legs to maintain symmetry and realism, as those configurations are more likely in the learned latent space.
  • VAD is the Secret Sauce: The authors found that the Variational objective (VAD) significantly improves the coupling between the two representations compared to a standard auto-decoder, especially when generating or manipulating novel shapes not seen during training.
Figure 6: Shape correspondence via the coarse shape proxy. Above we demonstrate shape reconstructions from the Airplane dataset, with several primitives highlighted in unique colors. As the figure illustrates, the shape primitives are consistently mapped to the same regions. These correspondences can then be propagated to the fine-scale reconstructions.

Key Results

  • Fidelity: DualSDF achieves reconstruction accuracy comparable to state-of-the-art high-fidelity models like DeepSDF and AtlasNet, proving that the coarse-proxy constraint doesn't significantly hurt performance.
  • Consistency: The model maintains high "cross-representation consistency" (measured via IoU), meaning the coarse and fine versions of a shape stay tightly aligned.
  • Speed: The coarse manipulation loop is extremely fast, taking only ~2.74ms per gradient step on a standard GPU, enabling real-time interactive feedback for the user.
Figure 1: DualSDF represents shapes using two levels of granularity, allowing users to manipulate high resolution shapes (odd rows) with high-level concepts through manipulating a proxy primitive-based shape (even rows). Simple editing operations on individual primitives (colored in blue) are propagated to the other primitives and the fine-grained model in a semantically meaningful manner. Above, we illustrate how an existing shape (inside the red box) can be modified semantically by adjusting the radius of a primitive (fuselage diameter on the airplane) or the distance between two primitives (wheelbase of a car).

Limitations and Future Work

While DualSDF is a major step forward, the authors note a few areas for growth:

  • Primitive Complexity: The current implementation primarily uses spheres. While they show it works with boxes and capsules (see Figure 7 in the paper), very complex shapes might require a more diverse library of primitives or a hierarchical arrangement of them.
  • Topology Changes: Like most SDF-based methods, while it handles smooth deformations well, radical changes in topology during manipulation can sometimes lead to artifacts.
  • Future Directions: The authors suggest exploring multi-level hierarchies (more than two levels) and applying this framework to other domains like human body modeling or scene-level reconstruction.

Summary updated

Abstract

We are seeing a Cambrian explosion of 3D shape representations for use in machine learning. Some representations seek high expressive power in capturing high-resolution detail. Other approaches seek to represent shapes as compositions of simple parts, which are intuitive for people to understand and easy to edit and manipulate. However, it is difficult to achieve both fidelity and interpretability in the same representation. We propose DualSDF, a representation expressing shapes at two levels of granularity, one capturing fine details and the other representing an abstracted proxy shape using simple and semantically consistent shape primitives. To achieve a tight coupling between the two representations, we use a variational objective over a shared latent space. Our two-level model gives rise to a new shape manipulation technique in which a user can interactively manipulate the coarse proxy shape and see the changes instantly mirrored in the high-resolution shape. Moreover, our model actively augments and guides the manipulation towards producing semantically meaningful shapes, making complex manipulations possible with minimal user input.
BibTeX
@inproceedings{hao2020dualsdf,
  author = {Zekun Hao and Hadar Averbuch-Elor and Noah Snavely and Serge Belongie},
  title = {{DualSDF: Semantic Shape Manipulation using a Two-Level Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00765},
}
Figure