Matrix output extension of the tensor network Kalman filter with an application in MIMO Volterra system identification

Kim Batselier, Ngai Wong

Introduction

The Kalman filter is a cornerstone of state estimation, yet it faces significant scalability challenges when applied to high-dimensional, nonlinear dynamical systems such as Multiple-Input Multiple-Output (MIMO) Volterra models. In these contexts, state vectors and covariance matrices grow exponentially, rendering standard computation infeasible. While previous research introduced the Tensor Network Kalman Filter (TNKF) to compress these arrays into linear storage, it was restricted to processing single scalar measurements. This paper presents an extension of the TNKF to handle matrix outputs, enabling the simultaneous processing of multiple outputs and significantly accelerating convergence.

Overcoming the Computational Bottleneck

The primary obstacle in extending TNKF to matrix outputs is the computational cost of converting structured output matrices into tensor networks. Standard decomposition methods, such as the Tensor Train Singular Value Decomposition (TT-SVD), are computationally expensive and memory-intensive for the massive matrices encountered in Volterra models.

To address this, the authors developed Algorithm 1, a constructive tensor conversion method that exploits the "row-wise Kronecker product" structure inherent in Volterra systems. Instead of decomposing a pre-constructed massive matrix, Algorithm 1 builds the tensor network from the ground up using sequential SVDs on smaller, reshaped matrices. This approach avoids exponential memory blowup while maintaining machine precision.

Comparison of execution times between standard TT-SVD and the proposed Algorithm 1 for varying tensor degrees $d$.

As shown in the table above, the speedup is dramatic. For a tensor degree of $d=7$, the proposed algorithm completes the conversion in just 0.44 seconds, compared to over 157 seconds for the standard TT-SVD—a roughly 350x improvement that makes real-time filtering viable.

Matrix Output Kalman Equations

With an efficient conversion method in place, the authors reformulated the standard Kalman update steps—innovation, Kalman gain, and state/covariance updates—to accommodate matrix outputs. This transition requires replacing traditional vector-matrix arithmetic with high-dimensional tensor contractions and slice-by-slice matrix inversions.

This matrix extension allows for "batching" consecutive time steps or combining data from multiple experiments. The core insight is that processing $m$ outputs simultaneously reduces the number of iterations required for convergence by a factor of approximately $m$, as the filter extracts more information per update step.

Relative error convergence over iterations for different output batch sizes $m$.

Key Results and Convergence

Numerical experiments on simulated Volterra systems demonstrate the efficiency of this approach. As illustrated in the convergence plot, increasing the batch size $m$ leads to a sharp reduction in the iterations needed to reach target accuracy. For instance, while a scalar output ($m=1$) converges slowly, a batch size of $m=4$ reaches the target relative error in approximately 32 iterations, compared to roughly 65 iterations for $m=2$.

Interestingly, the authors identify a "free lunch" scenario at $m=2$. Moving from a scalar output to a batch of two outputs effectively doubles the convergence speed with negligible impact on the computation time per iteration (0.58s vs 0.44s). However, for larger batch sizes (e.g., $m=5$), the per-iteration time increases significantly (to 4.71s) due to the overhead of the tensor rounding procedure.

Conclusion and Future Work

This extension successfully brings matrix output capabilities to the Tensor Network Kalman Filter, providing a massive speedup in both tensor conversion and overall convergence for MIMO Volterra systems. However, a significant bottleneck remains: approximately 90% of the runtime per iteration is consumed by the tensor network rounding procedure required to keep tensor ranks manageable. Future research will focus on optimizing this rounding process and developing a "square-root" version of the filter to further improve numerical stability.

Summary updated

BibTeX
@article{batselier2018matrix,
  author = {Kim Batselier and Ngai Wong},
  title = {{Matrix output extension of the tensor network Kalman filter with an application in MIMO Volterra system identification}},
  journal = {Automatica},
  year = {2018},
  doi = {10.1016/j.automatica.2018.06.015},
}
Figure