Direct3D-S2: Gigascale 3D Generation Made Easy with Spatial Sparse Attention
Shuang Wu, Youtian Lin, Feihu Zhang, Yifei Zeng, Yikang Yang, Yajie Bao, Jiachen Qian, Siyu Zhu, Xun Cao, Philip Torr, Yao Yao
TL;DR
Direct3D-S2 tackles the memory and compute barrier of high-resolution 3D generation by introducing Spatial Sparse Attention (SSA) to diffusion-transformer computations on sparse volumetric tokens. A fully end-to-end Sparse SDF VAE (SS-VAE) preserves sparse representations across input, latent, and output, while a Rectified Flow-based DiT leverages SSA for efficient, scalable 1024^3 generation. Key innovations include a three-module SSA (sparse 3D compression, spatial blockwise selection, sparse 3D window) with gating and a sparse conditioning mechanism to focus on foreground evidence, enabling high-quality gigascale 3D outputs on 8 GPUs. Empirical results show superior generation quality and substantial speedups over dense or naive attention, making 1024^3 3D generation practical on modest hardware and setting a new efficiency benchmark for explicit 3D diffusion methods.
Abstract
Generating high-resolution 3D shapes using volumetric representations such as Signed Distance Functions (SDFs) presents substantial computational and memory challenges. We introduce Direct3D-S2, a scalable 3D generation framework based on sparse volumes that achieves superior output quality with dramatically reduced training costs. Our key innovation is the Spatial Sparse Attention (SSA) mechanism, which greatly enhances the efficiency of Diffusion Transformer (DiT) computations on sparse volumetric data. SSA allows the model to effectively process large token sets within sparse volumes, substantially reducing computational overhead and achieving a 3.9x speedup in the forward pass and a 9.6x speedup in the backward pass. Our framework also includes a variational autoencoder (VAE) that maintains a consistent sparse volumetric format across input, latent, and output stages. Compared to previous methods with heterogeneous representations in 3D VAE, this unified design significantly improves training efficiency and stability. Our model is trained on public available datasets, and experiments demonstrate that Direct3D-S2 not only surpasses state-of-the-art methods in generation quality and efficiency, but also enables training at 1024 resolution using only 8 GPUs, a task typically requiring at least 32 GPUs for volumetric representations at 256 resolution, thus making gigascale 3D generation both practical and accessible. Project page: https://www.neural4d.com/research/direct3d-s2.
