Nonlinear state-space identification using deep encoder networks

Gerben Beintema, Roland Tóth, Maarten Schoukens

Abstract

Nonlinear state-space identification for dynamical systems is traditionally performed by minimizing simulation error, a process that is often computationally expensive and prone to sub-optimal local minima. This paper presents a novel approach that approximates the simulation loss by partitioning the dataset into independent sections, similar to the multiple shooting method. This allows for the application of stochastic gradient optimization, which scales efficiently with large datasets. The core contribution is the introduction of a deep encoder network that estimates the initial state of each data section from historical input and output samples. The effectiveness of this state-space encoder method is demonstrated on the Wiener–Hammerstein benchmark, where it achieves the lowest reported simulation error to date.

Introduction

Identifying mathematical models for nonlinear dynamical systems—such as electronic circuits, mechanical systems, or robotic components—is a fundamental challenge in control and signal processing. The primary objective is typically to minimize the simulation error, which represents the discrepancy between long-term model predictions and observed behavior. However, this optimization task faces two significant hurdles:

  1. Computational Complexity: Sequential simulation of long time series is slow and poorly suited for parallel processing on modern hardware like GPUs.
  2. Non-Convexity: The loss surface for simulation error is often highly non-convex, causing traditional optimizers to become trapped in local minima.

While "multiple shooting" techniques address these issues by splitting data into smaller chunks, they introduce the challenge of determining the correct initial state ($x_0$) for each segment.

Methodology: The State-Space Encoder

The proposed method bridges classical system identification with modern deep learning by employing a State-Space Encoder architecture.

Data Splitting and Batch Optimization

By adopting a multiple shooting philosophy, the authors break long time series into many short, independent sections. This transformation enables the use of batch optimization techniques, such as the Adam optimizer, which are highly efficient and provide a smoothing effect on the non-convex cost function.

Deep Encoder Architecture

The central innovation is a feed-forward neural network—the encoder—trained to estimate the initial state of each section. Instead of treating initial states as free parameters to be optimized, the encoder uses a window of past inputs ($u$) and outputs ($y$) to infer the system's internal state.

Schematic representation of the state-space encoder method, showing the initial state estimation and subsequent simulation steps.

The system dynamics ($f_\theta$) and output mapping ($h_\theta$) are also implemented as neural networks. These networks utilize tanh activation functions and residual (linear bypass) connections to ensure training stability and improve gradient flow.

Experimental Evaluation

The method was evaluated on two prominent benchmarks:

  • Wiener–Hammerstein Benchmark: An electronic circuit featuring a diode-resistor nonlinearity, consisting of 80,000 training samples. It is a standard test for high-precision nonlinear modeling.
  • Silverbox Benchmark: An implementation of a mass-spring-damper system (forced Duffing oscillator), used to test a model's ability to extrapolate beyond training signal levels.

Key Results

The state-space encoder method demonstrated exceptional performance, particularly on the Wiener–Hammerstein benchmark.

Comparison of identification methods on the Wiener–Hammerstein benchmark, highlighting the state-of-the-art performance of the proposed encoder method.

As shown in the table above, the method achieved a Test RMS of 0.241 mV, setting a new record for the lowest simulation error on this benchmark. It outperformed established techniques such as Genetic Programming, LS-SVM, and BLA. Furthermore, the model reached high-quality results using only 10% of the allocated training time, underscoring its computational efficiency.

On the Silverbox benchmark, the model remained highly competitive, achieving an RMS of 0.32 mV on non-extrapolated test data. While raw performance was slightly lower when extrapolating (1.4 mV), this is a known characteristic of neural networks using bounded activation functions like tanh.

Conclusion and Future Work

The introduction of a deep encoder for state-space identification provides a scalable and accurate framework for modeling nonlinear systems. By combining the smoothing benefits of data splitting with the representational power of neural networks, the method achieves state-of-the-art results on difficult benchmarks. Future research will focus on automating hyperparameter selection (such as state dimension and look-back windows) and improving the extrapolation capabilities of the underlying neural architectures.

Summary updated

BibTeX
@inproceedings{beintema2021nonlinear,
  author = {Gerben Beintema and Roland Tóth and Maarten Schoukens},
  title = {{Nonlinear state-space identification using deep encoder networks}},
  booktitle = {L4DC},
  year = {2021},
  url = {https://openreview.net/forum?id=5JdurHyL0l},
}
Figure