Loading [MathJax]/jax/output/SVG/jax.js
Research article Topical Sections

One dynamical input reconstruction problem: tuning of solving algorithm via numerical experiments

  • The input reconstruction problem for a stochastic differential equation is investigated by means of the approach of the theory of dynamic inversion. The statement when the simultaneous reconstruction of disturbances in both the deterministic and stochastic terms of the equation is performed from the discrete information on several realizations of the stochastic process is considered. A finite-step software-oriented solving algorithm based on the method of auxiliary feedback controlled models is designed; an estimate for its convergence rate with respect to the number of measurable realizations is obtained. An empirical procedure for the automatic tuning of algorithm's parameters in order to get best approximation results for a specific dynamical system is proposed. To optimize this time-taking process, the parallelization of calculations is applied. A model example illustrating the method proposed is given.

    Citation: Lidiya Melnikova, Valeriy Rozenberg. One dynamical input reconstruction problem: tuning of solving algorithm via numerical experiments[J]. AIMS Mathematics, 2019, 4(3): 699-713. doi: 10.3934/math.2019.3.699

    Related Papers:

    [1] Valeriy Rozenberg . On a problem of dynamical input reconstruction for a system of special type under conditions of uncertainty. AIMS Mathematics, 2020, 5(5): 4108-4120. doi: 10.3934/math.2020263
    [2] Yihang Kong, Xinghui Zhang, Yaxin Huang, Ancai Zhang, Jianlong Qiu . Prescribed-time adaptive stabilization of high-order stochastic nonlinear systems with unmodeled dynamics and time-varying powers. AIMS Mathematics, 2024, 9(10): 28447-28471. doi: 10.3934/math.20241380
    [3] Tengda Wei, Xiang Xie, Xiaodi Li . Input-to-state stability of delayed reaction-diffusion neural networks with multiple impulses. AIMS Mathematics, 2021, 6(6): 5786-5800. doi: 10.3934/math.2021342
    [4] Panjie Tian, Zhensheng Yu, Yue Yuan . A smoothing Levenberg-Marquardt algorithm for linear weighted complementarity problem. AIMS Mathematics, 2023, 8(4): 9862-9876. doi: 10.3934/math.2023498
    [5] Noorah Mshary, Hamdy M. Ahmed . Discussion on exact null boundary controllability of nonlinear fractional stochastic evolution equations in Hilbert spaces. AIMS Mathematics, 2025, 10(3): 5552-5567. doi: 10.3934/math.2025256
    [6] Lei Hu . A weighted online regularization for a fully nonparametric model with heteroscedasticity. AIMS Mathematics, 2023, 8(11): 26991-27008. doi: 10.3934/math.20231381
    [7] Urmee Maitra, Ashish R. Hota, Rohit Gupta, Alfred O. Hero . Optimal protection and vaccination against epidemics with reinfection risk. AIMS Mathematics, 2025, 10(4): 10140-10162. doi: 10.3934/math.2025462
    [8] Tahir Khan, Fathalla A. Rihan, Muhammad Bilal Riaz, Mohamed Altanji, Abdullah A. Zaagan, Hijaz Ahmad . Stochastic epidemic model for the dynamics of novel coronavirus transmission. AIMS Mathematics, 2024, 9(5): 12433-12457. doi: 10.3934/math.2024608
    [9] Hengdi Wang, Jiakang Du, Honglei Su, Hongchun Sun . A linearly convergent self-adaptive gradient projection algorithm for sparse signal reconstruction in compressive sensing. AIMS Mathematics, 2023, 8(6): 14726-14746. doi: 10.3934/math.2023753
    [10] Hamidou Tembine . Mean-field-type games. AIMS Mathematics, 2017, 2(4): 706-735. doi: 10.3934/Math.2017.4.706
  • The input reconstruction problem for a stochastic differential equation is investigated by means of the approach of the theory of dynamic inversion. The statement when the simultaneous reconstruction of disturbances in both the deterministic and stochastic terms of the equation is performed from the discrete information on several realizations of the stochastic process is considered. A finite-step software-oriented solving algorithm based on the method of auxiliary feedback controlled models is designed; an estimate for its convergence rate with respect to the number of measurable realizations is obtained. An empirical procedure for the automatic tuning of algorithm's parameters in order to get best approximation results for a specific dynamical system is proposed. To optimize this time-taking process, the parallelization of calculations is applied. A model example illustrating the method proposed is given.


    The problems of reconstructing unknown input parameters of controlled systems based on inaccurate/incomplete information on the phase state arise in many scientific studies and applications (in flight mechanics and guidance theory, in financial and actuarial mathematics, for designing engineering and production processes, in ecology and medicine, etc.) and attract a great attention in recent time. The first publications concerning this field go back to the 60's of the previous century [1,2,3], when some criteria of the unique solvability of inverse problems and of the continuous "input/output" dependence for systems described by ordinary differential equations were obtained under the conditions of sufficiently smooth inputs. The key definition of an invertible dynamical system was introduced in [2].

    Input reconstruction problems can be treated as the special case of identification problems. They fall into the range of inverse problems of dynamics of controlled systems and, as a rule, are ill-posed (due to the nonuniqueness of the desired characteristic, as a consequence of inaccuracies, and/or due to the discontinuity of the inverse operator) and require the application of regularizing procedures.

    The huge amount of works is devoted to different statements (for example, to operational statements), where solving approaches are based on a posteriori character of desired regularizing algorithms, which can use the whole history of output measurements. We list only some of monographs containing detailed reviews and bibliography. In the classical monograph [4], the emphasis is on different classes of recurrent methods for the identification of nonstationary objects, including the theoretical analysis and experimental verification. The monograph [5] contains the introduction to identification theory. Algorithms for estimating time-varying inputs acted upon linear systems are considered in the monograph [6]. The monographs [7,8] are devoted to the foundations of the theory of inverse and ill-posed problems.

    One specific solution approach named the method of dynamic inversion is extremely important in cases when there is the necessity to reconstruct some characteristics dynamically and preferably in real time. It was proposed and developed by Kryazhimskii, Osipov, and their colleagues, see [9,10,11,12]. The approach is based on the combination of principles of the theory of positional control [13,14] and ideas of the theory of ill-posed problems [7,8]. A reconstruction problem is reduced to a feedback control problem for an auxiliary dynamical system called a model. The goal is to find an appropriate control law for this model in such a way that the adaptation of the model controls to the results of current observations provides an approximation (in a desired sense) to the unknown inputs. We want to have solving algorithms both dynamical and stable. As the dynamic property, we understand the property that the algorithm uses current input and output values in real time for decision making during the process. In its turn, the stability property means that the algorithm produces an approximation that is as precise as one likes if the observations are sufficiently accurate.

    First, the method of dynamic inversion was realized for systems described by ordinary differential equations (ODEs) [9,10,11], then, for functional differential equations [15,16], equations and variational inequalities with distributed parameters [12,17]. The case of partially observed systems was also intensively investigated [11,18].

    As to the application of the theory of dynamic inversion to stochastic objects, the problem of positional simulation of an unknown stochastic control in a system described by an ODE was considered for the first time in [19]. The present paper continues the investigations (in the framework of the theory above) of the problems of reconstructing unknown deterministic characteristics of a linear/quasi-linear stochastic differential equation (SDE), see [20,21,22]. For a linear SDE, the problem of dynamical reconstruction of a disturbance entering into the Ito integral and characterizing the amplitude of a random noise, on the basis of the measurements of realizations of the whole phase vector, was considered in [20]. Then, the case was supplemented by the possibility of measuring a part of coordinates of the stochastic process [21]. The inverse problem for a quasi-linear system with diffusion depending on the phase state in the statement assuming the simultaneous reconstruction of disturbances both in the deterministic and stochastic terms was discussed in [22]. Namely the latter problem is under further investigation in the present paper. As is shown in [22], the problem for a SDE can be reduced to an inverse problem for the system of ODEs describing the mathematical expectation and covariance matrix of the process. The applicability of the algorithms for reconstructing unknown parameters developed earlier for systems of ODEs [9,10,11] is substantiated, an appropriate finite-step software-oriented modification is proposed, and an estimate for its convergence rate with respect to the number of measurable realizations is obtained, see [22].

    To apply practically algorithms of such kind is technically rather difficult due to the necessity of adjusting the algorithm to a specific dynamical system. The matter is that up to now there is no a universal procedure for fitting parameters of algorithms of dynamical reconstruction even in the case of ODEs, see the discussions on numerical examples in [10,11,16]. In fact, this important applied aspect of the theory of dynamic inversion remains vague. In the paper, we make a first attempt to fill this gap. The idea is in the automatic tuning of algorithm's parameters for the given system using some model disturbances, which are typical for the problem, i.e., which possess the features (a priori known) inherent in real disturbances (for example, subject to the same geometrical/integral constraints, the same bounds on variation). After performing this empirical procedure, we hope that the set of parameters obtained will be suitable for the reconstruction of other disturbances acting on the system. For the problem considered, such a process assumes numerous program runs and the simulation of a large amount of SDE's trajectories. Thus, the novelty of the present paper consists namely in considering the applied aspects of solving reconstruction problems. To optimize the process of the adaptation of the algorithm to a system, the parallelization of time-taking calculations is involved.

    The paper is organized as follows. In Section 1, we give the statement of the dynamical input reconstruction problem for a quasi-linear system of SDEs. Section 2 is devoted to the description of the procedure of reducing the problem for the system of SDEs to the problem for a system of ODEs. A constructive algorithm for solving the latter problem and estimates of its convergence rate are presented in Section 3. The first three sections contain the basic facts from [22], which are necessary to formulate the main results of the present paper. Different aspects of the automatic tuning of algorithm's parameters in order to get best approximations in a specific dynamical system and the necessity of parallelizing calculations are discussed in Section 4. In Section 5, a model example illustrating and testing the method proposed is given. In Conclusion, we resume the results obtained and outline some directions for perspective investigations.

    Simple linearized models can be useful when studying the price dynamics on a commodity market under the influence of random factors, the change of the size of a biological population in a stochastic medium or the processes of chaotic motion of one-type particles. In this context, we consider a quasi-linear system of SDEs with diffusion depending on the phase state:

    dx(t,ω)=(A(t)x(t,ω)+B(t)u1(t)+f(t))dt+U2(t)x(t,ω)dξ(t,ω),x(0,ω)=x0. (2.1)

    Here, tT=[0,ϑ], x=(x1,x2,,xn)Rn is a column vector, ξR; x0 is a known deterministic or random (normally distributed) vector of initial conditions; ωΩ, (Ω,F,P) is a probability space; ξ(t,ω) is a standard scalar Wiener process (i.e., a process starting from zero with zero mathematical expectation and dispersion equal to t); A(t)={aij(t)}, B(t)={bij(t)}, and f(t)={fi(t)} are continuous matrix functions of dimension n×n, n×r, and n×1, respectively. Two external disturbances act on the system: a vector u1(t)=(u11(t),u12(t),,u1r(t))Rr and a diagonal matrix U2(t)={u21(t),u22(t),,u2n(t)}Rn×n. The action u1 enters into the deterministic term and influences the mathematical expectation of the desired process. Since U2xdξ=(u21x1dξ,u22x2dξ,,u2nxndξ), we can assume that the vector u2=(u21,u22,,u2n) regulates the amplitude of random noises. Let the vectors u1 and u2 take values from given convex compact sets Su1 and Su2, and let their elements belong to the spaces L2(T;Rr) and L2(T;Rn), respectively.

    A solution of system (2.1) is defined as a stochastic process satisfying (for any t with probability 1) the corresponding integral identity containing the stochastic Ito integral on the right-hand side. As is known, under the above assumptions, there exists a unique solution, which is a normal Markov process with continuous realizations, see [23], Theorem 5.2.1.

    The problem under discussion consists in the following. At discrete, frequent enough, times τiT, τi=iδ, δ=ϑ/l, i[0:l], the information on some number N of realizations of the stochastic process x(τi) is received. We assume that l=l(N) and there exist an estimate mNi of the mathematical expectation m(t)=Mx(t) and an estimate DNi of the covariance matrix D(t)=M(x(t)m(t))(x(t)m(t)) (the prime means transposition) such that

    P(maxi[1:l(N)]{mNim(τi),DNiD(τi)}h(N))=1g(N), (2.2)

    and h(N),g(N)0 as N. By , we denote the Euclidean norm in the corresponding space. The standard statistical procedures [24], Ch. 22, of constructing the estimates mNi and DNi admit modifications providing the validity of (2.2).

    It is required to design an algorithm for the dynamical reconstruction of the unknown disturbances u1() and u2() generating the stochastic process x() from the discrete information on its realizations. The probability of an arbitrarily small deviation of approximations from the desired inputs in the metric of the spaces L2(T;Rr) and L2(T;Rn) should be close to 1 for sufficiently large N and the time discretization step δ=δ(N)=ϑ/l(N) concordant with N in an appropriate way.

    The specific properties of quasi-linear system (2.1) admit the reduction (by analogy with the method of moments, see [25]) of the problem formulated for a SDE to a problem for the system of ODEs describing the mathematical expectation and covariance matrix of the desired process. This allows us to organize a procedure of the simultaneous reconstruction of the disturbances both in the deterministic and stochastic terms of the right-hand side in the case when simultaneous measurements of a sufficiently large amount of trajectories (for example, of the motion of one-type particles) are possible.

    Following [20,22], we reduce the reconstruction problem for a quasi-linear SDE to a problem for a system of ODEs. We need

    Lemma. The standard estimates mNi of the mathematical expectation m(τi) and DNi of the covariance matrix D(τi) constructed from N (N>1) realizations x1(τi),x2(τi),,xN(τi) of the random variables x(τi) by the rules [24], Ch. 22:

    mNi=1NNr=1xr(τi), (3.1)
    DNi=1N1Nr=1(xr(τi)mNi)(xr(τi)mNi), (3.2)

    provide the validness of relation (2.2).

    Note that estimate (3.2) can be rewritten to optimize calculations (in particular, to parallelize them) in the form:

    DNi=1N1Nr=1xr(τi)(xr(τi))NN1mNi(mNi). (3.3)

    The proof of the lemma is presented in [22], where the following parameters of estimate (2.2) are obtained:

    δ(N)=C1/Nmin{α,α(1/2+3ϵ)},l(N)=ϑ/δ(N),
    h(N)=C2/N1/2ϵ,g(N)=C3/Nmin{1α,(1α)(1/2+3ϵ)}. (3.4)

    Here, 0<ϵ<1/2, 0<α<1 are parameters allowing us to regulate the orders of smallness in the approximating and probabilistic parts of estimate (2.2). Obviously, δ(N)0, as well as h(N),g(N)0, as required in relation (2.2), for any admissible values ϵ and α. By Ci we denote auxiliary constants, which depend on the structure of the system and on the specified constraints on disturbances (and independent of the functions to be reconstructed) and can be written explicitly.

    We briefly describe how to derive the system of ODEs for the mathematical expectation and covariance matrix of the desired process (the detailed procedure is given in [20,22]). Introduce the notation: m0=Mx0, D0=M(x0m0)(x0m0). Since the original system is quasi-linear and the mathematical expectation of an Ito integral is zero, the value m(t) does not depend on u2(t); its dynamics is described by the equation

    ˙m(t)=A(t)m(t)+B(t)u1(t)+f(t),mRn,m(0)=m0.

    The covariance matrix D(t) does not depend on u1(t) explicitly; its dynamics is derived according to the scheme of the method of moments [25]:

    ˙D(t)=A(t)D(t)+D(t)A(t)+U2(t)(D(t)+m(t)m(t))U2(t),DRn×n,D(0)=D0.

    This matrix equation is rewritten in the form of a vector equation, which is more traditional for the problems under consideration. By virtue of the symmetry of the matrix D(t), its dimension is defined as nd=(n2+n)/2. We introduce the vector d(t)={ds(t)},s[1:nd], consisting of successively written and enumerated elements of the matrix D(t) taken line by line starting with the element located at the main diagonal. The coordinates of this vector are found from the elements of the matrix D(t)={dij(t)},i,j[1:n]:

    ds(t)=dij(t),ij,s=(ni/2)(i1)+j.

    Then, the matrix equation is written in the form

    ˙d(t)=ˉA(t)d(t)+ˉB(d(t),m(t))u3(t),d(t0)=d0.

    Here, the matrix ˉA(t):TRnd×nd and the diagonal matrix ˉB(d(t),m(t)):TRnd×nd can be written explicitly [22], the vector u3(t)={u3s(t)}, s[1:nd] is found from u2(t) by the formulas u3s=u2iu2j, ij, s=(ni/2)(i1)+j, it takes values from some convex compact set Su3Rnd and has elements belonging to the space L2(T;Rnd). The initial state d0 is obtained from D0, whereas the measurements dNi, from DNi.

    Thus, we have the system of equations of dimension n+nd:

    ˙m(t)=A(t)m(t)+B(t)u1(t)+f(t),m(0)=m0, (3.5)
    ˙d(t)=ˉA(t)d(t)+ˉB(d(t),m(t))u3(t),d(0)=d0. (3.6)

    Now, we can reformulate the original problem. Taking into account (2.2), we assume that during the process, at the discrete times τiT the inaccurate information mNi,dNi on the phase state of system (3.5), (3.6) is received:

    P(maxi[1:l(N)]{mNim(τi),dNid(τi)}h(N))=1g(N), (3.7)

    where h(N),g(N)0 as N. It is required to design an algorithm of dynamical reconstruction of the unknown disturbances u1() and u3() from information (3.7). The probability of an arbitrarily small deviation of approximations from the desired inputs in the metric of the spaces L2(T;Rr) and L2(T;Rnd), respectively, should be close to 1 for sufficiently large N and the time step of measurements δ=δ(N)=ϑ/l(N) concordant with N in an appropriate way. Note that, under additional assumptions, the function u2() is also reconstructed by means of the coordinates of the vector u3(), which are equal to u22i, i[1:n].

    System (3.5), (3.6) is nonlinear in phase variables but is linear in control. The problem formulated for this system corresponds to the problem considered, for example, in [9,10,11]. In the present paper, for the modified version of the finite-step solution algorithm proposed earlier for ODEs, we use the fact that it admits a constructive concordance of its parameters with the number of measurable realizations of the original stochastic process.

    Let us present the solving algorithm for system (3.5), (3.6). At the initial time τ0=0, we fix a value N; then, determine the values lN=l(N), hN=h(N), and gN=g(N) (see (3.4)) and construct the uniform partition of the interval T with the step δN=ϑ/lN: τiT,τi=iδN,i[0:lN]. We introduce a discrete model, which dynamics and initial state are defined by the relations

    wm(τi+1)=wm(τi)+(A(τi)mNi+B(τi)vN1i+f(τi))δN,wm(0)=m0, (4.1)
    wd(τi+1)=wd(τi)+(ˉA(τi)dNi+ˉB(dNi,mNi)vN3i)δN,wd(0)=d0. (4.2)

    Here, i[0:lN1], wm, wd are model variables approximating the phase state of system (3.5), (3.6); vN1i, vN3i are control actions calculated at the time τi by rules that are specified below.

    The work of the algorithm is decomposed into lN identical steps. At the ith step performed on (τi,τi+1], the input data for calculations are the estimates mNi, dNi, and the model state wm(τi), wd(τi) obtained by this moment. The model controls are found as follows: vN1i and vN3i are unique solutions of the corresponding extremal problems

    vN1i=argmin{2wm(τi)mNi,B(τi)v1+αNmv12:v1Su1}, (4.3)
    vN3i=argmin{2wd(τi)dNi,ˉB(dNi,mNi)v3+αNdv32:v3Su3}, (4.4)

    where , is the scalar product in the corresponding Euclidean space, αNm, αNd are regularization parameters. After the calculation of controls (4.3) and (4.4), the model state wm(τi+1), wd(τi+1) is recomputed by formulas (4.1) and (4.2). The process stops at the terminal time ϑ.

    Let U=U(m(),d()) be the set of all disturbances u()=(u1(),u3())L2(T;Rr+nd) generating the pair (m(),d()). An element of the set U that has the minimal L2(T;Rr+nd)-norm is denoted by u(). Its existence and uniqueness follow from the convexity of U and the strict convexity of the norm in L2(T;Rr+nd), see [9,11]. The function uN(t)=(vN1(t),vN3(t)), vN1(t)=vN1i, vN3(t)=vN3i, t[τi,τi+1), i[0:lN1] is found from relations (4.3) and (4.4). Below is the main result of [22] concerning the convergence of the algorithm.

    Theorem. Let the following conditions of concordance of the parameters hold for N:

    hN,δN,αNm,αNd0,δN+hNαNm,δN+hNαNd0. (4.5)

    Then, the sequence {uN()} is compact in L2(T;Rr+nd) and we have the convergence as N:

    P(uN()u()L2(T;Rr+nd)0)1. (4.6)

    Under the assumption that the variation of real disturbances is bounded, the following estimate for the accuracy of the algorithm with respect to the number of measurable realizations of the process is valid:

    P(uN()u()L2(T;Rr+nd)D1(1N)2/13)=1D2(1N)2/13, (4.7)

    where D1 and D2 are some positive constants.

    As is shown in [22], to obtain estimate (4.7), it is necessary to set

    hN=1/N6/13,δN=K1/N6/13,αNm=K2/N4/13,αNd=K3/N4/13, (4.8)

    where K1, K2, and K3 are some positive constants.

    Note that the constants in (4.7) and (4.8) depend on the parameters of the given system, on structural a priori constraints, in particular, on the variation of real disturbances, but are independent of the functions under reconstruction. The choice of the power exponents of the value 1/N in the approximating and probabilistic parts of estimates like (4.7) admits certain arbitrariness in the range of change of ϵ and α from relations (3.4). In the theorem, we orientate to the coincidence of the orders of smallness for the parts, it is provided by relations (4.8). Evidently, other variants are possible. In the case when the vector u2=(u21,u22,,u2n) is unique and its coordinates are nonnegative (such constraints seem natural to characterize a noise with zero mean value; below, we assume that these conditions are fulfilled), algorithm (4.1)–(4.5) reconstructs the function u2() itself in the metric of the space L2(T;Rn) with an accuracy estimate of form (4.7).

    The number N of measurable trajectories of SDE (2.1) determines both the accuracy hN of input estimates (2.2), (3.7) and the parameters of the algorithm δN, αNm, and αNd providing convergence (4.6), (4.7). Relations necessary for calculations are not specified explicitly but are given as the order of convergence (as 1/N0) with accuracy to constants (4.8), for which upper bounds can be written while their values need more precise definition. Note that there is an empirically proven sensitivity of the algorithm to the constraints for the functions forming system (2.1), to the sets Su1 and Su2 of admissible values of the disturbances, to their variation, etc. It is necessary to find constants in relations (4.8) providing the successful reconstruction of any possible disturbances (satisfying a priori constraints) in a specific system of form (2.1). Up to now, there is no a universal procedure for fitting parameters like δN, αNm, and αNd of reconstruction algorithms [10,11,16]. To get over this difficulty, we suggest to use some model disturbances, which are typical for the problem, i.e., which possess the features (a priori known) inherent in real disturbances (subject to the same geometrical/integral constraints, the same bounds on variation, and so on). This is what the fine tuning of the algorithm for. At the current stage, we assume that "optimal" relations between parameters can be determined empirically through a solution of the following extremal problem:

    (K1,K2,K3)=argmin{NINβNuNK1,K2,K3()u()L2(T):(K1,K2,K3)SK}. (5.1)

    Here, L2(T)=L2(T;Rr+nd), uNK1,K2,K3() is an algorithm's output depending on the constants from (4.8); IN is the set of chosen values of N, βN are weighting coefficients, NINβN=1; SK is some set of admissible values of the vector (K1,K2,K3), as a rule, it is a parallelepiped in the positive octant. We fix all the constraints imposed on the admissible inputs, fix some test function u() satisfying these constraints, introduce a uniform grid with respect to K1, K2, K3 and then solve problem (5.1) by exhaustive search. Such a procedure requires numerous runs of the calculative module with modeling a large amount of independent trajectories of SDE (2.1) to form estimates (2.2) for different N. We hope for the applicability of this empirical optimization procedure providing a solution of (5.1) to the reconstruction of different disturbances satisfying given constraints in the specific system, since the test function has all main features, which are inherent in real inputs and influencing the constants in relations (4.8). Numerous experiments (one of them is described in the next section) demonstrate results in favor of our hypothesis. To simulate the dynamics of equation (2.1), we use the Euler method with the substitution of a sequence of random impulses for the Wiener process (the detailed description of the approximation scheme can be found, for example, in [26]). The mean square accuracy order of this method for a quasi-linear SDE is equal to O(δs), where δs is a simulation step. This step is, as a rule, rather small comparing with the step δN of receiving the information on the realizations and, correspondingly, of reconstructing the unknown function u(t). Thus, two time grids are involved into the scheme of the tuning of algorithm's parameters for a specific system. The simulations with the smaller step take place only at the stage of tuning; when solving a real problem, the input information should come from "outer space". Note that the probabilistic character of convergence estimate (4.7) assumes the algorithm's output averaging over a series of runs for a fixed set of parameters.

    The numerical experiments showed that the tuning procedure is rather time-taking (since it requires a large amount of program runs on the grid with respect to several parameters) when sequential schemes are used but it admits a natural (and effective) parallelization. The latter is based on the standard scheme "master-worker" [27,28] with a unique loading MPI-module, almost uniform computational load for all processor cores, and the absence of the informational exchange between the workers. Actually, the simulation of a large amount of independent SDE trajectories with a small time step is the only time-taking part of the procedure; therefore, it is shared uniformly among all the cores. At every moment, which is an entry point for coming input information on estimates (2.2), (3.1), (3.3), all the modules compute the same size portions of trajectories xr(τi) and average both their values itself and their squares, according to formulas (3.1), (3.3). Then, the workers send their contributions into the estimates to the master, who adds own portion and, averaging the sums obtained over the number of cores (the legitimacy of this operation is provided by the same size of portions), finally forms (3.1) and (3.3). All the calculations in the framework of reconstruction algorithm (4.1)–(4.4) is performed by the master. The flowchart of the main fragment of the parallel procedure is presented in Figure 1.

    Figure 1.  Flowchart of main fragment of parallel procedure. Operations performed by master only are marked by "M", by workers only, by "W" (all remaining operations are performed on all cores).

    Consider a quasi-linear SDE describing a stochastic process, which can be treated as a "spoiled" mean-reverting Ornstein–Uhlenbeck process [23]:

    dx1(t)=(2x1(t)+0.1x2(t)+u11(t)+u12(t)+1)dt+u21(t)x1(t)dξ(t),
    dx2(t)=(0.1x1(t)x2(t)+2u12(t)+2)dt+u22(t)x2(t)dξ(t),
    tT=[0,1],x1(0)=1,x2(0)=1. (6.1)

    Here, u(t)=(u1(t),u2(t)), u1(t)=(u11(t),u12(t)) and u2(t)=(u21(t),u22(t)) are unknown disturbances to be reconstructed, u1i(t)[2,2], u2i(t)[0,2], i=1,2; ξ(t) is a standard scalar Wiener process. Equations like (6.1) are used, in particular, in some simplest models describing the dynamics of relatively stable biological populations [23]. In this case, the value x(t)=(x1(t),x2(t)) represents the current size (in arbitrary units) of two interacting biological species; the structure of the deterministic part of the equation defines some sizes (for example, averages for some previous interval), which are the aim of "subconscious" return of the populations. Such a return can be prevented by the neighbors as well as by the action of external factors via the disturbance u1(t) influencing the mathematical expectation of the process and u2(t) characterizing the amplitude of random noises. Realizations of x(t) corresponding to different colonies are measurable at discrete times. Let us write for (6.1) the system of ODEs of form (3.5), (3.6) describing the mathematical expectation and symmetric covariance matrix:

    ˙m1(t)=2m1(t)+0.1m2(t)+u11(t)+u12(t)+1,
    ˙m2(t)=0.1m1(t)m2(t)+2u12(t)+2,
    ˙d1(t)=4d1(t)+0.2d2(t)+(d1(t)+m21(t))u31(t),
    ˙d2(t)=0.1d1(t)3d2(t)+0.1d3(t)+(d2(t)+m1(t)m2(t))u32(t),
    ˙d3(t)=0.2d2(t)2d3(t)+(d3(t)+m22(t))u33(t),
    x1(0)=1,x2(0)=1,d1(0)=0,d2(0)=0,d3(0)=0. (6.2)

    Here, u31=u221, u32=u21u22, u33=u222.

    The main goal of numerical experiments was the tuning of the algorithm for specific dynamical system (6.1)–(6.2), i.e., the derivation of "universal" relations between parameters δN, αNm, αNd, and N via K1, K2, K3 (see (4.8)) to reconstruct any disturbance satisfying the given constraints. In the first series, to solve problem (5.1), we chose the functions

    u1(t)=(sin10t,1),u2(t)=(t,10t3/3t2/2+3t/16)

    and parameters Ki[0.1,5], i=1,2,3, with 1020 grid nodes, IN={103,106}, βN={1/2,1/2}. Here, we took into account a priori information and the constraints imposed on real disturbances. Optimal (in the sense of (5.1)) values of the constants from (4.8) were obtained: K1=0.6, K2=0.35, K3=3.5. These values determine the parameters δN, αNm, and αNd of the algorithm. The results of reconstructing the functions u1(t) and u2(t) for found Ki and different N are presented in Figures 2 and 3. These results are principally in agreement with the main assertion of the paper, thus confirming the convergence like (4.6): the more is N, the less is the reconstruction accuracy.

    Figure 2.  Reconstruction of disturbances u11, u12 (upper row) and u21, u22 (lower row): real functions are shown by dashed line, and results of their reconstruction, by solid line; horizontal and vertical axes correspond to time t and to values of disturbances, respectively. Parameters: N=103, δN=0.025, δs=δN/102, αNm=0.04, αNd=0.4, accuracy uN()u()L2(T)=0.868.
    Figure 3.  Reconstruction of disturbances u11, u12 (upper row) and u21, u22 (lower row): real functions are shown by dashed line, and results of their reconstruction, by solid line; horizontal and vertical axes correspond to time t and to values of disturbances, respectively. Parameters: N=106, δN=0.001, δs=δN/102, αNm=0.005, αNd=0.05, accuracy uN()u()L2(T)=0.118.

    In addition, it should be noted that the output accuracy obtained in the variant from Figure 3 seems satisfactory (uN()u()L2(T)=0.118, whereas the measuring accuracy hN of estimates (2.2), (3.7) does not exceed 0.001 (hN is close to the order 1/N1/2, see (3.4), N=106)). The component u1() is reconstructed considerably better than u2(); the matter is in the differences in accuracies of the statistical estimates mNi of the mathematical expectation and DNi of the covariance matrix.

    Then, the parameter relations obtained were tested on other disturbances meeting the given geometrical constraints. Let us give the example (see Figure 4) for u2(t)=(2(12|t0.5|),1+0.5sin30t) where all the values of algorithm's parameters were the same as in the variant from Figure 3. The reconstruction accuracy is comparable with the results of the latter variant. Note that the second coordinate of the disturbance u2 is reconstructed worse than the first one; it can be explained by the larger amplitude of the noises in the second equation of system (6.1). Additional experiments demonstrated similar results.

    Figure 4.  Reconstruction of alternative disturbances u21 and u22: real functions are shown by dashed line, and results of their reconstruction, by solid line; horizontal and vertical axes correspond to time t and to values of disturbances, respectively. Parameters: N=106, δN=0.001, δs=δN/102, αNm=0.005, αNd=0.05, accuracy uN()u()L2(T)=0.169.

    During the experiments, we observed quite different interdependencies between the accuracy and parameters of the algorithm: from rather trivial, a monotone function, see Figure 5 (left), up to a function having a minimum inside the interval, see Figure 5 (right). Both variants are not stable; this fact complicates the optimization of the exhaustive search applied when solving problem (5.1).

    Figure 5.  Dependencies of accuracy uN()u()L2(T): on δN for fixed αNm=αNd=0.005 (left); on αNm=αNd for fixed δN=0.001 (right). Horizontal axis corresponds to parameters; vertical axis, to accuracy.

    To test the parallelization quality characteristics, we chose the variant shown in Figure 3 with the simulation of 128000 trajectories of equation (6.1). The calculations were performed at the Krasovskii Institute of Mathematics and Mechanics of UB RAS by means of a hybrid machine of cluster type named "Uran" with the peak performance about 215 TFlops. The results of the test are presented in Table 1. We measured (in seconds) the computation time for one fixed set of parameters (K1,K2,K3) in problem (5.1), whereas the number of such variants in the example described above was up to 8000. Here, Tp is the performance time on p cores (then, T1 is the performance time for the sequential algorithm), Sp=T1/Tp and Ep=Sp/p are speedup and efficiency, respectively [27,28]. Recall that the speedup is equal to the number of engaged cores for an "ideal" parallel algorithm; in this case, we have the unit efficiency.

    Table 1.  Computation time, speedup and efficiency for p processor cores.
    p Tp, sec Sp Ep
    1 1370.15 - -
    2 694.62 1.97 0.99
    4 344.92 3.97 0.99
    8 172.32 7.95 0.99
    16 88.58 15.47 0.97
    32 48.64 28.17 0.88
    64 23.45 58.43 0.91
    128 13.24 103.48 0.81

     | Show Table
    DownLoad: CSV

    It follows from Table 1 that the parallelization efficiency is rather high and does not fall below a reasonable level if the number of engaged cores increases. For example, using 128 cores, we get the acceptable computation time for solving optimization problem (5.1). It is important since we need numerous program runs both for the tuning of the algorithm and for its testing in the probabilistic sense.

    In the present paper, the inverse problem for a quasi-linear diffusion SDE consisting in the dynamical reconstruction of two unknown nonrandom disturbances in the deterministic and stochastic terms of the equation is investigated. As input information, measurements of several realizations of the stochastic process at discrete times are used. The problem is reduced to the inverse problem for the system of two ODEs describing the mathematical expectation and covariance matrix of the original process. To solve the latter problem, the feasible reconstruction algorithm is designed; the estimate for its convergence rate with respect to the number of measured realizations is obtained. The main result of the paper is in an attempt to develop an empirical procedure for the automatic adaptation of the algorithm to a specific dynamical system and constraints imposed on its structure and on possible unknown disturbances. This implies numerous program runs on a parameter grid and the simulation of a large amount of SDE's trajectories to obtain necessary statistical estimates for the moments. Toward this aim, the parallelization of time-taking calculations is applied. As perspective directions of investigations, we mark out the theoretical substantiation of some procedure (described above or similar) for the automatic tuning of a reconstruction algorithm to a system via finding an extremum of an appropriate quality criterion over a set of admissible parameters and the approbation of the method on other dynamical input reconstruction algorithms.

    The authors would like to thank the generous support from the Krasovskii Institute of Mathematics and Mechanics, Yekaterinburg.

    The authors declare no conflicts of interest in this paper.



    [1] R. W. Brockett and M. P. Mesarovich, The reproducivility of multivariable control systems, J. Math. Anal. Appl., 11 (1965), 548-563. doi: 10.1016/0022-247X(65)90104-6
    [2] M. K. Sain and J. L. Massey, Invertibility of linear time-invariant dynamical systems, IEEE T. Automat. Contr., 14 (1969), 141-149. doi: 10.1109/TAC.1969.1099133
    [3] L. M. Silverman, Inversion of multivariable linear systems, IEEE T. Automat. Contr. 14 (1969), 270-276. doi: 10.1109/TAC.1969.1099169
    [4] L. Ljung and T. Söderström, Theory and Practice of Recursive Identification, Massachusetts: M.I.T. Press, 1983.
    [5] J. P. Norton, An Introduction to Identification, London: Academic Press, 1986.
    [6] Y. Bar-Shalom and X. R. Li, Estimation and Tracking: Principles, Techniques, and Software, Boston: Artech House, 1993.
    [7] A. N. Tikhonov and V. Ya. Arsenin, Solutions of Ill-Posed Problems, Moscow: Nauka, 1979; New York: Wiley, 1981.
    [8] S. I. Kabanikhin, Inverse and Ill-Posed Problems, Berlin: De Gruyter, 2011.
    [9] A. V. Kryazhimskii and Yu. S. Osipov, Modelling of a control in a dynamic system, Engrg. Cybernetics, 21 (1984), 38-47.
    [10] Y. S. Osipov and A. V. Kryazhimskii, Inverse Problems for Ordinary Differential Equations: Dynamical Solutions, London: Gordon & Breach, 1995.
    [11] Y. S. Osipov, A. V. Kryazhimskii and V. I. Maksimov, Dynamic Recovery Methods for Inputs of Control Systems, Yekaterinburg: Izd. UrO RAN, 2011 [in Russian].
    [12] V. I. Maksimov, Dynamical Inverse Problems of Distributed Systems, Utrecht-Boston: VSP, 2002.
    [13] N. N. Krasovskii, Control of a Dynamical System, Moscow: Nauka, 1985 [in Russian].
    [14] N. N. Krasovskii and A. I. Subbotin, Game-Theoretical Control Problems, New York: Springer, 1988.
    [15] V. I. Maksimov and L. Pandolfi, On a dynamical identification of controls in nonlinear time-lag systems, IMA J. Math. Control I., 19 (2002), 173-184. doi: 10.1093/imamci/19.1_and_2.173
    [16] M. S. Blizorukova and V. I. Maksimov, On a reconstruction algorithm for the trajectory and control in a delay system, P. Steklov I. Math., 280 (2013), 66-79. doi: 10.1134/S0081543813020065
    [17] V. I. Maksimov, Game control problem for a phase field equation, J. Optimiz. Theory App., 170 (2016), 294-307. doi: 10.1007/s10957-015-0721-0
    [18] A. V. Kryazhimskii and Y. S. Osipov, On a stable positional recovery of control from measurements of a part of coordinates, in Some Problems of Control and Stability: Collection of Papers, Sverdlovsk: Izd. AN SSSR, 1989, 33-47 [in Russian].
    [19] Y. S. Osipov and A. V. Kryazhimskii, Positional modeling of a stochastic control in dynamical systems, in Stochastic Optimization: Proceedings of the International Conference, Kiev, Ukraine, 1984, Ser. Lecture Notes in Control and Information Sciences, 81, 696-704, Berlin: Springer, 1986.
    [20] V. L. Rozenberg, Dynamic restoration of the unknown function in the linear stochastic differential equation, Automat. Rem. Contr., 68 (2007), 1959-1969. doi: 10.1134/S0005117907110069
    [21] V. L. Rozenberg, Reconstruction of random-disturbance amplitude in linear stochastic equations from measurements of some of the coordinates, Comp. Math. Math. Phys., 56 (2016), 367-375. doi: 10.1134/S0965542516030143
    [22] V. L. Rozenberg, Dynamical input reconstruction problem for a quasi-linear stochastic system, Proc. of the 17th IFAC Workshop on Control Applications of Optimization, CAO 2018, October~15-19, 2018, Yekaterinburg, Russia, 727-732. Available from: https://www.sciencedirect.com/journal/ifac-papersonline/vol/51/issue/32?page=2.
    [23] B. ∅ksendal, Stochastic Differential Equations: An Introduction with Applications, Berlin: Springer, 1985; Moscow: Mir, 2003.
    [24] V. S. Korolyuk, N. I. Portenko, A. V. Skorokhod, et al. Handbook on Probability Theory and Mathematical Statistics, Moscow: Nauka, 1985 [in Russian].
    [25] F. L. Chernous'ko and V. B. Kolmanovskii, Optimal Control under Random Perturbation, Moscow: Nauka, 1978 [in Russian].
    [26] G. N. Milshtein, Numerical Integration of Stochastic Differential Equations, Sverdlovsk: Izd. Ural. Gos. Univ., 1988 [in Russian].
    [27] I. Foster, Designing and Building Parallel Programs: Concepts and Tools for Parallel Software Engineering, Massachusetts: Addison-Wesley Reading, 1995.
    [28] V. P. Gergel', Theory and Practice of Parallel Computing, Moscow: Binom, 2007 [in Russian].
  • This article has been cited by:

    1. Valeriy Rozenberg, On a problem of dynamical input reconstruction for a system of special type under conditions of uncertainty, 2020, 5, 2473-6988, 4108, 10.3934/math.2020263
    2. P. G. Surkov, Real-Time Calculation of a Caputo Fractional Derivative from Noisy Data. The Case of Continuous Measurements, 2021, 315, 0081-5438, S225, 10.1134/S0081543821060183
    3. Platon G. Surkov, Approximate calculation of the Caputo-type fractional derivative from inaccurate data. Dynamical approach, 2021, 24, 1311-0454, 895, 10.1515/fca-2021-0038
    4. Valeriy Rozenberg, 2023, Chapter 27, 978-3-031-35304-8, 394, 10.1007/978-3-031-35305-5_27
  • Reader Comments
  • © 2019 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

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

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

Metrics

Article views(5628) PDF downloads(1188) Cited by(4)

Figures and Tables

Figures(5)  /  Tables(1)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog