betaFeedback

WorksEngineering

Prediction Error Method for Identification of Subnetworks of Dynamical Systems

Abstract

This paper considers prediction-error identification of a subnetwork embedded in a dynamic network. Measured boundary signals entering the subnetwork are appended to the exogenous inputs. Consistency requires that the part of these boundary signals generated by the subnetwork be reconstructible from the measured history; the subnetwork may be enlarged to obtain a simple structural sufficient condition. Under the stated model, stability, delay, disturbance-separation, informativity, and identifiability assumptions, the resulting criterion yields consistent estimates of the subnetwork transfer functions. The predictor may depend nonlinearly on the open-loop transfer functions, allowing consistent estimation with fewer measured internal signals than methods based on predictors that are linear in those transfer functions.

Introduction

System identification for networks of dynamical systems is an active research field with a long history. Some early references are [13, 14, 9]. Much of the focus has been on identifying parts of a network, called a subnetwork, with the motivation that in practice it is impossible to identify large networks, and often only parts of a network are of interest in applications. However, it is important to recognize that the overall network will have an impact on how the subnetwork can be identified and what the quality of the subnetwork model will be. This impact is due to the feedback that the overall network usually provides to the subnetwork. This means that the problem of identifying subnetworks is a problem of system identification under feedback, a topic that also has a long history, see e.g. [5]. A more recent survey is [4].

We develop a prediction error method (PEM) for this problem. The main idea is to treat measured boundary signals entering the target subnetwork as additional measured inputs and then apply complete-network PEM.

Identification of individual modules and subnetworks in linear dynamic networks has received considerable attention. The local methods of [14] construct predictors around a designated module, and Dankers et al. [3] give conditions for selecting subsets of node signals as predictor inputs. These methods target one designated transfer function, and their local predictor formulations are linear in that target open-loop module. Network abstraction provides another way to remove unmeasured node signals while preserving a designated target module [16]. Complete-network methods instead estimate all modules jointly [17]. More generally, Hansson et al. [7] establish consistency for complete dynamic networks with predictors that may depend nonlinearly on several open-loop transfer functions. This result provides the complete-network basis for the subnetwork method developed here.

In the standard closed-loop setting considered by Ljung [12] and Forssell and Ljung [4], the output entering the feedback loop is also the output being predicted. Their prediction-error analysis assumes that the plant contribution to the predicted output is independent of the current and future innovations. A delay in the loop is a common sufficient condition: the current prediction error cannot pass through the feedback loop and affect the input used to predict the same output.

This property is not automatic when only part of a dynamic network is measured. A boundary signal returning to the subnetwork may depend on an unmeasured subnetwork output and can therefore contain information that is absent from the measured output history. Existing local-module methods address this issue by enlarging the local predictor input and output sets so that the relevant feedback paths are accounted for [14, 3, 16].

Our method uses a different enlargement rule. Additional modules from the original network are included in the subnetwork to be estimated until the part of each returning boundary signal generated by the subnetwork is measured or reconstructible from the measured history. All modules in the enlarged subnetwork are then estimated jointly, and the prediction-error orthogonality argument can be applied. Our work builds on [7], which considers complete dynamic networks. If only one transfer function is of interest, the initial subnetwork may consist of its module, so single-module identification is included as a special case.

Because the complete-network predictor can depend nonlinearly on several unknown open-loop transfer functions, the interactions among modules in the enlarged subnetwork can be represented directly. This can reduce the number of internal signals that must be measured compared with local methods based on predictors that are linear in the target modules.

Model of network

We consider linear models for the vector-valued input signals uk∈Rnu_k \in\mathbb{R}^{n}, rk∈Rmrr_k \in\mathbb{R}^{m_r} and ek∈Rmee_k \in\mathbb{R}^{m_e}, and the vector-valued output signal yk∈Rny_k \in\mathbb{R}^{n} defined by

yk=G(q)uk+Ωy(q)rk+Hy(q)ek(1)y_k = \mathbf{G}(q)u_k + \mathbf{\Omega}_y(q)r_k + \mathbf{H}_y(q)e_k \tag*{(1)}

where G\mathbf{G}, Ωy\mathbf{\Omega}_y and Hy\mathbf{H}_y are proper transfer function matrices in the forward shift operator, qq. We assume that G(q)\mathbf{G}(q) is strictly proper. The sequence eke_k is temporally independent, has zero mean, and has constant diagonal positive definite covariance matrix Σe\mathbf{\Sigma}_e. Let Υ\mathbf{\Upsilon}, Ωu\mathbf{\Omega}_u and Hu\mathbf{H}_u, of dimensions n×nn \times n, n×mrn \times m_r and n×men \times m_e, respectively, also be proper transfer function matrices in the forward shift operator. We define a feedback connection

uk=Υ(q)yk+Ωu(q)rk+Hu(q)ek.(2)u_k = \mathbf{\Upsilon}(q)y_k + \mathbf{\Omega}_u(q)r_k + \mathbf{H}_u(q)e_k. \tag*{(2)}

These two equations define what is often called a network of dynamical systems. We assume that the closed-loop system is well-posed and stable.

Another popular network formulation considered in the literature is given by

wk=Gˉ(q)wk+Ωˉ(q)rk+Hˉ(q)ek(3)w_k = \bar{\mathbf{G}}(q)w_k + \bar{\mathbf{\Omega}}(q)r_k + \bar{\mathbf{H}}(q)e_k \tag*{(3)}

with (Gˉ,Ωˉ,Hˉ)(\bar{\mathbf{G}},\bar{\mathbf{\Omega}},\bar{\mathbf{H}}) also proper transfer function matrices in the forward shift operator. We assume that Hˉ(q)\bar{\mathbf{H}}(q) is diagonal. It is often assumed that Gˉ(q)\bar{\mathbf{G}}(q) has a zero diagonal. This can be cast in the form of (1) by taking uk=yk=wku_k = y_k = w_k and G(q)=Gˉ(q)\mathbf{G}(q) = \bar{\mathbf{G}}(q). A network on the form (1) and (2) can be written

\begin{bmatrix} y_k \\ u_k \end{bmatrix} = \begin{bmatrix} 0 & \mathbf{G}(q) \\ \mathbf{\Upsilon}(q) & 0 \end{bmatrix} \begin{bmatrix} y_k \\ u_k \end{bmatrix} + \begin{bmatrix} \mathbf{\Omega}_y(q) \\ \mathbf{\Omega}_u(q) \end{bmatrix}r_k + \begin{bmatrix} \mathbf{H}_y(q) \\ \mathbf{H}_u(q) \end{bmatrix}e_k \tag*{(4)}\end{bmatrix}

which with wk=(yk,uk)w_k = (y_k,u_k) and obvious definitions of transfer function matrices is of the form in (3) with a zero diagonal Gˉ(q)\bar{\mathbf{G}}(q). Hence the two formulations can be considered to be equivalent, and we will use them interchangeably.

We assume that all the transfer functions we have defined are dependent on some parameter θ\theta, parts of which are going to be identified. We denote with Θo\Theta_o the set of parameters θ\theta such that the closed-loop system has all poles strictly inside the unit circle. We define the compact set Θ⊂Θo\Theta\subset\Theta_o such that it contains the parameter θ0\theta_0 which represents the closed-loop system from which we will collect data. This data will be defined later on. We assume that all transfer functions are rational functions in θ\theta and qq. If we want to emphasize the parameter dependence we may e.g. write G(q;θ)\mathbf{G}(q;\theta) for transfer functions and yk(θ)y_k(\theta) for signals.

Prediction error method and consistency

It is possible to consider a problem equivalent to (1–2) which is of the same form but of higher dimension for which G\mathbf{G} is diagonal, Υ\mathbf{\Upsilon} and Ωu\mathbf{\Omega}_u are zero-one matrices and Ωy\mathbf{\Omega}_y and Hu\mathbf{H}_u are zero. This is shown in Section 6. For that case we have for diagonal H=Hy\mathbf{H} = \mathbf{H}_y a multidimensional Box-Jenkins model in a feedback configuration as in Figure 1. In [7] it has been shown how to obtain the predictor and formulate a maximum likelihood (ML) problem that can be solved reliably for multiple single-input single-output ARMAX models in this feedback configuration also when not all signals in the network are measured.

Figure 1. Block diagram for a dynamic network.

To estimate part of a network, partition it as

[wkAwkB]=[GˉAGˉABGˉBAGˉB][wkAwkB]+[ΩˉAΩˉB]rk+[HˉAHˉB]ek.\begin{bmatrix} w_k^A \\ w_k^B \end{bmatrix} = \begin{bmatrix} \bar{\mathbf{G}}_A & \bar{\mathbf{G}}_{AB} \\ \bar{\mathbf{G}}_{BA} & \bar{\mathbf{G}}_B \end{bmatrix} \begin{bmatrix} w_k^A \\ w_k^B \end{bmatrix} + \begin{bmatrix} \bar{\mathbf{\Omega}}_A \\ \bar{\mathbf{\Omega}}_B \end{bmatrix}r_k + \begin{bmatrix} \bar{\mathbf{H}}_A \\ \bar{\mathbf{H}}_B \end{bmatrix}e_k.

The signals and modules with superscript A form the A-part, and those with superscript B form the B-part.

We define r^kA=(rk,wkB)\hat{r}_k^A = (r_k,w_k^B), r^kB=(rk,wkA)\hat{r}_k^B = (r_k,w_k^A) and

Ω^A=[ΩˉA GˉAB],Ω^B=[ΩˉB GˉBA].\hat{\mathbf{\Omega}}_A = [\bar{\mathbf{\Omega}}_A\ \bar{\mathbf{G}}_{AB}], \qquad\hat{\mathbf{\Omega}}_B = [\bar{\mathbf{\Omega}}_B\ \bar{\mathbf{G}}_{BA}].

Then it holds that

wkA=GˉAwkA+Ω^Ar^kA+HˉAek,w_k^A = \bar{\mathbf{G}}_A w_k^A + \hat{\mathbf{\Omega}}_A \hat{r}_k^A + \bar{\mathbf{H}}_A e_k,
wkB=GˉBwkB+Ω^Br^kB+HˉBek.w_k^B = \bar{\mathbf{G}}_B w_k^B + \hat{\mathbf{\Omega}}_B \hat{r}_k^B + \bar{\mathbf{H}}_B e_k.

We then let wkA=(ykA,ukA)w_k^A = (y_k^A,u_k^A) and similarly for wkBw_k^B and we also let

GˉA=[0GAΥA0]\bar{\mathbf{G}}_A = \begin{bmatrix} 0 & \mathbf{G}_A \\ \mathbf{\Upsilon}_A & 0 \end{bmatrix}

and similarly for GˉB\bar{\mathbf{G}}_B. We then have two systems of the form in (4), each of which is equivalent to the form in (1–2). We may then use the result in Section 6 to deduce that they can be written as

y~kA=G~Au~kA+H~Aek\tilde{y}^{A}_{k}=\tilde{G}_{A}\tilde{u}^{A}_{k}+\tilde{H}_{A}e_{k}
u~kA=Υ~Ay~kA+Ω~Ar^k\tilde{u}^{A}_{k}=\tilde{\Upsilon}_{A}\tilde{y}^{A}_{k}+\tilde{\Omega}_{A}\hat{r}_{k}
y~kB=G~Bu~kB+H~Bek\tilde{y}^{B}_{k}=\tilde{G}_{B}\tilde{u}^{B}_{k}+\tilde{H}_{B}e_{k}
u~kB=Υ~By~kB+Ω~Br^k\tilde{u}^{B}_{k}=\tilde{\Upsilon}_{B}\tilde{y}^{B}_{k}+\tilde{\Omega}_{B}\hat{r}_{k}

for diagonal transfer function matrices and where the other matrices are zero-one matrices. Moreover, it holds for zero-one matrices (ΦA,ΦB)(\Phi_A,\Phi_B) that

wkA=ΦAy~kA,wkB=ΦBy~kB.w^{A}_{k}=\Phi_A\tilde{y}^{A}_{k},\qquad w^{B}_{k}=\Phi_B\tilde{y}^{B}_{k}.

It then holds with Ω~A=[Ω~AA Ω~AB]\tilde{\Omega}_{A}=\left[\tilde{\Omega}_{AA}\ \tilde{\Omega}_{AB}\right] and Ω~B=[Ω~BB Ω~BA]\tilde{\Omega}_{B}=\left[\tilde{\Omega}_{BB}\ \tilde{\Omega}_{BA}\right] that

Ω~Ar^kA=Ω~AArk+Ω~ABΦBy~kB\tilde{\Omega}_{A}\hat{r}^{A}_{k}=\tilde{\Omega}_{AA}r_{k}+\tilde{\Omega}_{AB}\Phi_B\tilde{y}^{B}_{k}
Ω~Br^kB=Ω~BBrk+Ω~BAΦAy~kA.\tilde{\Omega}_{B}\hat{r}^{B}_{k}=\tilde{\Omega}_{BB}r_{k}+\tilde{\Omega}_{BA}\Phi_A\tilde{y}^{A}_{k}.

If we define Υ~AB=Ω~ABΦB\tilde{\Upsilon}_{AB}=\tilde{\Omega}_{AB}\Phi_B and Υ~BA=Ω~BAΦA\tilde{\Upsilon}_{BA}=\tilde{\Omega}_{BA}\Phi_A we obtain the network in Figure 2, where we do not write out the tildes. The conclusion of this exercise is that there is no loss in generality to consider a feedback connection as in Figure 2 where GAG_A and GBG_B are diagonal and where the Υ\Upsilon and Ω\Omega matrices are zero-one matrices. Let xkx_k denote the measured part of (ykA,ukA)(y^{A}_{k},u^{A}_{k}). All modules included in the A-part are estimated. The signals entering the A-part from the B-part are treated as additional measured input signals. The resulting equations have the form considered in Hansson et al. [7]. More specifically, the top part of the network in Figure 2 can be cast in the form of the network in Figure 1 by replacing Ω\Omega with Ωˉ=[ΩA I]\bar{\Omega}=[\Omega_A\ I] and rkr_k with rˉk=(rk,yˉkB)\bar{r}_k=(r_k,\bar{y}^{B}_k), where yˉkB=ΥABykB\bar{y}^{B}_k=\Upsilon_{AB}y^{B}_k is a signal we assume we can measure.2 This is visualized in Figure 3.

Figure 2. Block diagram for a dynamic network partitioned into two subnetworks.

Figure 3. Block diagram for a dynamic subnetwork.

It should be stressed that yˉkB\bar{y}^{B}_k will in general be correlated with eke_k, and therefore the criterion function obtained by applying the approach of Hansson et al. [7] to a subnetwork is not, in general, a true ML criterion. We impose the following boundary-information condition: the component of yˉkB\bar{y}^{B}_k generated by signals from A is causally reconstructible from {xj:j<k}\{x_j:j<k\} and the measured exogenous inputs available at time kk. Thus, yˉkB\bar{y}^{B}_k provides no additional information about the current A-part innovation.

It is not necessary to measure every signal from A entering B. Only a boundary component that can affect yˉkB\bar{y}^{B}_k must be measured or causally reconstructible. Measuring every signal from A entering B is a simple, but potentially conservative, structural condition that ensures the boundary-information condition. If this structural condition does not hold, relevant modules can be moved from B to A and the condition checked at the new boundary.

Enlargement only moves modules from B to A and terminates after at most all modules in B have been included. In the worst case, estimation covers the complete network. Enlargement is needed only to obtain the simple structural condition; direct verification of reconstructibility may permit a smaller A-part. The method is most useful when a small measured or reconstructible boundary separates the target A-part from the B-part; otherwise, the number of nuisance modules and the optimization dimension can become large.

[14, 3, 16] and the present method may enlarge the identification model beyond the original target. The former methods enlarge or abstract the predictor model around a designated module, whereas the present method enlarges the A-part by including original network modules until the boundary-information condition is satisfied. These enlargements need not contain the same transfer functions or require the same measured signals. The present method also allows the initial A-part to contain several target modules. If only one transfer function is the target, the initial A-part may contain only that module, and the method applies as a special case. Unlike the cited local

predictor formulations, the resulting predictor may depend nonlinearly on the open-loop transfer functions and can consequently require fewer internal measurements. In the remaining part of this section we restrict ourselves to the case when (GA,HA)(G_A,H_A) defines ARMAX models. Notice that they are single-input single-output models, since the transfer functions are assumed to be diagonal.

To estimate the parameter vector θ\theta for subnetwork A we consider the following optimization problem

minimize12∑k=1N(ϵkTΣϵ−1ϵk+ln⁡det⁡Σϵ)subject tox^k=Wxxk+Wrrˉkϵk=xk−x^k,θ∈Θ(5)\begin{aligned} \text{minimize}\quad& \frac{1}{2}\sum_{k=1}^{N}\left(\epsilon_k^{T}\Sigma_{\epsilon}^{-1}\epsilon_k+\ln\det\Sigma_{\epsilon}\right)\\ \text{subject to}\quad& \hat{x}_k=W_xx_k+W_r\bar{r}_k\\ & \epsilon_k=x_k-\hat{x}_k,\quad\theta\in\Theta \tag*{(5)} \end{aligned}

with variables (θ,ϵ,x^)(\theta,\epsilon,\hat{x}), where the predictor transfer functions WxW_x and WrW_r and the covariance Σϵ\Sigma_{\epsilon} are implicitly parameterized via an algebraic Riccati equation, cf. Hansson et al. [7]. The signal xx is measured in addition to rˉ\bar{r}. In case yˉkB\bar{y}^{B}_k is independent of ϵk\epsilon_k it holds that this is an ML problem. This is however not the case in general for our problem, and then we have what in the literature is called a PEM problem with an ML-like criterion function, cf. Ljung [10].

We will not solve the problem as it stands, but instead use an equivalent formulation presented in Da Mata et al. [2] and based on maximum likelihood estimation for missing data, [6, 15]. In this way we will not have to consider the algebraic Riccati equation as a constraint, which would have been difficult. However, the predictor formulation we have above will make it possible for us to conclude that we can estimate GAG_A consistently.

Consistency of the corresponding estimator for identification of complete networks was established in Hansson et al. [7]. The predictor used here is the same Kalman filter predictor, but applied to the subnetwork shown in Figure 3, where the signals entering the subnetwork from the surrounding network are treated as additional measured inputs. Consequently, the only difference compared to the setting considered in Hansson et al. [7] is that some of the measured inputs originate from the surrounding feedback network.

Theorem 1. Let θ^N\hat{\theta}_N be the parameter component of a global minimizer of (5) based on NN samples. Suppose that the boundary-information condition holds and that the following conditions are satisfied: (i) the AA- and BB-polynomials of the ARMAX models are coprime; (ii) the CC-polynomials of the ARMAX models have no zeros on the unit circle; (iii) (xk,rˉk)(x_k,\bar{r}_k) is informative enough; and (iv) the AA-part of the network is generically network identifiable. Then, by Theorem 7 of Hansson et al. [7],

GA(q;θ^N)→ N→∞ a.s.GA(q;θ0)(6)G_A(q;\hat{\theta}_N)\xrightarrow[\ N\to\infty\ ]{\mathrm{a.s.}}G_A(q;\theta_0) \tag*{(6)}

where a.s. denotes convergence with probability one.

Proof. At the true parameter, the first two stated conditions provide the regularity conditions for the ARMAX predictor. Strict properness of G(q)G(q) prevents the current disturbance in the enlarged A-part from reaching yˉkB\bar{y}^{B}_k. Diagonality of Hˉ(q)\bar{H}(q) and Σϵ\Sigma_{\epsilon} separates the current disturbances in the enlarged A-part and the remaining B-part. Finally, the boundary-information condition ensures that every measured boundary signal entering A depends on A only through information reconstructible from past measurements. Consequently, the information used by the predictor contains no current A-part innovation, and

E[ϵkxjT]=0,j<k,E[ϵkrˉjT]=0,j≤k.(7)\mathbb{E}\left[\epsilon_kx_j^T\right]=0,\quad j<k,\qquad \mathbb{E}\left[\epsilon_k\bar{r}_j^T\right]=0,\quad j\leq k. \tag*{(7)}

The orthogonality relations in (7) are the additional condition needed in the subnetwork setting. The standard prediction-error consistency argument, including the closed-loop case, is given in Ljung [12]; see also Forssell and Ljung [4]. Together with the informativity and identifiability conditions, these relations allow the consistency result in Section VII of Hansson et al. [7] to be applied to the enlarged A-part. □

Remark 1. For the subvector θGA\theta_{G_A} parameterizing GA\mathbf{G}_A,

θ^GA,N→ N→∞ a.s.θGA,0\hat{\theta}_{G_A,N}\xrightarrow[\ N\to\infty\ ]{\mathrm{a.s.}}\theta_{G_A,0}

Moreover, without loss of generality, it may be necessary to replace xkx_k by suitable linearly independent linear combinations of its components in order to satisfy Assumption A2 of Hansson et al. [7]. See Hansson et al. [8] for informativity and generic network identifiability.

The main motivation for considering the PEM formulation above is that it permits predictors that are nonlinear in the open-loop transfer functions in GAG_A. Such predictors can require fewer measured signals in the A-part than linear predictors while still yielding consistent estimates of the parameters of GAG_A. It should be mentioned that, in general, we cannot estimate the noise model.

Numerical Example

Network and measurement configurations

We consider a seven-module network and estimate G1,G2,G3\mathbf{G}^{1},\mathbf{G}^{2},\mathbf{G}^{3}, with A={1,2,3}A=\{1,2,3\} and B={4,5,6,7}B=\{4,5,6,7\}. Its interconnection is specified by

u1=y6,u2=r1+y1+y3,u3=r2+y2,u4=y7,u5=y4,u6=r3+y5+y7,u7=y3.(8)\begin{aligned} u^1&=y^6,\qquad u^2=r^1+y^1+y^3,\qquad u^3=r^2+y^2,\\ u^4&=y^7,\qquad u^5=y^4,\\ u^6&=r^3+y^5+y^7,\qquad u^7=y^3. \tag*{(8)} \end{aligned}

For this example, Ωy=Hu=0\Omega_y=H_u=0, Γ=T\Gamma=\mathcal{T}, and Ωu=Ω\Omega_u=\Omega. The interconnection matrices in (2) for (8) are

Γ=[0000010100000001000000000001000100000001010010000],Ω=[000100010000000001000].(9)\Gamma= \begin{bmatrix} 0&0&0&0&0&1&0\\ 1&0&0&0&0&0&0\\ 0&1&0&0&0&0&0\\ 0&0&0&0&0&0&1\\ 0&0&0&1&0&0&0\\ 0&0&0&0&1&0&1\\ 0&0&1&0&0&0&0 \end{bmatrix}, \qquad \Omega= \begin{bmatrix} 0&0&0\\ 1&0&0\\ 0&1&0\\ 0&0&0\\ 0&0&0\\ 0&0&1\\ 0&0&0 \end{bmatrix}. \tag*{(9)}

In the notation of the preceding section, the incoming signal is yˉB=ΓAByB=(y6,0,0)\bar{y}^{B}=\Gamma_{AB}y^{B}=(y^6,0,0). The external input r3r^3 does not enter A directly. Omitting these unused and zero components, the measured input signal for estimation is (r1,r2,y6)(r^1,r^2,y^6), and

ΓA=[000101010],(10)\Gamma_A= \begin{bmatrix} 0&0&0\\ 1&0&1\\ 0&1&0 \end{bmatrix}, \tag*{(10)}
ΩArk+ΓABykB=[001100010][rk1rk2yk6].\Omega_A r_k+\Gamma_{AB}y_k^B= \begin{bmatrix} 0&0&1\\ 1&0&0\\ 0&1&0 \end{bmatrix} \begin{bmatrix} r_k^1\\ r_k^2\\ y_k^6 \end{bmatrix}.

The measured output vector xkx_k is yk3y_k^3, (yk1,yk3)(y_k^1,y_k^3), or (yk1,yk2,yk3)(y_k^1,y_k^2,y_k^3) in the three configurations considered; the same measured inputs are available in every case. The signal from A to B that can return to A is yk3y_k^3, which is included in every choice of xkx_k. Hence the selected A-part satisfies the simple structural sufficient condition, and no enlargement is needed in this example.

For the diagram, write vi=Hieiv^i = \mathbf{H}^i e^i for each module disturbance.

All modules have order two, with transfer functions

Gi(q)=b1iq+b2iq2+a1iq+a2i,Hi(q)=q2+c1iq+c2iq2+a1iq+a2i.(11)\mathbf{G}^i(q) = \frac{b_1^i q+b_2^i}{q^2+a_1^i q+a_2^i}, \qquad\mathbf{H}^i(q) = \frac{q^2+c_1^i q+c_2^i}{q^2+a_1^i q+a_2^i}. \tag*{(11)}

The plant coefficients are a1i,a2i,b1i,b2ia_1^i,a_2^i,b_1^i,b_2^i; the coefficients c1i,c2ic_1^i,c_2^i describe the noise numerator, and λi\lambda^i is the variance of ekie_k^i.

Algebraic recovery and identifiability

For the coefficients in Table 1, the poles of the full network and of subnetwork A, with (r1,r2,y6)(r^1,r^2,y^6) treated as external inputs, have absolute values less than 0.91850 and 0.64341, respectively. All seven plant modules are stable and strictly proper. Eliminating the unmeasured outputs y1y^1 and y2y^2 gives

iia1ia_1^ia2ia_2^ib1ib_1^ib2ib_2^ic1ic_1^ic2ic_2^i
110.250.30.160.3-0.01
2-0.80.150.8-0.3-0.80.2
30.45-0.13-0.4-0.25-0.02-0.8
4-0.45-0.1-20.4-0.15-0.07
50.1-0.42.22-0.6-0.05
6-0.2-0.150.150.0510.15
70.50.0510.20.15-0.7

Table 1. Data-generating coefficients; λi=0.01i\lambda^i = 0.01i.

Δy3=G3G2G1y6+G3G2r1+G3r2+G3G2H1e1+G3H2e2+H3e3,(12)\Delta y^3 = \mathbf{G}^3\mathbf{G}^2\mathbf{G}^1 y^6 + \mathbf{G}^3\mathbf{G}^2 r^1 + \mathbf{G}^3 r^2 + \mathbf{G}^3\mathbf{G}^2\mathbf{H}^1 e^1 + \mathbf{G}^3\mathbf{H}^2 e^2 + \mathbf{H}^3 e^3, \tag*{(12)}

where Δ=1−G3G2\Delta= 1-\mathbf{G}^3\mathbf{G}^2 and transfer operators act on the associated signals. In the input ordering (y6,r1,r2)(y^6,r^1,r^2), the transfer matrix from measured inputs to y3y^3 has entries

T1=G3G2G1Δ,T2=G3G2Δ,T3=G3Δ.(13)T_1 = \frac{\mathbf{G}^3\mathbf{G}^2\mathbf{G}^1}{\Delta}, \qquad T_2 = \frac{\mathbf{G}^3\mathbf{G}^2}{\Delta}, \qquad T_3 = \frac{\mathbf{G}^3}{\Delta}. \tag*{(13)}

The target modules are recovered by

G1=T1/T2,G2=T2/T3,G3=T3/(1+T2).(14)\mathbf{G}^1 = T_1/T_2,\qquad\mathbf{G}^2 = T_2/T_3,\qquad\mathbf{G}^3 = T_3/(1+T_2). \tag*{(14)}

Equations (14) establish generic uniqueness, or generic network identifiability from (T1,T2,T3)(T_1,T_2,T_3) whenever the denominators are not identically zero. For coprime plant polynomials with monic denominators of the prescribed orders, the transfer functions in (14) also determine the plant coefficients. Thus the three target plants can be recovered from the transfer functions between the measured inputs and y3y^3, even when y1y^1 and y2y^2 are unmeasured.

Direct linear PEM for all three open-loop transfer functions requires measuring (y1,y2,y3)(y^1,y^2,y^3) together with the measured signals (y6,r1,r2)(y^6,r^1,r^2). This gives the equations

y1=G1y6+H1e1,y2=G2(r1+y1+y3)+H2e2,y3=G3(r2+y2)+H3e3.(15)\begin{aligned} y^1 &= \mathbf{G}^1 y^6 + \mathbf{H}^1 e^1,\\ y^2 &= \mathbf{G}^2(r^1+y^1+y^3) + \mathbf{H}^2 e^2,\\ y^3 &= \mathbf{G}^3(r^2+y^2) + \mathbf{H}^3 e^3. \tag*{(15)} \end{aligned}

In (15), every open-loop transfer function has a fully measured input. With fewer internal measurements, direct PEM will be nonlinear in the open-loop transfer functions.

Estimation, validation, and baseline

The estimation data contain N=500N = 500 samples with independent Gaussian disturbances of variances λi=0.01i\lambda^i = 0.01i. The external signals are random binary sequences taking values −1-1 and 11, generated using MATLAB’s idinput with the rbs option. For parameter statistics, 100 disturbance realizations use the same external-input data. Thus these statistics describe variability conditional on that excitation data.

We do not impose the algebraic Riccati equation as an optimization constraint. Instead, we use the equivalent missing-data formulation of [2], based on [6, 15]. The implementation uses three initialization stages: autoregressive estimation with exogenous inputs (ARX) and a common disturbance variance, ARMAX estimation with that common variance, and ARMAX estimation with separate variances. It uses a trust-region method from SciPy’s optimize package, with derivatives computed using JAX [1], double precision, default SciPy stopping tolerances, and at most 1000 iterations per stage. The second and third stages are initialized with the estimate from the preceding stage. Positive noise variances are parameterized as λi=10−2ρi\lambda^i = 10^{-2\rho_i} with unconstrained ρi\rho_i.

The baseline is direct PEM, implemented through separate ARMAX estimation in MATLAB R2024a using the System Identification Toolbox [11]. The three equations in (15) are fitted separately using armax with orders [na,nb,nc,nk]=[2,2,2,1][n_a,n_b,n_c,n_k] = [2,2,2,1] and SearchOptions. Tolerance =10−5=10^{-5}. Here na,ncn_a,n_c are polynomial orders, nbn_b counts input coefficients, and nkn_k is the input delay. With sparse measurement, not all required input/output pairs are available; this baseline is therefore used only when all three outputs are measured.

For validation, a separate 500-sample data record supplies r1,r2,y6r^1,r^2,y^6 to the estimated subnetwork. Plant-only simulations y^i\hat{y}^i, without new internal disturbances, are compared with noisy reference outputs yi,refy^{i,\mathrm{ref}} using

Fi=100(1−∥y^i−yi,ref∥2∥yi,ref−yˉi,ref1∥2),(16)F_i = 100\left(1-\frac{\lVert\hat{y}^i-y^{i,\mathrm{ref}}\rVert_2}{\lVert y^{i,\mathrm{ref}}-\bar{y}^{i,\mathrm{ref}}\mathbf{1}\rVert_2}\right), \tag*{(16)}

where yˉi,ref\bar{y}^{i,\mathrm{ref}} is the sample mean and 1\mathbf{1} is the 500-dimensional vector of ones. These individual simulation fits use measured inputs, not one-step predictions or free full-network simulation. Withheld outputs are used only for scoring. Both methods use the same 500 validation samples without burn-in removal.

For the Monte Carlo statistics, define the target coefficient vector as αA=(a11,a21,b11,b21,…,a13,a23,b13,b23)∈R12\alpha_A=(a_1^1,a_2^1,b_1^1,b_2^1,\ldots,a_1^3,a_2^3,b_1^3,b_2^3)\in\mathbb{R}^{12}. Let α^(ℓ)\hat{\alpha}^{(\ell)} denote its estimate in run ℓ\ell. Let αA,0\alpha_{A,0} be its true value. For R=100R=100 runs, define the sample mean αˉ\bar{\alpha}, empirical covariance C^\widehat{C}, squared bias B2B^{2}, and mean-square error (MSE) by

αˉ=R−1∑ℓ=1Rα^(ℓ),\bar{\alpha} = R^{-1} \sum_{\ell=1}^{R} \widehat{\alpha}^{(\ell)},
C^=R−1∑ℓ=1R(α^(ℓ)−αˉ)(α^(ℓ)−αˉ)T,\widehat{C} = R^{-1} \sum_{\ell=1}^{R} \left(\widehat{\alpha}^{(\ell)}-\bar{\alpha}\right)\left(\widehat{\alpha}^{(\ell)}-\bar{\alpha}\right)^{T},
B2=∥αˉ−αA,0∥22,MSE=tr⁡C^+B2.(17)B^{2} = \lVert\bar{\alpha}-\alpha_{A,0}\rVert_{2}^{2}, \qquad\mathrm{MSE} = \operatorname{tr}\widehat{C}+B^{2}. \tag*{(17)}

The divisor RR makes (17) exact. All saved estimates are included, without stability-based exclusion. Code and results are public.3

Results and discussion

For the network in Figure 4, the proposed PEM and direct PEM give similar results with the same measured signals. Its main advantage is that all three open-loop transfer functions can be recovered using fewer internal measurements, with only a small decrease in the fit values: measuring only y3y^{3} changes each fit by less than one percentage point relative to complete internal measurement.

Figure 4. Example network, with target modules A={1,2,3}A = \{1, 2, 3\} enclosed by the dashed line and remaining modules in BB. The signal y6y^{6} is measured in every experiment. Internal measurements are y3y^{3}, (y1,y3)(y^{1}, y^{3}), or (y1,y2,y3)(y^{1}, y^{2}, y^{3}).

A larger parameter bias is observed when fewer signals are measured. The squared bias increases from 0.1974 with all three outputs to 1.3776 with y3y^{3} alone, while the parameter MSE increases from 1.0475 to 1.7539. The objective in (5) is nonconvex, so convergence to local minima can contribute to the observed parameter bias.

Conclusions

This paper has shown that a class of subnetwork identification problems can be reformulated as complete-network identification problems through augmentation of the measured external signals. By augmenting the measured exogenous signals with measured boundary signals entering the subnetwork from the surrounding network, the subnetwork identification problem can be cast in a form closely related to the identification of a complete network.

Consistency requires the A-generated component of each measured boundary signal entering the A-part to be reconstructible from the measured history. Measuring every signal from A entering B is a simple sufficient condition, but it is not necessary. The A-part may be enlarged to satisfy this structural condition, although reconstructibility can permit a smaller subnetwork. The same predictor construction as in [7] can then be applied to the enlarged A-part.

An important advantage of the approach is that it allows the use of predictors that are nonlinear in the open-loop transfer functions. This makes it possible to obtain consistent estimates using fewer measured signals than what is typically required by PEM methods based on predictors that are linear in the open-loop transfer functions.

Future work will focus on numerical aspects of the optimization problem and further investigations of measurement requirements for identification of subnetworks.

Appendix

Consider (1)–(2), and assume that me≤nm_{e} \le n. For p∈{n,mr}p \in\{n,m_{r}\}, define

Jp=1n⊗Ip∈Rnp×p,Sp=1n⊗IpT∈Rn×np.(18)J_{p} = \mathbb{1}_{n} \otimes I_{p} \in\mathbb{R}^{np \times p}, \qquad S_{p} = \mathbb{1}_{n} \otimes I_{p}^{T} \in\mathbb{R}^{n \times np}. \tag*{(18)}

where 1p\mathbb{1}_{p} is the pp-dimensional vector of ones. For a transfer matrix A(q)∈Rn×p(q)\mathbf{A}(q) \in\mathbb{R}^{n \times p}(q), let vec⁡r(A)\operatorname{vec}_{r}(\mathbf{A}) denote the vector obtained by stacking the entries of A\mathbf{A} row by row, and define

DA(q)=diag⁡(vec⁡r(A(q)))∈Rnp×np(q).(19)D_{A}(q) = \operatorname{diag}(\operatorname{vec}_{r}(\mathbf{A}(q))) \in\mathbb{R}^{np \times np}(q). \tag*{(19)}

The definitions in (18)–(19) give

A(q)zk=SpDA(q)Jpzk,zk∈Rp.(20)\mathbf{A}(q)z_{k} = S_{p}D_{A}(q)J_{p}z_{k}, \qquad z_{k} \in\mathbb{R}^{p}. \tag*{(20)}

Let d=n2+nmrd = n^{2} + nm_{r} and define

ekp=[ek0n−me]∈Rn,e_{k}^{p} = \begin{bmatrix} e_{k}\\ 0_{n-m_{e}} \end{bmatrix} \in\mathbb{R}^{n},
Hyp=[Hy  0n×(n−me)],(21)\mathbf{H}_{y}^{p} = [\mathbf{H}_{y}\ \ 0_{n \times(n-m_{e})}], \tag*{(21)}
Hup=[Hu  0n×(n−me)].\mathbf{H}_{u}^{p} = [\mathbf{H}_{u}\ \ 0_{n \times(n-m_{e})}].

Then Hypekp=Hyek\mathbf{H}_{y}^{p}e_{k}^{p} = \mathbf{H}_{y}e_{k} and Hupekp=Huek\mathbf{H}_{u}^{p}e_{k}^{p} = \mathbf{H}_{u}e_{k}. Define

Internal outputsMethodF1F_1F2F_2F3F_3tr⁡C^\operatorname{tr}\widehat{C}B2B^2MSE
y3y^3Proposed PEM56.5875.8960.360.37641.37761.7539
y1,y3y^1,y^3Proposed PEM57.1075.8460.210.24421.26481.5090
y1,y2,y3y^1,y^2,y^3Proposed PEM57.1376.8660.430.85010.19741.0475
y1,y2,y3y^1,y^2,y^3Direct PEM (linear in G\mathbf{G})57.1376.8660.430.87170.14001.0117

Table 2. Individual simulation fits and 100-run parameter statistics; measured inputs: y6y^6, r1r^1, r2r^2.

G~=blkdiag⁡(DG,DΩy,DΥ,DΩu)∈R2d×2d(q),(22)\widetilde{\mathbf{G}}=\operatorname{blkdiag}\left(D_{\mathbf{G}},D_{\Omega_y},D_{\Upsilon},D_{\Omega_u}\right)\in\mathbb{R}^{2d\times2d}(q), \tag*{(22)}
H~=blkdiag⁡(DHyp,0nmr×nmr,DHup,0nmr×nmr)∈R2d×2d(q),(23)\widetilde{\mathbf{H}}=\operatorname{blkdiag}\left(D_{\mathbf{H}_y^p},0_{n_{mr}\times n_{mr}},D_{\mathbf{H}_u^p},0_{n_{mr}\times n_{mr}}\right)\in\mathbb{R}^{2d\times2d}(q), \tag*{(23)}
e~k=[Jnekp0nmrJnekp0nmr]∈R2d.(24)\widetilde{e}_k= \begin{bmatrix} J_n e_k^p\\ 0_{n_{mr}}\\ J_n e_k^p\\ 0_{n_{mr}} \end{bmatrix}\in\mathbb{R}^{2d}. \tag*{(24)}

Both G~\widetilde{\mathbf{G}} and H~\widetilde{\mathbf{H}} are diagonal transfer matrices.

Define

P=[Sn Smr]∈Rn2×d,K=JnP∈Rn2×d.(25)P=[S_n\ S_{mr}]\in\mathbb{R}^{n^2\times d},\qquad K=J_nP\in\mathbb{R}^{n^2\times d}. \tag*{(25)}

Using block-row dimensions n2,nmr,n2,nmrn^2,n_{mr},n^2,n_{mr} and two block-column dimensions d,dd,d, let

Υ~=[0n2×dK0nmr×d0nmr×dK0n2×d0nmr×d0nmr×d]∈R2d×2d,(26)\widetilde{\Upsilon}= \begin{bmatrix} 0_{n^2\times d} & K\\ 0_{n_{mr}\times d} & 0_{n_{mr}\times d}\\ K & 0_{n^2\times d}\\ 0_{n_{mr}\times d} & 0_{n_{mr}\times d} \end{bmatrix}\in\mathbb{R}^{2d\times2d}, \tag*{(26)}
Ω~=[0n2×mrJmr0n2×mrJmr]∈R2d×mr.(27)\widetilde{\Omega}= \begin{bmatrix} 0_{n^2\times m_r}\\ J_{m_r}\\ 0_{n^2\times m_r}\\ J_{m_r} \end{bmatrix}\in\mathbb{R}^{2d\times m_r}. \tag*{(27)}

The expanded network is

y~k=G~(q)u~k+H~(q)e~k,(28)\widetilde{y}_k=\widetilde{\mathbf{G}}(q)\widetilde{u}_k+\widetilde{\mathbf{H}}(q)\widetilde{e}_k, \tag*{(28)}
u~k=Υ~y~k+Ω~rk.(29)\widetilde{u}_k=\widetilde{\Upsilon}\widetilde{y}_k+\widetilde{\Omega}r_k. \tag*{(29)}

Finally, with

Ψ=blkdiag⁡(P,P)∈R2n×2d,(30)\Psi=\operatorname{blkdiag}(P,P)\in\mathbb{R}^{2n\times2d}, \tag*{(30)}

equation (20) gives

\begin{bmatrix} y_k\\ u_k \end{bmatrix} =\Psi\widetilde{y}_k. \tag*{(31)}\end{bmatrix}

Thus, (1)–(2) and (28)–(31) generate the same signals yky_k and uku_k. The expanded description has diagonal plant and noise transfer matrices and is a Box–Jenkins description. If a component of y~k\widetilde{y}_k is identically zero, that component and the corresponding rows and columns can be removed.

References

  1. [1]Bradbury, J., Frostig, R., Hawkins, P., Johnson, M.J., Leary, C., Maclaurin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., and Zhang, Q. (2018). JAX: composable transformations of Python+NumPy programs. URL http://github.com/google/jax.
  2. [2]Da Mata, J.V.G., Hansson, A., and Andersen, M.S. (2024). Direct system identification of dynamical networks with partial measurements: A maximum likelihood approach. In 2024 European Control Conference (ECC), 3116–3123. doi:10.23919/ECC64448.2024.10590797.
  3. [3]Dankers, A.G., Van den Hof, P.M.J., Bombois, X., and Heuberger, P.S.C. (2016). Identification of dynamic models in complex networks with prediction error methods: Predictor input selection. IEEE Transactions on Automatic Control, 61(4), 937–952. doi:10.1109/TAC.2015.2450895.DOI
  4. [4]Forssell, U. and Ljung, L. (1999). Closed-loop identification revisited. Automatica, 35(7), 1215–1241. doi: 10.1016/S0005-1098(99)00022-9.DOI
  5. [5]Gustavsson, I., Ljung, L., and Söderström, T. (1977). Identification of processes in closed loop—identifiability and accuracy aspects. Automatica, 13(1), 59–75. doi: https://doi.org/10.1016/0005-1098(77)90009-7. URL https://www.sciencedirect.com/science/article/pii/0005109877900097.
  6. [6]Hansson, A. and Wallin, R. (2012). Maximum likelihood estimation of Gaussian models with missing data—eight equivalent formulations. Automatica, 48(9), 1955–1962. doi:https://doi.org/10.1016/j.automatica.2012.05.060. URL https://www.sciencedirect.com/science/article/pii/S0005109812002336.
  7. [7]Hansson, A., da Mata, J.V.G., and Andersen, M.S. (2025). Maximum likelihood estimation for system identification of networks of dynamical systems. URL https://arxiv.org/abs/2506.20628.
  8. [8]Hansson, A., da Mata, J.V.G., and Andersen, M.S. (2026). Informativity and identifiability for identification of networks of dynamical systems. URL https://arxiv.org/abs/2602.20107.
  9. [9]Hendrickx, J.M., Gevers, M., and Bazanella, A.S. (2019). Identifiability of dynamical networks with partial node measurements. IEEE Transactions on Automatic Control, 64(6), 2240–2253.arxiv.org/abs/1803.05885
  10. [10]Ljung, L. (1978). Convergence analysis of parametric identification methods. IEEE Transactions on Automatic Control, 23(5), 770–783. doi:10.1109/TAC.1978.1101840.DOI
  11. [11]Ljung, L. (1995). System identification toolbox. Math Works Natick, MA, USA.
  12. [12]Ljung, L. (1999). System Identification: Theory for the User. Prentice Hall, Upper Saddle River, NJ, 2 edition.
  13. [13]Van Den Hof, P.M. and Schrama, R.J. (1993). An indirect method for transfer function estimation from closed loop data. Automatica, 29(6), 1523–1527. doi:https://doi.org/10.1016/0005-1098(93)90015-L. URL https://www.sciencedirect.com/science/article/pii/00051098930015L.
  14. [14]Van den Hof, P.M.J., Dankers, A.G., Heuberger, P.S.C., and Bombois, X. (2013). Identification of dynamic models in complex networks with prediction error methods—basic methods for consistent module estimates. Automatica, 49(10), 2994–3006. doi:10.1016/j.automatica.2013.07.011.DOI
  15. [15]Wallin, R. and Hansson, A. (2014). Maximum likelihood estimation of linear siso models subject to missing output data and missing input data. International Journal of Control, 87(11), 2354–2364. doi:10.1080/00207179.2014.913346. URL https://doi.org/ 10.1080/00207179.2014.913346.DOI
  16. [16]Weerts, H.H.M., Linder, J., Engqvist, M., and Van den Hof, P.M.J. (2020). Abstractions of linear dynamic networks for input selection in local module identification. Automatica, 117, 108975. doi:10.1016/j.automatica.2020.108975.DOI
  17. [17]Weerts, H.H.M., Van den Hof, P.M.J., and Dankers, A.G. (2018). Prediction error identification of linear dynamic networks with rank-reduced noise. Automatica, 98, 256–268. doi:10.1016/j.automatica.2018.09.033.DOI

Paper details

vlnc:W_yatm3hec
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents