VehicleSDF: A 3D generative model for constrained engineering design via surrogate modeling

Hayata Morita, Kohei Shintani, Chenyang Yuan, Frank Permenter

TL;DR

VehicleSDF bridges the gap between deep 3D generative design and functional mechanical engineering. By combining a DeepSDF implicit shape representation with lightweight surrogate models, the framework synthesizes diverse, aesthetically stylizable 3D car bodies that strictly adhere to specified geometric engineering constraints while providing near-instant drag coefficient estimates.

What Problem Does This Paper Address?

In early-stage automotive concept design, engineers and stylists often face conflicting workflows:

  1. Styling and aesthetic exploration require generating varied, creative concepts.
  2. Engineering requirements impose hard geometric constraints (e.g., wheelbase, ground clearance, overhangs) and aerodynamic performance targets (drag coefficient, $C_d$).

While deep generative models (like diffusion models and GANs) can propose novel 3D shapes, standard approaches typically offer no mechanism to strictly enforce engineering dimensions. Running full Computational Fluid Dynamics (CFD) simulations to evaluate aerodynamic performance is far too slow for interactive concept exploration. The authors propose a unified pipeline to generate 3D vehicle geometries matching precise engineering specifications, predict drag near-instantly, and produce photo-realistic renderings.

Methods

[Target Specs p] ──> [Latent Optimization] ──> [DeepSDF Decoder] ──> [3D Mesh]
                            │                                            │
               [Surrogate MLP: z ─> p]                        ├──> [ViT + LightGBM] ─> Drag (Cd)
                                                              └──> [ControlNet + SD] ─> 2D Styling

The pipeline integrates three core components:

  • VehicleSDF (Implicit 3D Generative Model): Built upon DeepSDF, an auto-decoder neural network that maps a continuous latent vector $z$ and spatial coordinates $(x, y, z)$ to a Signed Distance Function (SDF) value. Zero-crossings of the SDF represent the 3D surface, extracted via Marching Cubes.
  • Surrogate Parameter Estimator & Inversion: To control geometry without retraining the core 3D network, the authors train an auxiliary Multi-Layer Perceptron (MLP) $g_\phi(z) = p$ mapping the latent space directly to 7 vehicle dimensions: length, height, width, ground clearance, wheelbase, front overhang, and rear overhang. At inference time, target parameters $\hat{p}$ are specified, and the latent vector $\hat{z}$ is optimized via gradient descent (Adam) to minimize $\|g_\phi(\hat{z}) - \hat{p}\|_2^2$.
  • Latent Space Data Augmentation: Because training geometric surrogates requires paired $(z, p)$ data, the authors use an automated geometric rule-based extractor to label shapes, and then linearly interpolate in DeepSDF’s latent space ($r = (1-\alpha)a + \alpha b$) to expand the dataset from 374 to 10,000 shapes.
  • Aerodynamic Surrogate Predictor: Instead of costly CFD simulations, generated 3D meshes are rendered into multi-view normal maps (6 orthogonal views). These images are encoded into a 1024-dimensional feature vector using a frozen Vision Transformer (ViT) and fed into a LightGBM regressor to predict $C_d$.
  • Styling via Diffusion: 2D projections (depth maps, normal maps, or Canny edges) of the generated 3D shape condition Stable Diffusion with ControlNet to generate photorealistic concept renders.

Datasets

  • ShapeNet (Car Subset): 374 watertight car meshes, sampled at 55,000 points each, used to train the baseline DeepSDF model.
  • Augmented Vehicle Parameter Dataset: Synthetic dataset of 10,000 latent vectors and extracted parameters created by interpolating between trained ShapeNet latent embeddings.
  • Aerodynamic Drag Dataset (Song et al., 2023): 9,070 car shapes labeled with CFD-derived drag coefficients ($C_d$), augmented 4× via symmetric flips and width scaling.

Key Insights and Ideas

  • One-to-Many Constrained Generation: A single set of geometric parameters does not describe a unique car. Because the optimization operates over the latent space, initializing from different random vectors yields structurally distinct vehicles (e.g., varying cabin profiles, hood angles, and rear tapers) that all satisfy the exact same target engineering constraints.
  • Generalization Beyond Training Boundaries: When evaluated on parameters outside the training distribution, VehicleSDF generated valid geometries closer to the targets than the nearest-neighbor retrieval from the training set.
  • Decoupled Surrogate Formulation: Directly predicting aerodynamic drag from DeepSDF’s low-dimensional latent space failed because latent coordinates compressed away fine-grained surface features crucial to airflow. Splitting the problem—using the latent space for macro-geometry and multi-view 2D vision backbones (ViT) for fluid dynamics—proved essential.

Key Results

  • Geometric Precision: Latent parameter optimization brought the Mean Squared Error (MSE) between target specifications and generated shapes down from an initial $5.97 \times 10^{-4}$ to $2.86 \times 10^{-8}$ within 84 optimization steps.
  • Parameter Estimator Accuracy: The surrogate MLP achieved a test $R^2 = 0.85$ (Test MSE: $3.38 \times 10^{-6}$) after latent interpolation scaling.
  • Drag Prediction Performance: The ViT + LightGBM surrogate achieved a test $R^2 = 0.58$ and MSE of $0.0024$, marginally outperforming a CLIP-based visual feature extractor ($R^2 = 0.55$, MSE: $0.0026$).

Limitations and Future Work

  • Non-Differentiable Aerodynamic Loop: While geometric specifications can be directly optimized in the latent space via gradient descent, aerodynamic drag cannot yet be used as an optimization objective because the ViT + LightGBM pipeline relies on discrete mesh rendering.
  • Dataset Scale and Diversity: The generative model was trained on only 374 ShapeNet car models. The authors noted occasional unnatural artifacts when testing extreme out-of-distribution geometric targets.
  • Future Directions: Transitioning to larger, engineering-grade datasets (e.g., DrivAerNet++) and building an end-to-end differentiable renderer to allow simultaneous, direct optimization of both geometry and drag coefficient directly within the latent space.

Summary updated

BibTeX
@inproceedings{morita2024vehiclesdf,
  author = {Hayata Morita and Kohei Shintani and Chenyang Yuan and Frank Permenter},
  title = {{VehicleSDF: A 3D generative model for constrained engineering design via surrogate modeling}},
  booktitle = {D3S3 @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=wTAvTMTTb9},
}
Figure