A Yule-Walker-like solver for higher order semiseparable matrices

Let us consider a higher order semiseparable matrix $ S$ of rank $ p$ with generators $ U$ and $ V$, as in Equation (2). The Yule-Walker-like problems we would like to solve are the following ones:

$\displaystyle S_k Y_k = - R_k,$ (3)

where $ S_k$ denotes the upper left $ k\times k$ sub-block of the semiseparable matrix $ S$. The right-hand side $ R_k$ is a $ k\times p$ matrix of the following form:

$\displaystyle R_k=
 \left[ \begin{array}{c}
 \mathbf{v}_1 \ 
 \vdots \ 
 \mathbf{v}_k
 \end{array} \right].$    

This Yule-Walker-like equation is similar to the one considered in [28]. An important difference however is the fact that the right-hand side is not a vector anymore but a matrix of dimension $ k\times p$. The solution $ Y_k$ of the $ k$th order Yule-Walker system is therefore also a $ k\times p$ matrix and plays an important role in solving the general problem with an arbitrary right-hand side. Even though we have to solve now in fact $ p$ problems, we will limit the overall complexity to $ O(p^2n)$.

First we will derive the recursion formulas, which will give us a $ O(p^2n^2)$ method. Afterwards we will remove the most expensive steps in the recursion, which will reduce the overall complexity by a factor $ n$. The system is solved, as already mentioned, in a recursive manner. Assume we have the solution of Equation (3), and we would like to find the solution now of the ($ k+1$)th system of equations:

$\displaystyle S_{k+1} Y_{k+1}$ $\displaystyle =$ $\displaystyle -R_{k+1}.$  

Rewriting the above formula in block form leads to:
$\displaystyle \left[ \begin{array}{c\vert c}
{\rule[0.1cm]{0cm}{-0.3cm}
S_k } &...
...t[ \begin{array}{c}
Z_{k+1}\\
\hline
\mathbf{\alpha}_{k+1}
\end{array} \right]$ $\displaystyle =$ $\displaystyle -\left[ \begin{array}{c}
R_{k}\\
\hline
\mathbf{v}_{k+1}
\end{array} \right],$ (4)

with $ Z_{k+1}\in {\mathbb{R}}^{k\times p}$ and $ \mathbf{\alpha}_{k+1}\in {\mathbb{R}}^{1\times
p}$. Expanding Equation (4), we observe that

$\displaystyle S_k\; Z_{k+1} + R_{k}\;\mathbf{u}_{k+1}^T\;\mathbf{\alpha}_{k+1} = -R_{k}$ (5)

and

$\displaystyle \mathbf{u}_{k+1}\; R_{k}^T Z_{k+1} + \mathbf{u}_{k+1} \mathbf{v}_{k+1}^T \alpha_{k+1}= - \mathbf{v}_{k+1}.$ (6)

Rewriting Equation (5) towards the matrix $ Z_{k+1}$ gives us
$\displaystyle Z_{k+1}$ $\displaystyle =$ $\displaystyle - S_k^{-1} R_{k} \left(I_p+\mathbf{u}_{k+1}^T \; \mathbf{\alpha}_{k+1}\right)$  
  $\displaystyle =$ $\displaystyle Y_{k} \left(I_p+\mathbf{u}_{k+1}^T \;
\alpha_{k+1} \right),$ (7)

where $ I_p$ denotes the identity matrix of size $ p$. Substituting the latter equation in Equation (6) leads to:

$\displaystyle \mathbf{u}_{k+1}\;R_{k}^T\;Y_{k}(I_p + \mathbf{u}_{k+1}^T \mathbf...
... \mathbf{u}_{k+1} \mathbf{v}_{k+1}^T \mathbf{\alpha}_{k+1} = -\mathbf{v}_{k+1},$    

from which we can extract $ \mathbf{\alpha}_{k+1}$ as:

$\displaystyle \mathbf{\alpha}_{k+1}
 =
 \frac{(-1) (\mathbf{v}_{k+1} + \mathbf{...
...{k+1}
 R_{k}^T Y_{k}\mathbf{u}_{k+1}^T + \mathbf{u}_{k+1} \mathbf{v}_{k+1}^T)}.$    

Using now the vector $ \alpha_{k+1}$ in equation (7), we can compute the matrix $ Z_{k+1}$.

Based on the formulas for $ \mathbf{\alpha}_{k+1}$ and $ Z_{k+1}$, we can immediately derive a recursive algorithm, having complexity $ O(p^2n^2)$. The goal is however to come to an $ O(p^2n)$ algorithm, so we have to eliminate two expensive, in terms of operations, steps. Before showing a possible reduction in complexity, we will briefly prove that the denominator in the formula for $ \alpha_{k+1}$ is always nonzero. Because our matrix $ S$ is assumed to be stronly nonsingular, we know that all the principal $ k\times k$ matrices are nonsingular. This means that for every nonzero vector $ w$: $ w^TS_kw\neq 0$. Taking now $ w^T=[\mathbf{u}_{k+1} Y_k^T,1]$, we can derive the following equality:

    $\displaystyle [\mathbf{u}_{k+1} Y_k^T,1]
{\left[ \begin{array}{c\vert c}
{\rule...
...right]
\left[ \begin{array}{c}
Y_k \mathbf{u}_{k+1}^T\\
1
\end{array} \right]}$  
  $\displaystyle =$ $\displaystyle \mathbf{u}_{k+1} Y_k^T S_k Y_k \mathbf{u}_{k+1}^T + \mathbf{u}_{k...
...mathbf{u}_{k+1} R_k^T Y_k
\mathbf{u}_{k+1}^T+\mathbf{u}_{k+1}\mathbf{v}_{k+1}^T$  
  $\displaystyle \neq$ $\displaystyle 0.$  

Using the fact that $ S_kY_k=-R_k$ we come to

$\displaystyle \mathbf{u}_{k+1} R_{k}^T Y_{k}\mathbf{u}_{k+1}^T + \mathbf{u}_{k+1} \mathbf{v}_{k+1}^T
 \neq 0$    

which states that the calculation of $ \alpha_{k+1}$ is well defined. Let us focus now again on reducing the complexity.

The calculation in each step of the algorithm of the matrix $ R_k^T Y_k$, is too expensive. For each $ k$ this is a multiplication of a $ p\times k$ matrix with a $ k\times p$ matrix, which costs $ p^2 (2k-1)$ operations. Calculating the inner-product in this way, in every step of the algorithm, leads to an overall complexity of $ O(p^2n^2)$. If we rewrite the formula, we can reduce this complexity. Using the following relations we come to a recursion for calculating this inner-product:

$\displaystyle R_{k+1}^T Y_{k+1}$ $\displaystyle =$ $\displaystyle [R_{k}^T, \mathbf{v}_{k+1}^T]
\left[ \begin{array}{c}
Z_{k+1} \\
\mathbf{\alpha}_{k+1}
\end{array} \right]$  
  $\displaystyle =$ $\displaystyle R_{k}^T Z_{k+1} + \mathbf{v}_{k+1}^T \mathbf{\alpha}_{k+1}$  
  $\displaystyle =$ $\displaystyle R_{k}^T Y_{k}(I_p+\mathbf{u}_{k+1}^T \mathbf{\alpha}_{k+1}) + \mathbf{v}_{k+1}^T \mathbf{\alpha}_{k+1}$  
  $\displaystyle =$ $\displaystyle R_{k}^T Y_{k}+(R_{k}^T Y_{k}\mathbf{u}_{k+1}^T + \mathbf{v}_{k+1}^T)
\mathbf{\alpha}_{k+1}.$  

This leads to a recursive calculation of the inner-product. It costs each step in the algorithm $ p(2p-1)+p+p^2+p^2=4p^2$, and hence is independent of $ k$.

Secondly, the computation of $ Z_{k}$ and hence $ Y_{k}$ is too expensive to compute in each step. It costs at step $ k$: $ kp(2p-1)+O(p^2)$ operations, which leads again to an $ O(p^2n^2)$ algorithm. If we postpone this computation up to the very end, we can reduce its complexity. The only thing needed to compute the final solution is the storage of the vectors $ \mathbf{\alpha}_{k}$ in each step of the algorithm. Using the equations $ Y_{k+1}=\left[ Z_{k+1}^T,\mathbf{\alpha}_{k+1}^T \right]^T$ and $ Z_{k+1}=Y_{k}\left(I_p+\mathbf{u}_{k}^T \mathbf{\alpha}_{k}\right)$, we can write the final solution of the Yule-Walker system as:

$\displaystyle Y=
 \left[ \begin{array}{c}
 \mathbf{\alpha}_{1}\left(I_p+\mathbf...
...{n}^T \mathbf{\alpha}_{n}\right) \ 
 \mathbf{\alpha}_{n}
 \end{array} \right].$    

This can be recursively rewritten, starting from the last element. The most expensive step in this calculation is the computation of the matrix products. Let us define the $ p \times p$ matrix $ F_i$ as the matrix $ F_i=\left(I_p+\mathbf{u}_{i}^T \mathbf{\alpha}_{i}\right)\ldots \left(I_p+\mat...
...thbf{\alpha}_{n-1}\right) \left(I_p+\mathbf{u}_{n}^T \mathbf{\alpha}_{n}\right)$ This means that the matrix $ F_{i-1}=\left(I_p+\mathbf{u}_{i-1}^T
\mathbf{\alpha}_{i-1}\right) F_i$. Rewriting this product as $ F_{i-1}=F_i+\mathbf{u}_{i-1}^T ( \mathbf{\alpha}_{i-1}F_i)$, we can obtain a constant complexity of $ p^2+p(2p-1)+p^2=4p^2-p$ for computing one row in the solution vector $ Y$ (more details can be found in the following subsection).

Raf Vandebril 2005-04-26