cs.LGSep 18, 2026

Bilevel Optimization of Topology and Hyperparameters (BOTH)

Authors: Suryanarayanan Manoj Sanu, Miguel Anibal Bessa, Alejandro Marcos Aragón

Organizations: Faculty of Mechanical Engineering Delft university of technology Delft The Netherlands · School of engineering Brown University Providence United States of America

Abstract

Topology optimization (TO) represents a significant step towards automating the design process: given a working simulation, TO can produce a viable prototype at the press of a button by differentiating the simulation and iteratively improving the design. In practice, however, TO is riddled with magic numbers''---hyperparameters whose tuning significantly affects the outcome. Finding the right values typically requires not only deep problem-specific knowledge but also extensive trial-and-error. While practitioners can use surrogate-assisted hyperparameter optimization as an alternative, this approach requires strictly limiting the number of hyperparameters through careful problem formulation. Here, we propose differentiating TO itself using automatic differentiation. This yields hypergradients'' that allow us to tune these hyperparameters in tandem with the primary optimization. We show that evaluating just one or two steps of TO is sufficiently informative and that the method scales favorably to thousands of hyperparameters at an expense comparable to only a few standard TO runs. We demonstrate this approach on stress-constrained and compliance problems, with the latter utilizing a neural parameterization of the density field.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. KATOsuper: Surrogate-accelerated neural topology optimization with sensitivity-consistent Fourier neural operators

    Sep 23, 2026Shengyu Yan, Jasmin JelovicaNeural Surrogate ModelingTopology Optimization

  2. On the Generalization in Topology Optimization via Sensitivity-Conditioned Bernoulli Flow Matching

    Jun 1, 2026Mohammad Rashed, Duarte F. Valoroso Madeira, Babak Gholami +3Neural Surrogate ModelingTopology Optimization

  3. eCNNTO: A Highly Generalizable ConvNet for Accelerating Topology Optimization

    Jun 18, 2026Shengbiao Lu, Xiaodong WeiTopology OptimizationDeep Learning Optimization