Real-time design of architectural structures with differentiable mechanics and neural networks
Rafael Pastrana, Eder Medina, Isabel M. de Oliveira, Sigrid Adriaenssens, Ryan P. Adams
TL;DR
The paper addresses real-time, physics-consistent inverse design for long-span architectural structures modeled as pin-jointed bar systems. It introduces a physics-in-loop surrogate that couples a neural encoder with a differentiable force-density method (FDM) simulator to map target geometries to bar stiffnesses $\mathbf{q}$ and recover $\mathbf{X}$ under equilibrium, guaranteeing mechanical integrity. The approach emphasizes an encoder that outputs positive stiffness with a force-sign bias, and a differentiable FDM-based decoder that enforces $\mathbf{K}(\mathbf{q})\mathbf{X}-\mathbf{P}(\mathbf{X})=\mathbf{0}$, enabling end-to-end training to minimize the geometry mismatch while maintaining physics. Evaluations on masonry shells and cable-net towers show substantial speedups over direct optimization with comparable accuracy, and superior generalization to unseen geometries; integration into CAD software and fabrication of a prototype demonstrate practical impact. Overall, the framework enables safe, interactive design exploration of complex architectural geometries with real-time feedback and physics guarantees.
Abstract
Designing mechanically efficient geometry for architectural structures like shells, towers, and bridges, is an expensive iterative process. Existing techniques for solving such inverse problems rely on traditional optimization methods, which are slow and computationally expensive, limiting iteration speed and design exploration. Neural networks would seem to offer a solution via data-driven amortized optimization, but they often require extensive fine-tuning and cannot ensure that important design criteria, such as mechanical integrity, are met. In this work, we combine neural networks with a differentiable mechanics simulator to develop a model that accelerates the solution of shape approximation problems for architectural structures represented as bar systems. This model explicitly guarantees compliance with mechanical constraints while generating designs that closely match target geometries. We validate our approach in two tasks, the design of masonry shells and cable-net towers. Our model achieves better accuracy and generalization than fully neural alternatives, and comparable accuracy to direct optimization but in real time, enabling fast and reliable design exploration. We further demonstrate its advantages by integrating it into 3D modeling software and fabricating a physical prototype. Our work opens up new opportunities for accelerated mechanical design enhanced by neural networks for the built environment.
