Abstract: Deep state space models (SSMs) are an actively researched model class for temporal models developed in the deep learning community which have a close connection to classic SSMs. The use of deep SSMs as a black-box identification model can describe a wide range of dynamics due to the flexibility of deep neural networks. Additionally, the probabilistic nature of the model class allows the uncertainty of the system to be modelled. In this work a deep SSM class and its parameter learning algorithm are explained in an effort to extend the toolbox of nonlinear identification methods with a deep learning based method. Six recent deep SSMs are evaluated in a first unified implementation on nonlinear system identification benchmarks.
Bridging Classical Control and Modern AI
System Identification (SysID) is the fundamental process of building mathematical models of dynamical systems from observed data. While classical methods are highly effective for linear systems, they often struggle with high-dimensional, nonlinear "black-box" systems where the underlying physics are unknown.
Conversely, deep learning has revolutionized pattern recognition but often lacks the structured temporal reasoning and rigorous uncertainty quantification required for automatic control. For applications like autonomous navigation or robotics, knowing the predicted outcome is insufficient; the system must also quantify its confidence. This research bridges the gap by evaluating Deep State Space Models (SSMs) for nonlinear system identification, combining the temporal structure of Recurrent Neural Networks (RNNs) with the probabilistic framework of Variational Autoencoders (VAEs).
Methodology: Deep State Space Architectures
The authors focus on Deep SSMs that represent a system using a hidden "latent" state that evolves over time. The key innovation is using Deep Neural Networks (DNNs) to define the transition and output functions.
- The Building Blocks: These models utilize RNNs for handling sequential data and VAEs to represent the latent state as a probability distribution.
- Learning via ELBO: Parameters are optimized by maximizing the Evidence Lower Bound (ELBO), a cost function that balances reconstruction accuracy against how well latent variables match a prior distribution.
- Model Variants: The study evaluates six architectures, notably the STORN (Stochastic RNN). STORN is the most complex variant, employing a second, forward-running RNN during the inference phase to better capture latent state representations.
Experimental Benchmarks
The models were benchmarked against three distinct problems to test their versatility:
- Linear Gaussian Toy Problem: A 2nd-order linear system used to verify if deep models could recover known dynamics and uncertainty bounds.
- Narendra-Li Benchmark: A classic, highly nonlinear fictional system used to test the limits of black-box modeling.
- Wiener-Hammerstein (WH) Process Noise Benchmark: A challenging electronic circuit benchmark where a nonlinearity is "sandwiched" between two linear systems, with noise entering before the nonlinearity.
Key Results and Insights
Across almost all tests, the STORN model emerged as the standout performer. The authors attribute this to its enhanced flexibility in the inference network, which allows it to learn more accurate latent representations.
- Accuracy: Deep SSMs achieved performance levels competitive with state-of-the-art classical methods, such as the
ssesttool in MATLAB. In the Narendra-Li benchmark, STORN achieved an RMSE of 0.64, significantly outperforming the basic VAE-RNN (0.84). - Uncertainty Quantification: A critical finding is that these models successfully capture uncertainty, though they tend to be conservative—often overestimating noise rather than underestimating it. In safety-critical control, this "cautious pessimism" is a desirable trait.
- Data Requirements: While powerful, Deep SSMs are "data-hungry." They typically require significantly more samples (e.g., 50,000 vs. 2,000) to match the performance of "gray-box" models that incorporate prior physical knowledge.
Conclusion and Future Outlook
Deep SSMs represent a powerful addition to the nonlinear identification toolbox. While their data efficiency remains a challenge, their ability to model complex dynamics and provide robust uncertainty estimates is invaluable for modern control systems. Future work may explore "physics-informed" deep SSMs to reduce data requirements and the integration of these models into Model Predictive Control (MPC) frameworks for safer, uncertainty-aware decision-making.
Summary updated