Introduction
Auto-Regressive (AR) models have fundamentally changed the landscape of 2D image generation, powering state-of-the-art systems like PixelCNN and VQ-GAN. These models operate by predicting the "next pixel" in a sequence, effectively learning the joint distribution of image data. However, extending this success to the 3D domain presents significant hurdles.
First, 3D data suffers from Cubic Complexity. While a $32^2$ image has 1,024 pixels, a $32^3$ voxel grid contains over 32,000 cells. Increasing resolution to $64^3$ results in over 262,000 cells, creating sequences that are computationally prohibitive for standard Transformers. Second, 3D space lacks a natural linear order, leading to Ordering Ambiguity. Unlike the clear left-to-right, top-to-bottom sequence of text or images, 3D grids can be traversed in numerous ways (e.g., raster scan, Z-order), making it difficult for models to capture consistent geometric patterns.
The Improved Auto-regressive Model (ImAM) addresses these challenges by streamlining 3D shape generation into a compact 1D latent space, enabling efficient and high-fidelity synthesis.
Methods: The ImAM Architecture
ImAM utilizes a two-stage training procedure designed to compress 3D geometry into a manageable sequence without losing critical structural detail.
Stage 1: Discrete Representation Learning
To bypass the cubic complexity of voxels, the model employs a Tri-planar Projection strategy. 3D features are projected onto three axis-aligned 2D planes: XY, YZ, and XZ. This reduces the spatial complexity from $O(r^3)$ to $O(r^2)$.
Following projection, a Coupling Network fuses these three planes into a single, compact 1D latent vector. This network uses convolutions to ensure each element in the sequence has a large receptive field, capturing global context. Finally, Vector Quantization (VQ) maps this continuous vector to the closest entries in a learned codebook, transforming the 3D shape into a sequence of discrete "visual words."
Stage 2: Learning the Prior
With the 3D shape represented as a 1D sequence of discrete codes, a standard decoder-only Transformer is trained to predict the sequence auto-regressively. Because the Transformer is modality-agnostic, the model can easily incorporate various conditions—such as text prompts, images, or partial point clouds—by prepending them as feature vectors to the sequence.
Key Results and Versatility
ImAM was evaluated on benchmarks including ShapeNet, Text2Shape, and Pix3D. The model demonstrated state-of-the-art performance in both quality and diversity.
- Unconditional Generation: ImAM achieved top scores in 1-Nearest Neighbor Accuracy (1-NNA) and Edge Count Difference (ECD), indicating that its generated shapes are indistinguishable from real data and maintain structural integrity.
- Conditional Synthesis: The model excels at "filling in the blanks" for partial point clouds and generating 3D models from 2D images. Notably, by leveraging CLIP embeddings, ImAM performs zero-shot text-to-shape generation, creating complex objects like "a long sofa" even without explicit training on those specific descriptions.
Discussion and Future Work
While ImAM represents a significant step forward, some limitations remain. The model's performance on certain categories, like cars, was penalized by metrics that do not account for internal details (e.g., seats and tires) which the model attempts to generate. Additionally, while the tri-planar approach is efficient, the output resolution is still constrained by the latent vector length. Future research may explore hierarchical representations to achieve even higher levels of detail and scale the approach to full 3D scenes.
Summary updated