TL;DR
Learning linear dynamical systems (LDS) from input-output observations is a non-convex optimization problem that practitioners commonly solve with gradient heuristics without theoretical guarantees. This paper establishes the first polynomial runtime and sample complexity bounds showing that projected stochastic gradient descent (SGD) converges to the global minimum of the maximum likelihood objective. Crucially, the authors demonstrate that over-parameterization smooths the optimization landscape, allowing SGD to learn a broad class of stable systems.
What Problem Does This Paper Address?
Linear dynamical systems (LDS)—essentially recurrent neural networks (RNNs) stripped of non-linear activations—are ubiquitous in robotics, reinforcement learning, and time-series modeling. Fitting an unknown LDS from noisy input-output pairs is known in control theory as system identification.
Because hidden state transitions repeatedly multiply across time steps, the maximum likelihood / squared-loss objective is inherently non-convex. Despite decades of study, existing sample complexity bounds were either exponential in the system dimension or required specialized frequency-domain relaxations. Machine learning practitioners routinely train sequence models using SGD, yet formal proofs explaining why gradient descent avoids spurious local minima in dynamical systems were missing.
Methods
The authors analyze discrete-time, single-input single-output (SISO) linear systems: $$h_{t+1} = A h_t + B x_t, \quad y_t = C h_t + D x_t + \xi_t$$
Key components of their framework include:
- Controllable Canonical Form (CCF): Parameters are mapped to a canonical representation where the transition matrix $A$ is parameterized directly by the coefficients of its characteristic polynomial $p(z) = \det(zI - A)$.
- Frequency Domain Formulation & Weak Quasi-Convexity: By analyzing the $\mathcal{L}_2$ error of the transfer function $G(z) = C(zI - A)^{-1}B$ on the complex unit circle, the authors define a geometric condition called acquiescence. Under this condition, the idealized objective is weakly quasi-convex—meaning the negative gradient always points toward the global minimizer, preventing non-global stationary traps.
- Truncated Loss for Unknown Initial States: To avoid needing the true initial hidden state $h_0$, the algorithm drops the first $T_1 = T/4$ steps of each sequence. Stability exponentially washes out the effect of $h_0$, creating an almost-unbiased gradient estimator.
- Projected SGD: Iterates are projected onto a convex polyhedral relaxation of the acquiescent parameter space $\mathcal{B}_\alpha$ using linear programming.
- Over-Parameterization (Improper Learning): The authors show that extending the transfer function with redundant poles and zeros ($G(z) = \frac{s(z)u(z)}{p(z)u(z)}$) transforms non-acquiescent systems into acquiescent ones. Learning an over-parameterized model with $m = n + d$ states bypasses the restrictive assumptions of the proper setting.
Datasets
The theoretical results are validated on synthetic benchmark data:
- Synthetic Linear Systems: Controllable LDS instances of true order $n = 20$. Roots of the characteristic polynomial were generated by randomly sampling conjugate pairs inside the complex disk of radius $\rho = 0.95$, with output vector $C \sim \mathcal{N}(0, I)$ and sequence length $T = 500$.
- No real-world datasets were used in the paper.
Key Insights and Ideas
- Denominator Dominance: The optimization landscape depends almost entirely on the roots of the denominator polynomial $p(z)$ (the eigenvalues of $A$), rather than the numerator coefficients (matrix $C$).
- Over-Parameterization Reshapes the Landscape: In standard system identification, finding the minimal state realization is often unstable. By adding $d = O(n)$ extra hidden states, the learner can approximate $u(z) \approx p(z)^{-1}$, making $p(z)u(z) \approx 1$. This pole-zero cancellation trivially convexifies the landscape without changing input-output behavior.
- Variance Decreases with Sequence Length: Unlike standard static SGD where batch variance remains constant, sequence-to-sequence loss variance scales as $O(1/T)$. Splitting long sequences into chunks of length $O(n)$ yields an overall effective sample size of $TN$.
Key Results
- Proper Learning Guarantee: For an $\alpha$-acquiescent system of order $n$ with noise variance $\sigma^2$, projected SGD on $N$ sequences of length $T$ achieves excess population risk: $$\mathbb{E}[f(\hat{\Theta})] \le f(\Theta^*) + \mathcal{O}\left(\sqrt{\frac{n^5 + \sigma^2 n^3}{TN}}\right)$$
- Improper Learning Guarantee: For generic systems with separated or randomly distributed roots (which are not acquiescent on their own), an over-parameterized model of degree $m = O(n)$ attains the same convergence rate.
- Empirical Simulation: On 20-dimensional systems, plain SGD without stabilization frequently diverges to infinity. Projected SGD converges stably, and over-parameterizing ($m \in \{25, 30, 35\}$) consistently accelerates convergence and lowers final test loss. SGD with gradient clipping also performed exceptionally well in practice.
Limitations and Future Work
- Projection Overhead: The theoretical algorithm requires projecting onto a polytope at every step, which requires solving an LP in $O(n^{3.5})$ time. Empirically, simple gradient clipping works well, suggesting projection may be an artifact of the proof technique.
- Dimension Dependence: The sample complexity bound scales as $n^5$, which the authors note is likely loose.
- Fresh Samples Assumption: The convergence analysis assumes fresh sequence batches at each step (streaming/one-pass setting). Proving linear convergence via empirical risk minimization and sample-reuse schemes (e.g., SVRG) remains an open challenge.
- Non-Linear RNNs: While linear dynamical systems serve as a stepping stone, extending global convergence proofs to non-linear recurrent activations remains unresolved.
Summary updated