2025 Volume 34 Issue 4
Article Contents

Jianmin Guo, Yao Du, Haibo Luo, Xuan Wang, Yizhen Yu, Xingang Wang. Model-free prediction of chaotic dynamics with parameter-aware reservoir computing[J]. Chinese Physics B, 2025, 34(4): 040505. doi: 10.1088/1674-1056/adb733
Citation: Jianmin Guo, Yao Du, Haibo Luo, Xuan Wang, Yizhen Yu, Xingang Wang. Model-free prediction of chaotic dynamics with parameter-aware reservoir computing[J]. Chinese Physics B, 2025, 34(4): 040505. doi: 10.1088/1674-1056/adb733

Model-free prediction of chaotic dynamics with parameter-aware reservoir computing

  • Received Date: 27/12/2024
    Accepted Date: 15/02/2025
    Available Online: 01/04/2025
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(8)

Article Metrics

Article views(459) PDF downloads(8) Cited by(0)

Access History

Model-free prediction of chaotic dynamics with parameter-aware reservoir computing

Abstract: Model-free, data-driven prediction of chaotic motions is a long-standing challenge in nonlinear science. Stimulated by the recent progress in machine learning, considerable attention has been given to the inference of chaos by the technique of reservoir computing (RC). In particular, by incorporating a parameter-control channel into the standard RC, it is demonstrated that the machine is able to not only replicate the dynamics of the training states, but also infer new dynamics not included in the training set. The new machine-learning scheme, termed parameter-aware RC, opens up new avenues for data-based analysis of chaotic systems, and holds promise for predicting and controlling many real-world complex systems. Here, using typical chaotic systems as examples, we give a comprehensive introduction to this powerful machine-learning technique, including the algorithm, the implementation, the performance, and the open questions calling for further studies.

1.   Introduction
  • Since the discovery of chaos in nonlinear dynamical systems, predicting chaotic motion has remained a topic of enduring interest across various fields.[1,2] Chaos prediction generally falls into two categories, depending on the application scenarios. The first category focuses on state evolution, where the system dynamics are fixed, and the task is to forecast how the system will evolve in the future based on past information. This approach is applied in tasks such as weather forecasting, stock market prediction, and population evolution interference. Although the inherent sensitivity of chaos excludes long-term predictions, short-term forecasts are feasible if accurate models of the system dynamics are available. The second category addresses the bifurcation diagram, exploring how a small change in the system parameters might affect its dynamics. Typical examples of this kind include climate systems, neural networks, and ecosystems. In these cases, numerical methods can provide insights, but, again, the applicability of the methods depends on the availability of accurate models. However, for real-world chaotic systems, precise models are generally lacking, what are available are only measured data, rendering data-driven prediction of chaotic systems a challenge of paramount interest in nonlinear science.[1,2]

    Whereas sophisticated techniques have been developed in the literature for predicting chaos based on measured data, the techniques are generally system-dependent (different techniques are adopted for different systems and prediction tasks), and the success of the techniques relies heavily on the complexity of the system dynamics. For instance, the technique of sparse optimization has been proposed for finding the governing equations of chaotic systems from measured data, yet it applies to only cases where the system functions contain a small number of elementary mathematical terms.[3,4] A new approach proposed recently for predicting chaos involves exploiting the deep-learning techniques in machine learning. In particular, the technique of reservoir computing (RC) has been employed to predict chaos in different systems, and great successes have been achieved.[5–16] The RC technique was proposed in the early 2000s by Jaeger (the echo state networks) and Maass (the liquid state machine) independently,[5,6] which is a special kind of recurrent neural network (RNN) designed for processing time-sequential data. Unlike the other deep-learning techniques (e.g., the convolutional neural network, CNN), a reservoir computer contains only a single hidden layer (namely, the reservoir) and, except for the output matrix (which is to be estimated from the data through a training process), all other settings of the machine are fixed at the construction, including the input matrix, the reservoir network, and the updating rules. This feature makes RC appealing and favorable in applications when data is scarce and computational resources are limited (i.e., edge devices). Though structurally simple, RC has shown great potential in many data-oriented applications,[17–19] e.g., speech recognition, channel equalization, robot control, and chaos prediction. For instance, it has been demonstrated that a properly trained RC is able to predict accurately the state evolution of typical chaotic systems for more than half a dozen Lyapunov times,[6] which is much longer than the prediction horizon of the traditional methods developed in nonlinear science. Besides predicting the short-term state evolution, RC is also able to replicate faithfully the long-term statistical properties of chaotic systems, e.g., the dimension of strange attractors and the Lyapunov exponents.[7,8] Very recently, the RC technique has also been applied successfully to predicting high-dimensional spatiotemporal systems by a parallel scheme,[20,21] holding promise in dealing with real-world complex systems.

    While initial studies of RC focus on the prediction of state evolutions (the first category of chaos prediction), recent attempts have begun to exploit RC for inferring the bifurcation of the system dynamics based on partial observations (the second category of chaos prediction). Different from state-evolution predictions, the general question in bifurcation prediction is: Given the time series measured at a few system states of distinct parameters, what happens to the system dynamics if the parameter is changed to a new one? The standard RC technique, which is designed for predicting chaos evolution, fails to address this question, as what the machine learns from the training data is the system dynamics associated with a specific parameter. To make the RC technique capable of predicting new dynamics not included in the training data, it is necessary to endue the machine with the ability of knowledge transfer. Specifically, the dynamical information of the target system that the machine learned from the sampled states can be transferred and used to predict the dynamics of a new state.

    One approach to achieving knowledge transfer in RC is introducing a control channel to the standard algorithm, with the bifurcation parameter serving as the additional input.[22–33] In this approach, in addition to the time series of the sampling states, the machine is also fed with the bifurcation parameter that generates the data. In the training phase, the time series of the sampling states are fed into the machine through the state channels in sequence, and the associated bifurcation parameters are also inputted through the parameter channel. In the predicting phase, the machine is fed with the bifurcation parameter only, while its outputs are used as the inputs in the state channels. As the machine is evolving under the “supervision” of the bifurcation parameter in both the training and predicting phases, this approach is termed parameter-aware reservoir computing (PARC) in Refs. [24,25]. It is demonstrated that the new machine is able to not only replicate accurately the dynamics of the sampling states, but also infer faithfully the statistical properties of the system dynamics under new bifurcation parameters. In Ref. [24], the PARC technique is applied successfully to the prediction of critical transitions of chaotic systems, in which the training data are acquired from the normal states, and it is shown that the trained machine is able to predict not only the occurrence of crises but also the transient time of system collapse. In Ref. [25], the PARC technique is exploited to infer the transition path from desynchronization to synchronization in coupled systems, where the sampling states are taken from the desynchronization regime while the trained machine is able to anticipate the critical coupling for achieving synchronization. Similar results are also obtained for coupled systems showing amplitude death, as reported in Ref. [26]. In Ref. [27], this technique is applied to nonlinear Hamiltonian systems, and it is demonstrated that the machine that is trained by the time series of a few states can reproduce the whole KAM bifurcation diagram in the phase space accurately. Applications of PARC to experimental data generated by chaotic circuits are reported in Ref. [31], in which it is shown that by the noisy signals measured at several sampling states, the machine can reproduce the whole bifurcation diagram with high precision. In addition to predicting critical transitions and new dynamics, PARC can also be employed to track the variation of the system parameter (implementing the machine reversely) and store multiple dynamical attractors (using attractor labels as parameter inputs).[33–35] Inspired by the great success achieved, growing attention has been paid in recent years to the application of PARC to the prediction and control of complex dynamical systems, as well as using theories in nonlinear and network science to explore the working mechanism of PARC.[22–33]

    The purpose of the present work is to introduce the technique of PARC to colleagues in the community of nonlinear science and complex systems, with the hope of attracting their interest to this powerful technique, either using it as a tool to address the long-standing questions in the fields or using theories in nonlinear and complexity science to explore the working mechanism of this powerful artificial neural network. The rest of the paper is organized as follows. In Section 2, we shall introduce the PARC algorithm in detail, including the machine structure, the preparation of the training data, and the three phases for implementing the machine. Applications of the PARC technique to the reconstruction of bifurcation diagrams for three typical chaotic systems, including the logistic map, the Chua’s circuit, and the Lorenz-96 climate network, will be demonstrated in Section 3. The influence of the sampling states on the prediction performance will also be discussed in this section. Finally, open questions in the study of PARC will be discussed in Section 4.

2.   Parameter-aware reservoir computing
  • Similar to the standard RC, the PARC also consists of three modules:[24,25] the input layer (input-to-reservoir), the hidden layer (reservoir network), and the output layer (reservoir-to-output). The structure of the PARC machine is schematically shown in Fig. 1(a). The input layer is characterized by the matrix Win∈ℝDr×Din, which couples the input vector u∼β(t)∈ℝDin to the reservoir network. Different from the standard RC, here the input layer contains two channels: the state channel and the parameter-control channel. The state vector acquired from the target system, u∈ℝDin−1, is inputted through the state channel, while the bifurcation parameter associated with the state, β, is inputted through the parameter-control channel. The elements of Win are randomly drawn from a uniform distribution within the range [−σ, σ]. The reservoir network contains Dr nodes, with the initial states of the nodes being randomly chosen from the interval [−1, 1]. The states of the nodes in the reservoir network, r(t)∈ℝDr, are updated as

    Here, Δt is the time step for updating the reservoir network, α ∈ (0,1] is the leaking rate, tanh represents the hyperbolic tangent function, A∈ℝDr×Dr is a weighted adjacency matrix representing the coupling relationship between nodes in the reservoir. u∼β(t)=[u(t),β(t)]T is the input vector at time t, with u the system state and β the system parameter assocaited with the state. The adjacency matrix A is constructed as a sparse random Erdös–Rényi matrix: with the probability p, each element of the matrix is arranged a nonzero value drawn randomly from the interval [−1, 1]. The matrix A is rescaled to make its spectral radius equal to λ. The output layer is characterized by the matrix Wout∈ℝDout×D∼r, which generates the output vector, v(t)∈ℝDout, according to the equation

    where r∼∈ℝD∼r (with D∼r=2Dr+1) is the new state vector transformed from the reservoir state. Specifically, we set r∼1=1, r∼i=ri for i = 2,…,Dr + 1, and r∼i=ri2 for i=Dr+2,…,D∼r. Here, Wout is the output matrix to be estimated through a training process. Except Wout, all other parameters of the RC, e.g., α, Win and A, are fixed at the construction. For the sake of simplicity, we set Dout = Din − 1 in our studies.[7,8,20]

    The implementation of PARC consists of three phases: training, validation, and prediction. The mission of the training phase is to find a suitable output matrix Wout so that the output vector v(t + Δt) as calculated by Eq. (2) is as close as possible to the input vector u(t + Δt) for t=(τ+1)Δt,…,(τ+L^)Δt, with T0 = τΔt the transient period (used for removing the impact of the initial conditions of the reservoir) and L^ the length of the training series. This is done by minimizing the cost function with respect to Wout,[7,8,20] which gives

    Here, V∈ℝD∼r×L^ is the state matrix whose k-th column is r∼[(τ+k)Δt], U∈ℝDout×L^ is a matrix whose k-th column is u[(τ + k)Δt], I is the identity matrix, and η is the ridge regression parameter for avoiding overfitting. We note that in the training phase the input data consists of two different time series: (i) the input vector uβ(t) representing the state of the target system and (ii) the control (bifurcation) parameter β(t) labeling the condition under which the input vector uβ(t) is acquired. Assuming the data are acquired from m sampling states (β ∈ {βi}, i = 1,…,m), with the time series of each state containing n^ data points, the training dataset is composed of a concatenated time series of length L^=m×n^. Please note also that the time series of β(t) is a step-function of time, as the system parameter is kept unchanged for each sampling series. The structure of the training data is schematically shown in Fig. 1(b).

    The machine that performs well on the training data might not perform equally well on the testing data. The finding of the optimal machine performing well on both the training and testing data is the mission for the validation phase. The set of hyperparameters to be optimized in the machine includes Dr (the size of the reservoir network), p (the density of the adjacency matrix A), σ (the range defining the input matrix), λ (the spectral radius of the adjacency matrix A), η (the regression coefficient), and α (the leaking rate). In our studies, the optimal hyperparameters are obtained by scanning each hyperparameter over a certain range in the parameter space using conventional optimization algorithms such as the Bayesian and surrogate optimization algorithms.[24] After finding the optimal machine, we then utilize it to infer the system dynamics, namely, the predicting phase. Figure 1(c) shows the flowchart of the machine in the predicting phase. In making the predictions, we replace uβ(t) with v(t) (so that the machine is working in the closed-loop configuration), while setting the control parameter β to a specific value of interest. As such, in the predicting phase the machine is still driven by the externally added parameter β. The output vector v(t) then gives the predictions. Still, before making the predictions, a short transient is discarded to avoid the impact of the initial conditions of the reservoir. If the mission is to predict the state evolution of the system under parameter β, the transient evolution is driven by a “warm-up” time series u∼β(t)=[u(t),β(t)]T (containing τ data points); otherwise, if the mission is to infer the statistical properties of the system dynamics, namely, the dynamics “climate”,[7] the reservoir is driven by only the parameter β during the transient period (also containing τ data points), while the input uβ(t) is replaced by the output v(t).

3.   Results
  • We demonstrate the power of PARC by employing it to infer the dynamics of three classical chaotic systems, the logistic map, the Chua’s circuit, and the Lorenz-96 climate network. In each case, the training data is composed of the time series of a handful of sampling states, while the mission is to obtain an optimized machine capable of not only replicating the observable dynamics of the sampling states, but also inferring the new dynamics not included in the training set.

  • The logistic map is described by the equation

    where x(n) is the system state at iteration n and β ∈ [0,4] is the bifurcation parameter. Without loss of generality, we choose the sampling states as generated by parameters β = 3.3 (period-2 orbit), 3.5 (period-4 orbit), 3.6 (chaotic orbit) and 3.8 (chaotic orbit). For each of the sampling states, we obtain by numerical simulation a time sequence containing 3100 successive states. The initial condition of the map is chosen randomly within the range (0,1), and data are collected after a transient of 100 iterations. Each sequence is divided into three segments. The first segment contains τ = 100 data points, which will be used as the “warm-up” sequence for removing the influence of the initial conditions of the reservoir. The second segment contains n^=2000 data points, which will be used as the training data for obtaining the output matrix. The third segment contains n^′=100 data points, which will be used as the validating data for optimizing the machine hyperparameters. The concatenation of the time series of all m = 4 sampling states, together with the associated time series of the bifurcation parameter, gives the final datasets. Specifically, the dataset used in the training phase for evaluating the output matrix contains L^=m×n^=4×2000=8000 data points, and the dataset used in the validating phase for optimizing the machine hyperparameters contains L^′=m×n^′=4×100=400 data points.

    The implementation of PARC starts with training the output matrix Wout. In doing this, we first construct a candidate machine according to a set of hyperparameters chosen randomly within a certain region in the parameter space. For simplicity, here we fix the size of the reservoir network as Dr = 100, while optimizing the machine by tuning the other hyperparameters. The ranges over which the hyperparameters are tuned are [0.01,1] for p (the density of the reservoir network), [0,3] for σ (the range of the input matrix), [0,3] for λ (the spectral radius of the reservoir), [1 × 10−10,1 × 10−2] for η (the regression coefficient), and [0.01,1] for α (the leaking rate). Having constructed the candidate machine, we next operate the machine in the open-loop configuration [see Fig. 1(a)] to evaluate the output matrix according to Eq. (3). Before inputting the training data, the machine is first fed with the “warm-up” sequence in order to remove the impacts of the initial conditions, which is done for each of the training series. [Please note that the order of the sampling series does not affect the output matrix, as depicted by Eq. (3).] The training of the candidate machine is completed once the output matrix is obtained.

    The next step is to optimize the machine based on the validation dataset. In this phase, the machine trained above is operating in the closed-loop configuration [see Fig. 1(c)], with the parameter input β being one of the sampling parameters [βi ∈ (3.3,3.5,3.6,3.8)]. Let xβi(n) and xβi′(n) be the ground truth and machine output associated with parameter βi, respectively; the performance of the machine on the validation dataset is measured by the prediction error (the cost function)

    which is averaged over the concatenated validation series (containing L^′=400 data points). In our studies, we adopt the gradient descent algorithm in MATLAB to find the optimal machine hyperparameters. To implement the algorithm, we need to define the ranges of the hyperparameters and, at each step of the optimization process, input the hyperparameters of the candidate machine and the associated prediction error. The algorithm feeds back with a new set of hyperparameters. By the suggested hyperparameters, a new candidate machine will be constructed, trained (by the training dataset), and evaluated (by the validation dataset). The same process is repeated for M = 400 rounds, and the last feedback of the algorithm gives the optimal hyperparameters. In this case, the optimal hyperparameters are (p,σ,λ,η,α) = (0.215,0.88,5 × 10−2,1 × 10−5,1). Finally, the set of optimal hyperparameters, together with the associated output matrix, defines the optimal machine, which will be used for prediction purposes.

    In the prediction phase, if the mission is to forecast the further evolution of the system state, the machine is first driven by the “warm-up” series (containing τ = 100 data points) in the open-loop configuration, and then driven by only the control parameter in the closed-loop configuration. If the mission is to infer the “climate” of the system dynamics associated with a specific bifurcation parameter, the machine is driven by only the control parameter. In the latter, predictions are made after a short transient (τ = 100 iterations) in order to avoid the impact of the initial conditions of the reservoir.

    We first demonstrate the capability of the machine in predicting the state evolution. Figure 2(a) shows the predictions (represented by red dots) made for the sampling state with the bifurcation parameter β = 3.8, together with the ground truth (represented by black dots) obtained based on model simulations. We see that the machine can predict accurately the system evolution for about 10 Lyapunov times. (The Lyapunov time is defined as the reciprocal of the largest Lyapunov exponent. For β = 3.8, the largest Lyapunov exponent of the logistic map is about Λ = 0.432.) To check whether the machine is capable of replicating the statistical properties of the system dynamics, we plot in Fig. 2(b) the returned map of the predicted states. We see that the returned maps of the predicted results and the ground truth well overlap, signifying that the dynamics “climate” is faithfully replicated. We proceed to demonstrate the capability of the machine in predicting the state evolution of a new state not included in the sampling set. Setting β = 3.82 as the input parameter (with which the largest Lyapunov exponent of the system dynamics is about Λ = 0.434), we plot in Figs. 2(c) and 2(d), respectively, the state evolution and returned map predicted by the machine. We see that the state evolution is accurately predicted for about 5 Lyapunov times, which is slightly worse than that of the sampling state shown in Fig. 2(a), but the returned map is still well replicated. The results in Fig. 2 suggest that the machine is able to forecast and replicate not only the dynamics of the sampling states, but also new dynamics not included in the sampling set.

    We next employ the machine as a “generative model” to reconstruct the bifurcation diagram of the target system. In doing this, we scan β within the range (3.2,4) by the increment δβ = 1 × 10−3 and, for each value of β, collect 500 successive outputs after a transient period of τ = 100 predictions. The predicted results are plotted in Fig. 3(a). The ground truth is plotted in Fig. 3(b). We see that the predicted bifurcation diagram reproduces the ground truth accurately, including the locations of the bifurcation points, the positions of the periodic windows, and the structure of the “dark outlines” characterizing the unstable periodic orbits. It is worth mentioning that the bifurcation diagram shown in Fig. 3(a) is constructed by a single machine that is trained on the time series of only m = 4 sampling states (denoted by vertical dashed lines in the figure), signifying that the PARC machine is able to learn from data not only the dynamics of the sampling states, but also the variation of the system dynamics with respect to the bifurcation parameter.

  • Our model of Chua’s circuit reads

    with (m0,m1,β) the system parameters. In our studies, we fix (m0,m1) = (−5/7,−8/7), while tuning β to generate different dynamics. In simulations, equation (6) is solved numerically by the 4th-order Runge–Kutta algorithm, with the time step δt = 1 × 10−3. The initial conditions of the system are randomly chosen from the range (0,1), and simulations are conducted for only the sampling parameters β = 15.15 (period-2), 15.323 (period-4), 15.496 (chaos), 15.67 (period-6). For each of the sampling states, a transient period of T = 100 is discarded before collecting the data, and the data points, u = (x,y,z), are collected at intervals of 20 time steps. The state variables are normalized to be within the range (0,1). Each sampling series contains 5100 data points, among which the first segment of τ = 100 points is used as the “warm-up” series (removing the impacts of the initial conditions of the reservoir network), the second segment containing n^=3000 data points is used for training purposes, and the remaining data points are used for machine optimization. As there are m = 4 sampling states in total, the lengths of the concatenated training and validating series therefore are L^=m×n^=12000 and L^′=m×n^′=8000, respectively.

    The training and validation processes are the same as for the logistic map, except that the cost function is replaced with

    where [xβi(n),yβi(n),zβi(n)] and [xβi′(n),yβi′(n),zβi′(n)] are the ground truth and machine output associated with parameter βi, respectively. Still, the result is averaged over the concatenated time series (n=1,…,L^ for training and n=1…,L^′ for validation purposes) and the sampling parameters [βi ∈ (15.15, 15.323, 15.496, 15.67)]. For the sampling states chosen above, the optimal machine hyperparameters are (p,σ,λ,η,α) = (0.7477,0.972,2.3 × 10−2,3 × 10−4,0.5316) (the reservoir size is fixed as Dr = 500). The optimal hyperparameters are obtained after 400 rounds of searching in the parameter space, and the searching ranges are [0.01,1] for p, [0,3] for σ, [0,3] for λ, [1 × 10−10,1 × 10−2] for η, and [0.01,1] for α. (The results are qualitatively the same when the hyperparameters are slightly changed.)

    Figure 4(a) shows the time evolution of the x variable predicted by the machine for the sampling state of β = 15.496. For this parameter, the system presents the chaotic motion, with the largest Lyapunov exponent being about Λ = 0.175. We see that the state evolution is accurately predicted for more than 10 Lyapunov times. Based on the predictions, we plot in Fig. 4(b) the attractor replicated by the machine in the (x,y) plane. We see that the replicated attractor is consistent with the ground truth, suggesting that the machine also replicates the long-term, statistical properties of the system dynamics. To check the capability of the machine in inferring the new dynamics not included in the sampling set, we set β = 15.5 as the parameter input (for which the largest Lyapunov exponent of the system dynamics is about Λ = 0.22) and plot in Fig. 4(c) the time evolution of the x variable. (Before making predictions, the reservoir is driven by a “warm-up” series containing τ = 100 data points generated from the model in order to remove the impacts of the initial conditions.) We see that for this new parameter, the prediction horizon is only about 3.5 Lyapunov times. Though the prediction horizon is significantly reduced, the machine is still capable of inferring the “climate” of the new dynamics, as depicted in Fig. 4(d).

    Utilizing the machine as a “generative model” for inferring the system dynamics, we plot in Fig. 5(a) the bifurcation diagram constructed from the predictions. In doing this, we increase β from 15.1 to 15.7 by the increment δβ = 0.001, and, for each value of β, record only the local maximum of the x variable predicted by the machine. Unlike the prediction of state evolution, here the machine is driven by only the parameter input in the “warm-up” stage (for τ = 100 iterations), while the inputs of the state channel are replaced by the machine outputs. The ground truth obtained by model simulations is plotted in Fig. 5(b). We see that the bifurcation diagram reconstructed by the machine is in good agreement with the ground truth.

  • The Lorenz-96 climate network is represented by a ring of N identical dynamical nodes (units), with the dynamics of the ith node governed by the equation[36]

    Here, i = 1,2,…,N denotes the node index and f(t) = β sin(ωt) + F is the driving force. Each node is coupled to three neighboring nodes on the ring, and the periodic boundary condition is adopted. In our studies, we set the network size as N = 5 and fix the parameters of the driving force as (ω,F) = (2,2), while treating the driving amplitude, β, as the bifurcation parameter of the system dynamics. Depending on the parameter β, the system can present periodic, quasi-periodic and chaotic motions. Our mission here is to reconstruct the bifurcation diagram of the climate network based on the time series of several sampling states.

    In simulations, equation (8) is evolved by the 4th-order Runge–Kutta algorithm with the time step δt = 1 × 10−2. The sampling states are chosen at β = 1.3 (period-1), 2.0 (chaos), 2.5 (chaos), 3.0 (chaos), 3.5 (period-5), and 3.8 (chaos). For each of the sampling states, a transient period of T = 100 is discarded before collecting the data, and the data points, u = (x1,…,xN), are collected at intervals of 5 time steps. The state variables are normalized to be within the range (0,1). Each sampling series contains 8000 data points, among which n^=6000 data points are used for training purposes and the remaining data points are used for machine optimization. As there are m = 6 sampling states in total, the lengths of the concatenated training and validating series therefore are L^=m×n^=36000 and L^′=m×n^′=12000, respectively. In searching for the optimal hyperparameters, we fix the reservoir size as Dr = 1000, and the ranges over which the hyperparameters are scanned are the same as those in Chua’s circuit. For the sampling states chosen, the optimal machine hyperparameters are (p,σ,λ,η,α) = (0.18,0.93,0.87,2.3 × 10−3,0.15).

    Figure 6(a1) shows the attractor inferred by the machine under the sampling parameter β = 2.5. The results of model simulation are plotted in Fig. 6(a2). We see that the inferred attractor resembles the ground truth very well. Setting the control parameter to β = 2.8 (which is not included in the training set), we plot in Figs. 6(b1) and 6(b2) the attractor inferred by the machine and the ground truth, respectively. Again, we see that the ground-truth attractor is well inferred by the machine. Tuning β in the range [1,4], we plot in Fig. 7(a) the bifurcation diagram inferred by the machine. Here, the bifurcation diagram is depicted by the local maximum of the variable x1. The ground-truth results are shown in Fig. 7(b). We see that the inferred bifurcation diagram agrees with the ground truth reasonably. (The inferior performance around β = 1.3 is attributed to the complicated bifurcation behaviors of the system dynamics in the region β ∈ (1,1.8).[36])

  • Besides the set of hyperparameters (p,σ,λ,η,α) associated with standard RC, an additional hyperparameter of the PARC machine is the sampling states, including the number and the location of the sampling states. As the success of PARC lies in its ability to “sense” the variation of the system dynamics with respect to the change of the bifurcation parameter, it is critically essential to “teach” the machine in an efficient manner by optimizing the sampling states. In general, better machine performance can be achieved by increasing the size of the training data, e.g., acquiring data from more sampling states, yet realistic concerns (e.g., experimental cost and limitations) render such an approach not always feasible. Given that the number of sampling states is fixed, a plausible approach to improve the machine performance would be choosing the sampling states appropriately. In what follows, we take the inference of the bifurcation diagram of Chua’s circuit as an example, and demonstrate how the machine performance is affected by the number and location of the sampling states.

    We demonstrate first how the machine performance is affected by the number, m, of the sampling states. Figure 8(a) shows the bifurcation diagram inferred by a new machine trained by the time series of m = 3 sampling states, β = (15.15,15.41,15.67), with the length of each sampling series kept unchanged. (The system dynamics is chaotic for β = 15.41.) Compared to the results shown in Fig. 5(a) (in which m = 4), we see that in Fig. 8(a) the bifurcation diagram in the region β ∈ (15.65,15.7) is clearly different from the ground truth [see Fig. 5(b)]. Figure 8(b) shows is the bifurcation diagram inferred by a new machine trained by the time series of m = 5 sampling states, β = (15.15,15.28,15.41,15.54,15.67). (The system exhibits the period-4 and chaotic orbits for β = 15.28 and 15.54, respectively.) We see that compared with the results shown in Fig. 5(a) (in which m = 4), the accuracy of the inferred bifurcation diagram is improved. Specifically, the crisis transition from chaos to period-3 orbit (around β = 15.65) is well reproduced in Fig. 8(b), which is not well captured in Fig. 5(a). Results thus show that by increasing the number of sampling states, the machine performance can be improved.

    We demonstrate next how the machine performance is affected by the location of the sampling states. Figure 8(c) shows the bifurcation diagram inferred by a new machine trained by the time series of m = 4 sampling states, β = (15.15,15.3,15.41,15.67). (The system presents the period-3 orbit for β = 15.3.) Compared to the results shown in Fig. 5(a), here the number of sampling states is still m = 4, but the locations of the 2nd and 3rd sampling states have been changed. In particular, the 2nd sampling state is changed from β = 15.323 (period-4) to 15.3 (period-4), while the 3rd sampling state is changed from β = 15.496 (chaos) to 15.41 (chaos). Compared to the results shown in Fig. 5(a), we see that in Fig. 8(c) the bifurcation diagram is clearly different from the ground truth [see Fig. 5(b)] in the region β ∈ (15.65,15.7). Changing the 2nd and 3rd sampling states to β = 15.41 (chaos) and to 15.54 (chaos), respectively, we plot in Fig. 8(d) the bifurcation diagram inferred by the new machine trained by the new data. Compared to the results shown in Fig. 5(a) (where β ∈ (15.15,15.323,15.496,15.67)), we see that in Fig. 8(d) the bifurcation diagram is slightly improved, e.g., the crisis transition around β = 15.65 is smooth in Fig. 8(d) but is discontinous in Fig. 5(a). Clearly, the machine performance depends on the location of the sampling states.

    Combining the results shown in Figs. 5(a) and 8, we have the following suggestions for the selection of the sampling states. First, the sampling states should be distributed evenly over the parameter space, as interpolations seem better than extrapolations in inferring new system dynamics. This feature can be partially seen by comparing Fig. 5(a) (in which the sampling states are evenly distributed in the parameter space) with Fig. 8(c) (in which the sampling states are unevenly distributed). Second, the sampling states should cover different dynamics regimes. While chaotic orbits do provide rich information about the system dynamics, periodic orbits are also important for the machine to “sense” the variation of the system dynamics with the bifurcation parameter. Comparing the results in Fig. 8(a) (in which the sampling states include 2 periodic states and 1 chaotic state) and Fig. 5(a) (in which the sampling states include 3 periodic states and 1 chaotic state), we see that in the latter the machine performance is significantly improved by adding a periodic state. Finally, while the machine performance can be improved in general by adopting more sampling states [as depicted in Fig. 8(b)], this approach will largely increase the cost (including data acquisition and computational resources), making the optimization of the sampling states an interesting question warranting further study.

4.   Discussion
  • Whereas growing attention has been paid to PARC in recent years, and the power of this technique has been well demonstrated in a variety of applications, open questions have also arisen concerning the working mechanism, algorithm design, and application of PARC. Some of the questions are as follows.

    (i) The working mechanism of PARC The merit of PARC lies in the generalization ability of the knowledge from the sampling states to the new states, namely, the ability of knowledge transfer.[11] This ability, which is lacking in standard RC, is realized by the parameter-control channel in PARC. While evidences show that the dynamics of the reservoir network undergo rich bifurcation behaviors when the control parameter (or some of the machine hyperparameters) is changed, it remains not clear how the control parameter participates in the training and predicting processes. For instance, the ability of knowledge transfer indicates that the machine might learn the dynamical functions and the bifurcation parameter of the target system separately, yet the coupling mechanism between the dynamical functions and the bifurcation parameter is still unknown. For this reason, we are unable to tell whether the PARC technique is applicable when facing a new dynamical system, and, if applicable, how to optimize the location of the sampling states in preparing the training data.

    (ii) Inferring the dynamics of high-dimensional complex systems Though the PARC technique has been justified as efficient for inferring the low-dimensional dynamical systems, its applicability to high-dimensional, spatiotemporal chaotic systems is yet to be checked. In particular, many real-world systems are represented by heterogeneous complex networks of coupled dynamical elements, in which not only the local connectivity of the system elements is of large variation, but also the local dynamics are different from each other. Data-based inference of high-dimensional complex systems naturally is the next challenge faced by researchers in the community. Recently, a parallel RC scheme has been proposed for learning high-dimensional dynamical systems,[20,21] but it applies to only homogeneous systems. The PARC technique, probably with some modifications, provides a feasible solution to the inference of heterogeneous complex systems, e.g., utilizing the node degree or the nodal parameter as the control parameter of PARC.

    (iii) The generalized schemes of PARC While PARC is originally designed for inferring new dynamics not included in the training set, it can also be exploited for accomplishing other tasks. For instance, operating the machine in the reverse direction (i.e., using the time series as the input and the control parameter as the output), the machine can be utilized as an identifier to find the parameter generating the time series or trace the variation of the system parameter according to the non-stationary time series.[33] Replacing the sampling states with different chaotic attractors and the parameter input with attractor labels, the machine can also be exploited to replicate multiple systems described by entirely different dynamics, namely, the multi-functional RC.[34,35] Last but not least, it is also intriguing to see whether the generalization ability of the other RNN techniques can be improved by incorporating the parameter-aware scheme, e.g., the long short-term memory (LSTM) technique, the gated recurrent unit (GRU) technique, and the next-generation RC.[37]

    (iv) Application to real-world systems The existing studies of PARC are mainly based on artificial data generated by modeling systems, and the applicability of the technique to real-world complex systems is largely unknown. Different from modeling systems, data acquired from realistic systems contain noise perturbations or even errors. In addition, for large-scale complex systems, usually the measured data contain only partial information about the system dynamics and, more importantly, the system dynamics might be non-stationary in the sense that the system bifurcation parameter could be changing with time. These concerns raise new challenges for the application of PARC in real-world systems, calling for the development of more sophisticated techniques.

    To summarize, we have introduced a new technique of machine learning, namely, PARC, developed recently in the literature for inferring chaotic dynamics, and demonstrated the application of the technique by employing it to reconstruct the bifurcation diagram of typical chaotic systems based on the time series of a few sampling states. We have given a detailed description of the structure of the machine, showcased the machine implementation, and briefly analyzed the impacts of the sampling states on the machine performance. The new technique opens up new avenues for data-based analysis of chaotic systems, and is expected to have broad applications. We hope the present work could draw attention from researchers in the fields of machine learning and complex systems on this new machine-learning technique, and stimulate further studies along this direction.

Program availability
  • The source code is openly available in the Science Data Bank at https://doi.org/10.57760/sciencedb.20953.

Figure (8)  Reference (37)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return