ShipGen: A Diffusion Model for Parametric Ship Hull Generation with Multiple Objectives and Constraints

Noah J. Bagazinski, Faez Ahmed

TL;DR

ShipGen introduces a guided diffusion model capable of generating high-performance, feasible ship hull designs from tabular parametric data. By combining a denoising diffusion probabilistic model (DDPM) with classifier and performance guidance, the researchers achieved a 99.5% design feasibility rate and a staggering 91.4% reduction in wave drag compared to traditional training data averages.

What Problem Does This Paper Address?

Designing a ship is a Herculean task that typically takes years. Naval architects must balance a "design spiral" of competing objectives: a hull needs enough volume for cargo (buoyancy), stability to stay upright, and a shape that slices through water with minimal resistance (hydrodynamics).

While Generative AI has revolutionized text and images, applying it to engineering is tricky. Engineering designs aren't just "vibes"—they must satisfy strict geometric constraints (e.g., the hull can't intersect itself and must be watertight). Previous attempts using Generative Adversarial Networks (GANs) often struggled with stability and failed to navigate the complex "feasible" regions of the design space. ShipGen aims to bridge this gap by using diffusion models to generate parametric designs that are both physically valid and high-performing.

Methods

The researchers developed ShipGen, which treats ship design as a tabular data generation problem. Instead of generating pixels, it generates a 45-element vector representing hull parameters (length, beam, taper, etc.).

The core architecture is a Tabular Denoising Diffusion Probabilistic Model (DDPM). The process involves two main stages:

  1. Standard Diffusion: The model learns the statistical distribution of 30,000 "feasible" hulls from the ShipD dataset.
  2. Guided Sampling: This is the paper's primary innovation. During the denoising process (where the model turns noise into a design), two types of "guidance" are applied:
  3. Classifier Guidance: A pre-trained neural network predicts if a design is feasible. Its gradients "nudge" the diffusion process toward the feasible region.
  4. Performance Guidance: Seven residual neural networks predict performance metrics (like drag and volume). The model uses these gradients to actively optimize the design for multiple objectives simultaneously.

This modular approach allows designers to plug in new objectives (like manufacturing cost) without retraining the entire generative model.

Datasets

The study utilizes the ShipD Dataset, a publicly available collection of:

  • 30,000 feasible ship hulls defined by 45 parameters.
  • 20,000 invalid samples used specifically to train the feasibility classifier.
  • Performance Metrics: Each hull includes data on wave drag coefficients (across 32 speed-draft conditions), displaced volume, surface area, and Gaussian curvature (a proxy for manufacturing complexity).

Key Insights and Ideas

  • Diffusion > GANs for Engineering: The authors found that ShipGen produced feasible hulls 73x more often than CTGAN (a popular tabular GAN). Diffusion models appear more robust at capturing the "narrow" corridors of feasibility in high-dimensional engineering spaces.
  • Guidance as an Optimizer: Traditionally, you generate a batch of designs and then filter them. ShipGen does the opposite: it uses guidance to steer the generation toward the "Goldilocks zone" of high performance and feasibility.
  • Emergent Slenderness: When optimized for low drag, the model naturally produced hulls with high length-to-beam ratios. This aligns with classical naval architecture principles, proving the AI "learned" physics-based design strategies from the data.
  • The Retraining Advantage: Unlike GANs, which often require total retraining to handle new constraints, ShipGen’s guidance models can be swapped or updated independently, making the workflow much more flexible for real-world engineering.

Key Results

  • Feasibility: With classifier guidance, the model achieved a 99.5% feasibility rate, a massive leap over the 0.66% success rate of random sampling.
  • Hydrodynamics: Generated hulls showed an average 91.4% reduction in wave drag coefficients compared to the mean of the training dataset.
  • Capacity: The models produced hulls with a 47.9x relative increase in total displaced volume compared to the training mean.
  • Diversity: Despite the heavy optimization, the model maintained high "coverage," meaning it didn't just collapse into one single design but explored a wide variety of high-performing shapes.

Limitations and Future Work

The authors acknowledge a classic engineering trade-off: while they successfully minimized drag and maximized volume, these "extreme" hulls often had increased surface area and higher Gaussian curvature. In plain English: the ships might be faster and carry more, but they would be more expensive to build because the hull plates require complex bending.

Future directions include: * Fine-tuning the "weight" ($\lambda$) of different objectives to better balance performance vs. manufacturing cost. * Expanding the model to include internal ship arrangements (where the engines and cargo go). * Applying the "ShipGen" framework to other complex engineering systems beyond naval architecture.

Summary updated

BibTeX
@article{bagazinski2023shipgen,
  author = {Noah J. Bagazinski and Faez Ahmed},
  title = {{ShipGen: A Diffusion Model for Parametric Ship Hull Generation with Multiple Objectives and Constraints}},
  journal = {Journal of Marine Science and Engineering},
  year = {2023},
  doi = {10.3390/jmse11122215},
}
Figure