<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Identification of Linear Dynamical Systems and Machine Learning</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>01/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10218152</idno>
					<idno type="doi"></idno>
					<title level='j'>Journal of convex analysis</title>
<idno>0944-6532</idno>
<biblScope unit="volume">28</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Alain Bensoussan</author><author>Fatih Gelir</author><author>Viswanath Ramakrishna</author><author>Minh-Binh Tran</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>The topic of identification of dynamic systems, has been at the core of modern control , following the fundamental works of Kalman. A good state of the art for linear dynamic systems can be found in the references <ref type="bibr">[2]</ref>, <ref type="bibr">[6]</ref>, see also <ref type="bibr">[1]</ref> and <ref type="bibr">[3]</ref>. Realization Theory has been one of the major outcomes in this domain, with the possibility of identifying a dynamic system from an input-output relationship. The recent development of machine learning concepts has rejuvanated interest for identification. In this paper, we review briefly the results of realization theory, and develop some methods inspired by Machine Learning concepts. We have been inspired by papers <ref type="bibr">[8]</ref>, <ref type="bibr">[10]</ref> and <ref type="bibr">[11]</ref>. The interaction between system-control theory and signal processing on the one hand and machine learning and more generally data science on the other hand has been steadily increasing in recent years.</p><p>Given that all these disciplines may be viewed as part of the activity of solving inverse problems, this interaction is both inevitable and inexorable. The papers <ref type="bibr">[8,</ref><ref type="bibr">10,</ref><ref type="bibr">11]</ref> provide compelling instances of this interaction The paper <ref type="bibr">[8]</ref> argues this interplay persuasively. Similarly, <ref type="bibr">[11]</ref> discusses the naturality and intervention of stochastic control and Hamilton-Jacobi theory in the Entropy-Stochastic Gradient Descent in the study of deep neural networks, amongst many more such examples in deep learning. <ref type="bibr">[10]</ref> provides a unified approach for kernels on dynamical systems used in machine learning inspired by the behavioural framework in system theory.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">REALIZATION THEORY 2.1 BASIC PROBLEM</head><p>The basic problem is to go from an input-output relationship to a dynamical system with state observation and partial observation of the state</p><p>(2.1)</p><p>The function v t is the input and the function y t is the out-put. We have v t &#8712; R m ,t = 1, &#8226; &#8226; &#8226; and</p><p>The map v &#8594; y is the input-output relationship. If this map can be written as (2.1) then we say that the input-output relationship has an internal state realization, denoted by (A, B, C).</p><p>The function x t &#8712; R n , t = 1, &#8226; &#8226; &#8226; is the state of the system. The number n is called the model order.</p><p>The identification consists in finding three matrices A, B, C such that (2.1) holds , given the input-output relationship. We can write the observation y t as</p><p>where</p><p>are the Markov parameters. We set G = (G 0 , G 1 , &#8226; &#8226; &#8226; ), called the impulse response of the system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">MINIMUM REALIZATION THEORY</head><p>The problem solved in classical dynamic systems theory consists in finding matrices A, B, C which satisfy <ref type="bibr">(2.</ref>3) for a large number of t. This research topic has raised a huge amount of work. It supposes to know the impulse response G of the dynamic system. Beautiful results have been obtained to characterize impulse responses for which there exists an internal state realization, and the issue of uniqueness. The basic tool is the block Hankel matrix</p><p>There exists an internal state realization if the Block Hankel matrix can be written as follows</p><p>The matrix O r (C, A) is the observability matrix and the matrix C r &#8242; (A, B) is the controllability matrix. </p><p>The integer &#961; is the minimal order of the system.</p><p>In the sequel , we will consider the dynamic system</p><p>x t+1 = Ax t , t &#8805; 1 (2.9)</p><p>with observation</p><p>To simplify we have taken an input v t = 0, so there is no way we can learn about a potential matrix B.Because there is no input, the only way to stir the system is to have a non zero initial state x. To simplify further , we assume that x and the matrix C are known. The number n is the model order, which is fixed. So the only unknown is the matrix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">OBSERVATION OF THE STATE</head><p>We assume here that C = I, identity, so the state of the system x t is observable, but the n &#215; n matrix A is unknown and must be identified.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">LEAST SQUARE APPROACH</head><p>If we stack</p><p>we can write</p><p>and A * can be recovered by</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">MACHINE LEARNING APPROACH</head><p>The basic idea is to complete the least square function with a penalty term. We thus define the function</p><p>in which the vectors x t are known. The solution that we get by this approach is different from (3.1).</p><p>However, it coincides when &#947; = +&#8734;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proposition 1. The solution of problem (3.2) is given by formula</head><p>Proof. The function J &#947; (A) is convex quadratic. The result is obtained easily from computing the gradient of J &#947; (A).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">OTHER FORMULATIONS</head><p>We introduce the vector p t+1 , t = 1, &#8226; &#8226; &#8226; , T -1 by the formula</p><p>then a simple calculation shows that</p><p>So A &#947; appears as a linear combination of the vectors x t . So also, combining (3.4) and (3.5) we obtain</p><p>which defines uniquely the coefficients p 2 , &#8226; &#8226; &#8226; , p T entering in formula (3.5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">DUAL PROBLEM</head><p>The system (3.6) can be interpreted as a necessary and sufficient condition of optimality for a different problem, called the dual problem. The decision is a control q 1 , &#8226; &#8226; &#8226; , q T -1 where q t &#8712; R n . We define the payoff</p><p>x t .x s q s .q t + T -1 t=1</p><p>x t+1 .q t (3.7)</p><p>and the optimal q = (q 1 , &#8226; &#8226; &#8226; , q T -1 ) is the control (p 2 , &#8226; &#8226; &#8226; , p T ) solution of the system (3.6).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5">GRADIENT DESCENT ALGORITHM</head><p>Consider the payoff J(A) = J &#947; (A), we drop the index &#947; for simplicity. We can compute the gradient DJ(A)</p><p>which is a matrix</p><p>The optimal value of A, noted A &#947; satisfies DJ(A &#947; ) = 0. A gradient descent algorithm is defined by the sequence</p><p>where &#961; is a positive number to be chosen conveniently. We use</p><p>We obtain the Proposition 2. Asume that</p><p>Proof. From the assumption (3.12) , we have -1</p><p>is decreasing, thus converging since it is bounded below. From ( 3.2) it is clear that the sequence A n is bounded. We first note that J(A n+1 ) -J(A n ) &#8594; 0. Moreover, we can extract from A n a subsequence, still denoted A n which converges to some A. From (3.11) we can immediately write</p><p>From the condition on &#961; the left hand side is negative and the right hand side positive. Necessarily DJ(A) = 0, hence A = A &#947; . Since the limit will be the same for any converging subsequence, the full sequence converges, which completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.6">RECURSIVITY</head><p>We emphasize here the dependence of A &#947; with respect to T. So we shall write A T = A &#947; and we want to calculate A T +1 . We first introduce</p><p>and we can see that</p><p>In this way, we can compute A T recursively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.7">ASYMPTOTIC ANALYSIS</head><p>We can check easily that the matrix A &#947; converges as &#947; &#8594; +&#8734; towards the solution of the least square problem (3.1). In fact we can write the asymptotic exapansion</p><p>This result requires the invertibility of the matrix T -1 t=1 x t x * t . If this is not true, we can state a weaker result . Since the observation x t is not arbitrary, we may assume that there exists a matrix &#256; such that</p><p>We can state the Proposition 3. Assume the existence of matrices &#256; such that (3.17) holds. Then the matrix A &#947; converges as &#947; &#8594; +&#8734; towards the matrix &#256; of minimum norm.</p><p>Proof. From (3.2) we can write</p><p>from which it follows immediately that</p><p>So , it is clear that any converging subsequence will tend towards one matrix &#256; satisfying (3.17). Thanks to <ref type="bibr">(3.18</ref>) in which the right hand side refers to any matrix &#256; satisfying (3.17), it is clear that the limit point is unique and is the matrix &#256; satisfying (3.17) of minimum norm. This completes the proof of the result.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">PARTIALLY OBSERVABLE SYSTEM</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">THE MODEL</head><p>We extend the identification problem above to the case of partially observable systems. So we have</p><p>x 1 = x and</p><p>In the model (4.1), (4.2) we suppose that we know the matrix C and the initial condition x. We want to find the unknown matrix A. This problem generalizes the problem considered in the previous sections, which is recovered when C = I.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">A NATURAL APPROACH</head><p>Let us assume that the rows of C are linearly independent, which implies</p><p>then the vector C * (CC * ) -1 y t is solution of (4.2) and is the solution with minimum norm. So we can naturally consider that the state x t , t &#8805; 2 is in fact reasonably estimated by C * (CC * ) -1 y t and we are back in the situation of fully observable systems . So we can estimate A by the formula</p><p>and we can proceed with similar considerations as above</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">MACHINE LEARNING APPROACH</head><p>A machine learning approach in the spirit of section 3.2 would be to look for A and vectors</p><p>with x 1 = x. In this payoff x t , t = 2, &#8226; &#8226; &#8226; T are decision variables, unlike in the above sections. We note the introduction of the parameter &#181;. The case &#181; = +&#8734; corresponds to the situation of section 4.2. This problem leads surprisingly to considerable difficulties. The reason is because the functional J(A, x(.)) is not convex in the pair of arguments A, x(.). It is convenient to make a change of arguments. We replace x(.) by</p><p>and define the state x t by the relations</p><p>)</p><p>with x t defined by (4.7). Since the values of y t are not arbitrary, we shall assume that there exists &#256; such that , setting</p><p>However, this bound is nor really known, since &#256; is not known. A more practical bound will be inf A,v(.)</p><p>This bound depends on the parameter &#181;,and will not be useful when we let &#181; &#8594; +&#8734;.</p><p>To simplify notation , we shall write Z = (A, v(.)) . The space of vectors Z is called Z and define the norm in Z by</p><p>We shall compute the gradient DJ(Z) . For that , we introduce the sequences of vectors p t , t = 1, &#8226; &#8226; &#8226; T defined by</p><p>We have the Lemma 4. The gradient of the function J(A, v(.)) is given by the formulas</p><p>with x t given by (4.7) and p t given by (4.13).</p><p>Proof. A simple calculation yields</p><p>Using (4.13) we get easily</p><p>(&#947;v t + p t+1 )&#7805; t and the result follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">NECESSARY CONDITIONS OF OPTIMALITY</head><p>A minimum point ( or a local minimum point) &#7825; = ( &#194;, vt , t = 1, &#8226; &#8226; &#8226; T -1) will satisfy the equations</p><p>pt+1 (x t ) * = 0 (4.16)</p><p>We claim Proposition 5. We assume (4.9). The set of miminimum of the function J(Z) is not empty and thus the set of triple &#194;, xt , pt satisfying (4.16), (4.17) is not empty.</p><p>Proof. In view of (4.9) , (4.10) holds. Therefore minimizing sequences remain bounded . Since J(Z) is continuous , the result follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">GRADIENT DESCENT ALGORITHM</head><p>We first show that the function J(Z) has a second derivative D 2 J(Z) &#8712; L(Z; Z). Indeed from (4.14) we can easily obtain</p><p>where Z = ( &#195;, &#7805;(.)) and</p><p>We also state Lemma 6. We have the formula</p><p>Proof. From (4.18) we get</p><p>pt+1 .&#7805; t</p><p>Using the system (4.19), we can compute the term T -1 t=1 pt+1 .&#7805; t and after some rearrangements we derive formula (4.20) where pt+1 is absent.</p><p>In the sequel we shall use the properties</p><p>where &#981;(r),&#968;(r) are continuous and monotone increasing functions. These properties are consequences of formulas (4.20) and (4.14) and technical calculations, which we do not detail. Since we are interested in minimizing J(Z), we can from (4.8) and (4.11) consider the ball</p><p>The gradient descent algorithm is defined by</p><p>We can state the Theorem 7. We choose</p><p>, 1) (4.25)</p><p>then the sequence J(Z n ) is decreasing , ||Z n || &#8804; M and DJ(Z n ) &#8594; 0 , as n &#8594; +&#8734;. So the limit points of the sequence Z n are solutions of DJ( &#7824;) = 0.</p><p>Proof. We use the formulas</p><p>Therefore, from (4.21) we get</p><p>Choosing &#961; as in (4.25) the number (&#961;-</p><p>We can iterate, and conclude that the sequence J(Z n ) is monotone decreasing. It follows that </p><p>From the continuity of the gradient, the statement of the Theorem follows.</p><p>We can detail the steepest gradient. Namely</p><p>Remark 8. The algorithm (4.28),(4.29),(4.30) is the straightforward application of the gradient descent method to the function J(Z). One of the difficulties is to estimate the bound (4.25).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">SPECIFIC DESCENT METHOD</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">METHOD</head><p>We exploit here some specific aspects of our optimization problem. Turning to (4.16), (4.17) , we write also</p><p>Considering &#194; given in the system (5.2) we obtain a unique pair xt , pt , since (5.2) is the Euler condition of a standard linear quadratic control problem. We can formulate it as a problem of calculus of variations min</p><p>On the other hand, when xt is given , with x1 = x, then &#194; defined by (5.1) minimizes the function</p><p>So &#194; appears as the solution of a fixed point problem. We exploit this fact in designing the algorithm. We define a sequence A n as follows . For A n given, we define</p><p>The parameter &#961; is positive. Finally the sequence A n is defined by</p><p>x n t+1 (x n t ) * (5.9)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">CONVERGENCE</head><p>We have the following convergence result Theorem 9. Assume &#961; &#8805; 0, then the sequence J(A n , x n (.)) ( see <ref type="bibr">(4.6)</ref>) is monotone decreasing. The sequence A n , x n (.), p n (.) is bounded , A n+1 -A n &#8594; 0 and limits of converging subesquences of A n , x n (.), p n (.) are solutions of (5.1), <ref type="bibr">(5.2)</ref>.</p><p>Proof. We first compute K</p><p>Since it is a quadratic function, we get easily</p><p>(5.11)</p><p>The relation (5.11) yields</p><p>and (5.10) yields</p><p>Adding (5.12) and (5.13) we obtain</p><p>It follows that the sequence</p><p>decreasing and thus convergente. From (5.14) we get that A n+1 -A n &#8594; 0.Clearly the sequences A n and x n t are bounded.</p><p>From the second relation (5.8), the sequence p n t is also bounded. If we extract a converging subsequence, the limit is a soltion of the system (5.1), (5.2). This concludes the proof</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">DUALITY</head><p>In (4.17) we replace &#194; by its value coming from (4.16). We obtain</p><p>The unknowns are the pair xt , pt ,t = 1, &#8226; &#8226; &#8226; T. The first one is linear in p(.) and the second one is linear in x(.). We can interpret the first equation as the Euler equation for the the optimization of the functional</p><p>xt+1 .q t (5.16) and pt+1 , t = 1, &#8226; &#8226; &#8226; , T -1 attains the minimal value of K(q). Unfortunately, this observation is not very useful, since we do not know the vectors xt . One can think, of course, of using the linear system , described by the second equation (5.15) to obtain the vectors xt , but this system is not immediately well posed. So , it is not clear how to design an iteration for the pair of equations (5.15). Another possibility to introduce duality is to consider the dual problem of K x ( &#194;, x 2 , &#8226; &#8226; &#8226; , x T ). It consists in considering pt as a state and xt as an adjoint state. We can consider indeed the following control problem.</p><p>The evolution of the system is described by the following backward dynamics: The control is a sequence</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>and we state</head><p>q T = -&#181;C * y T + C * z T (5.17)</p><p>and we minimize the functional</p><p>then the solution is z t = &#181;C xt and the optimal state is pt . We can then design the following algoritm .</p><p>Assuming A n known, we obtain</p><p>We then obtain p n t by minimizing the functional K(A n , z(.)) defined by the following relations</p><p>Then , we can define A n+1 by the formula</p><p>This algorithm is different from (5.9) (with &#961; = 0). In fact, it corresponds to</p><p>We do not claim convergence of this algorithm</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">RECURSIVITY</head><p>We consider now the dependence in T . We use the notation</p><p>x t+1 (x t ) * (5.23)</p><p>The dependence in T can be emphasaized with the notation A T , x T t , p T t . To obtain resursive formulas, it is essential to rely on classical results of control theory, which decouple the forward-backward system of equations (5.23), <ref type="bibr">(5.24)</ref>. In fact, a linear relation holds</p><p>By well known calculations we have the formulas</p><p>and then the sequence p t is defined by</p><p>In the calculations, we have used the fact that &#931; t is symmetric and we have the relation</p><p>The important point is that &#931; t , r t do not depend on T. Reinstating the notation T , we have the formulas</p><p>We write</p><p>then , we get the formulas</p><p>We obtain recursivity , but at the price of complex equations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.5">ASYMPTOTIC ANALYSIS</head><p>We take &#181; = &#947; and emphasize the dependence in &#947; as follows:</p><p>and the Euler necessary conditions of optimality</p><p>We want to study the behavior of these quantities as &#947; &#8594; +&#8734;. We assume the existence of a matrix &#256; such that</p><p>We first state the Proposition 10. Assume <ref type="bibr">(5.38)</ref>. Let A &#947; , x &#947; (.) be a minimum of J &#947; (A, x(.)), then as &#947; &#8594; +&#8734;,A &#947; converges towards the element &#256; satisfying (5.38) of minimum norm.</p><p>Proof. The proof is similar to that of Proposition 3. Necessarily</p><p>Therefore the sequence A &#947; is bounded. Hence also the sequence x &#947; t , t = 2, &#8226; &#8226; &#8226; T -1 is bounded. If we consider a convergingnorm. subsequence, the limit satisfies necessarily (5.38) and has minimum.</p><p>We next consider the triple A &#947; , x &#947; t , p &#947; t , t = 1, &#8226; &#8226; &#8226; T solution of (5.36), (5.37). We look for an asympotic expansion of the form</p><p>x j t &#947; j (5.39)</p><p>After easy but tedious calculations, we obtain the sequence of systems ,j &#8805; 1</p><p>where the sum j-1 k=1 disappears for j = 1. We add the relations</p><p>In the system (5.40) the unknowns are the pair</p><p>The first equation (5.41) is an equation for A 1 and the second equation (5.41) is an equation for A j+1 . These systems of equations are linear in the unknowns, although very complicated. If they have a solution then the expansion (5.39) is solution of (5.36), (5.37).</p><p>We shall focus on the first one, which is generic for the following ones. Namely, we have to solve the system As said earlier, in the system (5.42), the unknowns are x 1 t and p 0 t ,and A 1 is a parameter. We define A 1 by solving the equation (5.43). We first decouple the system of forward backward equations (5.42). We write We can apply this formula in the scalar case, with the notation &#256; = &#257;, A 1 = a 1 ,C = c and T = 3. We get </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">CONCLUSION</head><p>The concepts and methods of machine learning are most meaningful when the system is already described by a state representation and the state has a physical meaning. Otherwise, if the system is decribed by an input-output linear map, it is probably better to look for the minimum realization, which can be obtained by the Ho algorithm <ref type="bibr">[4]</ref>. For purely deterministic systems as decsribed here, the best is probably to try to obtain enough observation to be in the case (4.3), and apply methods of full observation. But , in general, there is a noise which affects the observation and we cannot reduce the problem to the full observation case.</p><p>In this situation, the methods described above are perfectly applicable. It is clear that the penalty terms play a considerable role, and must be tuned adequately.</p></div></body>
		</text>
</TEI>
