April 24, 2025
We study how the degree of nonlinearity in the input data affects the optimal design of reservoir computers, focusing on how closely the model’s nonlinearity should align with that of the data. By reducing minimal RCs to a single tunable nonlinearity parameter, we explore how the predictive performance varies with the degree of nonlinearity in the model. To provide controlled testbeds, we generalize to the fractional Halvorsen system, a novel chaotic system with fractional exponents. Our experiments reveal that the prediction performance is maximized when the model’s nonlinearity matches the nonlinearity present in the data. In cases where multiple nonlinearities are present in the data, we find that the correlation dimension of the predicted signal is reconstructed correctly when the smallest nonlinearity is matched. We use this observation to propose a method for estimating the minimal nonlinearity in unknown time series, by sweeping the model exponent and identifying the transition to a successful reconstruction. Applying this method to both synthetic and real-world datasets, including financial time series, we demonstrate its practical viability. Additionally, we briefly study the SINDy framework as a complementary approach for identifying nonlinearities in data. Finally, we transfer these insights to classical RCs, by augmenting traditional architectures with fractional, generalized reservoir states. This yields performance gains, particularly in resource-constrained scenarios, such as physical reservoirs, where increasing reservoir size is impractical or economically unviable. Our work provides a principled route toward tailoring RCs to the intrinsic complexity of the systems they aim to model.
Reservoir computing is a powerful tool for modeling nonlinear systems, but its design often relies on heuristics. Here, we show that predictive accuracy improves when the model’s nonlinearity is matched to that of the data. Using a deterministic, minimal reservoir framework and a novel chaotic system with tunable fractional exponents, we isolate this relationship and demonstrate that the smallest nonlinearity in the data plays a key role. This insight enables a method to estimate nonlinearity from time series alone, which we validate on synthetic and real-world data, including financial markets. We also show how augmenting classical reservoirs with tailored nonlinearities improves performance, which is especially useful in hardware-limited settings.
Reservoir computing[1]–[3] is a machine learning framework for modeling and predicting nonlinear dynamical systems, built on the idea of using a fixed recurrent dynamical system—the reservoir—and linearly combining its dynamics to create predictions. The work by [4] offers a great introduction to the theory of traditional reservoir computers (RCs).
Despite its practical success in synthetic systems[5], [6] and real-world systems[7]–[11], classical reservoir computers remain somewhat heuristic: the reservoir’s weights are initialized randomly, and while empirical studies on the reservoir structure and weights have been performed[12], [13], the optimal design of the reservoir is not well understood analytically. This randomness and complexity hinder a principled understanding of why RCs work so well, since we need to account not only for the choice of parameters, but also for the actual realization of the random numbers used in the process.
The topic of randomness in traditional RC has been addressed in two ways: In so-called ‘next generation reservoir computing’ (NGRC)[14] the reservoir is replaced by linear and nonlinear combinations of the input variables and their time lags without any weights. While this approach performs very well, also with limited training data[15], the typical character of a reservoir as being a dynamical substrate with (fading) memory, which responds to some input data, is lost in this RC setup. In minimal reservoir computing (minRC)[16], however, the reservoir still exists and the reservoir states are iteratively fed through a reservoir creating a dynamical system. The key difference between the two is that NGRC eliminates the reservoir entirely and replaces it with handcrafted lagged features, whereas minimal RC retains a true, though simplified, dynamical reservoir structure. As a result, minimal RC preserves the core concept of memory-driven dynamics, while NGRC trades this for a purely feature-based representation.
The reservoir in minimal RC exists, but it is simplified by replacing the large random network with a structured block-diagonal matrix splitting the reservoir into multiple smaller sub-reservoirs, each working on a single feature. All random elements in the input layer and in the reservoir are removed, enabling a systematic analysis of RC architectures. Furthermore, the nonlinear activation at each reservoir node can be replaced by shifting the nonlinearity to the output layer: The readout operates on generalized reservoir states that include powers of the reservoir’s linear state evolution. This deterministic setup retains RC’s computational efficiency but yields a more interpretable, tractable model.
Building on this minimal RC framework, this work focuses on a fundamental question: How nonlinear should the reservoir states be in order to adequately model given nonlinear input data? In classical or minimal RC the approach is to introduce nonlinear reservoir features to help capture nonlinear structures in the input. However, it remains unclear what degree of nonlinearity is truly needed in the reservoir states to represent the nonlinear dynamics of the data. Intuitively, if the input data’s dynamics are only mildly nonlinear, an overly strong nonlinearity in the reservoir states might be unnecessary (or even detrimental), whereas if the data’s generative process is highly nonlinear, linear or weakly nonlinear reservoir states will be insufficient to capture its behavior. We aim to formalize this intuition and determine how to tailor the model’s nonlinearity to the complexity of the input.
In this study, we introduce a tailored minimal RC approach to systematically investigate the matching of data and reservoir states nonlinearities. In Sec. 3 we reduce the minimal RC model to its essence by using a single tunable nonlinearity parameter in the generalized reservoir states, and we examine the impact of this nonlinearity on prediction performance for datasets of varying complexity.
All traditional chaotic systems use integer exponents as nonlinearities with the Thomas system’s[17] sine function being a notable exception. Here in Sec. 2 we introduce a fractional Halvorsen system as a novel data generator, generalizing the classical Halvorsen attractor to fractional exponents in the nonlinear terms. This allows us to produce time series with a controllable degree of nonlinearity, providing an ideal testbed for our study.
We use this data to perform extensive experiments in Sec. 5 measuring the prediction performance and studying the relationship between nonlinearity in the data and nonlinearity in the model.
Applying our findings in reverse, we find in Sec. 6 that we can use this framework to determine the smallest nonlinearity present in the data by measuring the prediction performance over different nonlinearities in the model and noting when the prediction error minimizes. There we compare our findings against using SINDy. Lastly, in that section we also transfer our insights from minimal RCs to improve the performance of classical RCs by introducing fractional, generalized reservoir states.
Originally introduced as a model for atmospheric convection, the Lorenz system[18] has become the benchmark system in the study of chaotic systems and has been extensively used in research on reservoir computers[5], [6]. However, its nonlinearities consist of mixed variables, which make it hard to control the exponent, and thus the nonlinearity. For this reason, we introduce the Halvorsen system[19] in our study, after performing initial studies on the Lorenz system. We introduce a modified version of the Halvorsen system, in which we can control the nonlinearity in the data more precisely.
For all our integrations of the trajectories, we use the explicit Runge–Kutta method of order 5(4)[20] utilizing a step size of \(\Delta t=0.01\) unless stated otherwise. Our initial condition consists of a uniformly distributed random value between \(-20\) and \(20\) for the Lorenz system, and due to stability reasons we use the point \(\begin{pmatrix}0.1&0&0\end{pmatrix}^\textrm{T}\) as the initial condition for all Halvorsen realizations. In each case we discard the first \(10^4\) steps as transient behavior.
For all calculations involving reservoir computers, we use the SCAN software package[21], and for all calculations involving SINDy we use the PySINDy package[22], [23].
The Lorenz system is a set of coupled nonlinear differential equations given by[18] \[\label{equ:lorenz-equation} \begin{align} \dot{x}_1&=-\sigma\,x_1 + \sigma\,x_2\\ \dot{x}_2&=\rho\,x_1 - x_2 - x_1\,x_3\\ \dot{x}_3&=-\beta\,x_3 + x_1\,x_2\;\;\;, \end{align}\tag{1}\] where we use the standard parametrization exhibiting chaotic behavior of \(\sigma=10\), \(\rho=28\), and \(\beta=\frac{8}{3}\).
While previous studies have explored variations in the Lorenz system’s nonlinear terms[24], controlling the overall degree of nonlinearity across coordinates remains challenging due to the nonlinearity consisting of combinations of two variables.
The Halvorsen system, in contrast to the Lorenz system, is a chaotic system which has its nonlinearities in a single variable in each dimension. Originally, the nonlinearity consists of quadratic terms. However, in this work we want to introduce fractional exponents in each dimension. This allows for a control of the nonlinearity of the system by modifying the exponent in each equation, which leads to the introduction of the modified, fractional Halvorsen system given by \[\label{equ:halvorsen-equation} \begin{align} \dot{x}_1&=-a\,x_1 - 4\,x_2 - 4\,x_3 - x_2^{\xi_1}\\ \dot{x}_2&=-a\,x_2 - 4\,x_3 - 4\,x_1 - x_3^{\xi_2}\\ \dot{x}_3&=-a\,x_3 - 4\,x_1 - 4\,x_2 - x_1^{\xi_3}\;\;\;. \end{align}\tag{2}\] The canonical choice displaying chaotic behavior is \(a=1.3\) and \(\xi_i=2\). However, for this study we want to explore different values of \(\xi_i\). Here, we do not want to limit ourselves to integer exponents, but introduce the study of fractional exponents in this context.
For fractional exponents of the form \(\xi_i = \frac{n_i}{d}\) we need to rewrite Eqs. 2 slightly and use the definition of \(x^{\tfrac{n_i}{d}} = \sqrt[\leftroot{1}\uproot{1}d]{x^{\,n_i}}\) to substitute for \(x^{\xi_i}\). In order to prevent complex-valued trajectories, we limit ourselves to even choices for \(n_i\).
During our studies we discovered that a denominator of \(d=50\) provides a good trade-off between the accessible granularity and computational stability.
In Fig. 1 we performed a grid search over the two free parameters of the fractional Halvorsen system, in order to find the region of interest with chaotic behavior. Here, we fix all exponents to be the same with \(\xi_i = \xi_1 = \xi_2 = \xi_3\). We found that for a parameter of \(a = 3.98\) we observe chaotic behavior over a range of exponents \(\xi_i\).
The Thomas system[17] is a chaotic system, which has its nonlinearity not in exponentiation, but instead in a sine function. It is defined by \[\begin{align} \dot{x}_1 &= -b\,x_1+\sin{x_2}\\ \dot{x}_2 &= -b\,x_2+\sin{x_3}\\ \dot{x}_3 &= -b\,x_3+\sin{x_1}\;\;\;, \end{align}\] where we use a parameter of \(b=0.21\). The sine function can be defined by Taylor expansion as a sum of polynomials, where the first nonlinear term appears as third order.
Surrogating the data destroys the nonlinear properties of a time series while keeping the linear ones unaffected[25]. In Sec. 6.1 we aim to identify the smallest nonlinearity in a given time series. To ensure that the observed effects indeed arise from nonlinearity in the data, we generate Fourier transform (FT) surrogates. If the measure from the original time series differs significantly from this linearized background, it strongly indicates that the observed effect stems from the system’s nonlinearity. In this study we restrict ourselves to the use of FT surrogates, since there is evidence that only this class of surrogates reliably destroys all nonlinearities in the data[26]–[28].
We create the surrogate time series by first performing a Fourier transformation \(\mathcal{F}\) on the original time series \(\underline{x}\), separating the data into amplitudes \(A_k\) and phases \(\phi_k\). The linear properties are now stored in the amplitudes and the nonlinear ones in the phases. By replacing the original phases \(\phi_k\) with uniformly distributed numbers between \([0,\;2\,\pi]\), \(\phi_k^{\textrm{rand}}\), we destroy the nonlinear features of the original time series. The surrogate time series \(\underline{x}_{\textrm{s}}\) is then given by the inverse Fourier transformation \(\mathcal{F}^{-1}\) of the original amplitudes \(A_k\) with the randomized phases \(\phi_k^{\textrm{rand}}\), sketched by \[\underline{x}_{\textrm{s}} = \mathcal{F}^{-1}{\left[A_k\,\exp{\left( i\,\phi_k^{\textrm{rand}} \right)}\right]}\;\;\;.\]
In order to get a robust estimate of the surrogate measures, we create multiple realizations of the surrogate time series and calculate the measure of interest across all of them and report the average with a standard deviation indicating the spread of the values.
A reservoir computer (RC) is a specialized form of recurrent neural network in which the recurrent connections remain fixed after initialization, rather than being adapted during training. The input signal is mapped into a random, high-dimensional state space, causing the randomly defined reservoir to synchronize with the input’s dynamics. The resulting reservoir states now reflect the time evolution of the input in the high-dimensional space. They are then combined through a linear readout layer to produce predictions in the measured space. Such architectures have been shown to excel at forecasting chaotic systems. For a thorough overview of classical reservoir computing techniques we refer to [4].
In a classical reservoir computer, the input time series \(\underline{x}\) is mapped randomly into a high-dimensional space of dimensionality \(d\) through the input matrix \(\mathbf{W}_\textrm{in}\). Once the data is embedded, the reservoir governs the internal dynamics of the reservoir computer. The reservoir states are then linearly combined to form the prediction.
The reservoir is a randomly connected graph of \(d\) nodes represented by its adjacency matrix \(\mathbf{A}\), which describes the connection of the nodes with each other. Different topologies for the reservoir \(\mathbf{A}\) have been studied, showing that, generally, random networks or small-world networks work better than scale-free networks[13]. The reservoir is scaled to a target spectral radius of \(\rho^*\) to regulate the reservoir’s dynamical stability and ensure that it does not diverge. At each time \(t\), we represent the reservoir by the state vector \(\underline{r}{(t)}\), whose components reflect the activity of each node. Its evolution is given by \[\underline{r}{(t+1)} = f{\left(\mathbf{A}\,\underline{r}(t) + \mathbf{W}_\textrm{in}\,\underline{x}(t)\right)}\;\;\;,\] and it is usually initialized with the zero vector \(\underline{r}(0) = \underline{0}\). \(f\) refers to a nonlinear function and the hyperbolic tangent is the usual choice.
After a synchronization phase, sometimes referred to as the warm-up phase, the reservoir state \(\underline{r}\) represents the dynamics of the input data \(\underline{x}\) in the high-dimensional space. The reservoir states can then be linearly combined by an output matrix \(\mathbf{W}_\textrm{out}\) to reproduce the time series in the original space.
For finding the output matrix \(\mathbf{W}_\textrm{out}\), the reservoir states \(\underline{r}(t+1)\) with their corresponding output \(\underline{x}(t+1)\) are recorded during the training process, collecting a total number of \(l\) training steps. We store the reservoir states and their corresponding outputs in the matrices \(\mathbf{R}\) and \(\mathbf{X}\) respectively, and perform a ridge regression[29] to solve the equation \(\mathbf{W}_\textrm{out}\,\mathbf{R} = \mathbf{X}\). The solution for the output matrix is given by \[\mathbf{W}_\textrm{out} = \mathbf{X}\,\mathbf{R}^\textrm{T}\,\left( \mathbf{R}\,\mathbf{R}^\textrm{T} + \beta\,\mathbf{1}\right)^{-1}\;\;\;,\] where we have applied the mathematical trick described by [4], consisting of multiplying \(\mathbf{R}^{\textrm{T}}\) to the right of the problem to solve, in order to make the optimization independent of the training length. Here, \(\mathbf{1}\) describes the identity matrix, and \(\beta\) the regularization parameter of the ridge regression.
The reservoir states can also be generalized before the optimization as already studied in different works[30], [31]. In this work we briefly study the effects of generalizing the reservoir states to fractional powers using \(\underline{\tilde{r}} = \begin{pmatrix} \underline{r} & \underline{r}^\eta \end{pmatrix}^{\textrm{T}}\).
For creating predictions after training, the reservoir computer needs to be synchronized to the immediate history of the starting point of the prediction to ensure that the reservoir state represents the current dynamics. After that, the predictions can be fed successively into the reservoir computer to reproduce the learned dynamics.
Classical reservoir computers utilize random initializations, rendering their study challenging since we must account for both the chosen setup and the particular realization of the random numbers. To eliminate the element of randomness in reservoir computing, we introduced minimal reservoir computers[16] as architectures defined entirely without random components. This simplifies analyzing their inner workings, as the absence of random initializations and network configurations allows for a more direct examination of the reservoir’s dynamics.
Minimal reservoir computers can be seen as deterministic subsets of classical reservoir computing approaches. In the following, we outline their definition, but want to refer to Ref. [16] for a detailed discussion.
The input data are not embedded randomly in a high-dimensional space. Instead of creating random features from the data, as done in classical RC, for minimal RC we construct the features from the set of all subset sums of the coordinates. We use all partial sums which are creatable by the coordinates and we feed multiple copies of each feature into the reservoir. The number of copies fed into the reservoir is defined by the block size \(b\) and each copy is assigned a weight in \([0,\;1]\) according to the weight vector \(\underline{w}\) given by \[\underline{w} = \begin{pmatrix} 1 & \sqrt{\dfrac{b-2}{b-1}} & \cdots & \sqrt{\dfrac{1}{b-1}} & 0 \end{pmatrix}^{\textrm{T}}\;\;\;.\] For a three-dimensional system the input matrix \(\mathbf{W}_\textrm{in}\) is constructed by \[\mathbf{W}_\textrm{in} = \begin{pmatrix} \underline{w} & \underline{0} & \underline{0}\\ \underline{0} & \underline{w} & \underline{0}\\ \underline{0} & \underline{0} & \underline{w}\\ \underline{w} & \underline{w} & \underline{0}\\ \underline{w} & \underline{0} & \underline{w}\\ \underline{0} & \underline{w} & \underline{w}\\ \underline{w} & \underline{w} & \underline{w}\\ \end{pmatrix}\;\;\;,\] resulting in the following feature vector being fed into the reservoir: \[\begin{align} \mathbf{W}_\textrm{in}\,\underline{x} = \begin{pmatrix} \underline{w} \odot \underline{x_1} & \underline{w} \odot \underline{x_2} & \cdots & \underline{w} \odot \underline{x_{1+2}}& \cdots & \underline{w} \odot \underline{x_{1+2+3}}\end{pmatrix}^{\textrm{T}}\;\;\;. \end{align}\] Here, \(\odot\) describes the element-wise multiplication between the two vectors, and for each feature \(f\), the vector \(\underline{x_f}\) is defined as \(\underline{x_f} = \begin{pmatrix} x_f & \cdots & x_f \end{pmatrix}^\textrm{T}\) to match the dimensionality of \(\underline{w}\). The subscript indicates the coordinates out of which the feature is constructed by summing over them.
Instead of using a single, big reservoir, the reservoir is constructed as several, disconnected, smaller reservoirs, which leads to an adjacency matrix in block-diagonal form. For each feature \(f\) we use a small reservoir \(\mathbf{J}_f\) consisting of a matrix of ones, meaning that each node is connected to every other node. The final reservoir is then constructed by \[\mathbf{A} = \dfrac{\rho^*}{b}\, \begin{pmatrix} \mathbf{J}_{x_1}&\mathbf{0}&\cdots&\mathbf{0}\\ \mathbf{0}&\mathbf{J}_{x_2}&\cdots&\mathbf{0}\\ \vdots&\vdots&\ddots&\vdots\\ \mathbf{0}&\mathbf{0}&\cdots&\mathbf{J}_{x_{1+2+3}}\\ \end{pmatrix}\;\;\;,\] where the scaling factor of \(\frac{\rho^*}{b}\) ensures that the reservoir \(\mathbf{A}\) has the spectral radius of \(\rho^*\). The idea of block-diagonal reservoirs has also been successfully applied to classical RC architectures[10], [32].
Unlike in classical RC architectures, in minimal RC the reservoir states are evolved purely linearly by \[\underline{r}{(t+1)} = \mathbf{A}\,\underline{r}{(t)} + \mathbf{W}_\textrm{in}\,\underline{x}{(t)}\;\;\;.\] In the original definition, the nonlinearity is added after the evolution by extending the reservoir state to a generalized reservoir state \(\underline{\tilde{r}}\) containing copies of itself raised up to a maximal power of \(\eta_\textrm{max}\) given by \[\underline{\tilde{r}} = \begin{pmatrix} \underline{r} & \underline{r}^2 & \cdots & \underline{r}^{\eta_\textrm{max}-1} & \underline{r}^{\eta_\textrm{max}} \end{pmatrix}^{\textrm{T}}\;\;\;.\] The exponentiation is understood to be applied element-wise.
However, in this article we want to introduce a slightly modified setup of the generalized states containing only the linear reservoir state and a single nonlinearity \(\eta\). The generalized reservoir state \(\underline{\tilde{r}}\) reduces to \[\underline{\tilde{r}} = \begin{pmatrix} \underline{r} & \underline{r}^\eta \end{pmatrix}^{\textrm{T}}\;\;\;.\]
Additionally, we also want to allow for fractional nonlinearities of the form \(\eta = \frac{n}{d}\), where we apply the same substitution as in Sec. 2.2 of \(\underline{r}^{\frac{n}{d}} = \sqrt[\leftroot{1}\uproot{1}d]{\underline{r}^{\,n}}\). Each operation is understood to be performed element-wise and again we only allow even numerators \(n\) in order to prevent complex-valued reservoir states.
Utilizing this reduced definition of minimal RCs, we can study the dependence between the nonlinearity present in data and the smallest nonlinearity required to successfully predict those systems.
The training and prediction routines are identical to the classical RC’s case. We train each minimal RC by performing a ridge regression of the generalized reservoir states at each time point against the corresponding output, and create predictions by iteratively inputting the previous prediction.
Sparse identification of nonlinear dynamics (SINDy)SINDy? is a method for identifying the underlying governing equations of a dynamical system using a user-defined library. The measured trajectory of a system is collected over a number of training steps in a matrix \(\mathbf{X}\). Then, based on the library \(\boldsymbol{\Theta}\) a collection of candidate terms \(\boldsymbol{\Theta}{\left(\mathbf{X}\right)}\) is built. Iterative sparse regression is then applied on this collection to identify the fewest terms that accurately represent the system’s time derivative.
The library \(\boldsymbol{\Theta}\) is of key importance in the SINDy framework as it describes all possible interactions and terms. Usually, it is built to be as large as reasonable for allowing the optimizer to find all appropriate nonlinearities to accurately describe the system at hand. Typical choices of the library include polynomial terms up to a certain degree, trigonometric functions, and exponential functions[33], [34].
However, in this article we want to use SINDy differently. Instead of providing a large selection of nonlinearities, we only provide a single nonlinearity and study the performance on the reconstruction. Additionally, we exclusively use fractional nonlinearities \(\eta\) as defined for minimal RC.
In the notation of SINDy?, we define our library for a single nonlinearity \(\eta\) as \[\boldsymbol{\Theta}{\left(\mathbf{X}\right)} = \begin{pmatrix} \vline & \vline \\ \mathbf{X} & \mathbf{X}^\eta \\ \vline & \vline \end{pmatrix}\;\;\;.\]
The terms for the fractional exponents \(\mathbf{X}^\eta\) are constructed as follows. First, we define a global list of all possible nonlinearities \(\mathbf{H} \subset \tfrac{1}{d}\mathbb{Z}^+\). For a single nonlinearity \(\eta \in \mathbf{H}\) we then use all possible terms for \(\mathbf{X}^\eta\), such that all possible permutations of coordinates, which result in the target nonlinearity \(\eta\), are included. We sketch this by \[\begin{align} \mathbf{X}^{\eta} = \left\{ \prod_{c_i \in C} c_i^{\alpha_i}\,\mathop{\mathrm{sgn}}{c_i} \;\middle|\; \right. &C \in \mathcal{P}{\left(\begin{Bmatrix}x_1&\dots&x_n\end{Bmatrix}\right)}\setminus \{\emptyset\}, \notag \\ &\left. \;\sum_{i} \alpha_i = \eta,\; \alpha_i \in \mathbf{H}\right\}\;\;\;, \end{align}\] where \(\mathcal{P}\) describes the power set and \(\mathop{\mathrm{sgn}}\) the sign function. We provide an illustration of this definition in Eq. 5 in the appendix.
We then solve the equation \(\dot{\mathbf{X}} = \boldsymbol{\Theta}{\left(\mathbf{X}\right)}\,\boldsymbol{\Xi}\) for \(\boldsymbol{\Xi}\) to obtain the weights for each term in the library. We optimize using the sequentially thresholded least squares (STLSQ) algorithmSINDy? and the parameter \(\alpha\) describes the regularization strength of the optimization in each iteration.
In this section we want to present our results and analyze the connection between nonlinearities expressed in the data and the required nonlinearities for reproducing those.
We begin our analysis with a wide grid search over all hyperparameters of minimal RCs in Fig. 2 for the Lorenz system. We want to emphasize at this point that each tile in Fig. 2 completely and uniquely describes a minimal reservoir computer instance. For minimal RCs, the repeated experiments for a certain setup solely average out the effect of different training data or put differently, being on different parts of the attractor. In contrast to classical RCs, where repeated experiments are required to control for the randomness in their construction in addition to different parts of the attractor being used for training.
For the results in Fig. 2 we utilize the traditional setup of minimal RC, where all integer exponents up to a maximal exponent \(\eta_\textrm{max}\) are used in the generalized reservoirs state \(\underline{\tilde{r}}\). We observe that the prediction is successful for a wide range of hyperparameters using a minimal data setup of only \(1\,000\) training steps. Additionally, we can report that the performance seems to increase when including higher order nonlinearities. So, including higher nonlinearities, which are not present in the data, seems to give the minimal RC more flexibility and allow a more precise approximation. Increasing the block size \(b\) leads to instabilities for higher order terms, which is why we recommend using a relatively small block size not exceeding \(b = 5\).
In our findings we also confirm that nonlinearity is required for predicting a nonlinear system, as demonstrated by the black column for \(\eta_\textrm{max} = 1\) in Fig. 2. However, how much nonlinearity is needed?
We analyze the transition from the first column of failing predictions (\(\eta_\textrm{max} = 1\)) to the second column of successful predictions (\(\eta_\textrm{max} = 2\)) in more detail. For that we apply the new fractional reservoir states for minimal RCs, meaning that the generalized reservoir states only contain two components: the linear one \(\underline{r}\) and a single nonlinear one \(\sqrt[\leftroot{1}\uproot{1}d]{\underline{r}^{\,n}}\). We sweep the nonlinearity of the minimal RC from \(\eta=1\) to \(\eta=4\) with a denominator of \(d=50\) in steps of two. We use a block size of \(b = 3\), a regularization parameter of \(\beta=10^{-6}\), and iterate through each spectral radius from \(10^{-5}\) up to \(0.5\) including \(0\). For each combination of RC exponent \(\eta\) and spectral radius \(\rho^*\) we perform twenty realizations. We train each minimal RC on \(1\,000\) points and synchronize using \(100\) points. The results are presented in Fig. 3, where we analyze the short and long-term prediction. The short-term prediction is measured using the forecast horizon, while we define a long-term prediction as successful, if the reconstructed Lyapunov exponent and the reconstructed correlation dimension do not differ more than \(0.1\) from the original value.
For the short-term prediction we clearly observe a peak, when the nonlinearity in the data corresponds to the nonlinearity of the minimal RC. We find this result to be stable for multiple hyperparameters. Interestingly, this strong connection does not hold for the long-term prediction, where a reliable reconstruction of the attractor is possible even if the nonlinearity of the minimal RC exceeds the nonlinearity of the data. Here we discover the relationship to be dependent on the spectral radius and observe that, in general, a lower spectral radius allows for a bigger deviation of the exponent of minimal RC against the exponent observed in data. This implies that for an optimal short-term prediction the exponent of the minimal RC needs to exactly match the exponent of the data, while for a reliable long-term prediction a certain, small overestimation of the exponent in the data is allowed.
So far, we have only studied the Lorenz system, which contains a single order, integer nonlinearity of two. However, we aim to explore how general our results are, which is why we expand this study on the fractional Halvorsen system with a controllable and non-integer nonlinearity in the following section.
In this section we want to expand on the results of the Lorenz system and study whether the peak at the exponent in the data is due to an oddity of the Lorenz system and the power two, or whether we can observe a more general pattern. Controlling the total nonlinearity in the Lorenz system is a nontrivial task due to the asymmetric equations and mixed nonlinearity, which is why we use the fractional Halvorsen system in Eqs. 2 .
For this experiment we set all exponents of the fractional Halvorsen system to the same value of \(\xi_i = \xi_1 = \xi_2 = \xi_3\) and test numerators ranging from \(n_i = 132\) up to and including \(n_i = 280\) in steps of two with a denominator of \(d = 50\) using a parameter of \(a = 3.98\). This corresponds to exponents ranging from \(\xi_i = 2.64\) to \(\xi_i=5.6\). The exponents for the minimal RCs are ranging from \(\eta=1.32\) to \(\xi_i=5.6\) with the same denominator and step size. We use a block size of \(b=3\), a spectral radius of \(\rho^* = 10^{-3}\), and a regularization parameter of \(\beta = 10^{-6}\). We train each minimal RC on \(5\,000\) points, synchronize using \(1\,000\) points, and perform seven runs per parameter combination. The findings for this experiment are shown in Figs. 4 & 5.
We observe a clear peak at \(\eta = \xi_i\), indicating that hitting the exact nonlinearity of the data is important for a successful prediction. Interestingly, we note that even overshooting the nonlinearity in the data will not generally improve the predictive power. The single lines in Fig. 4 increasing after \(1.5\,\xi_i\) are systems with a very low Lyapunov exponent and thus easier to predict. The bulk of interesting results lies before and around \(\eta = \xi_i\). Additionally, we want to note the width of the peak in Fig. 4, which seems to be (roughly) constant using a relative \(x\)-axis. This finding could be useful when building a non-integer library in Sec. 6.2, indicating that, for larger exponents, a less precise guess in absolute terms is required for a reasonable prediction performance than for smaller ones.
So far, we have only studied the fractional Halvorsen system with all equal exponents. Due to the symmetry of the equations and the equality of the exponents, the data only contained a single nonlinearity. Here, we want to systematically study the inclusion of two different exponents.
For this case we set \(\xi_1 = \xi_2 = \xi_{1,2}\) in Eqs. 2 and set it to differ from \(\xi_3\). For \(\xi_{1,2}\), \(\xi_{3}\), and \(\eta\) we use numerators ranging from \(n = 54\) up to \(n = 280\) in steps of two with a denominator of \(d=50\). This corresponds to values from \(\eta_{\textrm{min}}=1.08\) to \(\eta_{\textrm{max}}=5.6\) for all exponents. We use a parameter of \(a=3.98\). For each set of parameters, we perform five experiments.
We show the results in Fig. 6. We order the values such that \(\xi_\textrm{s} = \min{\left( \xi_{1,2},\;\xi_3 \right)}\) and correspondingly \(\xi_\textrm{l} = \max{\left( \xi_{1,2},\;\xi_3 \right)}\). We do this simplification since we find that the results do not change depending on the ordering of the two exponents. For the sake of readability, we define the relative distance between them as \[\label{equ:notation-xi-ab} p\,\xi_{a\to b} \coloneq \xi_a + p\,\left(\xi_b - \xi_a\right)\;\;\;.\tag{3}\]
While we cannot find a quantitative pattern in Fig. 6, we can make qualitative statements about this experiment. Looking at the interval \(\left[\eta_{\textrm{min}},\;\xi_\textrm{s}\right]\) we find the previous pattern of the prediction performance increasing until we hit the first nonlinearity of the data. In the interval \(\left[\xi_{\textrm{s}},\;\xi_\textrm{l}\right]\) between the two nonlinearities of the data, there is neither a clear pattern nor consistent peaks. The last interval \(\left[\xi_{\textrm{l}},\;\eta_{\textrm{max}}\right]\) shows again a familiar pattern of the performance decreasing when the exponent of the minimal RC gets larger than the exponent present in the data. The interesting finding of this experiment is the peaking of the prediction performance at \(\xi_\textrm{s}\) and \(\xi_\textrm{l}\): The prediction performance is best when one of the nonlinearities is hit. Unexpectedly, the smallest one seems to be the most important one providing the most contribution to a successful prediction.
This indicates that for mixed nonlinearities we do not observe a significant improvement after including the smallest nonlinearity. It seems that including the smallest nonlinearity is more important than finding all of them. This is an important finding, since real-life data cannot be expected to contain only a single nonlinearity, and this finding hints that finding the smallest one is the most valuable one regarding the prediction performance.
In this section, we want to complete the analysis of the fractional Halvorsen system by studying the case where all three exponents differ from each other. A coordinated study, as performed in previous sections, is not feasible due to the huge number of possible combinations. Instead, we randomly pick three numerators from \(52\) to \(280\) with the common denominator of \(50\) for the exponents \(\xi_i\), and, if the trajectory is a valid chaotic system, we sweep the nonlinearity of the minimal RC from \(\eta_\textrm{min}=\frac{52}{50}\) to \(\eta_\textrm{max}=\frac{280}{50}\) in steps of two in the numerator. The exponents are ordered by magnitude and named \(\xi_\textrm{s} < \xi_\textrm{m} < \xi_\textrm{l}\). We want to test whether our qualitative result of the previous section also holds for the case of three different exponents.
The results are presented in Fig. 7, where we can confirm the pattern of Fig. 6, in which the error of the predicted correlation dimension drops to zero as soon as the nonlinearity of our estimator exceeds the smallest nonlinearity of the data. Due to the small number of trajectories, other patterns are not qualitatively testable in Fig. 7. Nevertheless, confirming the special situation of the smallest nonlinearity present in data is an important finding.
From our findings, we identify two possible applications. The first application consists of determining the smallest nonlinearity present in the data, by sweeping the nonlinearity in the minimal RC model and observing its output. For the second application we want to take the findings from minimal RC and apply them to traditional RC architectures by extending traditional RCs with fractional nonlinearities.
A possible application of this framework consists of discovering the smallest nonlinearity present in data. We have shown previously that the correlation dimension of the predicted values approaches the correlation dimension of observed data for the first time if the exponent of the minimal RC matches the smallest exponent present in the data. We can use this observation to build a test for the smallest exponent present in data.
For that, we first determine the correlation dimension of the time series. We then sweep through a range of non-integer exponents for the minimal RC. For each exponent we calculate the correlation dimension of the predicted time series. We repeat the same for surrogate versions of the time series, in order to assure that the observed effect really stems from the nonlinearity of the data. When the predicted correlation dimension matches the true one and is outside the surrogates ones, we found an approximation for the smallest nonlinearity present in data. If the measure of the time series does not exceed the surrogate measure, the determination of a smallest nonlinearity failed with this method.
We test our method on some chaotic systems with known nonlinearity, some real-world data with unknown nonlinearity, and present the results in Tab. ¿tbl:tab:reconstructed-nonlinearities? and Figs. 9f. In Sec. 6.1.1 we then benchmark our results against classical RCs and SINDy.
The chaotic systems of choice are the Lorenz system, the classical Halvorsen system with \(\xi_i=2\), and the Thomas system. We parameterize our minimal RCs with a block size of \(b=3\), a target spectral radius of \(\rho^*=0.1\), and a regularization parameter of \(\beta=10^{-6}\). We synchronize our model using \(100\) data points and train it on \(1\,000\) data points. The nonlinearity exponent \(\eta\) is swept from \(\frac{52}{50}\) to \(\frac{280}{50}\) in steps of two in the numerator. Fig. 9 shows the result for the Lorenz system and the Thomas system.
For the Lorenz system we observe the predicted correlation dimension to rise very quickly when the nonlinearity in the minimal RC model approaches two, the nonlinearity in the data. The value for the correlation dimension differs significantly from the surrogate background rendering our estimate of it confident. Interestingly, for the Thomas system the correlation dimension becomes a computable number, and instantly reaches the correlation dimension of the data for an exponent of \(2.92\), which is very close to \(3\). The Thomas system has its nonlinearity in the sine function, and an exponent of \(3\) constitutes the first nonlinear term of its Taylor approximation. We note that the predicted correlation does not stand out strongly from the linear surrogate background, as it does for the Lorenz system. A possible explanation for this is that the Thomas system contains only a small degree of nonlinearity. This can be seen in its largest Lyapunov exponent of \(\lambda \approx 0.01\), which is barely positive (compared to \(\lambda \approx 0.9\) for the Lorenz system). Additionally, the terms in the Taylor approximation of the sine function scale with the factorial of the exponent, keeping the nonlinear effect apparently small. Nevertheless, it is interesting that the observed smallest nonlinearity seems to correspond to the first nonlinear term of the Taylor expansion. We have seen that for synthetic systems we are able to coarsely determine the smallest nonlinearity present in data making us confident to apply this method to real world data.
For the financial data we perform our test on three different stock indices: the MSCI World Index tracking publicly traded large- and mid-cap companies across the developed world; the S&P 500 Index tracking the 500 largest, publicly traded, U.S. companies; and the STOXX Europe 600 Index covering 600 publicly traded, European companies spanning from small- to large-cap. For each index we use the daily closing value starting from 1st March 2005 up to 31st January 2025 for calculating the daily return (percentage change). This results in roughly \(5\,000\) data points for each index. We use the daily returns, since there is evidence that they are (weakly) stationary[35] making it appropriate for our setup. For each index we use the same parameterization for the minimal RCs consisting of a block size of \(b = 5\), a spectral radius of \(\rho^* = 0.99\), and a regularization parameter of \(\beta=10^{-6}\), and we use the first \(500\) steps as synchronization steps.
The results are presented in Tab. ¿tbl:tab:reconstructed-nonlinearities?, where we can see that the test was successful for each index and we are able to determine a minimal nonlinearity for each. Here, we note that predicting the stock indices was obviously unsuccessful. However, it seems that the unsuccessful prediction was enough to capture the nonlinearity in the data, as we observe a peak like in Fig. 10 for every index.
We find it difficult to put our findings into context, as comparable studies exploring the smallest nonlinearity in financial data have not yet been conducted. Therefore, our results should be viewed as an exploratory proof-of-concept demonstration rather than conclusive evidence for existence of underlying nonlinearities in financial data. Given the well-known stochasticity of financial data[36] any attempt to infer deterministic structure must be approached with caution, as nonlinear effects identified by our method could also be influenced by transient effects (e.g., market reactions to interest rate cuts) or structural breaks (e.g., sudden regime shifts during crises). Such events may lead to an overestimation of deterministic structure. Nevertheless, we find the observed patterns compelling, and believe they warrant continued investigation into the role of nonlinearity in financial markets.
Additionally, we note at this point that this proposed method is not guaranteed to work for arbitrary datasets. It can happen, as it did in our case for the Atlantic meridional overturning circulation (AMOC) dataset[37], that the reconstruction fails. The reconstructed correlation dimension does not exceed the surrogate background and does not meet the correlation dimension measured in the dataset. However, this does not imply that the dataset does not contain any nonlinearity. Instead, it simply means that our method is not able to detect any nonlinearity. In the case of the AMOC data it may simply be due to the fact that not enough training data was available as the AMOC time series is considerably shorter than that of the financial data. Further, in-depth analyses are required to identify the necessary prerequisites for the method to work for real data. Nevertheless, the results on financial data already point to the fascinating possibility of being able to derive the degree of nonlinearity of the underlying process for a real dataset.
To estimate the smallest nonlinearity present in a dataset, we recommend the following procedure to practitioners: First, identify a suitable parametrization of the full minimal reservoir computer that reliably models the system, using techniques like Bayesian optimization if needed. Next, define a list of candidate fractional nonlinearities with a resolution adapted to the available computational resources. Finally, apply the reduced minimal RC framework with a single nonlinearity across this list to both the original data and its surrogate versions. The first performance peak, where the model outperforms surrogates, can then be interpreted as an estimate of the smallest nonlinearity in the data.
Minimal RCs, as a subset of classical RCs, are conceptually very similar to SINDy models, as both use a library to construct nonlinear features from data. For this reason, we benchmark our results against classical RCs and SINDy.
For classical RCs, we use the same approach as for minimal RCs, employing fractionally exponentiated, generalized reservoir states. We use two different reservoir sizes in our experiments: a small network with \(d=100\) nodes and a large network with \(d=1\,100\) nodes. For each setup we use random networks created by the Erdős–Rényi algorithm[38] and use a target spectral radius of \(\rho^* = 0.2\). We synchronize the reservoir to the data using \(1\,000\) data points and train on \(4\,000\) steps performing a ridge regression with a regularization parameter of \(\beta=10^{-4}\). We use fractions ranging from \(\frac{4}{50}\) to \(\frac{400}{50}\) in steps of \(\frac{4}{50}\) as fractional exponents for the additional nonlinearity.
Using this setup, we were not able to reconstruct the smallest nonlinearity of the Lorenz system. In line with the results from [30] and our later results in Sec. 6.2, we note an improved performance when introducing generalized reservoir states. However, the increase is independent of the amount of nonlinearity making it impossible to reconstruct the underlying nonlinearity.
We use our fractional library to study whether we can reconstruct the smallest nonlinearity using SINDy. We use the global nonlinearities \(\mathbf{H} = \left\{\frac{10}{50},\,\frac{20}{50},\,\dots,\,\frac{300}{50}\right\}\) and use each \(\eta \in \mathbf{H}\) to construct a nonlinear library with a single nonlinearity. Due to the comparatively large library, we employ a relatively large parameter value of \(\alpha=10\) to enforce sparsity. We train each SINDy model on \(5\,000\) time steps.
The results are shown in Tab. ¿tbl:tab:reconstructed-nonlinearities?, where we can see that the reconstruction fails for the real-world datasets. However, for the synthetic systems we find rather interesting results. For the Lorenz system we find that a nonlinearity of \(\frac{60}{50}\) is sufficient to reproduce a slightly ‘wobblier’ version of the attractor which, nevertheless, has the correct correlation dimension. As in our previous work[39], we again find different sets of differential equations that produce a chaotic, butterfly-shaped attractor—this time even with different nonlinear terms as compared with the original set of the Lorenz equations. They are obviously not the only ones that produce this very butterfly-shaped attractor.
In Fig. 8 we show a comparison of the three different attractors: the real one, the one reconstructed with minimal RC, and lastly the one reconstructed with SINDy. All three show the same butterfly-like shape and are visually virtually indistinguishable. However, they all rely on vastly different amounts of nonlinearity.
It seems that SINDy is more stable than minimal RC and requires way less nonlinearity than present in data to successfully approximate a trajectory. While an interesting result, especially the alternative descriptions of the chaotic systems, we find it to be not suited for discovering the smallest ‘true’ nonlinearity present in data.
| System | \(\mu_\textrm{real}\) | \(\mu_\textrm{minRC}\) | \(\mu_\textrm{SINDy}\) |
|---|---|---|---|
| Lorenz | 2 | 1.88 | 1.2 |
| Classical Halvorsen | 2 | 1.96 | failed |
| Thomas | \(3\) | 2.92 | 1.8 |
| MSCI World Index | n.a. | \(3.12\) | failed |
| S&P 500 Index | n.a. | \(1.64\) | failed |
| STOXX Europe 600 Index | n.a. | \(5.32\) | failed |
| AMOC | n.a. | failed | failed |
For the second application we want to transfer our findings discovered for minimal RCs to the traditional RC architecture. While generalizing reservoir states is not a new idea[30], [31], we propose extending this idea with fractional powers. We have seen that minimal RCs work best, when the generalized reservoir state contains the nonlinearity present in the data. For this reason, we propose including fractional powers of the reservoir states in minimal RC. To determine the number of powers to include, we revert to our results from Sec. 5.2 in Fig. 4: inspired by the full width at half maximum metric commonly used in optics, we calculate the full width at \(75\%\) from the peak performance in Fig. 4. While we only used a parameter of \(a=3.98\) for Fig. 4, we extend the study for Fig. 11 to include parameters of \(a=1.58\) and \(a=1.80\), in order to get a feeling for the width at lower powers. The results are shown in Fig. 11, where we see the width for \(75\%\) of the peak performance staying constant across all exponents and different parameters, indicating faintly that this result may be generalizable.
With this finding we can choose fractional exponents whose width will cover the whole space between two integers. One possible realization of these exponents can be constructed with \[\label{equ:spacing} \underline{\tilde{r}}_{[1,\;2]} = \begin{pmatrix} \underline{r}^1 & \underline{r}^{\tfrac{54}{50}} & \underline{r}^{\tfrac{66}{50}} & \underline{r}^{\tfrac{78}{50}} & \underline{r}^{\tfrac{90}{50}} & \underline{r}^2 \end{pmatrix}^\textrm{T}\;\;\;.\tag{4}\] Here, the subscript \([1,\;2]\) indicates that the fractions simply represent the spacing between the integer powers \(1\) and \(2\), and this idea can be generalized up to an arbitrary integer power. In later applications we extend them to span up to an integer power of \(3\). We find our results to be robust against the exact choice of fractional powers. While we acknowledge this being a rather rudimentary approach with room to improvement for finding the optimal fractional powers, we find this approach sufficient for the scope of this work.
We want to test whether the findings for minimal RCs can be transferred to work on traditional RCs. We perform this test by predicting the Lorenz system using three different architectures: firstly, we use a RC with a dimensionality of \(d=100\). The new architecture also uses a dimensionality of \(d=100\) but generalizes the reservoir states \(\underline{r}\) to \(\underline{\tilde{r}}\) by including fractional powers of the reservoir state up to a power of \(3\) with the spacing of Eq. 4 . However, since including these additional powers increases the size of the output matrix by a factor of 10, we need to test our proposed change against a reservoir resulting in the same sized output matrix. This results in a third RC model of with a dimensionality of \(d=1\,100\). For all three models we use the same hyperparameters: a spectral radius of \(\rho^*=0.2\) on a random network and a regularization parameter of \(\beta=10^{-4}\). We train all models on \(4\,000\) data points and use \(1\,000\) data points for the synchronization phase.
While we see in Fig. 12 that the small reservoir with fractional reservoir states performs worse than the large reservoir, it easily outperforms the standard small reservoir. Therefore, we can improve the performance of small reservoirs by generalizing their reservoir states to include fractional powers. This approach can be used to enhance the performance of physical RC implementations in situations where increasing the reservoir size is not feasible due to constraints in the hardware fabrication process, such as the limited number of neurons available on neuromorphic chips or increasing production costs associated with larger physical reservoirs[40].
For practitioners, we note that the exact choice of fractional exponents is not critical. Instead, what matters most for small reservoirs is the presence of fractional nonlinearities, not their precise values. The proposed spacing in Eq. 4 offers a practical template that balances expressiveness and complexity. Importantly, the number of fractional terms included should be adapted to the size of the available training data, as too many features can lead to overfitting. This fractional augmentation offers a computationally efficient way to enhance prediction quality in resource-constrained settings without increasing reservoir size.
In this work we systematically explored the relationship between the nonlinearities in input data and those introduced in RC models. Building on the minimal RC framework, we proposed a tailored architecture with a single, tunable nonlinearity parameter, allowing us to isolate and precisely control the degree of nonlinearity in the model. Using a novel fractional Halvorsen system, we generated chaotic datasets with adjustable nonlinear structure and evaluated the prediction performance across a wide range of reservoir states nonlinearities.
While we restricted ourselves to even numerators to avoid imaginary-valued reservoir states, the idea of studying imaginary reservoir states presents a compelling direction for future research.
Through extensive experiments, we found that short-term forecasting performance is maximized when the nonlinearity in the minimal RC model matches the nonlinearity of the input data. In other words, the best predictions occur at a tuned ‘nonlinearity match’ between data and model, whereas mismatches, by using a model that is too linear or too nonlinear relative to the data, consistently degrade performance. This confirms our core hypothesis and directly demonstrates that optimally tailored reservoir states yield superior results.
Our work strongly corroborates the ‘Catch-22’1 described by [41]. Specifically, their results show that NGRCs perform well only when the exact governing terms of the system are known; but if those are known, there is no need for a machine learning model. We observe the same pattern using minimal RCs. The best performance is achieved when the nonlinearity of the model matches the nonlinearity of the data. This represents a limitation of such models and emphasizes the importance of developing reliable methods for inferring the underlying system structure directly from data. Conversely, these results support the idea that the success of classical RCs lies in their ample spectrum of nonlinearities.
However, importantly, we also observed that for systems with multiple nonlinearities, it is often the smallest nonlinearity in the data that dominates prediction performance. This insight enables us to use our framework in reverse: By sweeping through model nonlinearities and observing the resulting performance, we were able to estimate the minimal nonlinearity present in a given time series. While we were not able to observe effectiveness across all datasets studied, applying this method to both synthetic and real-world financial data demonstrated its practical value in uncovering underlying nonlinear structures.
Interestingly, when applying SINDy with a restricted fractional library, we were able to identify governing equations that reproduce the characteristic butterfly-shaped Lorenz attractor using nonlinearities significantly smaller than two, suggesting that simpler functional forms can approximate complex dynamics under certain conditions.
Finally, we transferred our findings to classical RC architectures and demonstrated that incorporating fractional, generalized reservoir states leads to an improvement in predictive performance. This has direct implications for physical RC platforms, where increasing the number of reservoir nodes may not be feasible due to hardware or economic constraints. By enhancing the expressiveness of the reservoir through non-integer polynomial transformations—–rather than scaling the system size—–we enable a more compact yet powerful representation of the input dynamics. This approach offers a structured way to increase the abilities of physical reservoirs without increasing their structural complexity, making it a viable strategy for high-performance prediction in embedded or resource-constrained environments.
Our work offers both a theoretical and practical step forward in understanding and designing reservoir computers that are better aligned with the complexity of the data they aim to model.
We would like to thank Allianz Global Investors for providing data and computational resources.
The data that support the findings of this study are available from the corresponding author upon reasonable request.
Here, we want to define the methods used for quantifying the quality of a prediction. As in similar work, we use the forecast horizon to quantify the short-term prediction power. The so-called long-term ‘climate’ of an attractor is measured by the largest Lyapunov exponent in combination with the correlation dimension.
The Lyapunov exponent formalizes the concept of sensitive dependence on initial conditions of chaotic systems. Defining the distance \(\delta\) between two nearby points \(\underline{x}\) and \(\underline{x} + \underline{\varepsilon}\), experimentally an exponential increase of this distance \(\delta\) can be observed for chaotic systems modeled by \[\delta(t) = \delta(0)\,\exp{\lambda\,t}\;\;\;.\] Here, \(\lambda\) describes the largest Lyapunov exponent and is a measure for how fast two nearby trajectories diverge.
We calculate the largest Lyapunov exponent from the data using the algorithm introduced by [42]. For this, we track the evolution of initially close points in phase space by identifying nearest neighbors in the time series and measuring the average logarithmic divergence over time. The slope of this divergence, computed over a selected time interval yields an estimate of the maximal Lyapunov exponent. To ensure valid comparisons, pairs of points are filtered to avoid temporal proximity and to allow sufficient forecast length.
Using the largest Lyapunov exponent \(\lambda\), a Lyapunov time \(\tau_\lambda \coloneq \lambda^{-1}\) can be defined, representing the characteristic time scale over which trajectories in phase space remain close. This quantity acts as a natural reference time scale for analyzing and contrasting the dynamics of various systems.
The correlation dimension is a widely used measure to estimate the fractal dimensionality of strange attractors and provides insight into the geometric complexity of a system’s long-term behavior. It is based on the idea of quantifying how the number of point pairs within a certain distance \(r\) scales with \(r\) itself. The correlation sum \(\mathcal{C}(r)\) is defined as the fraction of pairs whose mutual distance is smaller than \(r\) by \[\mathcal{C}(r) = \lim_{N \to \infty} \frac{1}{N^2} \sum_{t_1\neq t_2} \Theta{\left( r - \lVert \, \underline{x}(t_1) - \underline{x}(t_2) \rVert \right)}\;\;\;.\] Here, \(\Theta\) is the Heaviside step function returning one when the distance is smaller than \(r\) and zero when the distance is larger than \(r\).
Experimentally it has been discovered that for self-similar, strange attractors the power law \[\mathcal{C}(r) \sim r^C\] holds over a range of \(r\). To define a meaningful range of radii, we compute the lower and upper bounds as the 5th and 95th percentiles of all pairwise distances, respectively. This ensures that the correlation sum is evaluated over a scale that captures the system’s spatial structure.
The scaling factor of the power law \(C\) is the correlation dimension and describes how densely the points fill space as the scale \(r\) decreases.
We calculate the correlation dimension using the algorithm by [43] by embedding the time series in phase space and estimating how the number of point pairs within a radius \(r\) scales with \(r\). To do this efficiently, we organize the data using a binary space-partitioning data structure that stores the points in a \(k\)-dimensional space[44]. Using this structure, we compute the correlation sum \(\mathcal{C}(r)\) over a range of radii \(r\). The slope of the double logarithmic graph of \(\mathcal{C}(r)\) over \(r\) yields the correlation dimension \(C\).
For quantifying the short-term prediction, we use the forecast horizon as a measure that describes the time for which the error between the true trajectory \(\underline{x}\) and the predicted trajectory \(\underline{x}_\textrm{pred}\) is smaller than a threshold \(\underline{\Delta}\) in each coordinate. For each coordinate, we calculate the maximal time the error is below the threshold with \[\underline{v} = \mathop{\mathrm{arg\,max}}_t \left\{ \left| \, x_i(t) - x_{i,\,\textrm{pred}}(t)\right| < \Delta_i \right\} \;\;\;.\] The \(\mathop{\mathrm{arg\,max}}\) function is applied element-wise. We use the standard deviation \(\sigma\), applied element-wise as the threshold \(\underline{\Delta}\) with \(\underline{\Delta} = \sigma{\left( \underline{x}\right)}\).
The forecast horizon \(v\) is then defined as the minimal time across all coordinates during which the prediction error stays below the threshold by \[v = \min \underline{v}\;\;\;.\]
In order to compare the forecast horizon across different systems, we define it in multiples of Lyapunov times as \[v_\lambda = \frac{v}{\tau_\lambda} = v\,\lambda\;\;\;.\]
In the SINDy framework, the library of all possible nonlinearities is of key importance as it constrains the dynamics of the system to certain terms. Here, we want to illustrate our definition of the library with a concrete example. We present our definition using the same configuration as in our experiments. Namely, we use a global list of all possible nonlinearities constructed as fractions with a denominator of \(50\) and the numerator ranging from \(10\) to \(300\) in steps of \(10\) as \[\mathbf{H} = \left\{ \dfrac{10}{50},\,\dfrac{20}{50},\,\dots,\,\dfrac{300}{50}\right\}\;\;\;.\] For a nonlinearity \(\eta\), we then use all combinations of terms that can be built from \(\mathbf{H}\) and result in that nonlinearity. E.g., for \(\eta=\frac{80}{50}\) the library will contain the nonlinear terms given by
\[\label{equ:sindyexample} \mathbf{X}^{\frac{80}{50}} = \begin{pmatrix} a^{\frac{80}{50}} & a^{\frac{10}{50}}\,b^{\frac{70}{50}} & a^{\frac{20}{50}}\,b^{\frac{60}{50}} & \cdots & a^{\frac{40}{50}}\,b^{\frac{40}{50}} & a^{\frac{10}{50}}\,b^{\frac{10}{50}}\,c^{\frac{60}{50}} & \cdots & a^{\frac{20}{50}}\,b^{\frac{30}{50}}\,c^{\frac{30}{50}}\\ \vdots & & & & & & & \vdots \end{pmatrix}\;\;\;.\tag{5}\]
Here, we use the variable names \(a\), \(b\), and \(c\) instead of \(x_0\), \(x_1\), and \(x_2\) to visualize that all possible combinations are considered. \(a^{\alpha_1}\,b^{\alpha_2}\) represents \(x_0^{\alpha_1}\,x_1^{\alpha_2}\), \(x_1^{\alpha_1}\,x_0^{\alpha_2}\), \(x_0^{\alpha_1}\,x_2^{\alpha_2}\), \(x_2^{\alpha_1}\,x_0^{\alpha_2}\), \(x_1^{\alpha_1}\,x_2^{\alpha_2}\), and finally \(x_2^{\alpha_1}\,x_1^{\alpha_2}\). This is repeated analogously for single terms \(a^{\alpha_1}\) and terms containing three factors \(a^{\alpha_1}\,b^{\alpha_2}\,c^{\alpha_3}\). We omit the time dependence of the variables in our notation and imply temporal evolution through the progression of the rows as done in the original workSINDy?.
Using this method the number of possible combinations of nonlinear terms can quickly become very large depending on the spacing within the global nonlinearities \(\mathbf{H}\). In our work, we find a spacing of \(\frac{10}{50}\) to be an appropriate trade-off between granularity of the nonlinearities and size of the library. However, this method is only meant to be a proof of concept. Further in-depth studies may be required to find the optimal setup.
To fully appreciate the depth of this term, we wholeheartedly recommend the novel “Catch-22” by Joseph Heller.↩︎