Abstract
Recently, there has been growing interest in autonomous shipping due to its potential to improve maritime efficiency and safety. The use of advanced technologies, such as artificial intelligence, can address the current navigational and operational challenges in autonomous shipping. In particular, inland waterway transport (IWT) presents a unique set of challenges, such as crowded waterways and variable environmental conditions. In such dynamic settings, the reliability and robustness of autonomous shipping solutions are critical factors for ensuring safe operations. This paper examines the robustness of benchmark deep reinforcement learning (RL) algorithms, implemented for IWT within an autonomous shipping simulator, and their ability to generate effective motion planning policies. We demonstrate that a model-free approach can achieve an adequate policy in the simulator, successfully navigating port environments never encountered during training. We focus particularly on Soft-Actor Critic (SAC), which we show to be inherently more robust to environmental disturbances compared to MuZero, a state-of-the-art model-based RL algorithm. In this paper, we take a significant step towards developing robust, applied RL frameworks that can be generalized to various vessel types and navigate complex port- and inland environments and scenarios.
Introduction
Inland Waterway Transport (IWT)—encompassing barges on rivers and canals—is a highly efficient logistics mode currently facing a critical shortage of skilled personnel. While autonomous shipping offers a solution, the environment is inherently chaotic, characterized by narrow channels, crowded ports, and unpredictable weather.
A primary challenge in deploying autonomous agents is robustness. An AI trained to steer a specific vessel in a simulator may fail in the real world if the vessel's physical properties, such as mass or steering agility, differ from the training model. This study evaluates the "sim-to-real" potential of Reinforcement Learning (RL) by comparing the robustness of model-free and model-based algorithms against variations in vessel dynamics.
Methodology
The researchers implemented a motion-planning task within the MOOS-IVP autonomous shipping simulator. The objective for the agent is to navigate from a starting point to a goal while avoiding both static boundaries and dynamic obstacles (other vessels) using simulated ranging sensors.
Algorithms and Training
The study compares two prominent RL frameworks:
- Soft Actor-Critic (SAC): A model-free algorithm that utilizes "maximum entropy" RL, encouraging the agent to succeed while maintaining a high degree of policy randomness. This flexibility often aids in generalization.
- MuZero: A state-of-the-art model-based algorithm that learns an internal transition model of the environment to plan its actions.
Agents were trained on a "nominal" vessel (mass of 175,000 kg and a specific turn rate) across randomized port layouts to prevent memorization. Robustness was then tested by dropping these agents—without retraining—into scenarios where the vessel's mass and turn rate were modified.
Results and Analysis
Robustness to Physical Disturbances
The core finding of this study is that the model-free SAC algorithm is significantly more resilient to changes in vessel physics than the model-based MuZero.
As illustrated in the figures above, SAC maintained a stable mean return for vessel masses up to approximately 400,000 kg. In contrast, MuZero’s performance plummeted almost immediately as mass increased beyond the training nominal. This suggests that MuZero's internal model becomes a liability when the actual physics of the environment deviate from what was learned during training.
Regarding steering agility, SAC maintained decent performance even when the turn rate was ten times higher than the training value. However, both algorithms struggled when the turn rate was lower than the nominal, as the vessel became physically unable to execute the sharp maneuvers required by the learned policies.
Efficiency and Generalization
SAC reached a successful navigation policy in roughly half the training timesteps required by MuZero. This efficiency is likely due to MuZero spending significant computational effort learning a complex transition model that was not strictly necessary for the navigation task. Importantly, both agents successfully navigated entirely new port layouts, proving that RL can generalize to unseen environments.
Conclusion and Future Work
This research demonstrates that model-free RL, specifically SAC, provides a more robust foundation for autonomous shipping than model-based approaches like MuZero when facing physical discrepancies. SAC's entropy-maximizing nature allows it to handle variations in vessel mass and agility more gracefully, making it a better candidate for bridging the sim-to-real gap.
Future work will address current limitations by incorporating 6-degree-of-freedom (6-DOF) hydrodynamic models to account for drag and currents. Additionally, the researchers plan to explore adversarial training to further stress-test these agents before deployment on real-world Unmanned Surface Vehicles (USVs).
Summary updated