Online adaptive optimal control algorithm based on synchronous integral reinforcement learning with explorations

Lei Guo, Han Zhao

TL;DR

This paper introduces a novel, completely model-free algorithm for continuous-time optimal control problems in input-affine nonlinear systems. By combining synchronous policy iteration with integral reinforcement learning and an exploration strategy, the algorithm can learn optimal control policies and value functions online without needing prior knowledge of system dynamics or an initial admissible policy, while also guaranteeing closed-loop stability.

What Problem Does This Paper Address?

Designing optimal controllers for complex, continuous-time nonlinear systems is a significant challenge. Traditional optimal control methods often rely on knowing the system's dynamics precisely (model-based) or require an initial "good enough" control policy to start learning (admissible policy). These requirements are often impractical in real-world scenarios where system models are uncertain or difficult to obtain, and finding a suitable starting policy can be hard. Reinforcement learning (RL) and adaptive dynamic programming (ADP) offer promising avenues, but existing methods for continuous-time systems often struggle with model-free implementation, require full system knowledge, or are limited by the need for an initial admissible policy. This paper aims to bridge this gap by developing a robust, model-free, and policy-agnostic online adaptive optimal control algorithm.

Methods

The core of the proposed algorithm, "synchronous integral Q-learning," is built upon several key ideas:

  • Synchronous Policy Iteration (PI): Unlike traditional PI that alternates between policy evaluation and improvement, this method updates both the value function (critic) and the policy (actor) simultaneously. This is inspired by the concept of synchronous PI, which is a generalization of standard PI.
  • Integral Reinforcement Learning (IRL): The algorithm leverages the integral form of the Hamilton-Jacobi-Bellman (HJB) equation. This allows for learning from accumulated rewards over time intervals, making it suitable for continuous-time systems.
  • Exploration Strategy: To overcome the limitations of traditional IRL methods that might struggle to excite the system once it's stabilized, the authors introduce a bounded, piecewise continuous exploration signal. This signal ensures "persistence of excitation" (PE), which is crucial for guaranteeing the convergence of the neural network weights, without requiring knowledge of the system's input gain matrix.
  • Actor-Critic Neural Networks: Two neural networks are employed: a critic network to approximate the value function and an actor network to approximate the optimal control policy. These networks are updated synchronously using a gradient-based method to minimize an approximation error derived from the exploration-HJB equation.
  • Model-Free and Policy-Agnostic: The algorithm is designed to be completely model-free, meaning it doesn't require explicit knowledge of the system's drift dynamics ($f(x)$) or input gain ($g(x)$). Furthermore, it eliminates the need for an initial admissible policy, a significant advantage over many existing PI-based methods.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and numerical simulations using a benchmark nonlinear system.

Key Insights and Ideas

  • Synchronous Learning for Efficiency: Updating the actor and critic networks simultaneously, rather than sequentially, can potentially lead to faster convergence and more efficient learning.
  • Exploration as a Catalyst for Learning: The introduction of a carefully designed exploration signal is critical. It not only ensures the necessary excitation for learning but also helps overcome the challenge of learning in systems that quickly stabilize, a common issue in traditional IRL.
  • Eliminating the "Admissible Policy" Bottleneck: The requirement for an initial admissible policy is a major hurdle in applying ADP to unknown systems. This paper's ability to bypass this constraint significantly broadens the applicability of their method.
  • Unified Framework for Continuous-Time Control: The algorithm provides a coherent framework for tackling continuous-time optimal control problems in a model-free and adaptive manner, addressing limitations of prior work.

Key Results

The paper demonstrates the effectiveness of the proposed algorithm through numerical simulations on a second-order nonlinear system.

  • Stabilization: The simulations show that the closed-loop system state stabilizes near the origin after training.
  • Weight Convergence: The weights of both the actor and critic neural networks converge to values very close to the optimal weights.
  • Accurate Approximation: In a scenario with exact parameterization (Case 1), the approximation errors for the value function and policy were found to be on the order of $10^{-4}$ and $5 \times 10^{-5}$, respectively, indicating excellent approximation performance.
  • Robustness to Unknown Dynamics: Even in a scenario with unknown dynamics and different NN structures (Case 2), the algorithm showed convergence, with approximation errors less than $10^{-2}$.
  • Comparison: The paper claims that their method achieves a smaller approximation error than a benchmark method [24] for the same training time.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Exploration Signal Design: While the exploration signal is crucial, designing an optimal one for complex nonlinear systems remains a challenge, and there's no universally verifiable method for ensuring its effectiveness in all nonlinear cases.
  • Stability Guarantees: While the paper proves uniform ultimate boundedness (UUB) for the state and approximation errors, further research into guaranteeing strict stability in the GPI method (which their algorithm is based on) is suggested.
  • Extension to Complex Systems: The authors propose extending the method to multi-agent systems, nonaffine nonlinear control problems, and real-world high-order systems like robots and aircraft.
  • Safe Learning: Investigating the design of the exploration strategy for "safe learning" is highlighted as a meaningful future research direction.

Summary updated

BibTeX
@article{guo2023online,
  author = {Lei Guo and Han Zhao},
  title = {{Online adaptive optimal control algorithm based on synchronous integral reinforcement learning with explorations}},
  journal = {Neurocomputing},
  year = {2023},
  doi = {10.1016/j.neucom.2022.11.055},
}
Figure