Online Reinforcement Learning Control by Direct Heuristic Dynamic Programming: from Time-Driven to Event-Driven

Qingtao Zhao, Jennie Si, Jian SunIEEE TNNLS 2020

TL;DR

This paper introduces an "event-driven" version of Direct Heuristic Dynamic Programming (dHDP) for reinforcement learning control. Unlike traditional methods that update continuously, this new approach only updates the control policy and critic network when significant events occur in the system, preventing performance degradation due to noise and improving learning efficiency. The authors prove the stability of this new method and demonstrate its effectiveness in simulations.

What Problem Does This Paper Address?

Machine learning models, especially those used for control in dynamic systems, often suffer from "catastrophic forgetting." This happens when continuous, time-driven updates to the model's parameters (like those in neural networks) lead to the overwriting of previously learned information. This is particularly problematic in reinforcement learning (RL) and approximate dynamic programming (ADP) where models learn optimal control policies. The issue is exacerbated by noisy sensor data or minor system fluctuations, which can trigger unnecessary updates and disrupt performance. Existing methods to combat this often require complex mechanisms or are limited to specific types of systems (e.g., affine systems). This paper aims to develop a more general and easier-to-implement solution that updates the control policy and critic only when significant events occur, thereby preserving learned knowledge and improving robustness.

Methods

The core contribution is the development of an event-driven Direct Heuristic Dynamic Programming (dHDP) algorithm. This approach builds upon the existing time-driven dHDP, which uses a critic network to approximate the cost-to-go function and an actor network to approximate the optimal control policy.

The key innovation lies in the event trigger condition. Instead of updating the neural network weights at every time step, updates are only performed when a "learning event" occurs. This event is defined by a criterion based on the state error, which measures the deviation of the current state from the state at the last event instant. Specifically, the event trigger condition is formulated as:

$||e(k)||^2 \le \beta \frac{||x(k)||^2}{2}$

where $e(k)$ is the state error, $x(k)$ is the system state, and $\beta$ is a parameter that controls the sensitivity to events. A smaller $\beta$ means a more stringent condition for triggering an update, leading to fewer learning events. When $\beta = 0$, the condition effectively reverts to a time-driven update.

The paper also provides theoretical guarantees:

  • Lyapunov Stability Analysis: The authors prove that the system states and the weights of the critic and action networks are uniformly ultimately bounded (UUB). This means the system remains stable and the learned parameters do not diverge.
  • Bellman Optimality: They show that the approximate control and cost-to-go functions approach the optimal Bellman solution within a finite bound.

Datasets

Not discussed in the paper. The paper uses a simulated nonlinear discrete-time system for evaluation.

Key Insights and Ideas

  • Event-driven learning as a solution to catastrophic forgetting: By decoupling learning updates from regular time steps and tying them to significant system changes, the algorithm effectively prevents noise from corrupting learned policies.
  • Tunable learning sensitivity: The parameter $\beta$ in the event trigger condition allows for a trade-off between learning frequency and robustness to noise. A higher $\beta$ leads to more frequent updates (closer to time-driven) and potentially faster adaptation, while a lower $\beta$ prioritizes stability and robustness by reducing updates.
  • Generality of the approach: The proposed event-driven dHDP is applicable to general discrete-time nonlinear systems, overcoming limitations of previous event-triggered ADP methods that were often restricted to affine systems.
  • Simplified implementation: The algorithm does not require an explicit model of the system dynamics, making it easier to implement in practice compared to model-based approaches.

Key Results

  • Stability Guarantees: The paper mathematically proves that the proposed event-driven dHDP algorithm guarantees the uniform ultimate boundedness (UUB) of the system states and the neural network weights.
  • Approximation of Optimal Control: The method is shown to approximate the optimal control law and cost-to-go function within a finite error bound, approaching Bellman optimality.
  • Reduced Learning Events: Simulations demonstrate that the event-driven dHDP significantly reduces the number of learning events compared to time-driven dHDP, especially as the event trigger sensitivity parameter ($\beta$) decreases. This translates to more efficient learning and less computational overhead.
  • Robustness to Noise: When subjected to Gaussian white noise, the event-driven dHDP shows less variation in its network weights compared to the time-driven dHDP, indicating improved robustness and reduced parameter drift.

Limitations and Future Work

  • Tuning of $\beta$: While the parameter $\beta$ offers flexibility, finding the optimal value for a specific application might require empirical tuning.
  • Computational Cost of Event Detection: The event detection mechanism itself adds a computational step at each time instance. The paper doesn't deeply analyze the overhead of this detection compared to the savings from reduced weight updates.
  • Future Work: The authors suggest exploring this approach for more complex systems and investigating adaptive methods for determining the event trigger threshold. Further research could also focus on extending the method to continuous-time systems or hybrid systems.

Summary updated

Abstract

In this paper time-driven learning refers to the machine learning method that updates parameters in a prediction model continuously as new data arrives. Among existing approximate dynamic programming (ADP) and reinforcement learning (RL) algorithms, the direct heuristic dynamic programming (dHDP) has been shown an effective tool as demonstrated in solving several complex learning control problems. It continuously updates the control policy and the critic as system states continuously evolve. It is therefore desirable to prevent the time-driven dHDP from updating due to insignificant system event such as noise. Toward this goal, we propose a new event-driven dHDP. By constructing a Lyapunov function candidate, we prove the uniformly ultimately boundedness (UUB) of the system states and the weights in the critic and the control policy networks. Consequently we show the approximate control and cost-to-go function approaching Bellman optimality within a finite bound. We also illustrate how the event-driven dHDP algorithm works in comparison to the original time-driven dHDP.
BibTeX
@article{zhao2020online,
  author = {Qingtao Zhao and Jennie Si and Jian Sun},
  title = {{Online Reinforcement Learning Control by Direct Heuristic Dynamic Programming: from Time-Driven to Event-Driven}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2020},
  url = {https://openreview.net/forum?id=-EkqGZFGRy8},
}
Figure