arXiv:2608.22277cs.LGAug 2026

Manuscript Offprint

arXiv:2608.22277

DAW: Dynamics-Aware Weighting for Deep Learning Forecasts of Chaotic Systems

Zhou Fang, Gianmarco Mengaldo

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

ABSTRACT

Deep learning surrogates have become powerful tools for simulating and forecasting complex dynamical systems, yet their utility remains limited by catastrophic error accumulation during long-term autoregressive rollouts. This behavior is partly tied to the nature of the underlying systems: chaotic spatiotemporal systems, such as the Kuramoto-Sivashinsky (KS) equation, visit phase space unevenly, with dynamics dominated by recurrent, low-dimensional quiescent states (e.g., near-laminar flows) and characterized by rare and dynamically complex topological transitions (e.g., wave-merging events). Trained under a sample-wise uniform objective, standard neural surrogates allocate their finite capacity to the statistically more numerous low-dimensional quiescent states, systematically under-representing the transient regimes that trigger disproportionate, localized errors. Existing imbalanced-regression methods attempt to tackle this challenge by reweighting samples according to target-space density. However, statistical target-space rarity need not coincide with the intrinsic dynamical rarity – the recurrence geometry of the attractor that contributes directly to the source of the imbalance. To address this, we introduce Dynamics-Aware Weighting (DAW), a data-centric objective reweighting framework. Using the local dimension d from dynamical systems theory as an a priori measure of a state's active degrees of freedom or complexity, DAW reshapes the loss landscape to allocate representational capacity toward the sparse, high-d regimes where forecast errors are systematically large. Evaluated on the chaotic KS equation, DAW consistently outperforms uniform training, purely statistical density weighting, and its randomly permuted ablation. In particular, DAW reduces the long-term error in autoregressive forecasting relative to all baselines. Event-level analysis shows that DAW achieves this by suppressing the localized error amplifications incurred during sharp jumps in the local dimension d, which typically accompany complex physical processes such as wave-merging in the KS system.

Keywords Dynamical system · forecasting · imbalanced regression

1 Introduction

Deep learning (DL) surrogates have become powerful tools for modeling and forecasting complex dynamical systems, with applications spanning weather and climate, fluid dynamics, and finance, among others [1, 2, 3, 4, 5, 6, 7]. In many settings, these models match or exceed the accuracy of traditional statistical and physics-based approaches at a lower computational cost [8]. However, they remain prone to error accumulation over long-term autoregressive rollouts [9, 10].

This behavior is partly tied to the nature of the underlying systems. The phase space of a chaotic attractor is visited unevenly: some regions recur frequently, while others are reached only rarely [11, 12]. The Lorenz-63 system is a common example – its trajectory spends most of its time spiraling within two lobes, whereas the switches between them occur far less often [13]. Trained with a sample-wise uniform objective such as the mean squared error (MSE), a

DL surrogate implicitly treats all states as equally informative and allocates its approximation capacity in proportion to the sampling measure, fitting the frequently recurring states while under-representing the rarer ones.

This difficulty is an instance of imbalanced regression, in which the data follow a non-uniform distribution and a model that minimizes average error favors the densely sampled majority, performing poorly on the sparse regions of the target space [14, 15]. The mismatch has been observed in both simulated and real-world dynamical systems, yet has so far received limited attention [16].

A common response to this imbalance is to reweight the training objective so that under-represented states contribute more, assigning each sample a scalar importance signal. Two lines of work follow this strategy, distinguished by whether the importance signal is drawn from the model or from the data. The first line of work relies on model-centric signals. Motivated by the observation that not all samples contribute equally to learning, and that not all are learned equally well [17], these importance-sampling schemes prioritize challenging or high-impact samples through posterior quantities such as gradients or losses [17, 18, 19]. Originally developed in computer vision to handle class imbalance, such schemes have been used to accelerate training and have gained traction in large language models [19, 20]. However, since the signal is derived from the surrogate itself, it is sensitive to the reactive feedback of the model during training. The second line of work relies on data-centric signals. Here, deep imbalanced regression compensates for rare target values in two ways. One is by estimating the target density with kernel smoothing and up-weighting low-density regions, as in label distribution smoothing [14], DenseWeight [15], and SMOGN [21]. The other is by rescaling the loss to balance contributions across the target range [22]. Computed once from the data, such signals avoid the model-feedback loop issue of model-centric signals. Most of these methods reduce each sample to a single aggregate statistic of the target value, whose choice is largely a matter of convention. More specifically, depending on the system, the L1L_{1} norm, L2L_{2} norm, or entropy could each serve, with no uniform criterion or physical insight for selecting among them. Moreover, such hand-picked statistics have been shown to transfer poorly to high-dimensional systems [22].

Together, these observations point to a gap, which is the absence of dynamically meaningful indicators that describe the intrinsic imbalance of the underlying system, and of a principled, data-centric scheme designed to exploit them.

Dynamical systems theory offers exactly such indicators. Indeed, the imbalance can be well characterized in phase space by indicators rooted in extreme value theory and Poincaré recurrences – the local dimension d and the inverse persistence θ\theta. Previous work empirically shows that forecast errors are not uniform across the dynamical regimes characterized by d and θ\theta, but instead concentrate disproportionately in the higher-d and higher- θ\theta states [12]; of the two, the association with d is stronger and more robust. The local dimension d measures how the invariant measure scales within a small neighborhood of a given state or, equivalently, how the frequency with which the trajectory recurs near that state scales with the size of the neighborhood [11, 23]. This recurrence-based definition gives d a clear physical meaning tied to the geometry of the attractor: low d marks geometrically dense, frequently revisited regions with many historical analogues, whereas high d marks sparse, rarely visited regions with few such analogues, where the local dynamics are more complex and harder to resolve. The local dimension thus provides a model-free, a priori measure of dynamical complexity, computed once from the historical trajectory and requiring no model feedback. The underlying framework of Poincaré recurrences has since been extended to spatiotemporal data [24] and leveraged to develop predictability indicators [25, 26] and to understand weather pattern changes [27]. Moreover, the same construction applies uniformly across systems, from low-dimensional attractors such as Lorenz-63 to high-dimensional geophysical fields [23].

Building on this idea, we introduce Dynamics-Aware Weighting (DAW), a data-centric reweighting framework. DAW leverages the local dimension d to reshape the loss landscape. By assigning higher weight to rare, high-d regimes, DAW encourages the network to devote more capacity to dynamically complex states, where forecast errors tend to be larger. We evaluate DAW on the chaotic Kuramoto-Sivashinsky (KS) equation against three baselines that share the same backbone and training budget: uniform training, statistical density weighting (DenseWeight [15]), and a shuffled-weight ablation (RandomWeight). Over autoregressive rollouts, DAW attains the lowest error and the slowest loss of spatial correlation, delaying spatial correlation collapse the longest while leaving the intrinsic limits of chaotic predictability intact. Moreover, the event-level analysis suggests that DAW achieves this by effectively suppressing the localized error jumps incurred at sharp increases in d, which, for KS, coincide with physical processes such as wave-merging. This advantage is not specific to the KS geometry. On the low-dimensional Lorenz-63 system, the same ordering of methods holds, and DAW delays correlation collapse by roughly 80% relative to uniform training (Appendix E). A practical strength of DAW is its plug-and-play nature. Since d is computed offline, it introduces no architectural change and no inference overhead, leaving the surrogate as lightweight as its unweighted counterpart and ready to be combined with a range of neural architectures.

References (32)