TL;DR
Structured State-space Models (SSMs) have recently taken machine learning by storm due to their ability to process long sequences in parallel. This paper bridges the gap between machine learning and control theory by showing that SSMs are mathematically equivalent to deep Wiener models—series interconnections of stable linear dynamical systems followed by static nonlinearities. By reframing SSMs in the language of system identification, the authors clarify their stability guarantees, reveal potential pitfalls like frequency aliasing, and demonstrate their competitive performance on dynamic system benchmarks.
What Problem Does This Paper Address?
Identifying nonlinear dynamical systems from data is crucial for designing modern model predictive control (MPC) laws. However, existing deep learning approaches suffer from steep trade-offs:
- Recurrent Neural Networks (RNNs) must be evaluated sequentially step-by-step ($O(T)$), making training on long sequences slow.
- Transformers parallelize well during training, but their self-attention mechanism scales quadratically with sequence length ($O(T^2)$).
- System-theoretic guarantees—such as Incremental Input-to-State Stability ($\delta\text{ISS}$)—are rarely built into standard neural architectures, making them risky to deploy in closed-loop control.
While recent machine learning SSMs (such as S4, S5, and LRU) solve training bottlenecks and achieve state-of-the-art results on sequence benchmarks, they are wrapped in machine-learning-specific jargon, obscure matrix parameterizations, and heuristic initializations. This paper demystifies them for the system identification and control communities.
Methods
The paper analyzes the Structured State-space Layer (SSL) through the lens of classical block-oriented modeling:
+-----------------------+
u_k --->| LTI State-Space Model |---> \eta_k ---> [ \sigma(\cdot) ] ---> (+) ---> y_k
| +-----------------------+ ^
| |
+-------------------------------[ F (Skip) ]---------------------------+
A deep SSM simply cascades $L$ of these Wiener layers in series. The authors dissect how different SSM variants configure these layers:
- Discrete-Time Diagonal (e.g., LRU): The state transition matrix $\tilde{A}$ is parameterized directly in discrete time as a diagonal matrix using polar coordinates (modulus and phase). Eigenvalues are constrained inside the unit circle ($|\lambda_j| < 1$).
- Continuous-Time Diagonal and DPLR (e.g., S4, S5): The system is parameterized in continuous time ($\dot{x} = A_c x + B_c u$) using either diagonal matrices or Diagonal Plus Low-Rank (DPLR) matrices, initialized using orthogonal polynomial projections (the HiPPO framework), and subsequently discretized (e.g., via bilinear transform or Zero-Order Hold).
- Structural Stability ($\delta\text{ISS}$): The authors show that constraining $\tilde{A}$ to be Schur-stable (or $\text{Re}(\lambda_j) < 0$ in continuous time), combined with Lipschitz output activations $\sigma(\cdot)$, guarantees that the entire deep cascade is structurally Incrementally Input-to-State Stable ($\delta\text{ISS}$).
- Efficient Simulation: Because the state equations inside each layer are purely linear, state trajectories over sequence length $T$ can be computed non-iteratively via convolution:
- Parallel Scan: Scales as $O(T \log^2 T)$ for diagonal structures.
- FFT-based Convolution: Evaluates the convolution in the frequency domain with Cauchy kernels, scaling as $O(T \log T)$.
Datasets
The authors evaluate the models on the Silverbox benchmark (Wigren and Schoukens, 2013), an electronic circuit that emulates a mechanical Duffing oscillator with nonlinear damping and stiffness.
- Training/Validation Data: 10 multisine excitation experiments (8,192 points each at 610.35 Hz), split into 684 training and 76 validation subsequences ($T = 512$).
- Test Data: An independent test sequence of 40,500 samples excited by filtered Gaussian noise with a linearly increasing mean.
- Interpolation regime: First 25,000 steps (amplitudes covered by training data).
- Extrapolation regime: Remaining 15,500 steps (higher amplitudes testing generalizeability).
Key Insights and Ideas
- SSMs are Deep Wiener Models: While Wiener systems (linear dynamic block + static nonlinearity) are classic in system identification, prior literature predominantly studied single-layer or parallel configurations. Modern SSMs demonstrate the untapped power of series (deep) Wiener configurations.
- The Aliasing Blind Spot: Machine learning literature frequently parameterizes continuous-time matrices (via HiPPO) without considering the sampling interval $\tau$. The authors show that HiPPO eigenvalues often exceed the Nyquist–Shannon frequency limit ($\pi/\tau$), introducing aliasing artifacts during discretization that degrade extrapolation performance.
- Discrete-Time Simplifications Win: The discrete-time diagonal parameterization (LRU) eliminates complex continuous-time conversions and HiPPO initializations, avoids the aliasing trap, and matches or outperforms continuous models.
Key Results
On the full 40,500-step Silverbox test dataset (extrapolation regime), 4-layer SSMs ($L=4$, state dimension $n_\lambda=10$) outperformed traditional linear and single-layer Wiener baselines, while remaining competitive with larger neural architectures:
| Model | Full Test RMSE [mV] | Full Test FIT [%] | Interpolation RMSE [mV] (First 25k) |
|---|---|---|---|
| S5 | 3.56 | 96.48 | 0.73 |
| LRU | 4.18 | 96.37 | 0.73 |
| S5R (random init) | 4.58 | 95.92 | 0.77 |
| S4 | 4.73 | 95.49 | 0.81 |
| LSTM | 4.0 | — | 0.31 |
| TCNN | 4.9 | — | 0.75 |
| Classical Wiener | 9.2 | — | 1.9 |
| Best Linear Approx. | 13.7 | — | — |
SSMs achieved these results with significantly fewer parameters than LSTMs ($n_\lambda(3 + 2n_y + 2n_u) + n_y n_u$ parameters per layer vs. $n_x(4 + 3n_x + n_u + n_y) + n_y$ for LSTM) and with substantially faster parallelized training.
Limitations and Future Work
- Hyperparameter Sensitivity: Training competitive SSMs currently requires a delicate choice of layer depths, hidden state dimensions, and parameter initialization ranges.
- Overparameterization: Standard SSM layers may contain more parameters than necessary for physical systems. The authors suggest investigating minimal parameterizations in the transfer-function domain (e.g.,
dynoNet). - Data-Driven Initializations: Rather than relying on random uniform sampling or generic polynomial heuristics (HiPPO), leveraging classical system ID priors—such as Best Linear Approximators (BLA)—could significantly enhance parameter initialization.
- Need for Long-Memory Benchmarks: Extensive evaluation on physical systems exhibiting true long-range temporal dependencies is required to test where SSMs truly outshine conventional models.
Summary updated