[Paper Review] Reinforcement Learning-Based Automatic Berthing System
This paper proposes a reinforcement learning-based automatic berthing system using Proximal Policy Optimization (PPO) to eliminate the need for large amounts of pre-collected berthing data. By training an agent through trial-and-error interaction with a simulated maritime environment, the system learns optimal control policies for rudder angle and revolutions per second (RPS), achieving robust berthing performance across diverse initial conditions, including extrapolated scenarios beyond the training distribution.
Previous studies on automatic berthing systems based on artificial neural network (ANN) showed great berthing performance by training the ANN with ship berthing data as training data. However, because the ANN requires a large amount of training data to yield robust performance, the ANN-based automatic berthing system is somewhat limited due to the difficulty in obtaining the berthing data. In this study, to overcome this difficulty, the automatic berthing system based on one of the reinforcement learning (RL) algorithms, proximal policy optimization (PPO), is proposed because the RL algorithms can learn an optimal control policy through trial-and-error by interacting with a given environment and does not require any pre-obtained training data, where the control policy in the proposed PPO-based automatic berthing system controls revolutions per second (RPS) and rudder angle of a ship. Finally, it is shown that the proposed PPO-based automatic berthing system eliminates the need for obtaining the training dataset and shows great potential for the actual berthing application.
Motivation & Objective
- To overcome the data scarcity limitation in existing artificial neural network (ANN)-based automatic berthing systems, which require large volumes of real berthing data for training.
- To develop a data-efficient automatic berthing solution using reinforcement learning (RL) that learns optimal control policies through interaction with a simulated environment.
- To demonstrate that a PPO-based agent can generalize to initial conditions outside the training distribution, ensuring robustness in real-world applications.
- To validate that a well-designed reward function can guide the agent toward desired berthing behavior without prior knowledge of ship maneuvering dynamics.
Proposed method
- The system employs Proximal Policy Optimization (PPO), a deep reinforcement learning algorithm, to train a neural network policy that maps states to actions.
- State representation includes normalized ship position (η, ξ), heading angle (ψ), distance to goal (d), and velocities (u, v, r) in surge, sway, and yaw directions.
- Actions are defined as rudder angle (δ) and revolutions per second (n), constrained within physical limits: 1 ≤ n ≤ 1, -35° ≤ δ ≤ 35°, and |dδ/dt| ≤ 3°/s.
- A dense, shaped reward function is designed to encourage convergence to the berthing goal, penalizing distance, angular deviation, and control effort.
- The agent is trained in a simulated maritime environment using a Markov Decision Process (MDP) framework, with continuous state and action spaces.
- Training is conducted over ~20 hours, with policy updates every N steps using the PPO algorithm, and results are evaluated via trajectory simulations.
Experimental results
Research questions
- RQ1Can a PPO-based reinforcement learning agent learn a robust berthing policy without relying on pre-existing berthing datasets?
- RQ2How well does the trained PPO agent generalize to initial ship positions outside the range used during training?
- RQ3To what extent can the reward function shape the berthing behavior to achieve safe and efficient docking without prior knowledge of ship dynamics?
- RQ4Does the PPO-based system achieve consistent and stable berthing performance across a wide variety of initial conditions?
Key findings
- The PPO-based automatic berthing system successfully learned an optimal control policy through interaction with the environment, eliminating the need for any pre-collected berthing data.
- The system demonstrated robust performance across diverse initial positions, including those outside the training distribution, indicating strong generalization capability.
- The reward time history converged after approximately 20 hours of training, indicating that the PPO algorithm reached a stable and optimal policy.
- Berthing trajectories in simulation showed accurate and smooth convergence to the goal point, even from extreme initial configurations, with minimal overshoot or oscillation.
- The system achieved consistent berthing performance across multiple test cases, with successful docking observed in all tested scenarios, including extrapolated initial states.
- The open-source simulation code and pre-trained model are publicly available on GitHub, enabling reproducibility and further research.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.