Skip to main content
QUICK REVIEW

[Paper Review] Data Driven Control with Learned Dynamics: Model-Based versus Model-Free Approach

Wenjian Hao, Yiqiang Han|arXiv (Cornell University)|Jun 16, 2020
Model Reduction and Neural NetworksPhysics and Astronomy26 references7 citations
TL;DR

This paper compares a model-based data-driven control method, Deep Koopman Representation for Control (DKRC), using neural networks to learn a linearized dynamics model in a lifted space, against a model-free approach, Deep Deterministic Policy Gradient (DDPG). DKRC achieves comparable control performance to DDPG with significantly fewer training epochs (70 vs. 50,000) and samples, while offering better interpretability and robustness due to its physics-informed model structure, validated by high correlation (0.8926) with analytical Euler-Lagrange linearization.

ABSTRACT

This paper compares two different types of data-driven control methods, representing model-based and model-free approaches. One is a recently proposed method - Deep Koopman Representation for Control (DKRC), which utilizes a deep neural network to map an unknown nonlinear dynamical system to a high-dimensional linear system, which allows for employing state-of-the-art control strategy. The other one is a classic model-free control method based on an actor-critic architecture - Deep Deterministic Policy Gradient (DDPG), which has been proved to be effective in various dynamical systems. The comparison is carried out in OpenAI Gym, which provides multiple control environments for benchmark purposes. Two examples are provided for comparison, i.e., classic Inverted Pendulum and Lunar Lander Continuous Control. From the results of the experiments, we compare these two methods in terms of control strategies and the effectiveness under various initialization conditions. We also examine the learned dynamic model from DKRC with the analytical model derived from the Euler-Lagrange Linearization method, which demonstrates the accuracy in the learned model for unknown dynamics from a data-driven sample-efficient approach.

Motivation & Objective

  • To compare model-based data-driven control (DKRC) with model-free reinforcement learning (DDPG) in continuous control tasks.
  • To evaluate the sample efficiency and robustness of DKRC versus DDPG across different initialization conditions.
  • To validate the accuracy of the learned dynamics in DKRC by comparing it to analytical models derived from Euler-Lagrange linearization.
  • To assess the performance of MPC in the lifted linear system learned by DKRC, especially under model uncertainty.
  • To demonstrate that data-driven Koopman representation can achieve high-fidelity system modeling without prior knowledge of system equations.

Proposed method

  • Uses a deep neural network to learn a finite-dimensional Koopman representation that lifts a nonlinear system into a high-dimensional linear space, enabling linear control via Model Predictive Control (MPC).
  • Applies the Zero-Order Hold (ZOH) method to discretize the Koopman dynamics, enabling numerical implementation of the lifted system model.
  • Employs CVXPY to solve the convex optimization problem in MPC, leveraging the linear structure of the lifted system for real-time, robust control.
  • Trains the DKRC framework using only 2,000 data points from the Inverted Pendulum environment to learn the Koopman operator approximation.
  • Uses the Deep Deterministic Policy Gradient (DDPG) algorithm as a model-free baseline, trained end-to-end on the same environments with continuous action spaces.
  • Compares learned dynamics from DKRC with analytical linearizations from the Euler-Lagrange method using Pearson correlation coefficient (PCC) to quantify model similarity.

Experimental results

Research questions

  • RQ1How does the sample efficiency of DKRC compare to DDPG in learning effective control policies for nonlinear dynamical systems?
  • RQ2To what extent does the learned Koopman representation in DKRC match the analytical linearized dynamics derived from the Euler-Lagrange equations?
  • RQ3How does the model-based DKRC approach perform under varying initial conditions compared to the model-free DDPG?
  • RQ4Can MPC applied to the lifted linear system in DKRC achieve robust control performance despite model inaccuracies?
  • RQ5What is the trade-off between interpretability and performance when using a physics-informed model-based method (DKRC) versus a purely data-driven policy gradient method (DDPG)?

Key findings

  • DKRC achieved the same control performance as DDPG in the Inverted Pendulum and Lunar Lander tasks but required only 70 training epochs, compared to 50,000 epochs for DDPG.
  • The learned dynamics from DKRC showed a high Pearson correlation coefficient of 0.8926 with the analytical Euler-Lagrange linearization, indicating strong fidelity to the true system dynamics.
  • DKRC converged to the upright position in approximately 20% of the time required by the Euler-Lagrange MPC method, demonstrating superior convergence speed.
  • The model-based DKRC framework exhibited greater robustness to initial condition variations than DDPG, particularly in handling large initial deviations.
  • The MPC controller applied to the DKRC-learned linear model demonstrated tolerance to small model errors, confirming the benefits of closed-loop control in model-based learning.
  • The data-driven Koopman representation successfully captured the intrinsic dynamics of the system using only 2,000 data points, highlighting its sample efficiency and potential for real-world deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.