Inverse analysis for granular flows using differentiable graph network simulator
Gradient-based inverse analysis and inverse design with GNS + automatic differentiation (AD).
Inverse analysis provides a systematic way to infer unknown parameters or optimize designs based on observed or desired granular flow behavior. Typical applications include estimating material properties and initial conditions, as well as designing earth structures for flow mitigation.
Existing approaches have several limitations. High-fidelity numerical simulators such as DEM and MPM are computationally expensive because inverse analysis requires repeated forward simulations, while their non-differentiable formulations prevent the use of efficient gradient-based optimization. Conventional surrogate models based on machine learning or statistical methods often generalize poorly beyond their training domain because they do not explicitly capture the underlying flow physics or are restricted to low-dimensional parameter spaces.
To address these challenges, we develop a differentiable graph neural network simulator (Diff-GNS) for inverse analysis of granular flows (Choi & Kumar, 2024). By combining the computational efficiency and physics-aware representation of graph neural network simulators with automatic differentiation, the proposed framework enables efficient gradient-based optimization for estimating unknown parameters and solving inverse design problems.
Open-source code and data are available on GitHub.
Demonstration
Inverse problems involve determining the underlying causes or parameters from observed effects or outcomes. We demonstrate the effectiveness of our methodology across three distinct inverse analysis scenarios: (1) inferring material parameters from runout, (2) Inferring initial physical states of granular mass from post-failure deposit, and (3) optimizing geostructure design to control runouts.
(1) Inferring material parameters from runout
The objective of the inverse analysis in this section is to infer the friction angle of the granular column mass that produces a target runout distance from the friction angle of 21 degrees.
The following figure shows the optimization progress of the proposed framework. It identifies the correct friction angle (=22.45°) close to the target value (=21°) as well as the overall geometry of the final deposit. The computation time for the optimization accomplishes about 126× speed-up compared to solely relying on the high-fidelity numerical simulator owing to the computation efficiency of the Diff-GNS framework.
(2) Inferring initial physical states of granular mass from post-failure deposit
The proposed framework is particularly effective for high-dimensional inverse problems because it leverages reverse-mode automatic differentiation. In this example, we consider a multi-layered granular column, where each layer has a different initial velocity (left figure).
The objective is to estimate the initial velocity of each layer using only the observed post-failure deposit. As the optimization progresses, the estimated velocity profile gradually converges to the ground truth (black line), as shown in the figure on the right.
The animations below compare the ground-truth and estimated granular flows from the optimized initial velocity. The runout closely matches the ground-truth behavior.
(3) Design optimization of geostructures
The proposed framework can also be applied to the inverse design of earth structures, where design parameters are optimized to achieve a desired flow outcome. Here, we consider the design optimization of a debris-resisting baffle dam array.
The figure below illustrates the optimization process for determining the baffle locations that guide the centroid of the flow toe to a target location. As the optimization progresses, the design gradually converges to the optimal configuration.
Practical applications to geohazard analysis
Beyond the novel methodological contribution, we advance the Diff-GNS for case history back-analysis, which proves the practical value of the framework. See our publications for more details (Choi & Macedo, 2026; Choi et al., 2026).
References
2026
- Differentiable Graph Neural Network Simulator for the Back-Analysis of Post-Liquefaction Residual Strength from Flow Failure RunoutarXiv preprint arXiv:2602.11621, 2026
- Differentiable graph neural network simulator for forward and inverse modeling of multi-layered slope system with multiple material propertiesSoils and Foundations, 2026
2024
- Inverse analysis of granular flows using differentiable graph neural network simulatorComputers and Geotechnics, 2024