Proper Learning of Linear Dynamical Systems as a Non-Commutative Polynomial Optimisation Problem

Quan Zhou, Jakub Marecek

Introduction

Linear Dynamical Systems (LDS) are essential tools for time-series analysis across diverse fields, from epidemiology to quantum mechanics. Despite their utility, "properly" learning an LDS—recovering the actual system matrices rather than merely predicting future values—remains a significant challenge. This difficulty stems from three primary factors: the unknown dimension of hidden states, the non-convex nature of the optimization landscape, and the non-commutative behavior of variables when dimensions are unspecified.

This paper introduces a novel framework that reframes LDS parameter estimation as a Non-Commutative Polynomial Optimization (NCPOP) problem. This approach provides global convergence guarantees and enables "dimension-agnostic" learning, allowing the data to dictate the model's complexity.

Methodology

The core innovation lies in treating system matrices as bounded operators on a Hilbert space rather than fixed-size numerical arrays. This shift allows the optimization to proceed without a prior guess of the hidden state dimension ($n$).

To solve the resulting NCPOP, the authors employ:

  • NPA Hierarchy: A sequence of convex semidefinite programming (SDP) relaxations that asymptotically converge to the global optimum.
  • TSSOS (Term-Sparsity Exploiting): A variant of the hierarchy that exploits polynomial sparsity to maintain computational feasibility.
  • GNS Construction: A technique used to extract the physical system matrices from the optimized operator solution.

By leveraging Sum of Squares (SOS) theory, this method bypasses the local minima that plague traditional local search algorithms, such as those in the Matlab System Identification Toolbox.

Experimental Evaluation

The framework was evaluated using both synthetic benchmarks and real-world financial data:

  1. Synthetic Benchmarks: Time series generated with varying levels of process and observation noise to test robustness and accuracy.
  2. Real-World Finance: Daily adjusted closing prices of stocks, representing a high-volatility environment with unknown underlying dimensions.

Key Results

The NCPOP approach demonstrated superior performance compared to standard baselines, including subspace methods and least-squares auto-regressive models.

Synthetic Accuracy and Stability

In synthetic tests, the proposed method consistently achieved nearly 100% Normalized Root Mean Square Error (NRMSE), even in high-noise environments. In contrast, baseline methods often failed to exceed 50% NRMSE, despite being provided with the true system dimension.

Performance comparison (NRMSE) against noise levels for higher-order systems.

Financial Time-Series Tracking

On volatile stock market data, the NCPOP model (at moment order $k=1$) achieved a 96.16% NRMSE. This result visibly outperformed various configurations of standard least-squares models, demonstrating the method's efficacy in "wild" datasets where the system dimension is truly unknown.

Stock price tracking performance comparing the proposed NCPOP method against least-squares baselines.

Conclusion and Future Work

The NCPOP framework offers a powerful, explainable, and globally optimal approach to LDS identification. By recovering the actual system matrices $(G, F, V, W)$, it provides researchers with insights into the underlying mechanics of the system.

However, the computational cost of SDP relaxations remains a limitation as the time window ($T$) or hierarchy order ($k$) increases. Future research will focus on improving the scalability of SDP solvers and extending the framework to systems with specific shape constraints, such as those found in quantum system identification.

Summary updated

BibTeX
@article{zhou2024proper,
  author = {Quan Zhou and Jakub Marecek},
  title = {{Proper Learning of Linear Dynamical Systems as a Non-Commutative Polynomial Optimisation Problem}},
  journal = {IEEE Trans. Automatic Control},
  year = {2024},
  doi = {10.1109/tac.2023.3313351},
}
Figure