TL;DR
EditSSC simplifies 3D semantic scene generation by flattening 3D voxel grids into 2D Bird's Eye View (BEV) images, allowing the use of standard, off-the-shelf 2D latent diffusion models. Crucially, by performing diffusion directly on quantized discrete latents, it unlocks powerful training-free editing capabilities like sketch-guided generation, inpainting, and outpainting without any network retraining.
What Problem Does This Paper Address?
Generating realistic 3D environments with accurate geometry and semantics is vital for autonomous driving simulations and virtual testing. However, existing methods rely on complex, 3D-specific architectures (such as triplane encoders or 3D UNets) that are computationally heavy and difficult to design.
More importantly, these 3D representations make scene editing highly non-intuitive—asking a user to edit a scene by drawing across three orthogonal planes is impractical. EditSSC addresses this challenge by moving the generative process into a familiar 2D Bird's Eye View (BEV) space, making generation simpler and editing intuitive.
Methods
The authors introduce EditSSC, a two-stage pipeline that adapts standard 2D image diffusion models for 3D data:
- Stage 1: VQ-VAE Compression: A 3D semantic occupancy grid ($X \times Y \times Z$) is reshaped into a multi-channel 2D BEV image by folding the height ($Z$) and class embedding dimensions ($D$) into the channel axis. This 2D representation is compressed into discrete latent codes using a standard Vector Quantized Variational Autoencoder (VQ-VAE) adapted from Stable Diffusion.
- Stage 2: Post-Quantization Diffusion: Instead of running diffusion on continuous latents, a lightweight 2D UNet is trained to perform diffusion directly on the quantized discrete latents.
- Training-Free Editing: Because the diffusion happens post-quantization, the discrete codebook entries maintain strong, "pure" correspondences with specific semantic classes (e.g., road, vegetation, vehicles). At inference, a user's 2D layout sketch can be mapped directly to these codebook prototypes to guide the denoising process. This enables sketch-guided generation, inpainting, and outpainting out-of-the-box without any retraining or test-time adaptation.
Datasets
The model is trained and evaluated on SemanticKITTI, the standard benchmark for outdoor semantic scene completion. It contains 11 large-scale outdoor driving sequences derived from LiDAR scans, annotated as $256 \times 256 \times 32$ voxel grids with 20 semantic classes.
Key Insights and Ideas
- Reconstruction $\neq$ Generation Quality: A counterintuitive finding is that an autoencoder's reconstruction fidelity does not dictate its performance in a diffusion pipeline. A simple MLP baseline achieved near-perfect reconstruction (98.5% mIoU) but terrible diffusion results because its latent space was sparse and irregular. Conversely, the VQ-VAE had lower reconstruction scores but far superior generation quality because vector quantization structures and regularizes the latent space.
- 2D is Enough for Outdoor 3D: Outdoor driving scenes are primarily spread across a horizontal plane, meaning vertical stacking is rare. Capitalizing on this, flattening the height dimension into 2D channels allows standard image-generation architectures to match or exceed complex 3D architectures.
- The Power of Post-Quantization: Performing diffusion after vector quantization preserves the semantic meaning of the codebook entries, turning the discrete codebook into a direct interface for training-free user control.
Key Results
- Unconditional Generation: EditSSC outperforms 3D-specific baselines like SemCity (which uses a triplane representation). On SemanticKITTI, EditSSC achieved a Kernel Inception Distance (KID) of 0.0818 (vs. SemCity's 0.0936) and a Categorical KL (CKL) divergence of 0.0362, showing it generates more realistic layouts that match the true class distribution.
- Training-Free Editing: The model successfully demonstrates high-fidelity sketch-guided generation, seamless inpainting (e.g., removing a roundabout and replacing it with a crossroad), and outpainting to extend scenes.
Limitations and Future Work
- Conditional Generation Gap: When conditioned on actual sparse LiDAR scans for Semantic Scene Completion (SSC), EditSSC lags behind specialized, non-editable 3D networks (achieving 12.5% mIoU compared to ~26.7% for top methods).
- Codebook Utilization: While a codebook size of 512 achieved 100% utilization, scaling to larger codebooks (like 2048) improved reconstruction but caused codebook utilization to drop drastically to 43.7%, indicating wasted capacity.
- Future Directions: The authors suggest improving conditional performance while maintaining design simplicity, expanding training datasets, and exploring the integration of large-scale pretrained 2D diffusion models to enable multi-modal conditioning (like text-to-3D scene generation).
Summary updated