Abstract
Traditional 3D Generative Adversarial Networks (GANs) often struggle with geometric fidelity and spatial control due to their reliance on a single, global latent space. We present a localized, grid-based representation where shapes are decomposed into a $32^3$ grid of latent vectors. Each cell describes a local volume via implicit functions, allowing for a "divide and conquer" approach to shape generation. This architecture facilitates higher-quality geometry, improved compositionality, and intuitive spatial conditioning. Furthermore, we introduce Edge Count Difference (ECD), a robust metric for evaluating generative distributions. Our model achieves state-of-the-art performance on ShapeNet benchmarks and enables complex tasks like shape completion and constrained generation.
Introduction
Generating high-quality 3D geometry remains a significant challenge in computer vision. A common paradigm involves training an Autoencoder (AE) to compress shapes into a latent space, followed by a GAN that learns to sample from this space. However, global latent representations create a bottleneck: the GAN's expressiveness is limited by the AE's capacity, and local edits or spatial supervision are nearly impossible. For instance, a global GAN cannot easily be instructed to modify specific parts of an object, such as lengthening the legs of a chair, because the entire shape is entangled in a single inseparable vector.
Methodology
To overcome these limitations, we propose a localized architecture that breaks the global shape into a structured grid.
Grid-based Autoencoder
Instead of a single global vector, our encoder produces a $32^3$ grid of latent vectors. Each cell represents a small cubical volume. To reconstruct the surface, the decoder takes a point's coordinates, identifies neighboring grid cells, and interpolates their latent vectors. A small multi-layer perceptron (MLP) then predicts the occupancy (inside/outside) at that coordinate using an implicit function. This local bias allows the AE to achieve much higher reconstruction fidelity by focusing on simpler, local geometric primitives.
3D GAN and Spatial Conditioning
The GAN is trained to generate these $32^3$ grids. Since the grid structure is analogous to image pixels, we utilize standard 3D convolutional layers. To enable spatial control, we incorporate a SPADE-like architecture that accepts masks—such as bounding boxes or partial shapes—as input. This allows the generator to produce shapes that adhere to specific spatial constraints.
Evaluation Metrics: Edge Count Difference (ECD)
We identify significant flaws in standard 3D metrics like Coverage and Minimum Matching Distance (MMD), which can fail to distinguish between fundamentally different distributions if they share the same mean and variance. We propose Edge Count Difference (ECD), a statistical measure based on k-minimum spanning trees. ECD is more robust to outliers and provides a more rigorous assessment of whether a generated distribution truly matches the target data distribution.
Experimental Results
We evaluated our model on the ShapeNet Core (v1) dataset, focusing on categories such as airplanes, cars, chairs, rifles, and tables.
Performance and Diversity
Our method outperformed existing baselines, including IM-GAN and PC-GAN, across established measures for nearly every category. Qualitative analysis reveals that our model avoids mode collapse and produces sharper, more detailed surfaces compared to the "blobby" outputs characteristic of global implicit GANs.
Versatility
The localized representation enables unique applications. We demonstrated successful shape completion, where the model generates missing parts of a partial input, and constrained generation, where shapes are forced to fit within user-defined bounding boxes.
Conclusion and Future Work
By shifting from global to localized grid-based representations, we significantly improve the quality and controllability of 3D shape generation. While our current implementation inherits some voxelization artifacts from the training data, future work involving higher-resolution ground truth or direct mesh-based training holds promise for even finer geometric detail. Additionally, exploring sparse representations like octrees could further optimize memory efficiency without sacrificing resolution.
Summary updated