Data-Driven Deep Learning Based Feedback Linearization of Systems with Unknown Dynamics

Raktim Gautam Goswami, Prashanth Krishnamurthy, Farshad Khorrami · DOI

Introduction

Feedback linearization is a fundamental technique in control theory, enabling the transformation of complex nonlinear systems into simpler, controllable linear systems through a change of coordinates and a specific feedback control law. Once a system is linearized—for example, transformed into a chain of integrators—engineers can apply well-established linear control tools such as Proportional-Integral-Derivative (PID) or Linear Quadratic Regulator (LQR) control.

However, the primary bottleneck of this approach is its reliance on an exact mathematical model of the system's dynamics. In practical applications, phenomena such as complex friction, backlash, and the degradation of components over time make obtaining an accurate analytical model difficult, if not impossible. This paper introduces a novel data-driven framework that achieves feedback linearization for systems with completely unknown dynamics using only observed input-output data.

Methodology

The proposed architecture utilizes deep learning to learn the necessary transformations without prior knowledge of the system's physics. The framework consists of three primary components learned simultaneously:

  1. Input Transformation ($\alpha, \beta$): Two feedforward neural networks are employed to learn the nonlinear feedback law $u = \alpha(x) + \beta(x)v$. This law maps the external control signal $v$ to the actual system input $u$.
  2. State Transformation ($\phi$): A critical requirement for feedback linearization is that the state transformation must be a diffeomorphism (a differentiable, one-to-one mapping). To guarantee this, the researchers utilize an Invertible Neural Network (INN) to map the original state coordinates ($x$) to the new linear coordinates ($z$).
  3. Linear Dynamics ($A, B$): Rather than assuming a specific linear form, the matrices of the target linear system are treated as learnable parameters within the network.

The Composite Loss Function

To ensure the learned transformations result in a stable and controllable system, the authors designed a multi-objective loss function $\mathcal{L}$:

  • Trajectory Error ($L_1$): This term minimizes the discrepancy between the actual observed system states and the states predicted by the learned linear model.
  • Controllability ($L_2$): This ensures the resulting $(A, B)$ pair is controllable by penalizing configurations where the determinant of the controllability matrix is low.
  • Boundedness ($L_3$): This prevents the internal control signal ($v$) from reaching extreme, unphysical values during training.
  • Stability/Structure ($L_4$): An optional term that encourages the eigenvalues of the $A$ matrix to remain near the unit circle, promoting structures similar to the Brunovsky normal form.

Experimental Evaluation

The framework was validated using synthetic data from three nonlinear systems of increasing complexity:

  • C1 (Second-order): A basic nonlinear system for initial proof-of-concept.
  • C2 (Third-order): A more complex system to evaluate the scaling of the transformations.
  • C3 (Fourth-order): A single-link robot with a flexible joint. This system represents a significant real-world challenge, incorporating nonlinear spring torque and frictional effects.

The training data consisted of thousands of short trajectories (2 seconds each), sampled at frequencies ranging from 200Hz to 1kHz.

Key Insights and Results

The Role of Invertibility

By using an INN for the state transformation $\phi$, the researchers ensure that the mapping to the linear space can be reversed to recover the original state. This mathematical rigor distinguishes the approach from standard autoencoder-based methods, which do not strictly enforce the diffeomorphism requirement.

Performance and Robustness

In all test cases, the learned feedback linearized system demonstrated high accuracy with very low prediction error over time. Notably, the data-driven approach outperformed analytical models when parametric uncertainties were introduced. Because the neural network adapts to the actual observed behavior of the system, it is more resilient to the modeling errors that typically degrade the performance of traditional controllers.

Furthermore, the system exhibited significant noise tolerance. In tests involving Gaussian measurement and process noise, the learned controller remained stable. The researchers observed that because the network tends to learn a stable $A$ matrix, the resulting linear system acts as a natural low-pass filter, effectively attenuating noise.

Limitations and Future Directions

While the results are promising, the current framework is limited to single-input systems. Expanding the architecture to handle multi-input, multi-output (MIMO) systems is a primary goal for future research, as most complex robotic systems involve multiple joints and actuators. Additionally, the method requires a substantial amount of high-quality trajectory data, which may be difficult to obtain for systems that are inherently unstable or unsafe to operate without an existing controller. Future work will also explore "partial feedback linearization" for systems that cannot be fully transformed into a linear form.

Summary updated

BibTeX
@inproceedings{goswami2023data,
  author = {Raktim Gautam Goswami and Prashanth Krishnamurthy and Farshad Khorrami},
  title = {{Data-Driven Deep Learning Based Feedback Linearization of Systems with Unknown Dynamics}},
  booktitle = {ACC},
  year = {2023},
  url = {https://openreview.net/forum?id=W3l-IKkwUOW},
}
Figure