Reinforcement Learning based on Scenario-tree MPC for ASVs

Arash Bahari Kordabad, Hossein Nejatbakhsh Esfahani, Anastasios M. Lekkas, Sébastien GrosACC 2021

Abstract

In this paper, we present the use of Reinforcement Learning (RL) based on Robust Model Predictive Control (RMPC) for the control of an Autonomous Surface Vehicle (ASV). The RL-MPC strategy is utilized for obstacle avoidance and target (set-point) tracking. A scenario-tree robust MPC is used to handle potential failures of the ship thrusters. Besides, the wind and ocean current are considered as unknown stochastic disturbances in the real system, which are handled via constraints tightening. The tightening and other cost parameters are adjusted by RL, using a Q-learning technique. An economic cost is considered, minimizing the time and energy required to achieve the ship missions. The method is illustrated in simulation on a nonlinear 3-DOF model of a scaled version of the Cybership II.

Introduction

Controlling autonomous ships is a high-stakes balancing act. Engineers must design systems that can reach a target quickly and efficiently while navigating severe, unpredictable disturbances like wind and waves. Furthermore, hardware reliability is a major concern; thrusters can fail unexpectedly in harsh maritime environments.

Traditional Model Predictive Control (MPC) is effective at handling constraints but relies heavily on accurate mathematical models. Performance degrades if the environment changes or the model is imprecise. Conversely, Reinforcement Learning (RL) excels at learning complex behaviors through interaction but lacks the formal safety and stability guarantees required for multi-ton maritime vessels. This paper addresses these challenges by proposing a hybrid RL-based RMPC approach that offers the "best of both worlds."

Methodology

The proposed strategy combines the safety of Robust MPC with the adaptability of RL through several key components:

  1. Scenario-tree RMPC: To manage discrete uncertainties such as thruster failures, the controller utilizes a scenario-tree structure. It predicts paths for both nominal operation and potential failure cases, ensuring the vessel can recover regardless of which scenario unfolds.
Scenario-tree structure for robust MPC
  1. Constraint Tightening: Stochastic disturbances from wind and currents are handled by "tightening" safety margins around obstacles, providing a buffer against random environmental forces.
  2. MPC as an RL Function Approximator: Instead of a black-box neural network, the MPC formulation itself serves as the structure for RL, maintaining physical constraints and stability guarantees.
  3. Q-Learning for Parameter Tuning: A Q-learning algorithm acts as a high-level supervisor, observing performance and updating cost weights (balancing time vs. energy) and obstacle "back-off" distances in real-time.

Results and Discussion

The method was evaluated using a high-fidelity simulation of the Cybership II, a 1:70 scale supply vessel model. The simulation incorporated a nonlinear 3-DOF dynamic model and randomly generated ocean current maps created using Gaussian Radial Basis Functions.

Simulation of obstacle avoidance in a current field

Key findings include:

  • Efficiency Gains: Over seven simulated missions, the RL successfully tuned parameters to reduce the total closed-loop cost by approximately 12%.
  • Adaptive Safety: Initially conservative, the RL agent learned to reduce obstacle "tightening" parameters as it gauged the actual intensity of disturbances, allowing for more efficient pathing without compromising safety.
  • Robustness: The system successfully reached targets even during simulated main propeller failures, validating the scenario-tree approach's ability to handle hardware faults.

Conclusion

By embedding RL within an MPC framework, the system maintains physical constraints while gaining the ability to adapt to environmental noise and model mismatches. While currently limited to simulation and a single-step robust horizon, future work will explore full-scale testing and more complex failure modes to further enhance performance and reliability in open-water conditions.

Summary updated

BibTeX
@inproceedings{kordabad2021reinforcement,
  author = {Arash Bahari Kordabad and Hossein Nejatbakhsh Esfahani and Anastasios M. Lekkas and Sébastien Gros},
  title = {{Reinforcement Learning based on Scenario-tree MPC for ASVs}},
  booktitle = {ACC},
  year = {2021},
  doi = {10.23919/acc50511.2021.9483100},
}
Figure