Cross-modal 3D Shape Generation and Manipulation

Zezhou Cheng, Menglei Chai, Jian Ren, Hsin-Ying Lee, Kyle Olszewski, Zeng Huang, Subhransu Maji, Sergey Tulyakov

Abstract

Generating and editing 3D content remains a complex task, often requiring specialized expertise and software. This paper introduces the Multi-Modal Variational Auto-Decoder (MM-VAD), a framework that bridges 2D modalities—such as sketches and RGB images—with 3D shapes through a shared, disentangled latent space. By employing latent optimization rather than fixed encoders, the model achieves high robustness to partial or noisy inputs. The system enables intuitive 3D manipulation, including shape deformation and color editing, by optimizing within the latent space to match 2D user interactions. Experimental results on ShapeNet demonstrate that MM-VAD outperforms traditional baselines in reconstruction accuracy and provides a flexible, efficient pipeline for cross-modal content creation.

Introduction

The creation of 3D assets is a bottleneck in industries ranging from gaming to industrial design. While humans can easily express intent through 2D sketches or color scribbles, translating these sparse inputs into consistent 3D geometry and texture is computationally difficult. Existing deep learning approaches often suffer from two main limitations: they are typically task-specific (e.g., a model trained for sketch-to-mesh cannot perform color editing) and they are often brittle when faced with occlusions or out-of-distribution inputs.

This research addresses these challenges by proposing a unified generative framework. The goal is a single model capable of handling multiple 2D modalities for various 3D tasks—generation, reconstruction, and manipulation—without requiring retraining for every new scenario.

Methodology: The Multi-Modal Variational Auto-Decoder

The core innovation of this work is the Multi-Modal Variational Auto-Decoder (MM-VAD). Unlike standard Variational Auto-Encoders (VAEs) that rely on an encoder network to map inputs to a latent space, the VAD approach learns a unique latent code for every training instance directly.

Latent Optimization

At inference time, instead of a forward pass through an encoder, the system performs "latent optimization." It searches the latent space for a code that, when passed through the generators, produces an output that best matches the user's input (e.g., a hand-drawn sketch). This optimization-based approach makes the model significantly more robust to "domain shifts"—such as the difference between a clean synthetic sketch and a messy human drawing—and allows it to handle partial or occluded data effectively.

Disentangled Latent Space

The model utilizes a shared latent space $Z$, which is explicitly split into two components:

  • Shape Latent ($z_s$): Controls the geometric structure.
  • Color Latent ($z_c$): Controls the surface appearance and texture.

This disentanglement is crucial for manipulation; it allows a user to modify the color of an object (recoloring) without altering its underlying geometry, or vice versa.

Generative Architecture

The framework employs multiple generators to bridge the 2D and 3D domains:

  • 3D Generators: The model uses implicit representations. A shape network (based on DeepSDF) predicts Signed Distance Functions (SDF) to define the mesh, while a color network predicts RGB values for surface points.
  • 2D Generators: Fully convolutional networks generate 2D sketches and RGB renderings from the same latent codes used by the 3D generators.

Intuitive 3D Editing

Editing is performed through a rapid optimization loop. When a user modifies a 2D sketch or adds a color scribble, the system identifies a new latent code $\hat{z}$ that minimizes the discrepancy between the 2D generator's output and the user's edit.

Because the model is generative, it possesses a "prior" understanding of the object category. This generative prior acts as a "smart assistant"; for instance, if a user removes an engine from an airplane wing in a sketch, the model may automatically place an engine elsewhere (like the tail) to maintain a valid airplane configuration according to its learned distribution.

Experimental Results

The authors evaluated MM-VAD using the ShapeNet dataset, specifically the Chairs and Airplanes categories.

Quantitative Performance and Robustness

In 3D reconstruction tasks, MM-VAD significantly outperformed traditional encoder-decoder baselines, particularly under heavy occlusion. When only 25% of an input image was visible, the latent optimization successfully recovered the missing geometry by leveraging the generative prior.

Efficiency and Adaptation

  • Speed: Compared to optimization methods like EditNeRF, which fine-tune the entire network's weights (taking minutes), MM-VAD's latent optimization takes approximately 0.06 seconds, with high-resolution rendering bringing the total interaction time to around 7 seconds.
  • Few-Shot Learning: By integrating MineGAN, the authors demonstrated that the pre-trained model could be "steered" toward specific sub-categories (e.g., "armchairs" or "pink chairs") using as few as 10 example images.
  • Attribute Transfer: The disentangled latent space allows for seamless "Shape and Color Transfer." By swapping the $z_s$ and $z_c$ codes between two different objects, the system can apply the geometry of one to the color scheme of another.

Limitations and Future Work

While powerful, the MM-VAD framework has limitations:

  1. Prior Constraints: The model is bound by its training data. It cannot accurately represent shapes that fall fundamentally outside the learned distribution of the latent space.
  2. Fine Details: Implicit SDF representations can struggle with extremely thin structures, such as wires or intricate lattice patterns on chair backs.
  3. Ambiguity: Conflicting user inputs (e.g., contradictory color scribbles) can lead to averaged or unexpected results.

Future research will focus on scaling the latent space dimensions and utilizing deeper 3D networks to capture finer details, as well as improving the model's ability to handle out-of-distribution user edits.

Conclusion

The MM-VAD framework represents a significant step toward making 3D content creation more accessible. By bridging 2D and 3D modalities through a robust, disentangled latent space, it enables a variety of generative and editing tasks within a single, unified architecture.

Summary updated

BibTeX
@inproceedings{cheng2022cross,
  author = {Zezhou Cheng and Menglei Chai and Jian Ren and Hsin-Ying Lee and Kyle Olszewski and Zeng Huang and Subhransu Maji and Sergey Tulyakov},
  title = {{Cross-modal 3D Shape Generation and Manipulation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20062-5\_18},
}
Figure