arXiv:2608.23924eess.SYAug 2026

Manuscript Offprint

arXiv:2608.23924

Dynamical System-Based Imitation Learning and Neuroadaptive Control for Trajectory Recovery in Autonomous Ships

Yeyson A. Becerra-Mora, José Ángel Acosta

Abstract

Repetitive maritime operations can be effectively learned using the Imitation Learning (IL) paradigm, which transfers human expertise directly to Unmanned Surface Vehicle (USV) control systems. Dynamical Systems (DS) are widely used to model non-linear human demonstrations while offering inherent stability guarantees. However, real-world execution under persistent marine perturbations reveals a critical trade-off: standard DS-based IL approaches prioritize global target convergence at the expense of localized trajectory reproduction fidelity. To address this limitation, we present a hybrid learning-control architecture that integrates a DS-based IL reference generator with a neuroadaptive controller. Our approach introduces a control action that drives the USV back to the demonstrated path following exogenous disturbances, enabling dynamic human-like reactive alignment—termed behavioral tracking. The proposed methodology is validated using the Marine Systems Simulator (MSS) toolbox. Simulation results confirm that the framework generalizes complex maneuvering tasks while substantially improving trajectory tracking fidelity under disturbances compared to alternative control strategies.

Keywords: Imitation Learning, Neuroadaptive Control, Autonomous Ships

1. Introduction

Collaborative robots have emerged as an option to address the incremental interest in easing human-robot interaction. However, giving a robot a new skill demands many hours of explicit programming by trained personnel. This limitation can be overcome by allowing the robot to learn tasks instead of relying on conventional programming. This paradigm shift is the key to expanding the versatility and range of applications of robotic systems. The maritime industry can take advantage of these advances in robotics to produce autonomous

Email addresses: ybecerra@us.es (Yeyson A. Becerra-Mora), jaar@us.es (José Ángel Acosta) navigation in ships by pilot indications. Some maritime tasks such as docking a ship become repetitive tasks for an experienced pilot; therefore, rather than doing the same tasks multiple times, the human can transfer these skills to the onboard ship computer in a natural way to reproduce complex maneuvers to accomplish the task.

One potential solution for this challenge is Imitation Learning (IL), which can effectively transfer human motion skills to robots. IL, also known as "Learning from Demonstration" or "Programming by Demonstration" (Billard et al., 2008; Calinon, 2009; Gribovskaya et al., 2011). This approach is highly valuable for tasks that are too complicated to program traditionally. IL is a three-step methodology —demonstration, learning, and reproduction— that allows a robot to acquire new motion skills implicitly by learning from a human-expert, rather than requiring complex programming for every new task. Demonstration data can be collected in multiple ways; kinesthetic (Kronander and Billard, 2014; Sakr et al., 2020), teleoperation (Havoutis and Calinon, 2019; Zhang et al., 2018), or passive observation (Liu et al., 2018; Wang and Tang, 2022). Supervised and unsupervised methods are employed to create a learning-based model from the collected data which represents robot kinematics. Once the model is trained, this creates the appropriate motion for the robot to reproduce the demonstrated task. Complex trajectories are the common skill to transfer; therefore, a set of demonstrated motions is learned, after which a generalization 1^{1} is retrieved for execution by the robot.

IL methodology is widely used to transfer human knowledge of complex, repetitive tasks into robotic and automated systems, such as digging or harvesting in the agricultural field (Lauretti et al., 2023; Kim et al., 2025), needle manipulation and peg transfer in surgical procedures (Li et al., 2022; Schwaner et al., 2021), human-robot cooperation (Koskinopoulou et al., 2016; Sasagawa et al., 2020), and cutting vegetables or handling raw materials for food products (Lioutikov et al., 2016; Misimi et al., 2018). However, noisy environments such as the maritime industry can challenge the performance of repetitive tasks; therefore, disturbances must be considered in the motion planning for ships. An IL strategy is proposed in Chaysri et al. (2023) for navigating an Unmanned Surface Vehicle (USV). More robust strategies have been developed for learning in Becerra-Mora et al. (2025) and for control in Xu et al. (2023).

The motion of a system can be represented by Dynamical Systems (DS), which is defined in state-space and governed by a set of ordinary differential equations (ODEs). DS is a common method to model complex trajectories and to produce real-time motion from any starting point. Furthermore, the target point of the task can be encoded as a stable attractor by using DS. One of the most used time-dependent DS to learn from demonstrations and generate motions is Dynamic Movement Primitives (DMP) (Ijspeert et al., 2013); nevertheless, some drawbacks such as poor generalization and difficulty dealing with temporal perturbations are common. Therefore, an alternative to guarantee

1^{1}Generalization is the ability to apply learned knowledge to new ‘unfamiliar’ situations.

robustness against temporal perturbations is state-dependent DS, which can be modeled using IL methodology.

A diversity of approaches in DS-based IL have been proposed to learn complex dynamics and ensure stability. In Khansari-Zadeh and Billard (2011), a quadratic Lyapunov function is used to constrain the parameters of the Gaussian Mixture Model (GMM). In Neumann et al. (2013), a predefined Lyapunov function is used to guarantee asymptotic stability during the learning process via sampling inequality constraints. In Khansari and Billard (2014), the problem is divided into three steps: (i) a Control Lyapunov Function (CLF) is learned from a set of demonstrations; (ii) a supervised or unsupervised learning method is used to learn a non-linear trajectory; and (iii) a constrained optimization problem is solved to ensure stability. An enhanced formulation by Becerra-Mora and Acosta (2024) unified the learning of the CLF and nonlinear trajectory into a single noise-tolerant constrained optimization problem. This approach was later validated in practice using real ship maneuvering data from a port environment in Becerra-Mora et al. (2025). In Neumann and Steil (2015), a Lyapunov function is transformed from the original space to a different space to improve stability and accuracy via diffeomorphic transformations. In Santos et al. (2018), a non-linear autoregressive polynomial model and a constrained least-square estimator are used to implement an IL methodology, local asymptotic stability is guaranteed. In Duan et al. (2019), three factors (accuracy, stability and speed) are considered to propose an algorithm based on Extreme Learning Machine that learns from demonstrations. A neural-network-based DS is presented in Zhang et al. (2022) to learn complex motions from demonstrations. Consequently, (un)supervised learning methods are used to learn complex dynamics by means of constrained optimization problems with stability guarantees.

However, successfully reproducing a task requires imitating the underlying motion pattern and guaranteeing convergence to the target, safety- and precision-critical applications demand more. The system must not only recover from perturbations to reach the target, but also accurately track the intended nominal trajectory post-external disturbance. Examples include autonomous Unmanned Surface Vehicles (USVs) navigating narrow channels or robotic manipulators executing high-fidelity welding operations, both of which require adaptive mechanisms to handle exogenous disturbances.

In marine applications, persistent external disturbances—such as ocean waves, currents, and wind—continuously perturb a ship's trajectory, posing a major challenge for precise motion control. To address this issue, we build upon the DS-based IL framework introduced in Becerra-Mora and Acosta (2024); Becerra-Mora et al. (2025), in which a constrained optimization problem is solved to simultaneously learn Gaussian Mixture Model (GMM) parameters and an underlying Lyapunov function. Although this approach yields strong nominal performance and theoretical stability guarantees, real-world hardware deployments on Unmanned Surface Vehicles (USVs) reveal a critical limitation:

trajectory reproduction fidelity during execution 2^{2} degrades significantly under large exogenous perturbations.

Standard DS-based IL methods prioritize global convergence to a target attractor over localized path reproduction under heavy disturbances. Consequently, while the robust controller in Becerra-Mora and Acosta (2024) ensures ultimate convergence, it allows state trajectories to deviate substantially from the demonstrated paths before recovering.

To resolve this trade-off between global convergence and localized trajectory fidelity, we propose a novel hybrid learning-control architecture that combines a neuroadaptive controller (Arabi et al., 2019) with a learned DS reference. Our main contribution is the introduction of an external control action that actively drives the ship back toward the localized demonstration following an exogenous disturbance, thereby enhancing trajectory recovery while strictly preserving closed-loop stability.

Figure

Figure 1: IL architectures comparison: top-left, learning references for human-like responsiveness; bottom-left, demonstration references for classical trajectory tracking control.

Fig. 1 illustrates the proposed DS-based IL framework. While static references derived directly from human demonstrations lack responsiveness, a common limitation in classical control, learning-based dynamic references capture implicit human behavioral traits, such as adaptive compliance and reactivity. We term this dynamic alignment behavioral tracking as it enables the autonomous system to emulate human-like corrective responses under unexpected perturbations. As depicted in Fig. 1, our framework learns these demonstrations to generate a non-linear target trajectory from any arbitrary geographical coordinate. A Line-of-Sight (LOS) guidance algorithm then processes this reference to generate dynamic heading commands for the neuroadaptive controller.

For the sake of completeness, we perform a comparison integrating different control strategies into the DS-based IL to validate their performance.

The rest of this paper is structured as follows: Section 2 introduces the background of the learning approach. Section 3 introduces a robust-adaptive

2^{2}Execution refers to hardware deployment, such as running the algorithm on a USV.

approach for high fidelity in imitation learning. In Section 4, the proposed approach is validated in the Marine System Simulator (MSS) toolbox (Fossen and Perez, 2004). Finally, conclusions are drawn in Section 5.

Notation. Sets and collections are denoted using braces {⋅}\{\cdot\}. For compactness, bold symbols denote groups of them. The operator ∇V(x)\nabla V(x) denotes the gradient of a scalar function V(x)V(x) with respect to xx. ∥⋅∥\|\cdot\| stands for vector and induced matrix norms, and ∥⋅∥Γ\|\cdot\|_{\Gamma} for a weighted matrix norm with Γ\Gamma positive definite. Finally, a continuous and strictly increasing function κ(s)∈K∞\kappa(s) \in \mathcal{K}_\infty, κ(0)=0\kappa(0) = 0, and lim⁡∣s∣→∞κ(∣s∣)=∞\lim_{|s| \to \infty} \kappa(|s|) = \infty.

References (34)