Highlights
What are the main findings?
- A behavior-based swarm control architecture is proposed for coordinated motion in time-varying Double-Gyre flow fields, where a graph attention mechanism guided by agent heading angles dynamically assigns inter-agent interaction weights.
- A Bayesian optimization framework is introduced to determine the optimal behavioral weights for swarm coordination.
What are the implications of the main findings?
- This method enhances swarm adaptability, coordination stability, and control performance under complex environmental disturbances.
- The framework provides a robust and scalable basis for swarm control in dynamic flow environments, with promising potential for autonomous marine multi-agent applications.
Abstract
Conventional cooperative control methods for multi-AUV systems typically rely on quasi-steady hydrodynamic assumptions and do not explicitly account for time-varying uncertainties in ocean dynamics. In addition, controller parameters are often tuned empirically. As a result, under complex disturbed flow fields and communication constraints, AUV swarms are prone to group fragmentation and reduced polarization, which undermines stable cooperative navigation. To address these limitations, we propose a double-gyre-flow-optimized autonomous underwater vehicle swarm (DGF-OAS) model for coordinated operations in time-varying flow fields. The proposed model incorporates a heading-aware graph attention mechanism to adaptively adjust adjacency weights among agents with different roles. It further integrates the Lennard–Jones potential to preserve safe inter-vehicle spacing and embeds a periodically varying double-gyre flow field to characterize ocean disturbances. Bayesian optimization is then employed to automatically identify suitable weights for the alignment and attraction–repulsion terms, thereby improving swarm cohesion and environmental adaptability. Simulation results demonstrate that, under flow-field disturbances, DGF-OAS achieves group polarization of up to 96%, reduces the average task completion time by 15.84% compared with the baseline model, and attains a task completion rate of 97%, significantly outperforming the compared methods. These findings indicate that the proposed approach exhibits strong adaptability and stability in complex environments and offers an effective solution for AUV swarm control.
1. Introduction
Autonomous underwater vehicles have become an important enabling technology in marine engineering, driven by the growing demand for underwater operations, ocean resource exploitation, and marine ecological protection [1,2,3]. Compared with single-vehicle systems, multi-AUV swarms offer higher operational efficiency and stronger environmental adaptability, delivering pronounced advantages in complex mission scenarios [4]. Classical strategies for multi-robot swarm control include the leader–follower paradigm [5], the virtual structure method [6], and behavior-based control [7]. More recently, deep reinforcement learning has attracted increasing attention in multi-agent cooperative control [8,9]. Among these, behavior-based control is inspired by the emergent phenomena of natural collectives such as fish schools and bird flocks [10,11]. Through purely local interactions, agents self-organize their motion by enforcing short-range repulsion, mid-range alignment, and long-range attraction. The approach is decentralized, self-organizing, and robust. It is now well established in aerial and ground swarm robotics. However, in complex underwater environments, its performance is susceptible to strong currents and measurement noise and is further challenged by communication constraints.
In traditional underwater swarm control, AUVs are often modeled as particles while environmental disturbances are approximated as stochastic noise. Yet in realistic current fields, the flow exerts a pronounced influence on individual trajectories and collective coordination and can even cause severe performance degradation. To account for background flows, prior work that assumes full knowledge of the flow field has investigated cooperative path optimization and trajectory planning for multiple AUVs [12,13,14]. In practice, however, complete flow information is generally unavailable. To reduce reliance on global flow data, some studies enable navigation from purely local sensing without prior environmental knowledge [15,16]. These methods, though effective, are limited to single-agent settings and typically require large quantities of current data for training. Beyond single-agent navigation, other works fuse local observations to realize multi-AUV cooperative control under flow-field conditions [17] and propose swarm control tailored to regimes with strong currents [18]. Nevertheless, the periodic nature of ocean flows continuously injects heading noise into the system, substantially weakening inter-agent alignment. In addition, flow uncertainty induces switching of the interaction topology at high frequency, which can trigger communication link breakages. This, thereby, diminishes group cohesion and increases the risk of swarm fragmentation.
Moreover, the complexity of the marine environment not only degrades collective performance but also exacerbates the challenges of underwater communication [19]. To improve communication efficiency among agents, researchers have proposed undirected information flow topologies based on proximity interactions, as well as hybrid schemes that integrate topological structure with visual interactions to reduce communication overhead while maintaining minimal neighborhood size [20]. Because multi-robot coordination often involves balancing competing objectives, optimization algorithms are widely employed to enhance multi-AUV performance. Examples include genetic algorithms for target-point assignment [21], particle swarm optimization with multiple objectives for overall path planning while considering path length, smoothness, turning angles, and ocean-current effects [22], and hybrid approaches that combine PSO with the ELKAI solver for joint task allocation and path planning [23]. Despite these advances, conventional optimization methods often require extensive sample evaluations, struggle to balance exploration and exploitation in high-dimensional parameter spaces and are prone to local optima. As a result, challenges remain in coping with complex ocean disturbances while achieving scalability to large swarms.
To address swarm control under complex flow fields, we propose an integrated framework for cooperative control and parameter optimization of AUV swarms. Building on our prior work [24,25], we first incorporate a multi-head attention mechanism into the alignment term to dynamically distribute interaction weights and thereby reduce communication load. Second, we apply the Lennard–Jones potential as a soft constraint on inter-agent spacing, maintaining a balanced distance among neighboring AUVs and mitigating collision risk. Departing from conventional models, we explicitly incorporate a noisy double-gyre flow that varies in time into the swarm dynamics to emulate oceanic disturbances. Third, we employ Bayesian optimization to tune the behavioral weights of the alignment and attraction–repulsion terms, using the mean group polarization, mean normalized arrival time, and mean task success probability as optimization objectives, thereby enhancing robustness under background flows. Extensive simulations demonstrate that, under identical environmental conditions, the proposed model achieves superior performance over baseline methods in key metrics such as polarization and task completion rate. The major contributions of this work are given below.
1. A behavior-based swarm control model is proposed for multi-AUV cooperative navigation in complex marine environments, where a local flow field disturbance term is incorporated into the individual velocity update law to describe swarm motion under time-varying flow conditions.
2. A graph attention-based adaptive neighbor-weighting strategy is developed by exploiting heading-related features. Combined with a leader-follower hierarchical architecture, the proposed strategy enhances the guiding effect of key nodes and improves heading alignment across the swarm.
3. A Bayesian optimization-based parameter tuning framework is established to optimize the key behavioral parameters of the swarm model. The optimized parameter combination contributes to improved overall swarm performance across multiple collective behavior metrics, including polarization, average inter-individual spacing, and other related indicators.
The rest of the paper proceeds as follows. Section 2 reviews previous studies related to this topic. Section 3 formulates the multi-AUV cooperative navigation problem. Section 4 introduces the framework for swarm control. Section 5 outlines the theoretical foundation and execution of the optimization method. The setup and results of the simulation are covered in Section 6. Section 7 presents the conclusions of this study and discusses future research directions.
2. Related Work
As multi-AUV systems become increasingly capable and efficient in challenging conditions, the cooperative control and optimization of underwater swarms in flow fields have attracted growing research attention. Li et al. [26] proposed an adaptive cooperative exploration strategy for multiple AUVs based on a greedy idea, which achieves target coverage in an unknown discretized grid environment while explicitly accounting for energy and communication constraints. However, this strategy does not incorporate flow field disturbances into the model, and its applicability in realistic ocean current environments remains to be further verified. For underwater acoustic sensor networks subject to complex ocean current disturbances, one study [27] employs AUVs to assist in the prediction and repair of routing holes, thereby enhancing the reliability of communication among multiple sensor nodes. In addition, most related studies typically assume that complete flow field information is available a priori and mainly focus on cooperative mission execution and path optimization for multiple AUVs. For example, Liu et al. [12] formulated task allocation and route planning for multiple AUVs as a multiobjective optimization problem and validated the proposed method on multi-objective missions in underwater scenarios constructed from a New Zealand bathymetric data set. To mitigate premature convergence to local optima in high-dimensional settings, Sun et al. [13] developed a multiobjective optimization framework combined with a dynamic window fusion algorithm for global trajectory generation of multiple AUVs in disturbed marine flow fields. This study [14] proposed a collision-avoidance strategy for multiple AUV formations operating in ocean current environments, in which an affine transformation is used to achieve formation reconfiguration and obstacle avoidance is achieved through an improved artificial potential field scheme. Near-surface experiments further demonstrate the feasibility of this method.
Although the above studies provide effective schemes for cooperative control under known flow field conditions, the highly time-varying nature of real ocean environments and the difficulty of obtaining complete flow field information impose inherent limitations on path planning and control strategies that rely on global flow field priors. Consequently, researchers have shifted their attention toward AUV control problems under local sensing constraints. Gunnarson et al. [15] employed a deep reinforcement learning algorithm to achieve AUV navigation from an initial point to a target point, and transferred the learned policy to time-varying double gyre flow environments for testing. However, the transferred policy exhibited unsatisfactory navigation success rates across different scenarios. Building on this work, a method based on proximal policy optimization (PPO) was developed in [16], which incorporates a look-ahead state space (LASS) and a flow-field prediction network, leading to a significant improvement in the agents’ navigation success rates in flow-field environments. Although these studies rely only on local information, they do not address the problem of cooperative navigation among multiple agents. The study [18] proposed a multi-AUV cooperative control method under a strong background flow field, in which smoothed particle hydrodynamics (SPH) particles are treated as equivalent to AUVs. This method maintains overall group stability while generating approximately energy-optimal cooperative motion trajectories, thereby providing a new scheme for multi-body cooperation in flow field environments.
In a multi-AUV cooperative control framework, ocean environmental disturbances are not only a primary external factor but also give rise to underwater communication link disruptions, increased difficulty in cooperative task optimization, and conflicts among individual behaviors, all of which exert a significant impact on overall system performance. To address cooperative control in congested environments, Liang et al. [20] proposed a communication architecture that integrates adaptive dynamic interaction with a bio-inspired self-organization mechanism. In [28], the position of the swarm center is estimated and treated as a global virtual reference point, thereby ensuring connectivity across the entire group. Furthermore, Tao et al. [29] proposed an air-water cross-domain communication scheme operating in real time, in which multiple unmanned aerial vehicles equipped with hydrophones form mobile acoustic base stations to satisfy the communication requirements of multi-AUV swarms in emergency scenarios. To enable information exploration over steady or unsteady marine geomorphology without requiring global characteristic scale estimation, Nitti et al. [30] integrated metaheuristic algorithms with consensus theory and developed a cooperative swarm scheme for multi-AUV systems, which serves as both an optimization tool and a control architecture. In [23], an improved Dijkstra algorithm, particle swarm optimization-based task assignment, and ELKAI for solving sub-traveling salesman problems are employed jointly to realize shortest path planning for multiple AUVs and to shorten overall mission execution time. Zhang et al. [31] designed an age-based multi-particle swarm optimization algorithm with faster convergence and a stronger capability to escape local optima, and applied it to multi-AUV path planning under complex terrain and threat region constraints. Aiming to improve cooperative planning capability in challenging scenarios, Sun et al. [32] introduced a multiobjective, multipopulation variant of the gray wolf optimization algorithm, derived from the standard framework. By introducing a multi-population cooperation structure, a multiobjective optimization mechanism, and several refined operators, this method achieves superior performance in terms of mission duration and collision probability. Although the above studies perform optimization tailored to specific tasks, relatively little attention has been devoted to the systematic optimization of the internal parameters of the underlying control models themselves.
Given that traditional swarm models typically rely heavily on manual parameter tuning, several researchers have begun to investigate automated parameter search strategies based on intelligent optimization algorithms [33]. For example, building on the classical active elastic sheet (AES) swarming model, Bahaidarah et al. [34] incorporated a multiobjective particle swarm optimization (PSO) procedure to automatically optimize the control parameters and thereby enhance swarm polarization. In addition, training swarms to perform collective tasks in continuous state and action spaces by means of deep reinforcement learning can, to some extent, circumvent the explicit parameter tuning process [35]. However, most of these parameter-optimization and learning-based approaches are designed for generic swarm robotic or mobile robotic platforms and do not explicitly account for the dynamical characteristics and communication constraints of underwater AUV swarms operating under complex flow field disturbances.
Although the aforementioned studies provide important foundations for cooperative control and task optimization of multi-AUV systems in flow-field environments, most of them are established under the assumption that complete flow-field information is available and primarily focus on the design of cooperative control strategies and path planning for specific mission scenarios. In contrast, systematic parameter optimization frameworks specifically tailored to complex disturbed ocean environments remain largely lacking. To bridge this gap, this paper proposes a behavior-based AUV swarm control model for complex flow disturbances and incorporates a Bayesian optimization algorithm to systematically tune the key behavioral parameters, enabling the multi-AUV system to maintain a stable spatial configuration and efficiently accomplish cooperative navigation tasks under ocean perturbations.
3. Problem Description
Cooperative navigation with multiple autonomous underwater vehicles is characterized by substantial uncertainty. Under stochastic perturbations induced by complex flow fields, the collective relies on local sensing and distributed decision-making to achieve coordinated motion. This section first presents a system-level formulation for cooperative navigation among multiple AUVs. Each AUV is modeled by first-order integrator dynamics, upon which we develop a performance evaluation framework to assess group-level coordination.
3.1. Description of the Multi-AUV Cooperative Navigation Task
We consider the cooperative navigation of multiple AUVs in a rectangular two-dimensional region influenced by an unsteady double-gyre flow. A behavior-based swarm control model is proposed to accomplish the task. The system consists of N AUVs structured as a hierarchical leader–follower architecture. The leader knows the desired heading and issues navigation commands, while the followers receive these commands directly or indirectly through local interactions. As illustrated in Figure 1, the agents marked in red indicate the leaders, whereas those in blue represent the followers. A trial is deemed successful if the leader guides the group to the target region within a prescribed number of simulation steps. Otherwise, the task is judged to have failed if the group does not reach the target within the time limit, or if loss of connectivity in the communication network breaks the leader- follower topology and causes group fragmentation. Thus, the multi-AUV cooperative navigation task aims to achieve, under flow-field disturbances and under the constraint that only the leader has access to the desired heading, a self-organized transition of the group from an initially disordered state to a stable formation, ensuring that the leader arrives at the target region within the allotted time while maintaining inter-vehicle cohesion and network connectivity.
Figure 1.
Schematic of the multi-AUV cooperative navigation task.
3.2. Kinematic and Communication Topology
To investigate the cooperative navigation problem of multi-AUV systems under constant-depth conditions, each autonomous underwater vehicle is abstracted as a point mass with its geometric size neglected, and its motion is described by a two-dimensional single-integrator model. Each agent interacts within a circular neighborhood of radius . Under these approximations, a multi-robot system comprising AUVs is considered. The communication topology is represented as a directed, weighted graph . In this representation, is the set of vertices corresponding to robots, and represents the directed edges that define communication links. The attention weight describes the value robot i assigns to robot at a specific time . The corresponding kinematic equation is formulated as:
where robot ’s velocity and position are given by and , respectively. To ensure safe operation, the speed is bounded by . When the desired speed exceeds , the speed will be saturated as:
where is the desired speed, which will be detailed in Section 4.3. The set of agents neighboring robot is given by
3.3. Metrics
The evaluation framework for collective navigation in a double-gyre flow field is developed from three aspects: task accomplishment, collective motion characteristics, and communication cost. Specifically, the average arrival time is adopted to quantify task execution speed, while the success rate characterizes task completion reliability. The polarization, mean inter-agent distance, and their steady-state values are used to characterize the consistency, cohesion, and stability of the swarm during navigation. In addition, the cumulative communication overhead in a single mission is introduced to quantify the communication cost required to maintain cooperative behavior. Collectively, these metrics provide a comprehensive evaluation of system performance in terms of task outcome, motion process, and communication cost. The specific definitions of these performance metrics are given as follows:
Polarization : measures the consistency of the heading angles of the vehicles and is defined by:
where denotes the speed vector of AUV . When all headings are perfectly aligned, . When headings are dispersed, is close to .
Mean arrival time : Over Monte-Carlo simulations, is the average time required for the swarm to travel from the initial region to the target region.
Success rate : Subject to a prescribed maximum number of simulation steps, this is the percentage of Monte-Carlo trials in which the swarm reaches the target point. It is computed as:
where and denote the number of successful trials and Monte Carlo runs, respectively.
Mean inter-individual distance : characterizes swarm cohesion and should remain smooth during ideal motion without sudden fragmentation or compressive deformation [36]. It is defined as:
Steady-state value : evaluates long-term heading alignment of the swarm. Let denote the polarization at time step , and let be the earliest time step such that . The steady-state value is defined by
Cumulative number of communications (): This metric is introduced to evaluate the unicast-equivalent cumulative communication cost during a single task execution. Under the assumption that each robot sends one state message to all of its neighbors at each time step, the cumulative number of message transmissions during one task is defined as:
where denotes the arrival horizon of the robot swarm at the target region, expressed in discrete simulation steps, and denotes the number of neighbors of robot i at time t.
4. Behavior-Based Modeling Framework
Building on the preceding multi-AUV cooperative navigation dynamics, a principled behavior-based control architecture is likewise essential. This section presents a behavior-driven swarm control strategy, in which the desired velocity of each agent is formulated as a weighted superposition of three components: alignment, attraction–repulsion, and flow-field disturbance. On this basis, a baseline model is established for operation in a double-gyre flow environment. Meanwhile, a theoretical analysis of the proposed behavioral control law is conducted, providing a rigorous foundation for the subsequent Bayesian optimization of behavioral weights.
4.1. Alignment Term
In the DGF-OAS model, the alignment component builds upon the Vicsek model and incorporates a multi-head graph attention mechanism parameterized by the heading angles of the agents [37]. This enables dynamic weighting for individual neighbors, improving the robustness of heading consensus in the presence of disturbances. As illustrated in Figure 2, the swarm adopts a hierarchical leader–follower architecture to amplify the guidance of key nodes. Leaders carry larger weights in the communication topology; therefore, they steer the headings of surrounding robots more effectively.
Figure 2.
Interaction topology of a hierarchical leader–follower AUV swarm. Arrows indicate the direction of information flow. The swarm uses a layered leader–follower structure with leaders in the first layer . The remaining members are dynamically partitioned into the second and third layers according to their distance from the leader within the communication graph. The dashed circles denote each agent’s interaction range, which limits the effective distance for information exchange.
Let represent the heading of the at discrete time instant . To avoid discontinuities from angular periodicity, we embed headings as . To mitigate sensor noise and local perturbations, the temporal average for each attention head is expressed as
where is the linear projection for head , and is the window length. The unnormalized alignment score on edge is then obtained from:
where denotes vector concatenation and is the learnable weight vector of head .
To enhance nonlinearity, we apply a LeakyReLU and temperature scaling. Inspired by the stratified social structure observed in pigeon flocks, and in contrast to the role-aware attention in [38], we introduce a role-dependent amplification coefficient that scales the contribution of neighbor in the attention score, defined by:
where the negative-slope coefficient, and is the temperature. denotes the set of neighbors of the leader. The role gains satisfy , ensuring that, relative to their neighbors, leaders exert stronger influence during information propagation.
Given the scaled scores , attention weights over the neighbor set of agent are obtained by a Softmax normalization:
With attention heads in parallel, the final attention weight is defined as the arithmetic mean across heads:
For agent , the alignment component of the desired speed at instant is expressed as
where the consensus heading is computed as the circular mean of the headings of neighboring agents, with weights given by the attention coefficients
In (15), are the multi-head attention weights defined above. By jointly accounting for adjacency, communication intensity, and node roles, the proposed alignment mechanism improves collective self-organization and goal consistency of the swarm despite disturbances.
4.2. Attraction and Repulsion Term
Given that heading consensus among robots is secured, maintaining a safe relative spacing through pairwise attraction and repulsion is essential for coherent swarm motion. In this work we adopt the Lennard–Jones potential as the modeling basis for the attraction and repulsion term. Originally proposed by Yamagishi et al. [39] to describe interatomic interactions in molecular dynamics, it is defined as:
where is the well depth, represents the characteristic length scale, and denotes the distance from robot to its neighboring robot . Physically, the potential induces repulsion when is smaller than the equilibrium separation and attraction when exceeds it (the equilibrium occurs at ). To simplify the analysis, inertia is neglected, and the Lennard–Jones interaction is treated as a direct contribution to the agent’s velocity, derived from the energy-decreasing spatial derivative of the aggregated pairwise interaction function. Accordingly,
where denotes the unit direction vector from robot toward robot , and denotes the magnitude of the interaction force associated with the Lennard–Jones potential. This term prevents collisions while preserving group cohesion, thereby supporting stable swarm operation.
4.3. Flow Field Term
To model ocean disturbances with periodic time variation, we adopt a two-dimensional, time-varying double gyre as the environmental flow field. This flow-field model is widely used for algorithmic validation in geophysical fluid dynamics and underwater robotics. With a small set of parameters, it captures the tidal and seasonal reciprocation and mesoscale vortices that give rise to nonstationarity and spatial inhomogeneity commonly observed in the ocean [40,41]. Therefore, it provides a suitable testbed for multi-AUV cooperative control. Following [42], the stream function can be written as
Within a two-dimensional bounded domain, the velocity field follows from the associated stream function as
where is the flow-speed amplitude, is the temporal frequency, and controls the time variation in the separatrix between the two gyres. When , the flow consists of two symmetric vortices. When , the separatrix oscillates along the x-axis, causing the two gyres to alternately expand and contract. In this study, the physical space is mapped to the rectangular domain [0,400] × [0,200] (see Figure 3). In addition, each AUV is assumed to access local flow-velocity information at its own position, which is then introduced as an environmental input. In the simulation, this local flow velocity is generated from the double-gyre flow model, with Gaussian noise superimposed to characterize the uncertainty in local sensing. The local flow velocity for AUV i is given by
where denotes the position of AUV i at time t, is a Gaussian random perturbation vector, and λ denotes the noise amplitude.
Figure 3.
Time-varying double gyre. Arrows indicate the direction and relative magnitude of the velocity field, and the background colormap depicts the speed magnitude (see colorbar at right).
Combining the alignment and the attraction–repulsion terms with the flow contribution, the desired speed of robot is defined as:
where are the corresponding weighting parameters.
The above behavior-level weighted superposition defines a baseline swarm model for AUVs in a double-gyre flow (DGF-AS). In this baseline, all behavior weights used to construct the desired speed are set by manual tuning to serve as a reference for subsequent optimization methods.
4.4. Theoretical Analysis
To investigate the fundamental theoretical properties of the aforementioned multi-AUV cooperative navigation system, the following assumptions are introduced under the conditions that the actual execution velocity satisfies (2) and that the desired velocity of each AUV is generated by the weighted combination of the behavioral terms described above.
Assumption 1.
The initial communication graph G(0) is connected, and the communication topology remains connected throughout the system evolution.
Assumption 2.
The attention weights obtained from (12) and (13) satisfy the nonnegativity and normalization conditions, namely, . Moreover, there exists a uniform positive lower bound on every active edge.
Assumption 3.
No collision occurs between any pair of AUVs at the initial time, and the system trajectories remain within a compact collision-free set Ω, the Lennard–Jones potential function is continuously differentiable.
Assumption 4.
The local flow field is bounded over the region of interest. Specifically, there exists a finite positive constant for which . Moreover, the random perception disturbance satisfies .
Theorem 1.
Consider the multi-AUV swarm system governed by the dynamic Equation (1), where the actual velocity of each individual is determined by (2), and the desired velocity is composed of the behavioral components in (22), which are respectively defined by (14), (17) and (21). If Assumptions 1–4 hold, then the system possesses the following properties:
1. The group heading error contracts progressively and asymptotically converges to consensus in the absence of external disturbances;
2. The group configuration evolves toward a neighborhood of the potential equilibrium set, and the inter-AUV distances remain bounded;
3. Under flow-field disturbances and random perception errors, the system states remain ultimately bounded.
Appendix A presents the detailed derivation supporting Theorem 1. Furthermore, since the DGF-OAS framework developed in Section 4 only optimizes the behavioral weights in (22) without altering the fundamental structure of the control law, the above conclusions remain valid for the optimized parameterized model as well.
5. DGF-OAS Parameters Optimization
To alleviate the reliance of traditional swarm models on manual tuning guided by experience, particularly in complex underwater environments or large-scale multi-robot tasks, we regard the unknown mapping from behavioral weight parameters to swarm performance as a black box function. Let the weights of the alignment term and the attraction–repulsion term be collected into . In this study, the flow-field weight is treated as a fixed environmental baseline parameter and therefore is not included in the optimization. Within the prescribed search space , Bayesian optimization (BO) is used to perform automated, global parameter tuning.
5.1. Objective Function
To jointly optimize multiple performance indicators, the tuning of model weights is formulated as a minimization problem, and the following objective function is introduced:
where , , and denote the weights associated with the success-probability term, the arrival-time term, and the swarm-consensus term, respectively. To ensure that all performance indicators can be evaluated on a unified scale, the three terms are normalized to the interval [0,1]. Specifically, denotes the average task success probability over Monte Carlo trials. denotes the average normalized arrival time over Monte Carlo trials and is defined as , where is the maximum allowable number of simulation steps. denotes the average swarm consensus index over the steady-state time window under Monte Carlo trials.
In this work, the weights are set as = 0.5, = 0.3, and = 0.2, reflecting a design preference that prioritizes task success while also accounting for execution efficiency and swarm consensus. Therefore, the proposed objective function can comprehensively characterize the consistency, task efficiency, and reliability of the swarm model in complex environments. The optimization process then seeks the optimal parameter pair by minimizing .
5.2. Gaussian Process
Bayesian optimization places a Gaussian process (GP) prior on the objective . For any finite set , the vector of function values follows a multivariate normal distribution, that is:
We adopt a zero-mean prior, . Since all key swarm-control behavioral parameters to be optimized in this study are continuous variables and the objective function exhibits an overall smooth nonlinear response to parameter variations, the squared exponential (RBF) kernel is employed to model the correlation among sampled points.
where is the length-scale controlling smoothness and correlation range.
5.3. Acquisition Function
The acquisition function quantifies, under the GP posterior, the utility of sampling each candidate , balancing exploration and exploitation [36]. Given that the evaluation of the objective function depends on repeated simulations and thus incurs a relatively high computational cost, the expected improvement (EI) criterion is adopted as the acquisition function in this study.
where and denote the posterior mean and standard deviation of the GP model, represents the highest objective value observed so far, and is a parameter controlling exploration. The functions and denote the standard normal cumulative distribution and its corresponding probability density, respectively. Incorporating evaluation time, the extended EI is computed as:
where is the predicted evaluation time at , quantifies the uncertainty of that prediction, and is a hyperparameter balancing improvement versus uncertain evaluation cost.
5.4. Parameter Optimization Procedure
Building on the objective in Section 5.1, the Gaussian process surrogate in Section 5.2, and the acquisition function in Section 5.3, the Bayesian optimization procedure for parameter tuning is summarized in Algorithm 1. The procedure comprises four phases: (i) generating initial samples in the search space and evaluate to construct the dataset ; (ii) fitting the Gaussian process surrogate using ; (iii) iteratively sampling candidate points according to the time-aware acquisition ; and (iv) terminating when the maximum number of evaluations is reached or when the improvement over several consecutive iterations falls below a threshold, and select the parameter pair that minimizes .
| Algorithm 1: Bayesian optimization for swarm control weight tuning |
| . . simulations; |
| . |
| do |
| . |
| simulations; |
| . then break 10: end for . . |
The resulting optimal weights and are used in the experimental setup of Section 6 for the DGF-OAS model and validated under a temporally varying double-gyre flow. The full DGF-OAS procedure is presented as pseudocode in Algorithm 2.
| Algorithm 2: DGF-OAS Model |
| 1: Initialize a DGF field over a domain and set the target region. 2: Set flow-field parameters . 3: Use BO to obtain the optimal model weights and . |
| 4: Randomly initialize the positions and headings of AUVs; set the initial speed . |
| 5: for step = do |
| 6: for do |
| 7: Determine the neighborhood set of . |
| 8: for do 9: Calculate using Equation (14). 10: Calculate using Equation (17). 11: Calculate using Equation (21). 12: end for 13: Obtain the AUV speed using Equation (2). 14: . 15: end for 16: if reaches the target region, then 17: Record steps for to reach the target. 18: Compute using Equation (4). 19: Compute using Equation (6). 20: end if 21: end for 22: return polarization, average inter-agent distance. |
In summary, the proposed method operates in two stages. Stage I employs Bayesian optimization to determine the optimal parameter set, thereby improving model adaptability and robustness under complex flow conditions. Stage II executes behavior control using optimized parameters, enabling efficient and stable swarm motion within a time-varying double-gyre flow field.
6. Simulation Experiments and Results Analysis
The numerical setup and the obtained results are presented and analyzed in this section. First, Bayesian optimization is applied to tune the behavioral weight parameters of the baseline DGF-AS model, resulting in the optimized DGF-OAS model. Then, Monte Carlo simulations are conducted to perform sensitivity analysis on the key model parameters, thereby revealing the effects of different parameter settings on model performance. Moreover, the DGF-OAS model is compared with the DGF-AS model and the leader-based hierarchical perception model in [24], and the differences in collective coordination performance under flow-field environments are quantitatively evaluated using the defined performance metrics. Finally, the contributions of the core components in the DGF-OAS model are investigated through ablation experiments.
6.1. Experimental Setup
Numerical simulations are performed in a periodically varying double-gyre flow field. The swarm comprises a single leader and nineteen followers. The leader AUV is assumed to receive task commands from a base station in real time, and agents form a connected network via local interactions. In each run, all AUVs are initialized at random positions within the prescribed flow-field domain, and their initial headings are drawn uniformly from (0,2π). The main parameters and their values are summarized in Table 1. As shown in Figure 1, the target region is defined as a disk of radius 10 m centered at (370,170). To comprehensively validate the proposed approach, we design four groups of simulations:
Table 1.
Model and simulation experimental parameters.
(1) Bayesian Optimization. To identify an appropriate combination of key behavioral weighting parameters in the DGF-OAS model, Bayesian optimization is employed for parameter tuning. The maximum evaluation budget is set to 40, of which the first 8 evaluations are used as initial sampling points to construct the surrogate model. Subsequent samples are then selected adaptively by the acquisition function, thereby achieving a balance between exploration and exploitation in parameter space.
(2) Parameter sensitivity analysis. To elucidate the relationship between DGF-OAS performance and key parameters, we run 60 independent Monte-Carlo trials and analyze the effects of the following variables: flow-speed amplitude (A), oscillation amplitude of the flow-field separatrix (), noise intensity (λ), equilibrium distance (σ),potential-well depth (ϵ), swarm size (N) and attention coefficients . Their impacts on the polarization and its steady-state level are examined in detail.
(3) Algorithmic performance comparison. For each of the baseline DGF-AS, the proposed DGF-OAS, and the controller of Zhao et al. [24], we run 60 Monte-Carlo trials and evaluate five performance metrics, namely polarization, average inter-agent distance, task success rate, average arrival time, average steady-state level, and cumulative communication count.
(4) Ablation Study. Ablation experiments were designed to examine the contributions of three modules in DGF-OAS: the dynamic attention-weighting mechanism, parameter optimization, and the attraction–repulsion term. Using identical simulation settings, all models were evaluated on a multi-AUV cooperative navigation task in a time-varying double-gyre flow field over 60 Monte Carlo runs. Their cumulative task-success-rate curves were compared to characterize both convergence behavior and final task completion capability.
A practical issue is that different algorithms may require different numbers of steps to reach the target region. Directly comparing raw time-step trajectories can therefore misalign progress and bias the results. To ensure fairness, for each run we linearly map the absolute time axis to a common normalized progress interval [0,1], where 0 denotes the initial state, and 1 denotes the moment of arrival at the target region. We then select equally spaced grid points over [0,1] and obtain metric values at those points via linear interpolation. This procedure guarantees that each algorithm provides data at identical progress points, enabling comparability.
6.2. Bayesian Optimization
This section analyzes the Bayesian optimization parameter tuning framework for the multi-AUV cooperative navigation task from three perspectives: objective-function convergence, parameter-response characteristics, and sample distribution in the parameter space. As shown in Figure 4, the objective function exhibits a clear convergence trend as the number of evaluations increases. In the early stage of optimization, the objective values of different sample points fluctuate markedly, indicating that the search process is primarily dominated by global exploration. After approximately 13 evaluations, the variation in the objective function decreases significantly, suggesting that the search gradually concentrates on promising regions of the parameter space. Meanwhile, the best-so-far objective value drops rapidly to approximately 0.267 within the first seven evaluations, and then continues to decline slowly until it finally reaches 0.266. These results demonstrate that the proposed optimization process is capable of quickly identifying potentially high-quality regions with relatively few evaluations, thereby exhibiting good convergence performance.
Figure 4.
Convergence curve of the objective function during the Bayesian optimization process.
As illustrated in Figure 5, the distribution of the objective function in the behavioral parameter space exhibits a distinctly nonuniform pattern. In the region where < 0.51, the objective surface remains relatively flat, indicating that the objective function is only weakly sensitive to variations in within this interval. At the same time, the corresponding objective values in this region are generally high, and the sampling points are relatively sparse, suggesting that this area is unlikely to contain promising optima. As increases, the surface gradient becomes progressively steeper, indicating that the objective function becomes increasingly sensitive to variations in . When = 0.55 and lies in the range of 0.84–0.99, a pronounced depression appears on the surface, indicating that the objective function becomes relatively sensitive to variations in within this local region. In addition, when approaches 0.99, the sampled points become noticeably denser, suggesting that the optimization search progressively concentrates around this advantageous region. Ultimately, the optimal point is obtained at = 0.99 and = 0.44, with the minimum objective value reaching 0.266. Considering both the surface morphology and the sampling distribution, it can be observed that exerts a stronger overall influence on the objective function than . This indicates that, compared with the attraction–repulsion behavioral parameter, the alignment behavioral parameter plays a more significant role in regulating system performance.
Figure 5.
Three-dimensional distribution of objective function values in the behavioral parameter space.
6.3. Parameter Sensitivity Analysis
To systematically assess how the flow-speed amplitude and the oscillation amplitude of the flow-field separatrix affect the polarization , we vary only these two parameters while keeping all others fixed. Specifically, we sample at 10 uniformly spaced values and at 19 uniformly spaced values, testing every pair. Figure 6 shows that the plane can be partitioned into three regimes, I–III, according to . When increases, the intensified background shear reduces below 0.63; we designate this interval as the weakly polarized regime (I). As decreases, increases; however, increasing enlarges the time-varying swing of the separatrix and strengthens vortex perturbations, yielding a transition regime (II) in which the system evolves from weak polarization toward steady behavior. Moderate flow perturbations in regime II can induce heading alignment. When , enters the steady regime (III) with , indicating that DGF-OAS exhibits high adaptability to flow disturbances in this range.
Figure 6.
Heatmap of the swarm polarization index as a function of flow-speed amplitude and separatrix oscillation amplitude . Each pixel denotes the mean over 60 Monte Carlo runs. The parameter space is divided into three states: weak polarization (State I), transition (State II), and stability (State III).
In Equation (21), the noise amplitude λ amplifies flow perturbations and thus influences . To evaluate robustness with respect to λ, we sample λ ∈ [0,0.3] at 19 uniformly spaced values while fixing other parameters. Figure 7 indicates an inverse relationship between and λ. As λ increases from 0 to approximately 0.12, the polarization level declines but remains in a steady range; for λ further increases from 0.12 to 0.30, drops to 0.76. This decline is attributable to heightened flow uncertainty that causes frequent neighbor switching and heading fluctuations, thereby weakening alignment. To further quantify the fluctuation characteristics and stability of the results shown in Figure 7, Table 2 presents a statistical summary of group polarization for , covering its average, spread, and 95% confidence range. The results indicate that the mean value of decreases from approximately 0.997 to 0.766 as the noise intensity increases, while the standard deviation rises from 0.006 to 0.031, suggesting that stronger flow noise leads to more pronounced output fluctuations. At the same time, the 95% confidence intervals remain relatively concentrated for all cases, indicating good statistical stability of the results across repeated simulations. Taken together, Figure 7 and Table 2 show that the DGF-OAS model maintains strong robustness under low-to-moderate noise perturbations, whereas its polarization performance begins to deteriorate noticeably once the noise intensity exceeds a certain range.
Figure 7.
Effect of flow-field noise λ on the polarization index in the DGF-OAS model. Box plots summarize 60 simulation runs; the red line denotes the median, and red plus signs indicate outliers.
Table 2.
Group polarization statistics under different flow-noise intensities.
We further examine the sensitivity of to parameters in the attraction–repulsion term. With all other parameters held fixed, we compute on a Cartesian grid spanning and . The results are shown in Figure 8. In regime III, converges toward as and increase. In regime II, lies between 0.40 and 0.90, reflecting a transition from weak polarization to steady behavior. In regime I, the average polarization drops markedly. This is primarily because of the larger potential-well depth reduces inter-agent spacing, strengthens repulsion, and induces local oscillations, thereby degrading consensus. Hence, when the parameters lie in regime I, DGF-OAS is more sensitive to and , and swarm performance is more easily affected. Appropriate tuning of the attraction–repulsion parameters is therefore critical for robustness.
Figure 8.
Sensitivity of to and . Each pixel is the mean over 60 runs. Contours at and partition the parameter space into three polarization regimes: weak polarization (Regime I), transition (Regime II), and steady state (Regime III).
To quantify the influence of swarm size on instability in complex flows, swarms with , were simulated, and the results are provided in Figure 9. The mean steady-state value shows a slight downward trend with increasing , achieving at and by . Table 3 presents the mean, standard deviation, and 95% confidence interval of under different group sizes. When the number of AUVs is varied between 20 and 300, the mean value of declines from 0.963 to 0.939, suggesting a modest reduction in system stability at larger swarm scales. The standard deviation shows only a marginal increase, suggesting that the dispersion of the simulation results becomes slightly larger as the group size grows, while the overall fluctuation level remains low. In addition, the 95% confidence intervals are narrow for all group sizes, implying low uncertainty in the estimation of the mean steady-state value. Overall, the DGF-OAS model exhibits robust steady-state performance under varying group sizes, which supports its scalability for larger swarms.
Figure 9.
Box-plot analysis of steady-state values versus swarm size . Boxes show the interquartile range. The line within each box represents the median, and the whiskers reach the most distant data points within 1.5 times the interquartile range. Plus signs indicate outliers.
Table 3.
Statistical summary of steady-state values under different group sizes.
The guidance role of the leader in the leader–follower hierarchical architecture was examined through a parameter sensitivity analysis of the group-averaged steady-state value with respect to the role-weight coefficients in Equation (11). Specifically, and were sampled using 10 and 19 evenly spaced values, respectively. Figure 10 presents the resulting three-dimensional scatter distribution of in the parameter space. It can be observed that when and , the average steady-state value remains below 0.92, indicating that the guiding influence of the leader and its neighboring agents is relatively weak in this region, thereby making it difficult for the swarm to achieve a desirable stable state. As and increase, exhibits an overall upward trend and stabilizes above 0.925 in the region where and . This suggests that appropriately increasing the weights assigned to the leader and its neighboring agents can enhance overall swarm stability. Therefore, the parameter region defined by and may be regarded as an appropriate choice.
Figure 10.
Sensitivity analysis of the role-weight coefficients with respect to the average steady-state value.
In summary, the effects of flow intensity, attraction–repulsion parameters, swarm size, and role-weight coefficients on the overall collective performance were systematically investigated. First, among key flow parameters, both the flow intensity and the noise amplitude influence performance; within the tested range, the minimum observed remains above 0.55, and the separatrix oscillation amplitude has a comparatively limited impact. Second, the equilibrium distance and potential-well depth in the attraction–repulsion term are more sensitive. In particular, may drop to . Finally, increasing swarm size does not cause substantial performance degradation over the tested range. The role-weight parameters can maintain satisfactory collective performance within an appropriate range of values. Overall, the proposed model exhibits good adaptability under flows of practical intensity and provides guidance for parameter selection in subsequent underwater experiments.
6.4. Performance Comparison of Different Models
To evaluate the performance of the proposed DGF-OAS model under complex flow conditions, a systematic comparison is conducted against two baseline methods, DGF-AS and HLAS. Figure 11 presents the evolution of swarm polarization as the task progresses across models. In the double-vortex flow, HLAS reaches about 0.92 at the outset but later exhibits pronounced fluctuations due to flow perturbations, with polarization decreasing to 0.84. DGF-AS generally maintains higher polarization than HLAS across stages, but it is more sensitive to flow disturbances and exhibits limited adaptability. By contrast, the Bayesian-optimized DGF-OAS maintains a higher polarization under the same environmental perturbations, indicating superior cooperative performance in complex flow conditions.
Figure 11.
Distribution of swarm polarization across task stages. The center solid line represents the median value, whereas the shaded region corresponds to the interquartile interval (Q1−Q3), thus describing data dispersion.
Although polarization effectively captures heading alignment within an AUV swarm, it does not directly quantify whether a coherent spatial structure is preserved.
Therefore, cohesion is quantified using the average inter-individual distance given in Equation (6), and the three models are compared in Figure 12. The results show that DGF-OAS drives toward a stable value even under flow perturbations, thereby maintaining high cohesion. In contrast, although the DGF-AS model maintains a relatively small mean inter-agent distance, continues to fluctuate under flow-field disturbances, indicating that its swarm structure is less stable than those of the other models. For HLAS, increases steadily with task progress, which indicates that some AUVs gradually peel away from the formation and separate from the main swarm.
Figure 12.
Evolution of the mean inter-individual distance during task execution. Each curve represents the average over independent simulation runs.
To evaluate the capability of the DGF-OAS model to reduce communication load in flow-field environments, the cumulative communication cost , defined in (8), is adopted to compare DGF-OAS with HLAS and DGF-AS under different swarm sizes and interaction radii (see Figure 13a,b). The results show that the cumulative communication cost of all three models increases with the swarm size and interaction radius. This is because larger swarm sizes and larger interaction radii lead to more neighboring agents for each individual, thereby increasing the cumulative communication cost. Nevertheless, compared with HLAS, DGF-OAS consistently achieves lower communication cost under all experimental settings. In particular, when the swarm size is N = 20 and N = 170, the communication cost is reduced by 17.15% and 63.14%, respectively. Under varying interaction radii, DGF-OAS also further reduces the communication cost compared with DGF-AS, with reductions of 12.89% and 9.94% at R = 10 and R = 20, respectively. These results indicate that the DGF-OAS model can effectively reduce the communication load during the swarm cooperation process in flow-field environments.
Figure 13.
Comparison of the cumulative communication cost under different parameter settings: (a) for different swarm sizes; (b) for different interaction radii.
To further assess group behavior across task stages, we randomly sample snapshots from 60 independent simulations and present four representative stages in Figure 14 for a direct comparison of temporal swarm evolution. For DGF-AS and DGF-OAS, Stage 1 begins with randomly dispersed AUVs. After entering the left vortex in Stage 2, the swarm maintains safe inter-vehicle spacing. Within the right vortex in Stage 3, the overall structure remains stable. By Stage 4, although DGF-OAS is affected by the strong flow velocity, rapid local velocity variations, and pronounced shear effects near the target region, it still maintains safe inter-agent spacing and continues to approach the target region. In comparison, DGF-AS fails to reach the target, indicating its inferior task success performance under complex and strongly disturbed flow conditions. HLAS remains disordered at Stage 1. As the simulation advances, the parameterization without explicit treatment of complex flow disturbances yields insufficient neighbor constraints and the swarm progressively fragments. By Stage 4, the swarm has drifted completely out of the flow field. These findings confirm that the proposed model achieves stronger environmental adaptability than the baselines.
Figure 14.
Representative snapshots of AUVs across four task stages for three models. (a) DGF-AS. (b) DGF-OAS. (c) HLAS. Columns proceed from Stage 1 to Stage 4 in chronological order.
In the comparative study, we evaluate AUV swarm behavior under flow using three parameterizations, including manually tuned control weights, the optimized weights obtained in Section 5.4, and the control parameters reported in the literature [24]. Unlike Ref. [24], where the attractive and repulsive terms are assigned separate weighting parameters, this paper employs a Lennard–Jones potential to characterize the inter-agent attraction and repulsion in a unified manner. Therefore, and , in this study, correspond to the same weighting parameter . Beyond polarization and cohesion, we also assess three metrics defined in Section 3.3, namely task completion rate, mean arrival time, and mean steady-state value. For each parameter set, we perform 60 Monte-Carlo trials and report the mean as the statistic, as summarized in Table 4.
Table 4.
Parameter values and performance comparison across algorithms.
Table 4 shows that the proposed DGF-OAS outperforms both baselines across all metrics. The task completion rate reaches 97 percent, which exceeds HLAS at 62 percent and DGF-AS at 43 percent, and demonstrates strong adaptability and robustness in complex flow fields. The mean arrival time for DGF-OAS equals 1001.1 s, markedly faster than the comparison models. The mean steady-state value reaches 0.93, higher than DGF-AS at 0.89 and HLAS at 0.87, which indicates better maintenance of swarm coordination and structural stability during sustained operation. Overall, DGF-OAS delivers higher success rates, faster convergence, and improved steady-state performance, and it provides a clear advantage in challenging hydrodynamic environments.
6.5. Ablation Analysis
To investigate the effects of the main modules in DGF-OAS, three reduced variants were constructed for comparison, namely, DGF-OAS w/o graph attention, DGF-AS, and DGF-OAS w/o LJ. Figure 15 presents the time evolution of the task success rate, denoted by SR(t), for the different models.
Figure 15.
Time evolution of the task success rate, SR(t), for different ablation models.
It is observed that the full DGF-OAS model achieves the earliest increase in SR(t) and attains a final success rate of 0.97 within the maximum simulation horizon, indicating the best overall performance in both task-completion efficiency and mission success. In contrast, removing the Lennard–Jones (LJ) attraction–repulsion term significantly slows the growth of SR(t), and the final success rate drops to 0.72. This degradation suggests that the LJ term plays a critical role in preserving swarm structural coherence and ensuring reliable task completion. The DGF-AS model, in which parameter optimization is omitted, remains consistently below the full model and exhibits an evident rightward shift in the success-rate curve, with a final success rate of 0.68. This result indicates that Bayesian optimization effectively improves the adaptability and execution capability of the model under complex time-varying flow conditions. When the dynamic weight-allocation mechanism is removed, SR(t) grows the slowest and converges to the lowest plateau value of 0.50, demonstrating that this mechanism is particularly important for enhancing cooperative efficiency and improving the overall probability of mission success.
Taken together, the ablation results verify that the graph attention mechanism, Bayesian optimization, and the Lennard–Jones attraction–repulsion term each contribute positively to the cooperative navigation performance of the proposed DGF-OAS model.
7. Conclusions
This study proposes a multi-AUV swarm control model in a Double-Gyre flow environment to improve swarm adaptability and coordination under complex ocean disturbances. By incorporating background flow information, a heading-aware graph attention mechanism, and a Lennard–Jones-potential-based spacing regulation strategy, the proposed model enables the swarm to maintain coordinated motion and stable spatial organization during cooperative navigation. In addition, Bayesian optimization is employed to systematically tune the key behavioral weights, further enhancing the overall cooperative performance of the multi-AUV system. Experiments indicate strong environmental adaptability and robustness within the tested ranges. For flow-intensity amplitudes below 0.058, the DGF-OAS model remains in a steady regime. With flow-field noise amplitudes up to about 40% of the maximum imposed perturbation, the swarm maintains strong heading consensus and is robust to mild to moderate stochastic disturbances. As the attraction–repulsion parameters move from the weak polarization regime to the steady-state regime, swarm polarization increases by 0.50. As swarm size increases from 20 to 300, the mean steady-state value varies by less than 2.39%. Relative to HLAS, the task-completion rate improves by approximately 56.45%, confirming efficient swarm motion under complex hydrodynamic conditions.
Although the proposed model incorporates background flow-field information, it remains limited by the current scenario assumptions and does not explicitly capture the inertia, thruster constraints, and hydrodynamic effects of real AUVs. Future work will focus on incorporating more realistic AUV dynamic models for higher-fidelity simulation studies, as well as conducting physical experiments in real environments to further validate the proposed approach. Such efforts will facilitate the extension of this work to more complex and practical application scenarios.
Author Contributions
Conceptualization, T.Y., Q.Z. and H.W.; methodology, T.Y. and Q.Z.; validation, G.T.; formal analysis, Z.Z.; investigation, T.Y. and Y.Y.; resources, Q.Z.; data curation, T.Y.; writing—original draft preparation, T.Y. and Q.Z.; writing—review and editing, T.Y., H.W. and S.L.; visualization, T.Y.; supervision, M.X.; project administration, H.W.; funding acquisition, Q.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Natural Science Foundation of Jilin Province (Grant No. 20220101138JC, YDZJ202301ZYTS420), Jilin Provincial Department of Education Outstanding Youth Fund (Grant No. JJKH20240038KJ).
Data Availability Statement
The authors confirm that the data supporting the findings of this study are available within the article.
Acknowledgments
The author extends their sincere gratitude to the laboratory team members for their technical support.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Proof of Theorem 1
Under the conditions of Theorem 1, define the unit heading vector of the i-th AUV as
Define the heading error of the i-th AUV with respect to the leader as
Since the standard Lennard–Jones potential attains a negative value at the equilibrium distance, we introduce the shifted potential
which satisfies
Because this is only a constant shift,
and thus the attraction–repulsion term in (17) remains unchanged. Accordingly, define the collective potential
Using (A2) and (A6), consider the following Lyapunov-like function:
where the first term characterizes the heading-consensus error and the second term measures the deviation of the group configuration from the potential equilibrium set.
From (15), the alignment heading is given by a weighted average of neighboring headings. Under Assumptions 1 and 2, the attention update defines a contractive convex combination. Since the communication graph remains connected, one has, for some positive constants and ,
Equation (A8) indicates that the evolution of the heading-consensus error is jointly determined by a contraction term and a disturbance term. In the absence of flow disturbances and random perception errors, the disturbance term vanishes, and the heading error decays monotonically.
We next consider the configuration-related term. From (17), the Lennard–Jones attraction–repulsion component can be written as
Since the position dynamics are driven by the actual rather than the desired velocity, from (2) we have
Because the system trajectory remains in a bounded collision-free set, is uniformly bounded. Hence, there exists such that Therefore, velocity saturation only rescales the desired velocity without changing its direction.
- Evaluating the time derivative of along the system dynamics yields
Combining (22) with (A10) and using Young’s inequality to bound the cross terms induced by heading errors and flow disturbances, one can show the existence of positive constants , and for which
Substituting (A8) and (A12) into (A7) gives
Choose such that , and define . Then (A13) can be rewritten as
In the absence of flow disturbances and random perception errors, (A14) reduces to
Hence, is nonincreasing. Since , the system trajectories remain within the energy sublevel set determined by the initial condition. Furthermore, from (A15), it follows that
Since the system trajectory remains in a bounded compact set and all behavioral terms are continuous and locally bounded on each topology-invariant interval, the above error terms are piecewise uniformly continuous. By Barbalat’s lemma,
and
Therefore, the group heading asymptotically reaches consensus in the absence of external disturbances, while the relative configuration approaches a neighborhood of the potential equilibrium set. Since the system trajectory remains in a compact collision-free set, all inter-AUV distances remain bounded. This proves the first two claims of Theorem 1.
We next consider bounded flow disturbances and random perception errors. Taking expectation on both sides of (A14) and using Assumption 4 yields
Define
Then (A19) can be written as
Since is locally equivalent to the consensus–configuration deviation in the neighborhood under consideration, one has, for some positive constant .
Accordingly,
By the comparison lemma, it follows that
Therefore,
Thus, under bounded flow disturbances and random perception errors, the system remains ultimately bounded with respect to the consensus-configuration equilibrium set. In the stochastic case, this result can be interpreted as ultimate boundedness in the mean-square sense. The proof is complete.
References
- Masmitja, I.; Palomeras, N.; Toma, D.M.; Bahamon, N.; Carandell, M.; García Del Arco, J.A.; Chatzievangelou, D.; Real, M.; Sánchez-Márquez, A.; Batet, G.; et al. Interconnected Robotic Platforms Inform Deep-Sea Ecological Restoration Trends. Mar. Pollut. Bull. 2025, 219, 118314. [Google Scholar] [CrossRef] [Scilit]
- MahmoudZadeh, S.; Yazdani, A. Distributed Task Allocation and Mission Planning of AUVs for Persistent Underwater Ecological Monitoring and Preservation. Ocean Eng. 2023, 290, 116216. [Google Scholar] [CrossRef] [Scilit]
- Hasan, W.K.; Ahmad, I.; Phung, Q.V.; Habibi, D. Adaptive Guard Band and Power Control for Resource Allocation in Mobile and Fixed Mission-Critical IoUT Networks. Ad Hoc Netw. 2025, 178, 103978. [Google Scholar] [CrossRef] [Scilit]
- Badri-Hoeher, S.; Wilts, T.; Schaefer, L.; Westphalen, J.; Winkler, J.; Isokeit, C.; Harlakin, A.; Hott, M.; Placzek, J.M.; Marx, S.; et al. Multiheterogeneous AUV Swarm Technology Exemplified by the MAUS Project: Cooperation, Mission Planning and Hybrid Communication. IEEE J. Ocean Eng. 2025, 50, 228–251. [Google Scholar] [CrossRef] [Scilit]
- Cai, W.; Ju, Y.; Liu, Z.; Zhang, M.; Lv, S. Event-Triggered Leader-Follower Communication Based Formation Control with Dual-Predictor for Multiple AUVs. Ocean Eng. 2025, 334, 121552. [Google Scholar] [CrossRef] [Scilit]
- Ding, W.; Zhang, L.; Zhang, G.; Wang, C.; Chai, Y.; Yang, T.; Mao, Z. Research on Obstacle Avoidance of Multi-AUV Cluster Formation Based on Virtual Structure and Artificial Potential Field Method★. Comput. Electr. Eng. 2024, 117, 109250. [Google Scholar] [CrossRef] [Scilit]
- Berlinger, F.; Gauci, M.; Nagpal, R. Implicit Coordination for 3D Underwater Collective Behaviors in a Fish-Inspired Robot Swarm. Sci. Robot. 2021, 6, eabd8668. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Lin, C.; Han, G.; Zhu, S.; Li, Z.; Wang, Z.; Ma, Y. Multi-AUV Cooperative Underwater Multi-Target Tracking Based on Dynamic-Switching-Enabled Multi-Agent Reinforcement Learning. IEEE Trans. Mob. Comput. 2025, 24, 4296–4311. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Song, D.; Cao, J.; Zhang, H.; Wang, C.; Xu, H. Multi-Agent Reinforcement Learning for UUV Swarm-Based Capture with Opponent Modeling. In Proceedings of the OCEANS 2025 Brest; IEEE: Brest, France, 2025; pp. 1–7. [Google Scholar]
- Vicsek, T.; Czirok, A.; Ben-Jacob, E.; Cohen, I.; Sochet, O. Novel Type of Phase Transition in a System of Self-Driven Particles. Phys. Rev. Lett. 1995, 75, 1226–1229. [Google Scholar] [CrossRef] [Scilit]
- Jia, Y.; Vicsek, T. Modelling Hierarchical Flocking. New J. Phys. 2019, 21, 093048. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.-F.; Fang, Y.; Zhan, Z.-H.; Jiang, Y.-L.; Zhang, J. A Cooperative Evolutionary Computation Algorithm for Dynamic Multiobjective Multi-AUV Path Planning. IEEE Trans. Ind. Inf. 2024, 20, 669–680. [Google Scholar] [CrossRef] [Scilit]
- Sun, B.; Lv, Z. Multi-AUV Dynamic Cooperative Path Planning with Hybrid Particle Swarm and Dynamic Window Algorithm in Three-Dimensional Terrain and Ocean Current Environment. Biomimetics 2025, 10, 536. [Google Scholar] [CrossRef] [Scilit]
- Pang, W.; Zhu, D.; Sun, C. Multi-AUV Formation Reconfiguration Obstacle Avoidance Algorithm Based on Affine Transformation and Improved Artificial Potential Field under Ocean Currents Disturbance. IEEE Trans. Autom. Sci. Eng. 2024, 21, 1469–1487. [Google Scholar] [CrossRef] [Scilit]
- Gunnarson, P.; Mandralis, I.; Novati, G.; Koumoutsakos, P.; Dabiri, J.O. Learning Efficient Navigation in Vortical Flow Fields. Nat. Commun. 2021, 12, 7143. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Zheng, S.; Xu, C.; Cai, S. Efficient Navigation in Vortical Flows Based on Reinforcement Learning and Flow Field Prediction. Ocean Eng. 2025, 327, 120937. [Google Scholar] [CrossRef] [Scilit]
- Yu, X.; Hsieh, M.A.; Wei, C.; Tanner, H.G. Synchronous Rendezvous for Networks of Marine Robots in Large Scale Ocean Monitoring. Front. Robot. AI 2019, 6, 76. [Google Scholar] [CrossRef] [Scilit]
- Song, Z.; Lipinski, D.; Mohseni, K. Multi-Vehicle Cooperation and Nearly Fuel-Optimal Flock Guidance in Strong Background Flows. Ocean Eng. 2017, 141, 388–404. [Google Scholar] [CrossRef] [Scilit]
- Jia, Y.; Wang, L. Experimental Implementation of Distributed Flocking Algorithm for Multiple Robotic Fish. Control Eng. Pract. 2014, 30, 1–11. [Google Scholar] [CrossRef] [Scilit]
- Liang, H.; Fu, Y.; Gao, J. Bio-Inspired Self-Organized Cooperative Control Consensus for Crowded UUV Swarm Based on Adaptive Dynamic Interaction Topology. Appl. Intell. 2021, 51, 4664–4681. [Google Scholar] [CrossRef] [Scilit]
- Yin, L.; Yan, Z.; Tian, Q.; Li, H.; Xu, J. A Novel Robust Algorithm for Path Planning of Multiple Autonomous Underwater Vehicles in the Environment with Ocean Currents. Ocean Eng. 2024, 312, 119260. [Google Scholar] [CrossRef] [Scilit]
- Sun, B.; Niu, N. Multi-AUVs Cooperative Path Planning in 3D Underwater Terrain and Vortex Environments Based on Improved Multi-Objective Particle Swarm Optimization Algorithm. Ocean Eng. 2024, 311, 118944. [Google Scholar] [CrossRef] [Scilit]
- Mu, X.; Gao, W. Coverage Path Planning for Multi-AUV Considering Ocean Currents and Sonar Performance. Front. Mar. Sci. 2025, 11, 1483122. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Q.; Yang, T.; Tang, G.; Yang, Y.; Luan, Y.; Wang, G.; Wan, T.; Xu, M.; Li, S.; Xie, G. Hierarchical Model for an AUV Swarm with a Leader. Pol. Marit. Res. 2025, 32, 71–80. [Google Scholar] [CrossRef] [Scilit]
- Zhao, Q.; Luan, Y.; Li, S.; Wang, G.; Xu, M.; Wang, C.; Xie, G. The Influences of Self-Introspection and Credit Evaluation on Self-Organized Flocking. Appl. Sci. 2023, 13, 10361. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Chen, Q.; Wang, Y. A Multi-Auv Adaptive Collaborative Target Coverage Algorithm for Unknown Environment. Ad Hoc Netw. 2026, 180, 104033. [Google Scholar] [CrossRef] [Scilit]
- Zhu, R.; Boukerche, A.; Feng, L.; Yang, Q. A Trust Management-Based Secure Routing Protocol with AUV-Aided Path Repairing for Underwater Acoustic Sensor Networks. Ad Hoc Netw. 2023, 149, 103212. [Google Scholar] [CrossRef] [Scilit]
- Sahu, B.K.; Subudhi, B. Flocking Control of Multiple AUVs Based on Fuzzy Potential Functions. IEEE Trans. Fuzzy Syst. 2018, 26, 2539–2551. [Google Scholar] [CrossRef] [Scilit]
- Tao, H.; Shao, M.; Wang, Y.; Wang, X.; Luo, H. Multi-UAV Assisted Cross-Boundary Communication Scheme for AUV Swarms via Multi-Agent Reinforcement Learning Approach. Ad Hoc Netw. 2025, 178, 103993. [Google Scholar] [CrossRef] [Scilit]
- Nitti, A.; De Tullio, M.D.; Federico, I.; Carbone, G. A Collective Intelligence Model for Swarm Robotics Applications. Nat. Commun. 2025, 16, 6572. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, J.; Ning, X.; Ma, S. An Improved Particle Swarm Optimization Based on Age Factor for Multi-AUV Cooperative Planning. Ocean Eng. 2023, 287, 115753. [Google Scholar] [CrossRef] [Scilit]
- Sun, B.; Li, Y.; Zhang, W. Multipopulation Grey Wolf Optimization for Cooperative Multi-AUV Path Planning in Complex Underwater Environments. IEEE Syst. J. 2025, 19, 837–847. [Google Scholar] [CrossRef] [Scilit]
- Ma, L.; Bao, W.; Zhu, X.; Wu, M.; Wang, Y.; Ling, Y.; Zhou, W. O-Flocking: Optimized Flocking Model on Autonomous Navigation for Robotic Swarm. In Advances in Swarm Intelligence; Tan, Y., Shi, Y., Tuba, M., Eds.; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2020; Volume 12145, pp. 628–639. ISBN 978-3-030-53955-9. [Google Scholar]
- Vásárhelyi, G.; Virágh, C.; Somorjai, G.; Nepusz, T.; Eiben, A.E.; Vicsek, T. Optimized Flocking of Autonomous Drones in Confined Environments. Sci. Robot. 2018, 3, eaat3536. [Google Scholar] [CrossRef] [Scilit]
- Bezcioglu, M.B.; Lennox, B.; Arvin, F. Self-Organised Swarm Flocking with Deep Reinforcement Learning. In Proceedings of the 2021 7th International Conference on Automation, Robotics and Applications (ICARA); IEEE: Prague, Czech Republic, 2021; pp. 226–230. [Google Scholar]
- Mezey, D.; Bastien, R.; Zheng, Y.; McKee, N.; Stoll, D.; Hamann, H.; Romanczuk, P. Purely Vision-Based Collective Movement of Robots. npj Robot. 2025, 3, 11. [Google Scholar] [CrossRef] [Scilit]
- Veličković, P.; Cucurull, G.; Casanova, A.; Romero, A.; Liò, P.; Bengio, Y. Graph Attention Networks. arXiv 2017, arXiv:1710.10903. [Google Scholar]
- Huang, Z.; He, Y.; Wang, S.; Wang, Z.; Xu, R.; Merothra, S. SRACas: A Social Role-Aware Graph Neural Network-Based Model for Popularity Prediction of Information Cascades. In Proceedings of the Database Systems for Advanced Applications; Wang, X., Sapino, M.L., Han, W.-S., El Abbadi, A., Dobbie, G., Feng, Z., Shao, Y., Yin, H., Eds.; Springer Nature: Cham, Switzerland, 2023; Volume 13945, pp. 21–30. [Google Scholar]
- Yamagishi, K.; Suzuki, T. Collective Movement Method for Swarm Robot Based on a Thermodynamic Model. Int. J. Adv. Comput. Sci. Appl. 2017, 8, 513–519. [Google Scholar] [CrossRef] [Scilit]
- Michini, M.; Hsieh, M.A.; Forgoston, E.; Schwartz, I.B. Experimental Validation of Robotic Manifold Tracking in Gyre-like Flows. In Proceedings of the 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems; IEEE: Chicago, IL, USA, 2014; pp. 2306–2311. [Google Scholar]
- Mei, J.; Kutz, J.N.; Brunton, S.L. Observability-Based Energy Efficient Path Planning with Background Flow via Deep Reinforcement Learning. In Proceedings of the 2023 62nd IEEE Conference on Decision and Control (CDC); IEEE: Singapore, 2023; pp. 4364–4371. [Google Scholar]
- Shadden, S.C.; Lekien, F.; Marsden, J.E. Definition and Properties of Lagrangian Coherent Structures from Finite-Time Lyapunov Exponents in Two-Dimensional Aperiodic Flows. Phys. D Nonlinear Phenom. 2005, 212, 271–304. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.














