[Paper Review] ShapeFormer: Transformer-based Shape Completion via Sparse Representation
ShapeFormer introduces a transformer-based generative model for 3D shape completion that produces diverse, high-quality shape completions from incomplete or noisy point clouds. It uses a novel sparse, discrete representation called Vector Quantized Deep Implicit Function (VQDIF) to compress 3D shapes into short sequences, enabling efficient autoregressive generation with improved completion quality and diversity over prior methods.
We present ShapeFormer, a transformer-based network that produces a distribution of object completions, conditioned on incomplete, and possibly noisy, point clouds. The resultant distribution can then be sampled to generate likely completions, each exhibiting plausible shape details while being faithful to the input. To facilitate the use of transformers for 3D, we introduce a compact 3D representation, vector quantized deep implicit function, that utilizes spatial sparsity to represent a close approximation of a 3D shape by a short sequence of discrete variables. Experiments demonstrate that ShapeFormer outperforms prior art for shape completion from ambiguous partial inputs in terms of both completion quality and diversity. We also show that our approach effectively handles a variety of shape types, incomplete patterns, and real-world scans.
Motivation & Objective
- To address the challenge of generating multiple plausible 3D shape completions from ambiguous, incomplete, or noisy partial point clouds.
- To develop a compact and structured 3D representation that enables efficient use of transformers for 3D shape generation.
- To model the distribution of possible completions rather than regressing to a single mean shape, improving both quality and diversity.
- To enable faithful, high-resolution surface reconstruction from sparse, discrete feature sequences while maintaining geometric fidelity.
Proposed method
- Introduces Vector Quantized Deep Implicit Function (VQDIF), a sparse, discrete 3D representation that encodes shapes as short sequences of 2-tuples (position and content) using spatial sparsity and vector quantization.
- Employs a VQDIF encoder to convert partial input point clouds into a compact sequence of discrete tokens, reducing sequence length from cubic to quadratic in resolution.
- Uses a transformer-based autoregressive model to predict the next token in the sequence, conditioned on the partial input sequence, enabling generation of diverse completions.
- Adapts an autoregressive training objective by prepending the partial sequence to the full completion sequence, enabling conditional generation from incomplete inputs.
- Decodes the generated discrete sequence back into a deep implicit function, from which high-quality 3D surfaces are extracted via marching cubes.
- Trains the model end-to-end using a masked language modeling-style objective to predict future tokens in the sequence, preserving input fidelity while generating plausible completions.
Experimental results
Research questions
- RQ1Can a transformer-based model effectively generate diverse, high-quality 3D shape completions from ambiguous partial inputs?
- RQ2How can 3D shape representations be made compact and discrete to enable efficient autoregressive modeling with transformers?
- RQ3To what extent does the proposed VQDIF representation preserve geometric accuracy while reducing representation size?
- RQ4How does ShapeFormer compare to prior methods in terms of completion quality and diversity across diverse shape categories and scan types?
Key findings
- ShapeFormer achieves state-of-the-art performance on PartNet, improving the FPD score by up to 1.7 points compared to the prior multi-modal method cGAN.
- The VQDIF representation achieves reconstruction accuracy comparable to IF-Net and ConvONet while using significantly fewer bytes—e.g., only 217 tokens on average at 16³ resolution.
- On the D-FAUST dataset, ShapeFormer successfully generates diverse, pose-consistent completions for human body scans with partial input, even for unseen body types.
- The method generalizes well to unseen categories: it produces plausible completions for cups and teapots despite never being trained on these classes.
- The model maintains high fidelity to input partial scans, as shown by visual comparisons where generated shapes align closely with input point clouds.
- The inference speed remains a bottleneck, with generation taking approximately 20 seconds per shape, indicating a need for optimization in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.