Generalized Policy Iteration for Optimal Control in Continuous Time

Jingliang Duan, Shengbo Eben Li, Zhengyu Liu, Monimoy Bujarbaruah, Bo Cheng

Abstract

The Relaxed Actor-Critic (RCTAC) algorithm addresses the challenges of infinite-horizon optimal control for nonlinear systems. Unlike traditional methods, RCTAC does not require a stabilizing initial policy or input-affine dynamics. By introducing a "warm-up" phase to achieve stability and relaxing iteration constraints, RCTAC achieves nearly optimal control up to 10x faster than traditional methods and significantly outperforms Model Predictive Control (MPC) in real-time computational efficiency.

Introduction

Autonomous systems, such as self-driving cars and drones, require optimal control strategies often derived from the Hamilton-Jacobi-Bellman (HJB) equation. However, solving the HJB equation for complex nonlinear systems is hindered by the "curse of dimensionality." Existing Reinforcement Learning (RL) and Adaptive Dynamic Programming (ADP) methods typically rely on two restrictive assumptions:

  1. Admissibility: An initial stable control policy must be provided, which is often as difficult to find as the optimal policy itself.
  2. Input-Affine Property: System dynamics must be linear with respect to control inputs ($\dot{x} = f(x) + g(x)u$), a condition many real-world systems fail to meet.

RCTAC is proposed to overcome these barriers, enabling nearly optimal control for general nonlinear systems starting from arbitrary initial policies.

Methodology

RCTAC employs a dual-network architecture consisting of a Critic NN for value function estimation and an Actor NN for policy representation. The algorithm proceeds in two distinct phases:

Phase 1: The Warm-up

Instead of immediate optimization, the algorithm first focuses on system stability. It minimizes the square of the Hamiltonian—a measure of the system's energy/cost balance. Minimizing this "Hamiltonian error" is proven to lead to an admissible (stabilizing) policy from any starting point, regardless of the initial state.

Phase 2: Relaxed Policy Iteration

Once stability is achieved, the algorithm enters a generalized Policy Iteration (PI) phase. Standard PI requires inner loops to converge fully before updating; RCTAC "relaxes" these conditions, updating the Actor and Critic more fluidly to accelerate learning.

Comparison of the standard API (left) and the proposed RCTAC (right) architectures, showcasing the unique warm-up phase and relaxed termination conditions.

Crucially, updating the Actor via gradient descent on the Hamiltonian removes the need for an analytical solution, thus bypassing the input-affine requirement common in traditional ADP.

Experimental Evaluation

The algorithm was evaluated across several benchmarks, including an LTI Aircraft Plant and a complex Nonlinear Vehicle Path-Tracking simulation using non-input-affine Fiala tire dynamics. Real-world validation was also conducted on a GEELY Geometry C electric vehicle.

Key Results

RCTAC demonstrated superior performance in both simulation and real-world tests:

  • Speed: In the aircraft benchmark, RCTAC achieved target accuracy 10 times faster than standard API (10,000 vs. 100,000 iterations).
  • Robustness: RCTAC successfully stabilized nonlinear systems where standard API failed due to non-admissible initial policies.
  • Computational Efficiency: On hardware, RCTAC matched MPC accuracy while reducing single-step decision time by 91.17% (3.67ms vs. 41.57ms).
Error convergence comparison between RCTAC and API. RCTAC reaches lower error thresholds significantly faster than the traditional API method.

Conclusion

RCTAC represents a significant advancement in optimal control by removing the requirements for initial stability and specific system structures. While currently model-based, future work aims to extend this framework to model-free scenarios, further simplifying the deployment of high-performance control systems in complex, real-world environments.

Summary updated

BibTeX
@article{duan2023generalized,
  author = {Jingliang Duan and Shengbo Eben Li and Zhengyu Liu and Monimoy Bujarbaruah and Bo Cheng},
  title = {{Generalized Policy Iteration for Optimal Control in Continuous Time}},
  journal = {IEEE Trans. Intell. Veh.},
  year = {2023},
  doi = {10.1109/tiv.2023.3255264},
}
Figure