Spectral Filtering for General Linear Dynamical Systems

Elad Hazan, Holden Lee, Karan Singh, Cyril Zhang, Yi Zhang

Linear Dynamical Systems (LDS) are the mathematical workhorses behind applications ranging from rocket guidance and signal processing to economic forecasting. At their core, they describe how a hidden "latent" state evolves over time based on inputs, producing observable outputs.

The classic challenge in working with LDS is that we often don't know the internal "gears" of the system—the transition matrices. Traditionally, researchers have relied on System Identification: guessing the matrices first and then using them to predict. However, this is a notoriously difficult, non-convex optimization problem that frequently gets stuck in "local optima," resulting in poor predictions.

While recent work solved this for "symmetric" systems (where the internal physics are reversible or balanced), the general case—where the system can have complex oscillations and asymmetric transitions—remained computationally hard (requiring exponential time) without making very strong assumptions about the system's stability.

This paper introduces a breakthrough: the first polynomial-time algorithm for predicting the behavior of general LDS without needing to identify the system's internal parameters first.

Phased Wave-Filtered Regression

The authors introduce an approach that sidesteps the need to identify the system matrices entirely by focusing on direct prediction. Key components of this methodology include:

  • Spectral Filtering: The algorithm uses "wave-filters"—specific mathematical functions derived from the eigenvectors of a Hankel matrix—to compress the history of past inputs and outputs.
  • Pseudo-LDS Reparameterization: The authors define a "pseudo-LDS" model that combines a standard autoregressive model (predicting the future based on the recent past) with these wave-filters.
  • Novel Convex Relaxation: To handle asymmetric systems, the eigenvalues of the transition matrix can be complex numbers (representing rotations or phases). The authors developed a convex relaxation that allows the algorithm to efficiently "search" through these possible phases in polynomial time.
  • Follow-the-Regularized-Leader (FTRL): The algorithm uses this standard online optimization framework to update its internal model at every time step as new data arrives.

Empirical Performance and Key Results

The paper evaluates the algorithm using synthetic 10-dimensional LDS benchmarks specifically designed to be "ill-conditioned" and difficult to solve. These include a Multiple-Input Multiple-Output (MIMO) system driven by Gaussian noise, and the same system driven by "block impulses" to test its response to sharp changes.

The authors compared their method against two industry standards: Expectation-Maximization (EM) and Subspace Identification (SSID).

Comparison of prediction errors across different algorithms on synthetic MIMO systems.

The results demonstrate clear empirical superiority. In the Gaussian input test, SSID failed to converge entirely, while the proposed algorithm achieved significantly lower error than EM. In the block impulse test, both EM and SSID got stuck in local optima, whereas the spectral filtering approach successfully tracked the true system response.

Theoretically, the authors also prove a "near-optimal" regret bound of $\tilde{O}(\sqrt{T})$. In practical terms, this means that as time goes on, the algorithm's prediction error becomes negligible compared to the best possible model it could have used in hindsight.

Key Insights and Future Directions

  • Phases Matter: In asymmetric systems, the "phase" (the angle of the eigenvalues in the complex plane) determines oscillatory behavior. This paper shows that discretizing these phases maintains a convex, solvable problem.
  • Spectral Radius Independence: Unlike most LDS algorithms that struggle as the system becomes "barely stable" (spectral radius near 1), this algorithm’s performance doesn't degrade in these edge cases, making it highly robust.
  • Convexity over Identification: The core insight is realizing that you don't need to know what the system is to know how it will behave. Transforming the problem into a convex optimization over a "pseudo-LDS" space guarantees finding the best possible predictor without getting stuck.

Limitations: While polynomial-time, the "phase discretization" adds a significant computational constant, making it slower than the simpler symmetric version of spectral filtering. Furthermore, the current regret bound is designed for worst-case "adversarial" noise. For standard Gaussian noise, the Kalman Filter remains the gold standard if the system is known. A major future direction is bridging this gap—creating an algorithm as efficient as this one but as precise as a Kalman Filter for random noise, potentially using heuristics to identify phases more quickly.

Summary updated

BibTeX
@inproceedings{hazan2018spectral,
  author = {Elad Hazan and Holden Lee and Karan Singh and Cyril Zhang and Yi Zhang},
  title = {{Spectral Filtering for General Linear Dynamical Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=ByWORPWuWB},
}
Figure