Two stage multiobjective topology optimization method via SwinUnet with enhanced generalization

Xiang Cheng, Airong Chen, Hua Li, Dalei Wang, Baixue Ge, Haocheng ChangScientific 2025

Abstract

Topology optimization is a critical tool for modern structural design, yet existing methods often prioritize single objectives (e.g., compliance minimization) and suffer from prohibitive computational costs, especially in multi-objective scenarios. To address these limitations, this paper introduces a novel two-stage multi-objective topology optimization (MOTO) method that uniquely integrates data-driven learning with physics-informed refinement, and both stages are implemented within nearly identical network frameworks, ensuring simplicity and consistency in execution. Firstly, a MOTO mathematical model based on the constraint programming method that considers competing objectives of compliance, stress distribution, and material usage was constructed. Secondly, a novel neural network that incorporates shifted windows attention mechanism and lightweight modules was developed to enhance feature extraction while maintaining computational efficiency. Finally, the proposed model was trained in two stages: In Stage-1, utilizing adaptive input tensors, the network predicts near-optimal geometries across variable design domains and diverse boundary conditions in real time. In Stage-2, the near-optimal structures from Stage-1 were physically optimized to achieve optimal performance. Experimental results demonstrate that the method's capability to generate high-accuracy, computationally efficient solutions with robust generalization capabilities.

Introduction

Topology Optimization (TO) is the mathematical art of placing material exactly where it is needed to maximize structural performance while minimizing weight. While traditional numerical methods like the Method of Moving Asymptotes (MMA) are highly accurate, they are computationally expensive, requiring hundreds of iterations of Finite Element Analysis (FEA). Recent deep learning (DL) approaches offer real-time results but often struggle with structural integrity (producing "disconnected" shapes), generalization to new load cases, and the complexity of balancing multiple competing objectives like stiffness and internal stress.

Methodology: The SwinUnet Framework

The researchers developed a hybrid framework centered on a novel architecture called SwinUnet. This architecture integrates Shifted Windows Attention (SWA), which allows the network to capture long-range correlations between distant parts of a structure. This is critical for ensuring that load paths are continuous and structurally sound.

The attention mechanism components integrated into the SwinUnet architecture to facilitate global feature extraction.

The optimization is executed in two stages:

  1. Stage 1 (Data-Driven Sketch): The model is trained on a small dataset (1,650 samples) using Dice Loss to prioritize global shape coherence. It predicts a "near-optimal" geometry in just 0.02 seconds.
  2. Stage 2 (Physics-Informed Polish): The initial sketch is refined using a Physics-Informed Neural Network (PINN) approach. The SwinUnet is updated iteratively based on the actual physical compliance of the structure. Because Stage 1 provides a high-quality starting point, Stage 2 requires only about 20 iterations to reach a physically consistent, optimal design.

Multi-Objective Optimization and Stress Constraints

Real-world engineering requires balancing stiffness (compliance) with stress distribution. Instead of a simple weighted sum of objectives, the authors used a constraint-based MOTO model. They treated compliance as the primary goal while using an exponential interpolation scheme to handle stress as a strict constraint.

Interpolation scheme for the stress constraint coefficient, allowing for nuanced control over high-stress regions in the design.

Key Results and Generalization

The proposed method demonstrates significant advancements in both efficiency and performance:

  • Speed: Stage 1 generates designs roughly 450x faster than traditional MMA methods.
  • Performance: Final structures achieved 5.13% lower compliance and 1.86% lower peak stress compared to traditional numerical benchmarks.
  • Generalization: The model successfully handled hybrid boundary conditions and domain sizes (e.g., 50x25 units) that were entirely absent from the training set, achieving an 83.48% Outperforming Sample Ratio (OSR).

Conclusion

By combining the rapid inference of deep learning with the physical rigor of PINNs, this two-stage method overcomes the traditional trade-off between speed and accuracy in topology optimization. While currently demonstrated in 2D, the framework provides a robust foundation for future scaling to 3D multi-objective structural design.

Summary updated

BibTeX
@inproceedings{cheng2025two,
  author = {Xiang Cheng and Airong Chen and Hua Li and Dalei Wang and Baixue Ge and Haocheng Chang},
  title = {{Two stage multiobjective topology optimization method via SwinUnet with enhanced generalization}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-92793-0},
}
Figure