NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient hybrid topology optimization using GPU and homogenization-based multigrid approach

Arya Prakash Padhi, Souvik Chakraborty, Anupam Chakrabarti, Rajib Chowdhury

TL;DR

This paper introduces a high-performance framework for 3D structural topology optimization that combines the raw power of GPUs with a memory-efficient "homogenization-based" multigrid solver. By offloading heavy computations to CUDA and using clever mathematical shortcuts to avoid storing massive matrices, the authors enable the design of structures with over 100 million degrees of freedom on a standard desktop workstation—achieving speeds up to 45 times faster than traditional optimized codes.

What Problem Does This Paper Address?

Topology Optimization (TO) is a mathematical approach that determines the most efficient distribution of material within a given space to support specific loads. While it is a "holy grail" for lightweight engineering, 3D TO is notoriously expensive.

The primary bottleneck is solving the state equation ($Ku = f$), where $K$ is a massive stiffness matrix. For high-resolution models with millions of elements, this matrix becomes too large to store in a computer's RAM, let alone the much smaller memory (VRAM) of a GPU. Previous attempts to use GPUs often hit a "memory wall," limiting the size of the problems they could solve. The authors aim to break this wall, allowing engineers to optimize massive, high-fidelity structures without needing a supercomputer.

Methods

The authors propose a hybrid framework that integrates several advanced techniques:

  • SIMP Method: They use the standard "Solid Isotropic Material with Penalization" approach to model material density.
  • MGCG Solver: Instead of a direct solver, they use a Multigrid Preconditioned Conjugate Gradient (MGCG) method. Multigrid methods are "optimal" because their computational cost scales linearly with the number of elements.
  • Hybrid Parallelism: The framework uses OpenMP for CPU-level task management and CUDA for the heavy-duty matrix-vector multiplications on the GPU.
  • On-the-fly Computation: To save memory, the global stiffness matrix is never fully assembled. Instead, its effects are computed "on-the-fly" using local element matrices.
  • Homogenization Strategy: This is the "secret sauce." In the multigrid hierarchy, they represent coarse-grid densities as the mean of finer elements. This allows them to compute coarse-grid operators without storing additional large matrices, reducing memory consumption by 40-50%.
  • MATLAB Integration: The core solver is written in CUDA C but is called from a MATLAB backbone via MEX functions, making it accessible to researchers who prefer high-level scripting.

Datasets

The paper evaluates the framework using four classic and complex engineering benchmarks:

  1. 3D Cantilever Beam: A standard test for accuracy and scaling (up to 128x64x64 elements).
  2. Arch Bridge: A problem involving "passive regions" (areas where material cannot be placed) with ~2 million elements.
  3. High-Rise Building: A 162-meter tall structure subjected to wind (parabolic) loading, testing the solver's ability to handle high-rise geometry.
  4. Foot Bridge: A massive model (58 million elements) subjected to design-dependent gravity loads.

Key Insights and Ideas

  • The Memory-Speed Tradeoff: The authors realized that while "on-the-fly" computation increases the number of floating-point operations (FLOPs), it drastically reduces memory traffic. Since modern GPUs are often "memory-bound" rather than "compute-bound," doing more math to avoid moving data actually results in a net speedup.
  • Homogenization as a Compression Tool: By using homogenization to define coarse-grid properties, the authors effectively "compressed" the multigrid hierarchy. This allows the GPU to handle much larger problems than previously possible.
  • Hybrid is Better: By keeping the high-level logic on the CPU and the "muscle" on the GPU, they avoided the overhead of moving small bits of data back and forth, which is a common pitfall in GPU programming.

Key Results

  • Massive Speedups: The proposed CUDA-based solver was approximately 45 times faster than the well-known optimized MATLAB code (TOP3D125) and 3 times faster than a multi-threaded CPU version (OpenMP).
  • Memory Efficiency: For a 128x64x64 grid, the standard approach required ~15 GB of RAM, while the proposed framework required only 2.03 GB of GPU memory.
  • Scalability: The authors demonstrated that a structure with 100 million degrees of freedom could fit into the 8GB VRAM of a standard desktop GPU (like an RTX 4000).
  • Real-World Fidelity: The high-rise building example produced complex "diagrid" bracing patterns similar to those seen in modern skyscrapers, validating the physical accuracy of the high-resolution results.

Limitations and Future Work

  • Structured Meshes Only: Currently, the framework is limited to "brick" elements on a regular grid. It cannot yet handle the unstructured meshes (complex, irregular shapes) often used in commercial FEA software.
  • Hardware Lock-in: The implementation is specific to NVIDIA GPUs due to the use of CUDA.
  • Future Directions: The authors suggest that an additional step to divide unstructured domains into structured sub-regions could solve the mesh limitation. They also plan to explore making the framework "universal" to work on non-NVIDIA hardware in the future.

Summary updated

BibTeX
@inproceedings{padhi2023efficient,
  author = {Arya Prakash Padhi and Souvik Chakraborty and Anupam Chakrabarti and Rajib Chowdhury},
  title = {{Efficient hybrid topology optimization using GPU and homogenization-based multigrid approach}},
  booktitle = {Eng. Comput},
  year = {2023},
  url = {https://openreview.net/forum?id=ShprdbBlf1},
}

Loading related content...

Figure