DiT-3D: Exploring Plain Diffusion Transformers for 3D Shape Generation

Shentong Mo, Enze Xie, Ruihang Chu, Lanqing Hong, Matthias Nießner, Zhenguo Li

Introduction

In recent years, the landscape of generative modeling has undergone a significant shift. While U-Net architectures dominated the early days of diffusion models, Transformer-based backbones—most notably the Diffusion Transformer (DiT)—have set new benchmarks in 2D image generation due to their superior scalability and performance. However, 3D shape generation has largely remained reliant on convolutional structures. DiT-3D bridges this gap, presenting the first "plain" Diffusion Transformer designed specifically for 3D point cloud generation.

Overcoming the 3D Bottleneck

Adapting Transformers to 3D data presents two fundamental hurdles that have historically favored U-Net designs:

  1. Data Structure: Point clouds are inherently unordered sets of coordinates, whereas Transformers require structured sequences or patches to function effectively.
  2. Computational Complexity: The "curse of dimensionality" makes global self-attention computationally prohibitive in 3D. As the grid expands into the third dimension, the token count grows cubically. Standard global self-attention, with its $O(L^2)$ complexity, becomes a bottleneck for both memory and processing time.

The DiT-3D Framework

The authors address these challenges by treating 3D denoising as a sequence-to-sequence task. The architecture is built on several key innovations:

Voxelization and Patching

To resolve the issue of unordered data, DiT-3D converts point clouds into a dense $32 \times 32 \times 32$ voxel grid. This grid is then processed by a 3D Patch Embedding layer, similar to how a Vision Transformer (ViT) processes 2D images. This step transforms the volume into a sequence of small 3D cubes (patches) that the Transformer can ingest.

3D Window Attention

To mitigate the computational costs of 3D data, DiT-3D replaces global attention with 3D Window Attention. By restricting a token’s receptive field to a local 3D neighborhood (a "window"), the model significantly reduces the number of operations. Ablation studies showed that this approach reduced training costs by nearly 50%—from 92 hours to 42 hours—while actually improving accuracy by focusing on local spatial context.

2D-to-3D Transfer Learning

A standout feature of the research is the use of DiffFit for cross-modality transfer. The model is initialized with weights from a DiT pre-trained on 2D ImageNet data. Despite the massive domain gap between 2D pixels and 3D voxels, this strategy demonstrates that "visual common sense" is somewhat modality-independent. This pre-training significantly boosts performance and allows the model to achieve competitive results by training only a fraction of the parameters (0.09MB out of 32.8MB).

Experimental Results and Scalability

DiT-3D was evaluated using the ShapeNet benchmark, focusing on the Chair, Airplane, and Car categories. The model achieved new State-of-the-Art (SOTA) results across multiple metrics:

  • Accuracy: It decreased the 1-Nearest Neighbor Accuracy (1-NNA)—where lower scores indicate better performance—by 4.59 points compared to previous leaders like PVD and LION.
  • Diversity: It increased the Coverage (COV) metric by 3.51, indicating a wider variety of realistic generated shapes.

Furthermore, the model exhibits clear scaling laws. The researchers found that as they increased the model size (from Small to Extra Large) or increased the voxel resolution, the quality of the generated 3D shapes consistently improved. This suggests that, like its 2D counterparts, DiT-3D benefits directly from increased computational resources.

Insights and Future Work

DiT-3D proves that the heavy inductive biases of U-Nets, such as hierarchical downsampling, are not strictly necessary for 3D generation. A "plain" Transformer can learn these complex spatial structures purely from data.

However, limitations remain. The current model is optimized for point clouds and has not yet been applied to other 3D representations like Signed Distance Fields (SDFs) or direct mesh generation. Additionally, while ShapeNet is a standard benchmark, scaling DiT-3D to larger, more diverse "in-the-wild" 3D datasets remains a primary goal for future research. The authors suggest that future iterations will explore more complex 3D modalities and even larger-scale training to further push the boundaries of 3D generative AI.

Summary updated

BibTeX
@inproceedings{mo2023dit,
  author = {Shentong Mo and Enze Xie and Ruihang Chu and Lanqing HONG and Matthias Nießner and Zhenguo Li},
  title = {{DiT-3D: Exploring Plain Diffusion Transformers for 3D Shape Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Se71ks7Mfz},
}
Figure