Modelling of Underwater Vehicles using Physics-Informed Neural Networks with Control

Abdelhakim Amer ∗, David Felsager ∗, Yury Brodskiy, Andriy Sarabakha · 2025

Read Modelling of Underwater Vehicles using Physics-Informed Neural Networks with Control by Abdelhakim Amer ∗, David Felsager ∗, Yury Brodskiy, Andriy Sarabakha (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-20019.txt.

Introduction

Abdelhakim Amer and co-authors present an open-source tool that models an underwater vehicle. It uses physics-informed neural networks that also take control inputs. The network gets the starting state, the control actions and time. It then rolls the vehicle's motion forward. The motion stays true to the physics beyond the span of the training data.

They test variants of the setup on a simulated vehicle. The variants change loss functions, gradient weighting and other settings. The physics-guided versions predict motion over long horizons more accurately than a plain data-driven baseline. The code is public. Other teams can adapt the method to their own craft and control tasks.

Catalog record

CREATORAbdelhakim Amer ∗, David Felsager ∗, Yury Brodskiy, Andriy Sarabakha
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE37 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-20019

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Modelling of Underwater Vehicles using Physics-Informed Neural Networks with Control Thanks: This research was partially supported by the Aarhus University Research Foundation, EIVA a/s and Innovation Fund Denmark under grant 2040-00032B. Thanks: ∗ These authors contributed equally to this work. Abdelhakim Amer ∗, David Felsager ∗, Yury Brodskiy, Andriy Sarabakha Abstract Physics-informed neural networks (PINNs) integrate physical laws with data-driven models to improve generalization and sample efficiency. This work introduces an open-source implementation of the Physics-Informed Neural Network with Control (PINC) framework, designed to model the dynamics of an underwater vehicle. Using initial states, control actions, and time inputs, PINC extends PINNs to enable physically consistent transitions beyond the training domain. Various PINC configurations are tested, including differing loss functions, gradient-weighting schemes, and hyperparameters. Validation on a simulated underwater vehicle demonstrates more accurate long-horizon predictions compared to a non-physics-informed baseline. PINC physics informed neural network with control PINN physics informed neural network DMD dynamic mode decomposition SINDyC sparse identification of non-linear dynamics with control DMDc) dynamic mode decomposition with control MPC model predictive control GP Gaussian process AUV Autonomous underwater vehicle EKF extended kalman filter ROV remotely operated vehicle IMU inertial measurement unit DVL doppler velocity log NED North-EastDown NN neural network I Introduction Underwater robotic systems, such as autonomous underwater vehicles (AUVs) and remotely operated vehicles (ROVs), are critical for tasks such as seabed inspections, pipeline monitoring [ 1 ] , and deep-sea exploration [ 2 ] , where human access is limited. With advances in autonomy, underwater robots can tackle complex manipulation tasks, including pipeline repair and maintenance. Such applications require precise control and accurate dynamic models. For example, model predictive control (MPC) provides a framework for achieving complex tasks with high performance, such as inspection [ 3 ] , while relying on an accurate motion model for prediction. However, modelling underwater robots using first principles is challenging due to non-linearities arising from hydrodynamic disturbances, and unmodeled higher-order effects [ 4 ] . Furthermore, due to the wide variety of underwater vehicle designs, sizes, and degrees of freedom, modeling is often cumbersome and, in some cases, impractical. Data-driven methods on the other-hand offer a unifying framework to estimate the dynamics of these diverse systems. Physics-informed neural networks (PINNs) in particular is a promising approach that integrates data-driven neural networks with physical laws as regularization to produce physically plausible outputs [ 5 , 6 ] . This work explores the potential of a specialized variant of PINNs, namely the physics-informed neural network with control (PINC) [ 7 ] , for modelling the dynamics of underwater ROVs. The primary objective is to evaluate whether PINC can effectively model a simplified underwater dynamic system and have the potential to provide an accurate model for control applications. The investigation applies these modelling approaches to an underwater ROV as the physical system of interest. While prior studies on PINC have demonstrated potential benefits in other domains, no existing work (as of this writing) appears to apply PINC and its implicit integration technique, combined with autoregressive predictions, to underwater robotics. This gap presents a unique opportunity to evaluate whether and how PINC might offer advantages – such as improved accuracy or generalization – over a traditional DNN when modelling complex underwater dynamics. To that end, the model’s predictive capabilities and robustness are tested by incorporating input noise during training, among other methods. The main contributions of this article are summarized as follows: • Developed a PINC framework to model simplified ROV dynamics, achieving high long-horizon prediction accuracy with minimal computational overhead. • Demonstrated the effectiveness of combining physics-based regularization with training optimizations, including residual connections, gradient normalization, and adaptive learning rate scheduling. • Performed a comprehensive analysis of the hyperparameters’ effect on the PINC performance. • Released an open-source implementation of the PINC framework 1 1 1 https://github.com/eivacom/pinc-xyz-yaw , including a simulation model of an underwater vehicle for synthetic data generation. This paper is organised as follows. Section II provides a comprehensive literature review on PINNs, including their applications and limitations. Section III motivates the importance of accurate and computationally efficient dynamics models for enhancing prediction and control. Section IV outlines the methodological framework for evaluating PINC and baseline models in simulation experiments. Section V presents the simulation results for different PINC configurations and baseline comparisons. Finally, Section VI concludes with a summary of key insights and suggestions for future research directions. II Related Works Traditional data-driven methods for non-linear system identification and control range from flexible but opaque neural networks to interpretable but potentially limited approaches like dynamic mode decomposition with control (DMDc). Sparse identification of non-linear dynamics with control (SINDyC) [ 8 ] constructs a large function library, then applies a sparsity-promoting algorithm to isolate key dynamics for model-based control. Gaussian processes (GPs) are widely used for data-driven modeling [ 9 ] due to their ability to quantify uncertainty, which is advantageous for designing safe control architectures [ 10 ] . However, they often scale poorly in high-dimensional spaces. PINNs address these trade-offs by embedding physical laws (differential equations) directly into the neural network’s loss, enhancing data efficiency and physical consistency within a flexible framework. Many works extend PINNs for more complex tasks. For instance, [ 11 ] applies PINNs to Reinforcement Learning, yielding faster training and robust controllers beyond the training domain. [ 12 ] introduces a Robust Adaptive MPC framework leveraging PINNs to integrate physics-based priors with data-driven learning, improving trajectory tracking performance under uncertainties while mitigating the computational burden of traditional robust MPC approaches. Hybrid architectures like Deep Lagrangian networks [ 13 ] embed energy-based formulations for better interpretability. Others focus on Neural ODEs [ 14 , 15 ] , augmenting nominal physics models with learned residuals. PINNs have also found success modelling AUV dynamics [ 16 ] , soft robotics [ 17 ] , and more. PINC extends PINNs to include control inputs, initial states, and time [ 7 ] . PINC can model a continuum of initial conditions by treating the network as a continuous time-stepper. Auto-regressive rollouts allow multi-step prediction, and architectures like domain-decoupled PINNs [ 18 ] can boost training efficiency. PINC has shown promise for efficient MPC integration and large-scale industrial tasks [ 19 ] . Gradient scaling poses a significant challenge when dealing with multiple loss terms, such as data, physics, and rollout losses, which may conflict with each other. Techniques like ConFIG [ 20 ] address this issue by aligning gradient directions to mitigate conflicts. Additionally, activation smoothness plays a critical role in PINN performance. As highlighted in [ 21 ] , the use of non-smooth activation functions can impair performance due to the inaccuracies introduced by automatic differentiation. III Problem Formulation PINNs are effective for solving nonlinear dynamical systems by leveraging both partial knowledge of system dynamics and available data. For a general nonlinear system, where the system’s dynamics are represented by a function that is Lipschitz continuous, the solution over time depends on the complete knowledge of this function. However, in practice, this function is often not fully known due to uncertainties and modelling inaccuracies. Instead, nominal dynamics are used, and PINNs approximate the solution using a neural network, which incorporates these nominal dynamics into its training process. Fig. 1

Read the complete text