TL;DR
This paper introduces a 3D generative design framework that uses Latent Diffusion Models (LDMs) to generate diverse, near-optimal structural components based on initial strain energy maps. By operating in a compressed latent space, the framework avoids the mode collapse common in GANs, drastically reduces the computational cost of 3D voxel processing, and enables engineers to edit existing designs through partial noising and denoising.
What Problem Does This Paper Address?
In engineering, the initial conceptualization phase is often a bottleneck. While computer-aided design (CAD) and topology optimization tools like the Solid Isotropic Material with Penalization (SIMP) algorithm exist, they are highly deterministic—producing only a single optimal design for a given set of boundary conditions. Furthermore, these methods require computationally expensive finite element (FE) evaluations, making on-the-fly design exploration impossible.
Previous attempts to use machine learning have relied heavily on Generative Adversarial Networks (GANs). However, GANs frequently suffer from mode collapse, meaning they tend to output the same design regardless of the inherent stochasticity of the input conditions. Standard Diffusion Models (DMs) can solve mode collapse and capture high-frequency details, but they are too computationally expensive to run directly on high-resolution 3D voxel grids. This paper tackles these challenges by moving the diffusion process into a compressed latent space.
Methods
The authors propose a Latent Diffusion Model (LDM) framework that splits the learning burden into two main stages: a Multi-Headed Variational Autoencoder (VAE) and an internal Denoising Diffusion Probabilistic Model (DDPM).
- Multi-Headed VAE: This network compresses 3D spatial data into a low-dimensional latent space. It features two distinct encoder heads:
- An Initial Strain Energy Encoder that uses a Vector-Quantized (VQ-VAE) bottleneck to process the boundary conditions.
-
An Optimized Design Encoder that uses a standard KL-Divergence bottleneck to process the ground-truth optimized geometry. A single decoder is then trained to reconstruct the optimized design from these combined latent representations.
-
Latent Diffusion Model (DDPM): Operating entirely within the VAE’s compressed latent space, a U-Net-based diffusion model is trained to predict and remove isotropic Gaussian noise. During inference, it takes a random noise vector and the encoded initial strain energy map to iteratively generate a novel design latent, which the VAE decoder renders into a 3D voxel grid.
The framework enables two primary workflows:
- Design Generation: Direct inference mapping initial strain energy to multiple unique candidate structures.
- Design Translation (Editing): Taking an existing design, mapping it to latent space, adding a controlled amount of noise, and denoising it to generate structurally similar yet distinct design variations.
Datasets
The authors generated a synthetic dataset using ANSYS Mechanical APDL v19.2 to run SIMP topology optimization on a 1-meter cube mesh (consisting of 31,093 nodes and 154,677 elements).
- Variability: To ensure structural diversity, they randomized the load types (Nodal Force, Surface Force, Pressure, Moment, etc.), load locations, fixed boundary points, and target volume fractions (ranging from 10% to 50%).
- Scale: A total of 66,000 samples were generated and voxelized at three resolutions: $32^3$ (66k samples), $64^3$ (25k samples), and $128^3$ (10k samples). The data was split into 80% for training and 20% for testing.
Key Insights and Ideas
- Hybrid VAE Bottlenecks: The authors discovered that using a VQ bottleneck for initial conditions combined with a KL bottleneck for the optimized designs yielded the best structural continuity. Using VQ bottlenecks for both encoders tended to introduce floating artifacts in the final generated components.
- Uniform Latent Scaling: By structuring the VAE to compress different voxel resolutions ($32^3$, $64^3$, and $128^3$) into the exact same latent tensor size ($[4, 8, 8, 8]$), the authors were able to use the same internal Diffusion Model architecture across all resolutions. This kept computational costs in check during scaling.
- Multi-Grid Training for 128³ Domains: Training a $128^3$ voxel model from scratch is computationally prohibitive. The authors bypassed this by pretraining on the $32^3$ dataset, fine-tuning on $64^3$, and finally training on the $128^3$ dataset.
Key Results
- Performance Parity with SIMP: To evaluate the structural integrity of the generated parts, the authors trained a separate surrogate network to predict total strain energy (compliance). The aggregate compliance distribution of 2,000 LDM-generated designs closely matched the distribution of the ground-truth SIMP-optimized designs, proving that the generated designs are inherently near-optimal.
- High Design Diversity: Using Cosine Similarity metrics, the authors confirmed that the model does not merely replicate the SIMP baseline. Instead, it generates a wide variety of structurally valid geometric alternatives for the same initial conditions.
- Drastic Training Speedups: Thanks to the multi-grid training approach, the $128^3$ resolution model achieved an $L_1$ reconstruction loss of 0.0255 on the validation set in under 2 hours, compared to the 10+ hours required if trained from scratch.
Limitations and Future Work
While the framework successfully generates near-optimal structures, it currently lacks explicit user controls for specific geometric constraints during inference. For instance, an engineer cannot currently input a precise target volume fraction or component size directly into the diffusion process.
The authors note that future work will focus on integrating additional conditioning mechanisms into the LDM to allow users to guide the generative process with explicit constraints, such as desired volume fractions or specific bounding dimensions.
Summary updated