SPAGHETTI: editing implicit shapes through part aware generation

Amir Hertz, Or Perel, Raja Giryes, Olga Sorkine-Hornung, Daniel Cohen-Or · DOI

Abstract

Neural Implicit Fields (NIFs) offer high-fidelity 3D representations but lack intuitive editing capabilities due to their global latent structures. We present SPAGHETTI, a framework that enables part-level manipulation of implicit shapes without requiring manual part labels. By decomposing shapes into local, pose-aware latent components and utilizing a Transformer-based mixing network, SPAGHETTI allows for seamless part swapping, transformation, and interpolation while maintaining global structural coherency.

Introduction

Representing 3D geometry via Neural Implicit Fields (NIFs) has become a standard approach for capturing intricate details with minimal memory overhead. However, the reliance on a single global latent code makes local editing difficult; a small change in the latent space often triggers unpredictable global deformations. While part-based modeling offers a solution, existing methods typically depend on expensive supervised datasets or produce "Frankenstein" results with visible seams. SPAGHETTI (Editing Implicit Shapes Through Part Aware GeneraTion) addresses these challenges by learning part decompositions automatically and ensuring smooth transitions between edited components.

Methodology

The SPAGHETTI architecture is an auto-decoder pipeline structured into three primary stages:

  1. Decomposition Network ($f_a$): This network maps a global shape embedding ($z^a$) into a set of $m$ latent part codes ($Z^b$). Each code is spatially grounded by an associated 3D Gaussian, forcing the network to learn localized representations without explicit supervision.
  2. Mixing Network ($f_b$): A Transformer encoder processes the part codes, allowing them to communicate and adapt to changes. This ensures that when a user modifies one part (e.g., swapping a chair's legs), the rest of the shape adjusts to maintain structural integrity.
  3. Occupancy Network ($f_c$): A Transformer decoder evaluates query coordinates against the contextualized part codes to determine the final shape occupancy.
The SPAGHETTI architecture consists of three stages: Decomposition, Mixing, and Occupancy networks.

Dual-Level Disentanglement

A core innovation of SPAGHETTI is its ability to factorize parts into intrinsic (geometry) and extrinsic (pose) components. This allows users to transform a part's position or orientation without altering its underlying shape. To prevent information leakage between distant parts, the authors employ a self-supervised masking strategy during training, forcing the network to reconstruct specific regions using only relevant latent codes.

Results and Applications

The model was evaluated on the ShapeNet dataset, specifically focusing on categories like Airplanes, Chairs, and Lamps. SPAGHETTI demonstrates superior performance in shape reconstruction and generative quality compared to baselines like DeepSDF and DualSDF. For instance, on the Chairs category, SPAGHETTI achieved a Chamfer Distance of 0.102, a significant improvement over DeepSDF's 0.323.

Beyond reconstruction, SPAGHETTI enables a "digital clay" interface for interactive 3D modeling. Users can select parts, apply affine transformations, and mix components from different shapes in real-time.

Examples of part-aware editing enabled by SPAGHETTI, including part swapping, stretching, and rotation.

Conclusion and Future Work

SPAGHETTI provides a robust framework for part-aware 3D generation and editing without the need for labeled data. While the unsupervised nature of the decomposition can sometimes lead to semantic mismatches—where learned parts do not perfectly align with human concepts—the system's ability to maintain watertight, coherent surfaces during complex edits is a significant advancement. Future work may explore hierarchical decompositions or the integration of text-based prompts to further enhance the user experience.

Summary updated

Abstract

Neural implicit fields are quickly emerging as an attractive representation for learning based techniques. However, adopting them for 3D shape modeling and editing is challenging. We introduce a method for Editing Implicit Shapes Through Part Aware GeneraTion, permuted in short as SPAGHETTI. Our architecture allows for manipulation of implicit shapes by means of transforming, interpolating and combining shape segments together, without requiring explicit part supervision. SPAGHETTI disentangles shape part representation into extrinsic and intrinsic geometric information. This characteristic enables a generative framework with part-level control. The modeling capabilities of SPAGHETTI are demonstrated using an interactive graphical interface, where users can directly edit neural implicit shapes. Our code, editing user interface demo and pre-trained models are available at github.com/amirhertz/spaghetti.
BibTeX
@article{hertz2022spaghetti,
  author = {Amir Hertz and Or Perel and Raja Giryes and Olga Sorkine-Hornung and Daniel Cohen-Or},
  title = {{SPAGHETTI: editing implicit shapes through part aware generation}},
  journal = {ACM Trans. Graphics},
  year = {2022},
  doi = {10.1145/3528223.3530084},
}
Figure