arXiv:2611.03612cs.LGNov 2026

Manuscript Offprint

arXiv:2611.03612

Efficient Closure Learning in Dynamical Systems: A Comparison of Data-Assimilated and Embedded Approaches

Rileigh Bandy, Teresa Portone, Mohammad Khalil, Eric Crislip, Kyle Neal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Increased computing power has transformed computational science and improved predictive capabilities for complex systems, but many phenomena still exceed current simulation capabilities or require rapid evaluations for fast design iterations. Closure models address this challenge by approximating unresolved effects in reduced or incomplete dynamical systems. Data-driven closures offer a flexible mechanism for improving model accuracy and applicability, but approaches that embed the closure within a computational model for construction and training phases can be computationally expensive and cause numerical instabilities in the computational model during training. To avoid the challenges posed by embedded approaches, staged approaches to closure-model learning have been developed. The first stage uses data assimilation to infer state and closure trajectories from observations. The second stage trains a machine learning closure model offline using the assimilated data, thereby avoiding repeated simulator calls during training. In this work, we investigate the cost and accuracy tradeoffs between embedded and staged data-driven closure modeling approaches for a synthetic epidemiological SIQR model with a nonlinear state-dependent quarantine closure. The results illustrate a practical accuracy-efficiency trade-off: for this exemplar, embedded training provides the strongest average accuracy, while the staged approach yields comparable qualitative behavior with a moderate increase in error, substantially fewer model evaluations, and improved optimization robustness.

1 Introduction

Increased computational power has enabled high-fidelity simulation across a wide range of scientific and engineering applications, but significant challenges remain in constructing accurate and complete mathematical models. A central issue is the closure problem, in which unknown quantities appear in the governing equations and must be modeled in order to close the system. These unknown quantities may arise from unresolved scales, incomplete physics, or coarse-grained representations. Prominent examples of closure problems include Reynolds stresses in Reynolds-averaged Navier-Stokes equations, subgrid-scale stresses in large eddy simulations, and constitutive relations in continuum mechanics [1, 2, 3].

Traditional approaches to constructing closure models rely on dimensional analysis, asymptotic reasoning, scaling arguments, and empirical calibration [4, 2, 3, 5]. These methods have produced robust and widely used models that perform well within specific calibration regimes. However, they often result in relatively simple algebraic or low-dimensional functional forms, which can limit expressiveness and adaptability. Consequently, such closures may struggle to generalize across regimes or capture complex nonlinear interactions in many physical and biological systems [6].

These limitations motivate more flexible data-driven approaches to closure modeling. Recent advances in machine learning, together with increasing availability of high-fidelity simulation and experimental data, have enabled the construction of closure models based on expressive function approximators such as neural

*Corresponding author: tporton@sandia.gov networks [7, 8, 9, 10, 11, 12, 13, 14]. Such approaches can capture nonlinear dependencies and latent structures that are difficult to encode using traditional closure modeling paradigms. However, significant challenges remain when neural closures are trained while embedded directly within the governing equations. Each loss or validation evaluation requires a forward model solve, and training may require differentiating through the numerical solver. Embedded training can also be numerically fragile: as the neural-network parameters evolve, the learned closure may alter the system dynamics in ways that make the initial-value problem difficult to solve, for example by inducing stiffness, nonphysical states, or extremely small stable time steps. These challenges become more pronounced when multiple training trajectories or parameter scenarios are used to improve generalizability, because each scenario requires an additional model solve during optimization.

To address these challenges, staged approaches to data-driven closure modeling have been developed [15, 16, 17, 18, 19]. The central idea is to decouple closure inference from closure-function training. In the first stage, data assimilation is used to infer closure-consistent state and closure trajectories from observations by augmenting the physical state with a latent closure variable. In the second stage, a regression or machine-learning model is trained offline to map resolved states to the inferred closure values. After training, the learned closure can be embedded into the governing equations for prediction. This workflow avoids repeated forward simulations during neural-network optimization and does not require the simulator to be differentiable.

Despite the practical appeal of staged closure learning, the accuracy-cost trade-offs relative to embedded neural-closure training are not yet fully understood. This paper therefore presents a systematic comparison of these tradeoffs in the context of a synthetic compartment-based epidemiological model, where an unknown closure represents a state-dependent transition rate from infectious to quarantined populations. Because the study is synthetic, the true closure is known and can be used for diagnostic evaluation, although the methods themselves use only noisy observations of population state variables. For this study, we find that the embedded approach achieves lower average held-out calibration error and lower average calibration closure error, but requires 9×9\times greater model evaluations for training than the staged approach.

The remainder of the paper is organized as follows. Section 2 reviews the closure-learning problem, embedded neural closure modeling, and the data-assimilation tools used for staged closure inference. Section 3 defines the comparison protocol between embedded and staged approaches, including data usage, neural-network optimization, performance metrics, computational-cost accounting, and robustness measures. Section 4 presents the synthetic SIQR numerical study and compares the two methods in terms of held-out calibration accuracy, diagnostic closure error, training-stage model evaluations, failed neural-network starts, and validation-scenario generalization. Section 5 summarizes the main findings and discusses future directions.