Learning of Linear Dynamical Systems as a Noncommutative Polynomial Optimization Problem

Quan Zhou, Jakub Marecek

TL;DR

This paper introduces a novel approach to learning linear dynamical systems (LDS) by reformulating the problem as a non-commutative polynomial optimization problem (NCPOP). This allows for asymptotically convergent convex relaxations, enabling global convergence guarantees and the estimation of the hidden state dimension without prior knowledge, outperforming standard methods in simulations.

What Problem Does This Paper Address?

System identification, particularly learning the parameters of linear dynamical systems (LDS), is crucial for applications ranging from epidemiology to quantum mechanics. A key challenge is that the underlying optimization problem is non-convex, and the dimension of the hidden state is often unknown. Traditional methods struggle with guarantees of global convergence and can be sensitive to the choice of model order. This paper aims to address these limitations by developing a method that can learn LDS with unknown hidden state dimensions, providing global convergence guarantees and improved performance.

Methods

The core of this paper's contribution lies in framing the LDS learning problem as a Non-Commutative Polynomial Optimization Problem (NCPOP). This is achieved by casting the system identification objective (minimizing prediction error) and constraints (system dynamics) into a specific mathematical form. The authors then leverage the Navascués-Pironio-Acín (NPA) hierarchy of convex relaxations for NCPOP. This hierarchy provides a sequence of semidefinite programming (SDP) problems that asymptotically converge to the true solution. Crucially, the runtime of these relaxations is independent of the unknown hidden state dimension. The paper also discusses techniques for extracting the learned system matrices from the SDP solution using the Gelfand-Naimark-Segal (GNS) construction. They also explore a variant that exploits sparsity in the NCPOP to improve computational efficiency.

Datasets

The paper uses synthetic time series data generated from linear dynamical systems with varying noise levels and system orders. They also evaluate their method on real-world stock market data, specifically predicting stock prices from the 21st to the 121st period, using the first 20 observations for prediction.

Key Insights and Ideas

  • NCPOP as a Unified Framework: Framing LDS learning as an NCPOP provides a powerful and unified mathematical framework that can accommodate various objectives and constraints, including those related to system dynamics and noise.
  • Global Convergence Guarantees: The NPA hierarchy of convex relaxations for NCPOP offers a path to achieving provable global convergence, a significant advantage over many existing non-convex optimization methods in system identification.
  • Dimension Estimation: The proposed method can implicitly estimate the hidden state dimension, removing the need for prior knowledge or extensive model order selection, which is a common bottleneck in traditional approaches.
  • Performance Beyond Standard Methods: The approach demonstrates superior performance in terms of simulation accuracy (measured by nrmse) compared to established methods like "least squares auto," "subspace auto," and "ssarx" from the Matlab System Identification Toolbox, especially in scenarios with higher noise levels or more complex system dynamics.
  • Sparsity for Efficiency: Exploiting sparsity in the NCPOP formulation, particularly through the TSSOS hierarchy, significantly reduces computational runtime, making the approach more practical for larger problems.

Key Results

  • The proposed method achieves nearly 100% nrmse fitness values in simulations, significantly outperforming standard methods that rarely reach 50%, even when provided with the true system dimensions.
  • The method shows improved stability, with smaller standard deviations in its performance across multiple runs.
  • On stock market data, the method provides more accurate predictions, especially during volatile periods, compared to "least squares auto."
  • The runtime analysis indicates that while NPA hierarchy can be computationally intensive, the sparse variant (TSSOS) offers a more modest and manageable growth in runtime with increasing time window length.

Limitations and Future Work

  • Computational Cost: While the method offers theoretical advantages, the computational cost of solving SDP relaxations can still be a limiting factor, especially for very long time series or high moment orders. The paper notes that the dimension of the relaxation grows with the time window length and moment order.
  • Approximation Error: The paper acknowledges that the extracted estimate of (G, F, V, W) may have a higher error than the desired epsilon in the SDP relaxation.
  • Future Work: The authors suggest that this framework can be extended to more complex scenarios, such as incorporating shape constraints (e.g., for density operators in quantum systems) and exploring further optimizations for computational efficiency. The potential for applying this to "prediction-error" methods for improper learning (forecasting) is also highlighted.

Summary updated

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