Non-intrusive Data-driven ADI-based Low-rank Balanced Truncation
Abstract
In this short note, a non-intrusive data-driven formulation of ADI-based low-rank balanced truncation is provided. The proposed algorithm only requires transfer function samples at the mirror images of ADI shifts. If some shifts are used in both approximating the controllability Gramian and the observability Gramian, then samples of the transfer function’s derivative at these shifts are also needed to enforce Hermite interpolation in the Loewner framework. It is noted that ADI-based low-rank balanced truncation can be viewed as a two-step process. The first step involves constructing an interpolant of the original model at the mirror images of the ADI shifts, which can be done non-intrusively within the Loewner framework. The second step involves reducing this interpolant using low-rank factors of Gramians associated with the interpolation data through the balanced square-root algorithm. This second step does not require any system information, making the overall process non-intrusive with the only required information being samples of the transfer function and/or its derivative at the mirror images of ADI shifts. Furthermore, it is shown that when the order of the reduced model in ADI-based low-rank balanced truncation is selected to match the numerical rank of the low-rank factors of the Gramians, it effectively reduces to standard interpolation at the mirror images of the ADI shift. An illustrative example is provided to explain the proposed approach.
keywords:
ADI, Balanced truncation, Data-driven, Low-rank, Non-intrusive1 Preliminaries
Consider an -order linear time-invariant (LTI) system represented by the state-space realization
where , , , and .
Suppose the -order reduced-order model (ROM) is given by the state-space realization
where , , , and .
The ROM is derived from using Petrov-Galerkin projection, defined as
where , , and both and are full column rank matrices.
For the remainder of our discussion, we will assume, without loss of generality, that , , , , , and are complex matrices.
1.1 Interpolatory Loewner framework [1]
In the Loewner framework, the matrices of the ROM are constructed from frequency domain data as follows:
These matrices satisfy the following interpolation conditions:
for and . When , the expressions simplify to:
which satisfy the Hermite interpolation conditions:
The matrices and exhibit a special structure known as the Loewner matrix and shifted Loewner matrix, respectively. This structure gives rise to the name Interpolatory Loewner framework.
1.2 Balanced Truncation [2]
Let and denote the controllability and observability Gramians, respectively, defined by the following integral expressions:
(1) | |||
(2) |
The Gramians and can also be computed by solving the following Lyapunov equations:
Next, we compute the Cholesky factorizations of and as:
The balanced square root algorithm [3] proceeds as follows. First, compute the singular value decomposition (SVD) of :
Finally, the projection matrices and are constructed as:
1.3 ADI-based Low-rank Balanced Truncation
As demonstrated in [4], the ADI method implicitly performs pseudo-optimal model order reduction (MOR). In this work, we adopt this equivalent representation of the ADI-based low-rank balanced truncation for a data-driven formulation, rather than relying on the original ADI framework [5]. While our presentation differs slightly from the one in [4], it remains theoretically equivalent to the original approach.
Assume that all ADI shifts and have negative real parts and that there are no repeated or . This assumption is tied to -optimal MOR [6], which requires the ROM to have simple poles. Further, define the matrices and as follows:
(3) | ||||
(4) |
where
(5) | ||||
(6) |
for and .
Next, define , , , and as:
Let and solve the following Lyapunov equations:
Decompose and into their Cholesky factorizations as and , respectively. Then, define , , , and as:
such that and . Finally, the low-rank factors and can replace the full-rank Cholesky factors and in the balanced square root algorithm to implement low-rank balanced truncation.
2 Main Work
We now present the non-intrusive formulation of ADI-based low-rank balanced truncation. For simplicity, assume that , meaning both and have the same column rank. While the Loewner framework permits the definition of rectangular Loewner and shifted Loewner matrices [7], the assumption greatly simplifies the subsequent discussion, and thus, we adopt it here.
The balanced square root algorithm for ADI-based low-rank balanced truncation proceeds as follows. First, compute the SVD of as:
The projection matrices for low-rank balanced truncation are then computed as:
Next, define and as:
The low-rank truncated balanced ROM is obtained as:
where the matrices are constructed as:
Note that and in (3) and (4), respectively, are block rational Krylov interpolatory projectors that enforce interpolation at and for all subsystems of . The system can be decomposed into single-input single-output (SISO) subsystems as:
Furthermore, and in (5) and (6) are interpolatory projectors that enforce interpolation at and for individual SISO subsystems of . From standard block interpolation theory, we have:
where the individual matrices are given by:
(7) | ||||
(8) | ||||
(9) | ||||
(10) |
for and . When , the expressions simplify to:
(11) |
In summary, these matrices can be constructed non-intrusively using samples of at and within the Loewner framework. If there are common elements in the sets and , samples of at those common points are also required.
Note that and do not depend on , as they are entirely determined by the ADI shifts and . Additionally, and can be computed using the Cholesky factors and along with the already constructed . In essence, the interim ROM constructed in the Loewner framework can be further reduced using the balanced square root algorithm with the Cholesky factors and . Thus, the low-rank truncated balanced ROM can be obtained non-intrusively without accessing the state-space realization during the reduction process.
2.1 Some Observations
-
1.
When the order of the low-rank truncated balanced ROM is set to , it follows that and . In this case, the low-rank ADI-based balanced truncation reduces to interpolation at the mirror images of the ADI shifts and . Thus, the low-rank balanced truncation process can be viewed as a two-step procedure. In the first step, is reduced using interpolation. Once the order of has been sufficiently reduced to alleviate computational complexity, the balanced square root algorithm is applied to the interim ROM to obtain the final ROM of the desired order. Moreover, the success of ADI methods in accurately implementing balanced truncation over the past three decades provides numerical evidence that even a small number of interpolation points can effectively produce a truncated balanced ROM. While there has been some interest in the MOR community in generating truncated balanced ROMs via interpolation [8, 9], it is not duly appreciated in the literature that low-rank Krylov-subspace methods or ADI methods for balanced truncation do produce truncated balanced realizations within the interpolation framework when they are accurate.
-
2.
In the interpolatory Loewner framework, the singular values of the matrix play a crucial role in determining the final order of the reduced model. Similarly, in low-rank balanced truncation, the singular values of provide insight into the appropriate final order of the ROM , as this matrix contains approximations of the dominant Hankel singular values of . Apart from this distinction, all other steps remain the same as in the interpolatory Loewner framework, with the only difference being the use of block interpolation instead of tangential interpolation. This new tool, , which can be computed solely from interpolation data (since is already constructed in the interpolatory Loewner framework), can also be utilized within the interpolation framework to estimate the Hankel singular values. These estimates can then guide the selection of the ROM’s order based on the dominant Hankel singular values.
-
3.
If the integrals in (1) and (2) are approximated using numerical integration with a suitable quadrature rule, it directly yields low-rank factors and , as demonstrated in [10]. In this approach, the low-rank factors can be computed through numerical integration using a quadrature rule. This strategy was also employed in data-driven quadrature-based balanced truncation [11]. Once the quadrature-based low-rank factors are used to approximate , a non-intrusive formulation similar to the one presented in this work is obtained. We note that the essence of the ADI-based method and quadrature-based balanced truncation is fundamentally the same, as explained below. The core idea of numerical integration for a function involves first approximating by a polynomial that interpolates at specific points. Instead of integrating , the polynomial is integrated, as the integration of is straightforward. This principle underlies most quadrature rules in numerical integration. Interestingly, the ADI method follows a similar strategy. It first computes a rational interpolation of
as
which interpolates at the mirror images of the ADI shifts . The ADI method then implicitly integrates instead of to obtain . Similarly, is computed. The elegance of the ADI method lies in its avoidance of dealing with weights, which are typically required in various quadrature rules.
3 Illustrative Example
Consider an -order nonsquare system with three inputs and two outputs, represented by the following state-space realization:
The Hankel singular values of this system are: , , , , , , , .
Using the ADI shifts for the controllability Gramian and for the observability Gramian, the following -rank factors are obtained using the low-rank Cholesky factor-based ADI (LRCF-ADI) method [5]:
Using the balanced square root algorithm [3], the following -order low-rank truncated balanced ROM is obtained:
The Hankel singular values of this ROM, which closely approximate the three largest Hankel singular values of the original system, are: , , and .
For the proposed data-driven implementation, the Cholesky factors and can be computed directly from the ADI shifts as follows:
Using samples of at the ADI shifts, the interim interpolatory -order ROM can be constructed from (7)-(10) as:
The final -order truncated low-rank balanced ROM is obtained by applying the balanced square root algorithm to this interim ROM using the Cholesky factors and , which are computed solely from the ADI shifts:
The Hankel singular values and the transfer function of this ROM are identical to those produced by the LRCF-ADI-based balanced truncation, even though the state-space realization is not the same.
References
- [1] A. Mayo, A. C. Antoulas, A framework for the solution of the generalized realization problem, Linear Algebra and Its Applications 425 (2-3) (2007) 634–662.
- [2] B. Moore, Principal component analysis in linear systems: Controllability, observability, and model reduction, IEEE Transactions on Automatic Control 26 (1) (1981) 17–32.
- [3] M. S. Tombs, I. Postlethwaite, Truncated balanced realization of a stable non-minimal state-space system, International Journal of Control 46 (4) (1987) 1319–1330.
- [4] T. Wolf, H. K. Panzer, The ADI iteration for Lyapunov equations implicitly performs pseudo-optimal model order reduction, International Journal of Control 89 (3) (2016) 481–493.
- [5] P. Benner, P. Kürschner, J. Saak, Efficient handling of complex shift parameters in the low-rank Cholesky factor ADI method, Numerical Algorithms 62 (2013) 225–251.
- [6] S. Gugercin, A. C. Antoulas, C. Beattie, model reduction for large-scale linear dynamical systems, SIAM Journal on Matrix Analysis and Applications 30 (2) (2008) 609–638.
- [7] D. Karachalios, Data-driven system reduction and identification from input-output time-domain data with the Loewner framework, Ph.D. thesis, Otto-von-Guericke Universität Magdeburg (2023).
- [8] T. C. Ionescu, J. M. Scherpen, O. V. Iftime, A. Astolfi, Balancing as a moment matching problem, In: Proc. 20th int. symp. on mathematical theory of networks and sys, 2012.
- [9] Y. Kawano, T. C. Ionescu, O. V. Iftime, Gramian preserving moment matching for linear systems, in: 2023 European Control Conference (ECC), IEEE, 2023, pp. 1–6.
- [10] M. Imran, A. Ghafoor, Model reduction of descriptor systems using frequency limited gramians, Journal of the Franklin Institute 352 (1) (2015) 33–51.
- [11] I. V. Gosea, S. Gugercin, C. Beattie, Data-driven balancing of linear dynamical systems, SIAM Journal on Scientific Computing 44 (1) (2022) A554–A582.