arXiv · 2609.21758
Bilevel Optimization of Topology and Hyperparameters (BOTH)
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Suryanarayanan Manoj Sanu, Miguel Anibal Bessa, Alejandro Marcos Aragón. 2026-09-18. Bilevel Optimization of Topology and Hyperparameters (BOTH). https://arxiv.org/abs/2609.21758
Cite the original work for its findings. Save a collection to share your selection of sources.