OAT3D: A Generative Model for 3D Shape- and Resolution-Free Structural Topology Optimization
Organizations: Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
Abstract
Topology optimization determines how material should be distributed within a design domain to optimize structural performance under prescribed loads, supports, and constraints. The problems are highly nonconvex, and conventional solvers require repeated finite element analyses, making high-resolution 3D topology optimization computationally expensive. Data-driven approaches face an additional bottleneck: generating training datasets requires solving large numbers of these costly problems, so existing work in data-driven topology optimization primarily focuses on 2D problems. Large-scale 3D datasets remain scarce, and existing models remain limited in problem scale and boundary-condition diversity. Here, we introduce Optimize Any Topology-3D (OAT3D), a generative model for high-resolution 3D structural topology optimization. OAT3D introduces a novel sparse problem encoding to represent load and fixity conditions and combines a sparse volumetric variational autoencoder with a conditional diffusion transformer. We construct a dataset of 501,865 optimized topologies, generated using 51,800 GPU-hours and encompassing structures with up to one million elements and substantially more complex loading and support configurations than any existing structural topology optimization dataset. To our knowledge, this is the largest dataset for 3D topology optimization structures. Trained on this dataset, OAT3D generates structures at 512 resolution and achieves a speedup for raw candidate structure generation or speedup to reach similar compliance over conventional topology optimization. These contributions expand the scale and diversity of data-driven topology optimization for three-dimensional structural design.
Figures & tables
| Method | Generation | Compliance | Total | Compliance | Speedup | |
| Time (s) | Evaluation Time (s) | Time (s) | Evaluations | w/ Evaluation | w/o Evaluation | |
| Mean | ||||||
| Direct Optimization | 54.9 | - | 54.9 | 124 | - | - |
| Raw Generation | 1.22 | 1.67 | 2.90 | 1 | 19.0 | 44.9 |
| Best-of-2 | 2.45 | 3.35 | 5.79 | 2 | 9.48 | 22.4 |
| Best-of-2 + 5 post-optimization | 2.45 | 8.45 | 10.9 | 7 | 5.04 | 22.4 |
| Method | N | PO Steps | CE mean (%) | CE median (%) | Mean VFE (%) | Failure (%) |
|---|---|---|---|---|---|---|
| (a) Raw single-generation | ||||||
| NITO (NITO-trained) | - | - | 43.49 | 41.29 | 27.42 | 99.50 |
| NITO (OAT-trained, 23M) | - | - | 42.59 | 40.99 | 3.75 | 88.65 |
| NITO (OAT-trained, 811M) | - | - | 44.58 | 41.28 | 0.88 | 87.00 |
| OAT3D | - | - | 31.97 | 23.88 | 4.37 | 42.40 |
| OAT3D (no BNG) | - | - | 34.98 | 28.07 | 4.43 | 49.85 |
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| Criterion for Removal | Reason | Removed | Remaining |
|---|---|---|---|
| 10 disconnected components after thresholding | Because our sampling is random, multiple disconnected islands can form. We decided to filter out cases with 10 or more disconnected components. | 260,559 | 955,322 |
| No node appears more than once in the load list | Early in data generation, loads were aggregated incorrectly. In these cases, the load specification by the sampler did not match the optimization problem that was actually solved. We excluded the affected instances. | 240,371 | 714,951 |
| Longest domain edge 512 elements | We did not bound the maximum number of elements on any given side in the sampler, but OAT3D training only fits up to 512 elements on any side. | 134,879 | 580,072 |
| Optimization not converged | We removed runs that never exited before running into the 500-iteration cap. | 56,139 | 523,933 |
| Rigid body motion | After thresholding, the topology is checked for rigid body motion. If the topology is not properly physically supported, it is removed. | 22,068 | 501,865 |
| Quantity | Mean | Median | 90th percentile |
|---|---|---|---|
| BC and scalar sequence, | 483.29 | 405 | 913 |
| Added BNG tokens | 37.22 | 32 | 64 |
| Complete sequence, | 520.52 | 442 | 958.3 |
| Added length relative to (%) | 9.81 | 7.60 | 17.95 |
| Field | Threshold | Mean IoU | Mean precision | Mean recall |
|---|---|---|---|---|
| Fixity proximity | 0.9926 | 0.9947 | 0.9976 | |
| Load proximity | 0.9764 | 0.9864 | 0.9894 | |
| BNG | 0.9459 | 0.9658 | 0.9791 |
| Steps / CFG | 0.1 | 1 | 2.5 | 5 | 10 | 20 |
|---|---|---|---|---|---|---|
| 10 | 0.1667 | 0.5815 | 0.6121 | 0.6178 | 0.6185 | 0.6089 |
| 20 | 0.1630 | 0.5754 | 0.6088 | 0.6155 | 0.6156 | 0.6082 |
| 30 | 0.1632 | 0.5736 | 0.6075 | 0.6149 | 0.6146 | 0.6070 |
| 50 | 0.1673 | 0.5717 | 0.6064 | 0.6143 | 0.6141 | 0.6071 |
| Steps | Metric / CFG | 0.1 | 1 | 2.5 | 5 | 10 | 20 |
|---|---|---|---|---|---|---|---|
| 10 | IoU | 0.6086 | 0.7194 | 0.7183 | 0.6987 | 0.6601 | 0.5372 |
| 10 | VF MAE | 1.9581 | 0.8494 | 0.8414 | 1.0193 | 1.4274 | 2.2281 |
| 20 | IoU | 0.5958 | 0.7086 | 0.7110 | 0.6946 | 0.6658 | 0.6114 |
| 20 | VF MAE | 2.0368 | 0.8334 | 0.8507 | 1.0170 | 1.4097 | 2.2281 |
| 30 | IoU | 0.5913 | 0.7045 | 0.7081 | 0.6925 | 0.6650 | 0.6224 |
| 30 | VF MAE | 2.0686 | 0.8351 | 0.8557 | 1.0188 | 1.4051 | 2.2368 |
| Stage | Source | CE mean (%) | CE median (%) | mean (%) | median (%) |
|---|---|---|---|---|---|
| Raw | Published | 5.95 | 0.32 | 4.38 | 2.40 |
| Raw | Retrained | 6.552 | 0.414 | 4.393 | 2.755 |
| 5 steps | Published | 0.52 | 0.11 | 0.96 | 0.81 |
| 5 steps | Retrained | 0.267 | 0.111 | 0.939 | 0.795 |
| 10 steps | Published | 0.31 | 0.077 | 0.67 | 0.54 |
| 10 steps | Retrained | 0.150 | 0.071 | 0.608 | 0.532 |
| Method | CE mean (%) | CE median (%) | Mean VFE (%) | Failure (%) |
|---|---|---|---|---|
| Shared loading and volume conditions: 71 problems | ||||
| NITO (NITO-trained) | 25.64 | 24.26 | 11.85 | 94.37 |
| NITO (OAT-trained, 23M) | 26.93 | 18.19 | 7.11 | 39.44 |
| NITO (OAT-trained, 811M) | 25.82 | 19.48 | -0.37 | 39.44 |
| OAT3D | 8.88 | 3.17 | -4.41 | 5.63 |
| Prescribed VF | Newly generated | CE mean (%) | CE median (%) | Mean VFE (%) | Overall failure (%) |
|---|---|---|---|---|---|
| 1,390 | 16.53 | 10.06 | -0.20 | 74.00 | |
| 510 | 13.01 | 6.86 | -0.14 | 53.07 | |
| 318 | 9.55 | 4.67 | -0.20 | 46.73 | |
| 201 | 7.11 | 3.79 | -0.19 | 40.20 | |
| 81 | 7.14 | 2.98 | -0.06 | 32.40 |
| Method | CE mean (%) | CE median (%) | Mean VFE (%) | Overall failure (%) |
|---|---|---|---|---|
| (a) Prescribed VF : 312 problems | ||||
| NITO (NITO-trained) | - | - | - | 100.00 |
| NITO (OAT-trained, 23M) | 41.84 | 29.67 | 5.20 | 97.44 |
| NITO (OAT-trained, 811M) | 56.64 | 65.13 | 4.51 | 96.47 |
| OAT3D | 38.88 | 35.33 | 4.29 | 72.12 |
| (b) Prescribed VF : 793 problems | ||||
| Failure (%) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Compliance failure | ||||||||
| Solve | Incomplete | Partial | Intact | Volume | ||||
| Volume fraction | Problems | Method | Overall | failed | load path | load path | load path | failure only |
| 312 | NITO-3D (NITO-trained) | 100 | 1.92 | 43.3 | 48.4 | 5.77 | 0.64 | |
| (44.4) | (49.7) | (5.9) | ||||||
| NITO-3D (OAT-trained, 23M) | 97.4 | 0.00 | 46.8 | 36.2 | 14.4 | 0.00 | ||
| Failure (%) | ||||||
| NITO-3D | NITO-3D | NITO-3D | ||||
| Attribute | Range | Problems | (NITO-trained) | (OAT, 23M) | (OAT, 811M) | OAT3D |
| Loaded nodes | 1 | 125 | 95.2 | 56.8 | 52.8 | 12.8 |
| 2–100 | 336 | 99.1 | 75.6 | 72.6 | 24.1 | |
| 101–1,000 | 672 | 99.9 | 91.2 | 90.8 | 43.6 | |
| 1,001–10,000 | 677 | 100 | 96.5 | 95.0 | 55.4 | |
| Method | N | PO Steps | CE mean (%) | CE median (%) | Mean VFE (%) | Failure (%) |
|---|---|---|---|---|---|---|
| OAT-initialized | ||||||
| OAT3D + OC | 2 | 5 | 17.01 | 12.30 | 0.00 | 18.35 |
| OAT3D + OC | 2 | 10 | 2.71 | 1.42 | 0.00 | 6.45 |
| OAT3D + OC | 2 | 15 | 1.15 | 0.50 | 0.00 | 3.35 |
| OAT3D + PGD | 2 | 5 | 59.18 | 48.54 | 0.00 | 41.50 |
| OAT3D + PGD | 2 | 10 | 18.00 | 14.54 | 0.00 | 5.30 |
| Boundary-condition percentage (BC, %) | |||||
| Elements (k) | |||||
| 0.605 | 0.612 | 0.615 | 0.615 | 0.619 | |
| 0.621 | 0.617 | 0.620 | 0.628 | 0.628 | |
| 0.621 | 0.619 | 0.627 | 0.631 | 0.636 | |
| 0.622 | 0.623 | 0.626 | 0.639 | 0.644 | |
| 0.619 | 0.623 | 0.634 | 0.643 | 0.653 | |
| Boundary-condition percentage (BC, %) | |||||
| Elements (k) | |||||
| 0.570 | 0.554 | 0.552 | 0.555 | 0.553 | |
| 0.544 | 0.562 | 0.561 | 0.552 | 0.566 | |
| 0.567 | 0.575 | 0.568 | 0.572 | 0.579 | |
| 0.586 | 0.595 | 0.602 | 0.603 | 0.611 | |
| 0.622 | 0.621 | 0.605 | 0.616 | 0.637 | |
| Boundary-condition percentage (BC, %) | |||||
|---|---|---|---|---|---|
| Elements (k) | |||||
| 94.6 (0.207) | 106.3 (0.196) | 107.7 (0.183) | 99.4 (0.169) | 113.8 (0.153) | |
| 105.6 (0.345) | 123.5 (0.339) | 123.9 (0.309) | 117.3 (0.277) | 103.9 (0.278) | |
| 149.3 (0.477) | 129.3 (0.462) | 130.7 (0.421) | 124.6 (0.410) | 131.8 (0.393) | |
| 140.2 (0.631) | 131.2 (0.587) | 122.7 (0.590) | 115.0 (0.519) | 129.1 (0.490) | |
| 125.9 (0.809) | 151.5 (0.788) | 153.5 (0.745) | 125.5 (0.722) | 140.4 (0.650) | |
| Boundary-condition percentage (BC, %) | |||||
| Elements (k) | |||||
| Boundary-condition percentage (BC, %) | |||||
| Elements (k) | |||||
| CE (%) | Mean VFE | Failure (%) | ||||||
|---|---|---|---|---|---|---|---|---|
| Volume fraction | Problems | Selection | Mean | Median | (%) | Volume | Compliance | Overall |
| 315 | Single | 14.89 | 8.22 | 45.4 | 9.8 | 54.29 | ||
| Best-of-8 | 9.42 | 3.99 | 55.2 | 6.0 | 60.63 | |||
| 678 | Single | 16.97 | 9.99 | 38.6 | 9.1 | 47.35 | ||
| Best-of-8 | 14.99 | 6.71 | 53.7 | 3.4 | 57.08 | |||
| 1,007 | Single | 21.26 | 12.96 | 11.9 | 19.7 | 31.28 | ||
| CE (%) | Mean VFE | Failure (%) | ||||||
| Volume fraction | Problems | Selection | Mean | Median | (%) | Volume | Compliance | Overall |
| 315 | Single | 18.3 | 11.4 | 0.6 | 6.7 | 7.30 | ||
| Best-of-8 | 12.1 | 7.00 | 0.3 | 4.4 | 4.76 | |||
| 678 | Single | 23.3 | 15.1 | 0.0 | 16.7 | 16.7 | ||
| Best-of-8 | 18.4 | 10.9 | 0.6 | 9.7 | 10.3 | |||
| 1,007 | Single | 38.1 | 32.0 | 0.0 | 39.4 | 39.4 | ||
Topology Optimization
Topology optimization finds material layouts that meet performance and manufacturing constraints across engineering systems.
See all 39 papers