Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learning

Davide Corsi, Davide Camponogara, Alessandro Farinelli

Introduction

Deep Reinforcement Learning (DRL) has achieved remarkable success in controlled environments, mastering complex games and robotic manipulation tasks. However, transitioning these successes to aquatic environments presents unique challenges. Unlike the "clean" physics of standard benchmarks such as MuJoCo or Bullet, aquatic environments are inherently non-stationary and unpredictable. This paper introduces a high-fidelity simulation benchmark designed to push DRL agents to their limits by forcing them to navigate complex underwater and surface environments characterized by turbulent fluid dynamics.

The Challenge of Aquatic Environments

The primary difficulty in aquatic navigation stems from the violation of the Markov property—the fundamental assumption in RL that the next state depends only on the current state and action. In water, unobserved variables such as shifting currents and viscosity act as external forces that can push a robot off course even when identical actions are taken. This non-stationarity makes "end-to-end" training significantly more difficult than in terrestrial settings.

Furthermore, the high cost and danger associated with underwater data collection necessitate robust simulation environments. A viable simulator must be physically accurate, computationally efficient for the millions of iterations required by DRL, and compatible with standard APIs like OpenAI Gym.

Simulation Framework and Methodology

The researchers developed a benchmarking suite using the Unity3D engine and the Unity ML-Agents toolkit. To achieve realistic fluid behavior, they integrated ZibraAI Liquids, which utilizes neural representations and particle-based solvers to simulate real-time fluid dynamics.

The core agent architecture utilizes Proximal Policy Optimization (PPO). To overcome the complexities of the environment, the researchers implemented three critical strategies:

  1. Curriculum Learning (CL): Agents are trained through a staged progression, beginning with still water and simple trajectories before advancing to narrow passages with high-velocity currents. This approach focuses on teaching fundamental "swimming" capabilities before complex navigation.
  2. Dense Reward Engineering: The study found that sparse rewards (rewarding only goal completion) were insufficient for convergence. Instead, they utilized a "DistanceRewarder" system. Unlike simple Euclidean distance, which might encourage an agent to drive into a wall to get closer to a goal, this system uses a series of panels to trace the actual curvature of the path, providing a continuous and accurate progress signal.
  3. Safety-Centric Rewards: To minimize collisions, the agents were equipped with 28 virtual Lidar-like sensors. The reward function was modified to penalize proximity to obstacles, encouraging the agent to maintain a "buffer zone" rather than just avoiding terminal crashes.

Benchmarking and Real-World Validation

The benchmark includes several distinct environments designed to test generalization:

  • Training Caves: Three custom environments with varying degrees of curvature and current intensity.
  • Surface Navigation: A task involving a surface drone navigating around reefs and obstacles.
  • Real-World Validation (Porth yr Ogof): To test real-world applicability, the researchers used photogrammetry to create a 3D reconstruction of the Porth yr Ogof marine cave in South Wales. This served as the "final boss" for zero-shot transfer testing.

Results and Discussion

The experimental results highlight the necessity of the proposed reward structures. Agents trained with sparse rewards failed to reach the goal entirely. In contrast, the dense reward and safety-centric approach yielded significant improvements. In the most difficult test scenario ("cave_test3"), standard PPO configurations resulted in a 72% collision rate. The safety-centric reward function reduced this to 5.5% while maintaining a high success rate of 94.4%.

Crucially, the agents demonstrated strong generalization. An agent trained solely on synthetic caves achieved a 76.36% success rate when deployed "zero-shot" into the photogrammetry-based Porth yr Ogof model. This suggests that the benchmark effectively captures the underlying physics necessary for real-world deployment.

Conclusion and Future Work

While the benchmark provides a significant step forward, limitations remain. The current models do not fully account for the "sim-to-real" gap regarding sensor noise and communication latency. Future research will focus on formal verification of safety policies and the deployment of these trained models onto physical robotic platforms. By providing an open-source, high-fidelity environment, this work lays the groundwork for more robust and safe autonomous aquatic systems.

Summary updated

Abstract

An exciting and promising frontier for Deep Reinforcement Learning (DRL) is its application to real-world robotic systems. While modern DRL approaches achieved remarkable successes in many robotic scenarios (including mobile robotics, surgical assistance, and autonomous driving) unpredictable and non-stationary environments can pose critical challenges to such methods. These features can significantly undermine fundamental requirements for a successful training process, such as the Markovian properties of the transition model. To address this challenge, we propose a new benchmarking environment for aquatic navigation using recent advances in the integration between game engines and DRL. In more detail, we show that our benchmarking environment is problematic even for state-of-the-art DRL approaches that may struggle to generate reliable policies in terms of generalization power and safety. Specifically, we focus on PPO, one of the most widely accepted algorithms, and we propose advanced training techniques (such as curriculum learning and learnable hyperparameters). Our extensive empirical evaluation shows that a well-designed combination of these ingredients can achieve promising results. Our simulation environment and training baselines are freely available to facilitate further research on this open problem and encourage collaboration in the field.
BibTeX
@inproceedings{corsi2024aquatic,
  author = {Davide Corsi and Davide Camponogara and Alessandro Farinelli},
  title = {{Aquatic Navigation: A Challenging Benchmark for Deep Reinforcement Learning}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=PfhE3bWG4d},
}
Figure