How fast can linear dynamical systems be learned?

Tuhin Sarkar, Alexander Rakhlin

Introduction

System identification—the process of estimating the parameters of a system (like a robot, a chemical plant, or an economic model) from its output—is a cornerstone of control theory and reinforcement learning. This paper provides the first unified statistical analysis for learning linear dynamical systems across all regimes—stable, marginally stable, and explosive—using a single observed trajectory. Specifically, it examines Linear Time-Invariant (LTI) systems described by $X_{t+1} = AX_t + \eta_{t+1}$, where the goal is to learn the matrix $A$ from a sequence of states $X_t$.

The primary challenge in this setting is that data points in a trajectory are highly correlated, violating the "independent and identically distributed" (i.i.d.) assumption central to classical statistics. While previous work relied on "mixing time" arguments that assume the system quickly "forgets" its past, these arguments fail for unstable systems (where states grow exponentially) or marginally stable systems (like random walks). This research closes that gap with a framework applicable to any matrix $A$.

Methodology

The authors analyze the Ordinary Least Squares (OLS) estimator using novel techniques that move beyond traditional independence assumptions:

  • Self-Normalized Martingales: By employing tools from self-normalized martingale theory, the authors bound the "noise-to-signal" ratio directly, bypassing the need for fast mixing.
  • Regime-Specific Analysis: The analysis is divided based on the spectral radius $\rho(A)$ into stable ($\rho(A) < 1$), marginally stable ($\rho(A) = 1$), and explosive ($\rho(A) > 1$) regimes.
  • Anti-concentration Arguments: For explosive systems, anti-concentration bounds are used to ensure the state $X_t$ grows in a manner that provides sufficient information to identify $A$.

Key Results and Insights

The paper establishes near-optimal finite-time error bounds for the estimation of $A$:

  1. Stable and Marginally Stable Regimes: The error decays at a rate of roughly $1/\sqrt{T}$ or $1/T$, matching the best known rates for these cases.
  2. Explosive Regime: The error decays exponentially fast ($a^{-T}$). This is intuitive: as the signal grows exponentially, it provides significantly more information about the system much faster than in stable cases.
  3. The "Regularity" Trap: A striking insight is that not all explosive systems are learnable. If an eigenvalue greater than 1 has a geometric multiplicity greater than 1 (an "irregular" matrix), OLS becomes statistically inconsistent. In these cases, the system's own explosive growth "masks" the underlying parameters.
Distribution of the OLS estimator in an irregular explosive system, demonstrating statistical inconsistency.

As shown in the simulation results, for irregular systems, the OLS estimate converges to a random variable rather than the true matrix $A$, regardless of the signal-to-noise ratio (SNR). This highlights that the condition number of the sample covariance matrix is a more critical factor for success than SNR in explosive regimes.

Conclusion and Future Work

This work provides a unified framework for understanding the limits of learning linear dynamical systems. While OLS is shown to be nearly optimal for most systems, the discovery of the "regularity" condition identifies a fundamental statistical barrier.

Future extensions of this work include exploring systems with partial observations (Hidden Markov models), handling heavy-tailed or adversarial noise environments, and extending the analysis to adaptive control settings where inputs $U_t$ depend on past states.

Summary updated

BibTeX
@inproceedings{sarkar2019how,
  author = {Tuhin Sarkar and Alexander Rakhlin},
  title = {{How fast can linear dynamical systems be learned?}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=HyWzKhZOZB},
}
Figure