Unmanned plane assisted unmanned ship task unloading method based on deep reinforcement learning

Through deep reinforcement learning and the OU-TD3 algorithm, the communication and task offloading of UAV-assisted unmanned vehicles are optimized, which solves the problems of high energy consumption and delay of USV in maritime computing-intensive tasks, and achieves a balance between energy consumption and delay. , improving the adaptability and efficiency of the system.

CN118574156APending Publication Date: 2024-08-30NORTHEASTERN UNIV AT QINHUANGDAO
View PDF 0 Cites 10 Cited by

Patent Information

Application Number
CN202410620860.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technologies face high energy consumption and latency issues when processing computing-intensive tasks in maritime unmanned surface vehicles (USVs). Moreover, traditional optimization methods are highly complex and unsuitable for the dynamic maritime environment, making it difficult to effectively offload computing tasks.

Method used

A drone-assisted unmanned boat task offloading method based on deep reinforcement learning is used to optimize the communication scheduling, task offloading decision-making and flight strategy of the drone by establishing a three-dimensional wireless communication network system model for mobile edge computing and combining it with the OU-TD3 algorithm. , to achieve weighted minimization of computing energy consumption and delay.

Benefits of technology

It effectively reduces the task processing delay and computing energy consumption of unmanned boats, improves the adaptability and efficiency of the system, is suitable for complex maritime edge computing environments, and achieves resource saving and rapid response to tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574156A
    Figure CN118574156A
Patent Text Reader

Abstract

The invention relates to the technical field of ocean wireless communication, and discloses a deep reinforcement learning-based unmanned aerial vehicle assisted unmanned ship task unloading method, which comprises the following steps that a three-dimensional wireless communication network system model for mobile edge calculation is established, the system model comprises K USVs, a set of the K USVs is expressed as k belongs to {1, 2,..., K}, k represents a certain USV in the set, and K represents a certain USV in the set; one unmanned aerial vehicle carrying an MEC edge server is U = {u}, and the USVk is calculated and unloaded through the unmanned aerial vehicle so as to save energy consumption of calculation of the USVk and shorten task execution delay; establishing a time delay model and an energy consumption model; an unmanned aerial vehicle scheduling and unloading strategy joint optimization problem is solved; and an OU-TD3 algorithm based on deep reinforcement learning is provided. According to the method, compared with a traditional algorithm, the deep reinforcement learning can better adapt to complex and real-time task requirements in task unloading in which the unmanned aerial vehicle assists the USV to perform edge calculation, and the intelligence and efficiency of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of marine wireless communication technology, and in particular to a method for unloading tasks of an unmanned boat assisted by a drone based on deep reinforcement learning. Background Art

[0002] Over the past few decades, the focus of wireless network development has been on serving users in urban environments, especially in the fourth and fifth generation (4G and 5G) mobile communications to enable the coexistence of mobile users and Internet of Things (IoT) devices. However, most network architectures and communication technologies are designed for land communications, while maritime communications have been largely ignored. Maritime communications lag far behind land-based communications, mainly relying on satellites and limited coastal base stations, with problems such as high latency and low data rates. This makes it difficult to meet the challenging requirements of maritime machine-type communications (MTC). Unmanned surface vessels (USVs), also known as autonomous surface vessels (ASVs) or autonomous surface craft (ASCs), can not only improve maritime operation efficiency and reduce labor costs, but also alleviate the risks faced by personnel in harsh environments to a certain extent. USVs show significant advantages in shallow waters. At present, a large number of USVs have been deployed at sea for tasks such as marine environment monitoring, underwater biological monitoring, tactical surveillance, and aquaculture monitoring. However, due to the limitations of battery capacity, CPU resources, and computing power, USVs face significant challenges in handling resource-intensive and time-sensitive tasks. These constraints affect the sustainability and stability of USVs when performing long-term, high-intensity missions, and also limit their applicability in complex environments.

[0003] One of the main challenges when offloading computationally intensive tasks to MEC servers far away from USVs is the issue of transmission energy consumption. Since USVs usually operate at sea, wireless communication links are required to transmit data to land-based MEC servers, which consumes a lot of energy. In particular, when sending to coastal base stations, signal transmission may be severely attenuated by onshore structures, resulting in reduced transmission efficiency and further increased energy consumption, affecting the real-time and accuracy of the task. Secondly, the communication distance between the unmanned boat and the coastal base station is limited. The unmanned boat may not be able to transmit data and receive instructions in time in areas far away from the coastal base station, limiting its scope of application and operational capabilities.

[0004] On the other hand, choosing to perform computationally intensive tasks locally on the USV has significant computational energy consumption issues. Computationally intensive tasks require a lot of computing power and resources. This leads to faster depletion of the USV battery, limiting its ability to perform tasks within a specified time frame. At the same time, when the USV processes delay-sensitive tasks, these tasks often cannot be completed within the specified time due to insufficient USV computing resources. In summary, the use of existing technologies will cause considerable task processing delays and USV computing energy consumption.

[0005] In addition, existing technologies usually only consider optimizing one of the indicators, energy consumption or latency. When unmanned boats perform tasks in different scenarios, they need to comprehensively consider the two indicators of the system's task latency and energy consumption. In the edge computing model based on drone-assisted unmanned boats, if the objective function only considers energy consumption or latency, there are some defects:

[0006] 1. Local optimization: If the objective function only considers one of energy consumption or delay, the system may fall into a local optimal solution in the process of pursuing a single performance indicator, while ignoring the impact of other important factors on the overall performance.

[0007] 2. Low efficiency: An objective function that only considers energy consumption or delay may not fully consider the trade-offs between multiple performance indicators, resulting in the system not being able to achieve optimal energy utilization and task execution efficiency.

[0008] 3. Poor adaptability: In complex edge computing task scenarios, the objective function that only considers energy consumption or delay may not be able to adapt well to changing environments and task requirements, and cannot achieve an effective balance of multiple aspects of performance.

[0009] Since the constructed problem belongs to a mixed integer non-convex nonlinear programming problem, there are high-dimensional continuous state space and action space, which makes the system complexity high. This makes it difficult to solve by traditional optimization methods. Traditional algorithms include semi-definite relaxation algorithm, continuous convex approximation (SCA), Lyapunov optimization and game theory algorithm, etc. The above algorithms are too complex and are not suitable for the dynamic environment at sea. Summary of the invention

[0010] In order to make up for the above shortcomings, the present invention provides a UAV-assisted unmanned boat task offloading method based on deep reinforcement learning, aiming to improve the problem that the existing algorithm is too complex and not suitable for the dynamic environment at sea.

[0011] To achieve the above object, the present invention provides the following technical solution: a method for unloading unmanned boat tasks assisted by unmanned aerial vehicles based on deep reinforcement learning, comprising the following steps:

[0012] S1. Establish a three-dimensional wireless communication network system model for mobile edge computing. The system model includes K USVs, whose set is represented by k∈{1,2,....,K}, k represents a USV in the set, and a drone U={u} equipped with a MEC edge server. k Computational offloading to save USV k The energy consumption of computing and the delay of task execution are reduced;

[0013] Assume that the period of UAV to perform a certain task is T, and divide the entire communication period T into N time slots, each time slot is of equal length and the length is δ = T / N, and the nth time slot satisfies the set n∈{1,2···,N}; USV k The coordinates are L k (n) = [x k (n),y k (n),0] T , USV k The communication scheduling constraints are expressed as:

[0014]

[0015]

[0016] USV k After offloading part of the computing tasks to the server, the remaining computing tasks are calculated locally;

[0017] At the end of the nth time slot, the drone flies to a new hovering position, which is expressed as:

[0018] Q u (n+1)=[x u (n+1),y u (n+1),H] T ∈R 3×1

[0019] The angle of the UAV’s flight in the nth time slot is θ(n)∈[0,2π], where θ(n) represents the horizontal direction of the UAV in the xy plane relative to the x-axis, and the flight speed is v(n)∈[0,v max ], the flight time of the UAV in a time slot is t fly (n) = t fly , where t fly is a fixed value; therefore, the horizontal moving distance of the UAV can be expressed as:

[0020] x u (n+1)=x u (n)+t fly v(n)cosθ(n)

[0021] y u (n+1)=y u (n)+t fly v(n)sinθ(n)

[0022] UAV vs USV k The channel gain of the line-of-sight link between can be expressed as:

[0023]

[0024] Where β0 can represent the channel gain at the reference distance d=1m, d u,k (n) indicates UAV and USV k The Euclidean distance between:

[0025]

[0026] When the UAV is hovering, the UAV and the USV k For communication, the wireless transmission rate of the drone is r u,k (n) is expressed as:

[0027]

[0028] Where B represents the allocated communication bandwidth, assuming that all USVs k The transmission power P up,k (n) = P up is a fixed value, σ 2 represents the noise power;

[0029] S2, establish delay model and energy consumption model;

[0030] S3. Joint optimization problem of drone scheduling and unloading strategy:

[0031] Communication scheduling of UAVs by joint optimization k (n), unmanned boat task offloading decision R k (n), UAV flight speed v(n), UAV flight angle θ(n), and propose the weighted minimization problem of computing energy consumption and delay of UAV and unmanned boat; the optimization problem can be expressed as:

[0032]

[0033]

[0034]

[0035]

[0036] Q u (n)∈{x u (n),y u (n)|x u (n)∈[0,X],y u (n)∈[0,Y]}

[0037] L k (n)∈{x k (n),y k (n)|x k (n)∈[0,X],yk (n)∈[0,Y]}

[0038] T total,k (n)≤ΔT

[0039] 0≤v(n)≤v max

[0040] γ uav,k (n)≥γ th

[0041]

[0042]

[0043] Introducing λ e and λ t Represent the total system delay and energy consumption respectively, and make them dimensionless. At the same time, a trade-off factor α is introduced. For the tasks performed by USV in different scenarios, the UAV only communicates with one USV in one time slot. k Communication, the range of task offloading ratio, UAVs and unmanned boats can only move in a limited area, the calculation time of the system in each time slot cannot be greater than the maximum tolerable delay of the task, C7 constraints indicate that the UAV cannot exceed the maximum speed, UAV and USV k The signal-to-noise ratio for communication cannot be lower than its threshold. The system needs to process a certain amount of mission data C during the entire cycle. The remaining power of the UAV must support its flight and calculation during the mission decision-making period.

[0044] S4. OU-TD3 algorithm based on deep reinforcement learning:

[0045] (1) Hybrid Noise Adaptive Algorithm

[0046] The output action at of the Actor network based on mixed noise can be expressed as:

[0047]

[0048] Where var is the Gaussian variance to ensure that the agent has uniform and stable detection capabilities in each scenario; at the same time, as the training process progresses, the agent begins to adapt to the task scenario, which requires the exploration rate to gradually decrease, as shown in the formula: var = var × 0.9997

[0049] (2) Constructing MDP

[0050] The optimization objective is described as an MDP (Markov decision process); usually, an MDP can be represented as a tuple M = (S, A, P, R), where S is the state space, A is the action space, and P (s t+1 |st ,a t ) is the transition probability, and R(s t ,a t ) is in action a t ∈A is executed after the instantaneous reward function; the purpose of this invention is to find an optimal strategy π * (·), which maximizes the long-term cumulative reward, can be defined as Where γ∈[0,1] represents the discount factor. The longer the future, the greater the discount on the reward.

[0051] (3) OU-TD3 algorithm architecture

[0052] The OU-TD3 algorithm consists of an Actor main network μ(s|φ) with a weight of φ and two Critic main networks with weights θ1 and θ2. And the Actor target network μ'(s|φ') with weight φ', the Critic target network with weights θ'1 and θ'2 The Actor network acts as a policy network, i.e., the actor generates actions and updates its parameters φ by maximizing the cumulative expected reward; the Critic network acts as a Q network, i.e., the Critic, which evaluates the actor’s performance, guides the actor’s next action, and updates its parameters θ by minimizing the loss error between the evaluation value and the target value. i value;

[0053] S5. Simulation and performance analysis:

[0054] Numerical simulations are conducted to evaluate the performance of the OU-TD3 computational offloading algorithm in a UAV-assisted MEC system. First, a detailed description of the simulation parameters is given. Subsequently, the average computational overhead of the proposed algorithm is compared with that of other five benchmark algorithms under different weights, different task sizes, different bandwidth conditions, and different USVs’ computational capabilities.

[0055] To ensure the effective operation of maritime communications, it is essential to achieve reliable, cost-effective and energy-efficient communication solutions for the operation of unmanned boats under limited budget. Compared with sea transport ships equipped with the latest naval satellite terminals, satellite communications are not suitable as the main communication solution for USVs. Therefore, in order to meet the communication needs of USVs, it is necessary to explore alternative communication technologies and strategies suitable for resource-constrained environments. In this context, the emergence of drones and their integration with wireless networks provide a feasible means to achieve broadband coverage at sea. As a flexible and efficient communication platform, drones can carry wireless network equipment to provide broadband signal coverage. Through drone flight, comprehensive monitoring and coverage of the sea area can be achieved, solving the blind spots that traditional communication facilities cannot cover. The integration of drones and wireless networks can also solve the challenges of building communication facilities at sea. The construction of traditional communication facilities requires a lot of manpower, material resources and time, while drones can quickly deploy and adjust communication equipment, greatly improving construction efficiency. In addition, drones can also flexibly arrange and dispatch communication equipment according to actual needs to meet the communication needs of different sea areas and time periods. Drone-assisted MEC acts as a portable unit in a very close place to the USV, providing energy-saving, low-latency task computing and data collection. The integration of edge computing capabilities can achieve rapid deployment and flexible scheduling of computing resources, thereby reducing data transmission delays and network congestion, and ultimately improving task execution efficiency and response speed. The establishment of a drone-assisted USV communication network helps to expand and extend maritime communications, thereby improving the efficiency and safety of maritime missions. The application potential of drone-assisted USV communication networks is extensive, which can meet the diverse needs of the maritime field and bring innovation and convenience to maritime activities. The use of the technical solution of the present invention can effectively reduce the processing delay and computing energy consumption of unmanned boat missions and save costs.

[0056] The technical solution of the present invention considers the weighting of optimizing the computing energy consumption of the unmanned boat and minimizing the task processing time. This is because in practical applications, the energy supply of the unmanned boat is limited, and the real-time nature of the task is also crucial. The following is a detailed demonstration example: Assume that the unmanned boat is used for ocean monitoring tasks, and it is necessary to collect ocean data regularly and perform real-time analysis. The goal of the task is to complete data collection and processing in the shortest time and generate monitoring reports in a timely manner. At the same time, due to the limited energy supply of the unmanned boat, it is necessary to optimize the computing energy consumption to extend the endurance of the unmanned boat. In this case, the task processing time and the computing energy consumption can be weighted to comprehensively consider the importance of both. For example, a comprehensive indicator, such as a weighted average, can be defined to measure the comprehensive performance of the task processing time and the computing energy consumption. The weighted average can be calculated by the following formula: Comprehensive indicator = α task processing time + (1-α) computing energy consumption. Among them, α is a weight factor used to balance the importance of task processing time and computing energy consumption. By adjusting the value of α, the relative importance of task processing time and computing energy consumption can be adjusted. For example, when the task processing time is critical, a smaller α value can be selected to pay more attention to minimizing the task processing time. This will cause the comprehensive index to be more inclined to optimize the task processing time, even if the computing energy consumption may increase. On the contrary, when the energy supply is very limited, a larger α value can be selected to pay more attention to the optimization of computing energy consumption. This will cause the comprehensive index to be more inclined to minimize the computing energy consumption, even if the task processing time may increase. By adjusting the value of α in different situations, the optimization of task processing time and computing energy consumption can be balanced according to specific needs. This ensures that the unmanned boat can complete the task in the shortest possible time under limited energy supply and extend the endurance of the unmanned boat. Compared with the single optimization of system energy consumption or delay, the objective function that comprehensively considers energy consumption and computing delay can more comprehensively consider multiple aspects of system performance, and can weigh between energy consumption and computing delay to find an optimal balance point so that the system can achieve the best overall performance. Such a comprehensive objective function can better adapt to complex edge computing environments and improve the overall performance and efficiency of the system.

[0057] Since the constructed problem belongs to a mixed integer non-convex nonlinear programming problem, there are high-dimensional continuous state space and action space, which makes the system complexity high. This makes it difficult to solve with traditional optimization methods. Traditional algorithms include semidefinite relaxation algorithms, continuous convex approximation (SCA), Lyapunov optimization, and game theory algorithms, etc. The above algorithms are too complex and are not suitable for dynamic marine environments. The deep reinforcement learning used in the present invention has better advantages than traditional algorithms in the task offloading of edge computing by drone-assisted USVs, which is mainly reflected in the following aspects:

[0058] Greater adaptability: Deep reinforcement learning can make adaptive adjustments based on environmental changes and task requirements without the need to predefine complex rules and algorithms. It can better adapt to different scenarios and tasks, improving the flexibility and robustness of the system.

[0059] 2. Stronger learning ability: Deep reinforcement learning has the ability of autonomous learning and optimization. It can continuously accumulate experience and optimize strategies through interaction with the environment, gradually improve the efficiency and accuracy of decision-making, and better adapt to complex edge computing task requirements.

[0060] 3. Higher real-time performance: Deep reinforcement learning can achieve real-time decision-making and optimization, reducing the time to solve complex problems in traditional algorithms, responding to environmental changes and task requirements more quickly, and improving the real-time performance and efficiency of tasks.

[0061] 4. More efficient in handling complex tasks: Deep reinforcement learning can handle high-dimensional, nonlinear and complex decision-making problems. It is suitable for complex optimization and decision-making tasks in edge computing and can more effectively solve complex problems that are difficult to handle with traditional algorithms.

[0062] 5. Better generalization ability: Deep reinforcement learning has better generalization ability when facing unknown environments and tasks. It can reason and make decisions based on existing experience and knowledge. It is suitable for various edge computing task scenarios, improving the applicability and versatility of the system.

[0063] In summary, compared with traditional algorithms, the use of deep reinforcement learning can better adapt to complex and real-time task requirements in the task offloading of UAV-assisted USV for edge computing, and improve the intelligence and efficiency of the system.

[0064] The present invention has the following beneficial effects:

[0065] 1. In the present invention, the non-convex computing offloading problem is modeled as a Markov decision process (MDP), and the weighted sum of computing energy consumption and delay is used as the objective function of the system, with the goal of minimizing the total cost of the system under many strict quality of service (QoS) requirements. Users can adjust the weights of preference factors to make them suitable for different scenarios.

[0066] 2. In the present invention, a new maritime mobile edge computing (MEC) network architecture is proposed, in which the unmanned aerial vehicle (UAV) is equipped with a MEC server to assist the unmanned surface vehicle (USV) in communication and computing, effectively solving the challenges brought by the limited computing and resource processing capabilities of the USV.

[0067] 3. In the present invention, an improved double-delay deep deterministic policy gradient (OU-TD3) computation offloading algorithm is proposed for the system's high-dimensional continuous state and action space. The algorithm mixes Gaussian noise and Ornstein-Unlenbeck noise as detection noise; simulation results show that compared with the unoptimized benchmark algorithm, the algorithm can save about 54.2% of the computational overhead. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 This is the architecture diagram of the marine communication network of the drone-assisted MEC proposed in the present invention;

[0069] Figure 2 The USV proposed by the present invention k Architecture diagram;

[0070] Figure 3 The flow chart of the mixed noise algorithm proposed by the present invention;

[0071] Figure 4 This is the architecture diagram of the OU-TD3 algorithm proposed in the present invention;

[0072] Figure 5 This is a graph showing the convergence performance of the OU-TD3 algorithm proposed in the present invention at different learning rates;

[0073] Figure 6 This is a schematic diagram of the exploration rate of mixed var and OU noise in the OU-TD3 algorithm proposed in the present invention;

[0074] Figure 7 This is a comparative analysis chart of the average computational cost of the OU-TD3 algorithm proposed in the present invention and other benchmark algorithms under different delay weights;

[0075] Figure 8 This is a comparison chart of the average computational cost of the OU-TD3 algorithm proposed in the present invention with other baseline algorithms when the delay weight is 0.9;

[0076] Fig. 9 A comparative analysis diagram between the OU-TD3 algorithm proposed in the present invention and other algorithms;

[0077] Fig.10 This is a comparison chart of the average computational cost of the OU-TD3 algorithm proposed in the present invention and other algorithms under different communication bandwidth conditions. DETAILED DESCRIPTION

[0078] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] Reference Figure 1-Figure 10 The embodiment of the present invention provides a method for unloading tasks of unmanned boats assisted by unmanned aerial vehicles based on deep reinforcement learning, comprising the following steps:

[0080] 1. Establish a three-dimensional wireless communication network system model for mobile edge computing. The system model mainly includes K USVs, whose set is represented by k∈{1,2,....,K}, k represents a USV in the set, and a drone U={u} equipped with a MEC edge server. These USVs k The USV cannot communicate with the shore base station due to obstacles such as buildings. k The computing power of the USV is limited, and the battery capacity is limited. k Computational offloading to save USV k The energy consumption of the calculation can be reduced and the delay of task execution can be greatly reduced to meet the needs of executing delay-sensitive tasks. In this scenario, a three-dimensional wireless communication network of mobile edge computing is formed. Assume that the MEC server knows the USV a priori. k Location and USV k The time constraints of each task, the computational state and energy state of the UAV, and the channel state information (CSI) are considered, and the influence of NLOS propagation can be ignored. It is assumed that the wireless channel between USV and UAV is determined by LOS.

[0081] Assume that the period of a UAV to perform a certain task is T, and divide the entire communication period T into N time slots, each time slot is equal in length and the length is δ = T / N, and the nth time slot satisfies the set n∈{1,2···,N}. k The coordinates are L k (n) = [x k (n),y k (n),0] T , the present invention assumes that each USV k Move randomly in a specified area at a low speed. In each time slot, it is necessary to maintain a hovering state while establishing communication with one of the USVs. k The communication scheduling constraints are expressed as:

[0082]

[0083]

[0084] USV k After offloading part of the computing tasks to the server, the remaining computing tasks are calculated locally. Assume that the UAV is flying at a relatively high fixed altitude H, and the three-dimensional Cartesian coordinates of the UAV are Q u (n) = [x u (n),y u (n),H] T Then at the end of the nth time slot, the drone flies to a new hovering position, which is expressed as:

[0085] Q u (n+1)=[x u (n+1),y u (n+1),H] T ∈R 3×1

[0086] The angle of the UAV’s flight in the nth time slot is θ(n)∈[0,2π], where θ(n) represents the horizontal direction of the UAV in the xy plane relative to the x-axis, and the flight speed is v(n)∈[0,v max ], the flight time of the UAV in a time slot is t fly (n) = t fly , where t fly is a fixed value. Therefore, the horizontal moving distance of the UAV can be expressed as:

[0087] x u (n+1)=x u (n)+t fly v(n)cosθ(n)

[0088] y u (n+1)=y u (n)+t fly v(n)sinθ(n)

[0089] UAV vs USV k The channel gain of the line-of-sight link between can be expressed as:

[0090]

[0091] Where β0 can represent the channel gain at the reference distance d=1m, d u,k (n) indicates UAV and USV k The Euclidean distance between:

[0092]

[0093] When the UAV is hovering, the UAV and the USV k For communication, the wireless transmission rate of the drone is ru,k (n) is expressed as:

[0094]

[0095] Where B represents the allocated communication bandwidth, assuming that all USVs k The transmission power P up,k (n) = P up is a fixed value, σ 2 Represents the noise power.

[0096] 2. Latency model and energy consumption model

[0097] Delay model:

[0098] In the model of the present invention, USV k Some tasks can be offloaded to the MEC server on the UAV for processing, where C k (n) indicates the USV in the nth time slot k The computing task size, R k (n) indicates USV k The offloading ratio of tasks to UAV. s represents the CPU cycles required to process each unit bit, and represents the UAV k The processing delay of the MEC server can be divided into two parts. One part is the transmission delay t tra,k (n), can be expressed as:

[0099]

[0100] The delay caused by offloading the other part of the tasks to the MEC server can be expressed as:

[0101]

[0102] where f uav Indicates the calculation frequency of the server. k The computational time delay of the local processing task in the nth time slot is:

[0103]

[0104] where f usv Indicates USV k Assuming that USV k The calculation and communication modules of USV are independent of each other. k The process of uploading computing tasks and processing tasks locally is parallel. Therefore, in the nth time slot, the total time to process the task can be expressed as:

[0105] T total,k (n) = max{tusv,k (n),t uav,k (n)+t tra,k (n)}

[0106] Note that the decision time of the task is very short compared to the overall communication and computation delay, and can therefore be ignored. In addition, in many computationally intensive tasks (e.g., image processing, object recognition, path planning), the amount of data outputting the computational results is usually very small compared to the input data. Therefore, the computational results are sent back to the USV k The time required is also negligible.

[0107] Energy consumption model:

[0108] Due to the limitation of battery capacity, USV k UAVs cannot perform tasks for a long time, so it is necessary to consider optimizing their computing energy consumption and communication energy consumption at the same time. In addition, since the hovering time is very short, the present invention does not consider optimizing the hovering and flight energy consumption of UAVs, which is irrelevant to the issues concerned by the present invention. The main purpose of the present invention is to reduce the energy consumption of USVs. k Energy consumption caused by computing and communication.

[0109] The energy consumed by the drone flight can be expressed as:

[0110] E fly (n)=Φ||v(n)|| 2

[0111] Where Φ=0.5G uav t fly is the flight energy consumption correlation coefficient, where G uav Indicates the weight of the UAV. When performing calculations on the MEC server, the present invention establishes a model in which the computing power consumption and computing power are positively correlated, and the power consumption can be expressed as:

[0112]

[0113] Where μ represents the energy consumption factor, the energy consumption of the MEC server in time slot n is:

[0114]

[0115] USV k The communication energy consumption in n time slots is:

[0116]

[0117] USV k The computational energy consumption in the nth time slot is:

[0118]

[0119] UAV-assisted USV k In the communication model, the hovering and flying energy consumption of the UAV is ignored, so the total energy consumption of the system can be expressed as:

[0120] E total,k (n) = E usv,k (n)+E tra,k (n)+E uav,k (n)

[0121] 3. Joint optimization problem of drone scheduling and unloading strategy

[0122] Based on the above system model, a UAV cooperative USV is proposed k The present invention optimizes the communication scheduling of the UAV by jointly optimizing the k (n), unmanned boat task offloading decision R k (n), UAV flight speed v(n), UAV flight angle θ(n), and the weighted minimization problem of computing energy consumption and delay between UAV and unmanned boat is proposed. The optimization problem can be expressed as:

[0123]

[0124]

[0125] In order to more accurately evaluate the total system delay and energy consumption weighted cost, λ is introduced e and λ t Represent the total system delay and energy consumption respectively, and make them dimensionless. At the same time, a trade-off factor α is introduced to weigh the importance of delay in the total cost. For the tasks performed by USV in different scenarios, users can set different weight factors α to meet user needs. These constraints jointly limit: the UAV can only communicate with one USV in a time slot. k Communication, the range of task offloading ratio, UAVs and unmanned boats can only move in a limited area, the calculation time of the system in each time slot cannot be greater than the maximum tolerable delay of the task, C7 constraints indicate that the UAV cannot exceed the maximum speed, UAV and USV k The signal-to-noise ratio for communication cannot be lower than its threshold, the system needs to process a certain amount of mission data C during the entire cycle, and the remaining power of the UAV must support its flight and calculation during mission decision-making.

[0126] 4. OU-TD3 algorithm based on deep reinforcement learning

[0127] (1) Hybrid Noise Adaptive Algorithm

[0128] The present invention uses Ornstein-Uhlenbeck noise to explore the temporal correlation between adjacent user actions, which is conducive to improving the strength of one-way exploration. The Ornstein-Uhlenbeck process is abbreviated as OU process, which was proposed by GEUHLENBECK and LSORNSTEIN in 1930 when studying the thermal motion of particles.

[0129] Since TD3 uses a deterministic strategy, it does not explore the environment enough. In order to increase the randomness of the learning process, TD3 will add a certain amount of noise to the output action to improve the agent's exploration ability. Currently, Gaussian noise and OU noise are commonly used in TD3. Gaussian noise produces unrelated exploration in the time series, that is, the selection of previous and next actions is independent. OU noise is a random process, and its calculation formula is as follows:

[0130]

[0131] where θ is the learning rate of the stochastic process, is the average value of the action sampling data, a t is the action at time t, δ is the random weight of the random process, W t It is a Wiener process (Wiener process, also known as Brownian motion, is a continuous-time random process first proposed by mathematician Norbert Wiener in the 1920s. It is a random process with no memory, independent increments, and continuity.). It can produce exploration related to time series; that is, the next action will be affected by the previous action. Unlike Gaussian noise, OU noise does not make the agent's actions in two adjacent steps very different, but makes the agent sample near the mean of the action. Although this allows the agent to explore continuously in one direction, it will increase the exploration time when the action taken is not optimal in the current state.

[0132] In order to optimize the detection strategy of TD3 and improve the exploration efficiency of Agent, the present invention combines OU noise and Gaussian noise to form mixed noise. The output action at of the Actor network based on mixed noise can be expressed as:

[0133]

[0134] Where var is the Gaussian variance to ensure that the agent has uniform and stable detection capabilities in each scene. At the same time, as the training process progresses, the agent begins to adapt to the task scenario, which requires the exploration rate to gradually decrease, as shown in the formula:

[0135] var=var×0.9997

[0136] The mixed noise algorithm flow designed is as follows Figure 3 shown.

[0137] (2) Constructing MDP

[0138] In the present invention, the optimization objective is first described as MDP (Markov decision process). Generally, MDP can be expressed as a tuple M = (S, A, P, R), where S is the state space, A is the action space, and P (s t+1 |s t ,a t ) is the transition probability, and R(s t ,a t ) is in action a t ∈A is executed. The purpose of this invention is to find an optimal strategy π * (·), which maximizes the long-term cumulative reward, can be defined as Where γ∈[0,1] represents the discount factor. The longer the future, the greater the discount on the reward. Please note that the present invention discretizes the entire service period T into N time slots, so the reward here is the cumulative reward added up over all time slots, and thus can be regarded as t=n.

[0139] The present invention designs the state space, action space and reward function of the drone-assisted MEC offloading problem as follows:

[0140] (1) State space: The agent observes the environment of the current system model and obtains state information, including the UAV position information Q u (n) With all USVs k The location information L(n), where L(n) = {L1(n), L2(n), ···L K (n)}, the remaining amount of total computing tasks C(n), and the current service USV k Calculate the remaining amount of the task C k (n), the maximum tolerable delay ΔT of the task in the current time slot k (n) and the remaining battery level of the drone, E re (n). Therefore, the state space of the system of the present invention at time slot n can be defined as: n = {Q u (n),L(n),C(n),C k (n),ΔT k (n),E re (n)}.

[0141] (2) Action space: The agent takes action according to the current state s n Select action a n . Among them an Including UAV communication scheduling τ k (n), uninstall decision R k (n), flight speed v(n) and flight angle θ(n). Therefore, the action at time slot n can be expressed as a n ={τ k (n),R k (n),v(n),θ(n)}. In the continuous action space, by jointly optimizing the four variables of communication scheduling, unloading decision, flight speed, and flight angle, the agent's actions can be accurately optimized in the high-dimensional action space, and the system cost can be minimized.

[0142] (3) Reward function design: The goal of this invention is to minimize the weighted value of the system’s computing energy consumption and latency under certain strict QoS requirements. Therefore, in the drone-assisted MEC system, the system reward function should be negatively correlated with the maximum computing cost, which can be expressed as:

[0143] (3) OU-TD3 algorithm architecture:

[0144] In order to solve the optimization problem of complex state and continuous action space of each unit in the mobile edge computing UAV cooperative USV system, the proposed OU-TD3 DRL algorithm is adopted. The OU-TD3 algorithm of the present invention is an advanced DRL algorithm for continuous action space based on the Actor-Critic framework, in which the Actor and Critic networks approximate the action function and the state value function respectively

[24] . The OU-TD3 algorithm of the present invention includes an Actor main network μ(s|φ) with a weight of φ, and two Critic main networks with weights of θ1 and θ2 respectively. And the Actor target network μ'(s|φ') with weight φ', the Critic target network with weights θ'1 and θ'2 The Actor network acts as a policy network, i.e., the actor generates actions and updates its parameters φ by maximizing the cumulative expected reward. The Critic network acts as a Q network, i.e., the Critic, which evaluates the actor’s performance, guides the actor’s next action, and updates its parameters θ by minimizing the loss error between the evaluation value and the target value. i value.

[0145] Next, the present invention gives the specific implementation process of the OU-TD3 algorithm. First, the present invention randomly initializes the weight parameters of the six neural networks and the experience replay buffer to obtain the initial state. In order to fully explore the system space, the present invention constructs the action space by adding mixed noise, namely: Then the agent inputs the current state s t, get action a through the Actor main network and mixed noise t After executing the action, you will get a reward r t , next state s t+1 , and state transition tuple (s t ,a t ,s t+1 ,r t ), the obtained tuples are stored in the experience replay buffer pool for training the neural network. When the experience replay buffer pool is full, a small batch of experience (s) of size B is extracted from the experience replay buffer using random experience replay. j ,a j ,s j+1 ,r j ) to train the Actor main network and the Critic main network. The Q value can be calculated by the Critic target network, which is given by the following formula:

[0146]

[0147] Where ξ is mixed noise. The target Q value is the minimum value of the two critic networks in the target network, that is, and The Critic network is trained by using the given optimizer Adam Optimizer and combining the output of the Actor with the Critic network. The two critic networks minimize the loss function using the calculated loss function, which can be expressed as:

[0148]

[0149] The agent can then use the policy gradient method to update the weight parameters of the Actor network:

[0150]

[0151] Next, the agent uses the following formula to update the weight parameters of the three main networks:

[0152]

[0153]

[0154] where α a and α c Represents the learning rate of the Actor and Critic main networks. In order to improve the efficiency of network training, the Actor's learning rate is generally set to be slightly smaller than the Critic's learning rate.

[0155] After the parameters of the main network are updated, the target network will copy the weight parameters τ of the main network through the soft update method after a certain delay d steps:

[0156] φ′=τφ+(1-τ)φ′

[0157] θ′ i =τθ i +(1-τ)θ′ i ,i=1,2

[0158] where τ is the soft update parameter.

[0159] TABLE1 Parameter settings are as follows:

[0160]

[0161]

[0162] 5. Simulation and performance analysis

[0163] In this section, we conduct numerical simulations to evaluate the performance of the OU-TD3 computational offloading algorithm in a UAV-assisted MEC system. We first give a detailed description of the simulation parameters. Then, we compare the average computational overhead of the proposed algorithm with that of five other benchmark algorithms under different weights, different task sizes, different bandwidth conditions, and different USVs computing capabilities.

[0164] The experiment uses Python 3.7 and TensorFlow 1 framework on the Anaconda platform to simulate the system environment. The model includes a configuration where a UAV and four USVs are randomly distributed in a square area of ​​100m×100m. The USVs move randomly in the area at a speed of 1m / s, and randomly generate computing tasks of size [1.5, 2]Mbits. In the OU-TD3 algorithm, the actor and critic networks consist of two and four feed-forward deep neural networks, respectively, and use ReLU as the activation function. The simulation focuses on the UAV trajectory, terminal device scheduling, and task offloading scheme, and successfully implements the OU-TD3 task offloading algorithm. Other parameters in the simulation are shown in TABLE 1.

[0165] The proposed OU-TD3 algorithm is compared with the following five benchmark schemes to evaluate the performance.

[0166] Offloading all tasks to UAV (UAV-MEC-compute): During each time interval, UAV provides computing services to the terminal from a fixed location in the regional center. USV offloads all its computing tasks to the MEC server on the UAV.

[0167] Local-only execution of all tasks: All computational tasks of the USV are performed locally without UAV assistance.

[0168] Actor-Criticism Based Computation Offloading Algorithm (AC): In order to evaluate the performance of the proposed computation offloading algorithm based on OU-TD3, a RL algorithm based on continuous action space, i.e., AC, is also implemented for the computation offloading problem.

[0169] DQN-based offloading computation algorithm (DQN): The traditional DQN algorithm based on discrete action space is compared with the proposed OU-TD3 algorithm. During the UAV flight, the horizontal angle is defined as: B = {0, π / 5, ., 2π}, and the speed level is expressed as: V = {0, Vmax / 10, ...., Vmax}. The offloading ratio level is set to O = {0, 0.1, ..., 1.0}.

[0170] Deep Deterministic Policy Gradient (DDPG) based computation offloading: DDPG is a deterministic policy model-free DRL algorithm with an actor-critic network.

[0171] First, a series of experiments were conducted to determine the optimal values ​​of important hyperparameters used in algorithm comparison. The memorysize was set to 10000 and the batchsize was set to 128. The convergence performance of the proposed OU-TD3 algorithm at different learning rates is shown in Figure 2. Figure 5 As shown. In the observation of the present invention, when the learning rate α a =0.1,α c = 0.2 and α a =0.01,α c = 0.02, the algorithm converges to a local optimal solution. This is because when the learning rate is too large, the amplitude of each parameter update is significant, which causes the algorithm to oscillate in the parameter space or skip the optimal solution. a = 0.0001 and α c = 0.0002, it was found that the algorithm converged slowly. A smaller learning rate may result in a smaller step size for model parameter updates, thereby slowing down the speed of convergence to the optimal solution. The smaller the amplitude of parameter updates, the more training steps the model needs to converge, thus prolonging the training time. Therefore, the learning rate was adjusted to α a = 0.001 and α c =0.002.

[0172] refer to Figure 6 , Figure 6The verification of important parameters in the OU-TD3 algorithm, namely the exploration rate of the mixed var and OU noise, is illustrated. The exploration rate significantly affects the convergence of the algorithm. First, the present invention sets var=0.005 and observes that when σ=0.1 and σ=0.001, the algorithm converges to the local optimal solution. This is due to the limited detection ability of the algorithm when the detection rate of action noise is set too low. Action noise is used to introduce randomness so that a larger range of action space can be explored during training. A low exploration rate may cause the algorithm to favor known optimal actions and limit exploration, potentially causing the algorithm to be trapped in the local optimal solution and unable to discover a better action strategy. On the contrary, a high exploration rate may cause the agent to be too random during training, hindering the stable learning of the optimal strategy. This may cause the agent to converge to a suboptimal solution instead of a global optimal solution. An excessively high exploration rate may cause the agent to tend to random actions and not make full use of existing experience to optimize action selection, thereby limiting the learning ability of the agent. It is observed that when σ=0.001, the algorithm converges to the optimal value. Therefore, the present invention sets the mixed noise detection rate to var=0.005, σ=0.001.

[0173] exist Figure 7 In this paper, the proposed OU-TD3 algorithm is compared with other benchmark algorithms in terms of average computational cost under different delay weights. Figure 7 It can be clearly seen that the proposed algorithm has the lowest computational cost under different weights. In addition, when the weights are 0, 0.2, and 0.4, both the local computation and the OU-TD3 algorithm achieve the lowest average computational cost. This is due to the excessive computational cost generated when offloading the task to the UAV, which can be effectively handled by local computation. These show the significant advantages of the proposed OU-TD3 algorithm. In addition, it is worth noting that as the delay weight increases, the average computational cost on UAV-MEC alone gradually decreases, while the average computational cost on local computation alone increases. This trend is caused by the increased sensitivity of the system to the task execution time and the insufficient local computing power. The research results show that the proposed UAV-USV collaborative structure can effectively alleviate the problems of limited computing power and CPU resources of the USV and short battery life.

[0174] exist Figure 8In the figure, the average computational cost of the proposed OU-TD3 algorithm under a delay weight of 0.9 is compared with other baseline algorithms. It is assumed that the UAV-USV is performing a task with very strict delay requirements. In order to better observe the experimental results, the delay weight is set to 0.9. As can be seen from the figure, the cost incurred by local calculation alone is the highest, which is 165.92, while the cost incurred by UAV-MEC calculation alone is 113.1. The AC algorithm does not converge due to the simultaneous update of the parameters of the actor and critic networks. In the AC algorithm, the goal of the critic is updated according to the current strategy, pursuing a constantly changing goal. This instability and convergence difficulty are caused by the algorithm. The performance of the DQN algorithm is not as good as that of the DDPG and OU-TD3 algorithms because the DQN algorithm discretizes the continuous space, which inevitably leads to some loss of action and state space, while the optimal solution is generated in the entire continuous space. By comparing the DDPG algorithm and the OU-TD3 algorithm, it is found that although the proposed algorithm converges about 60 epi sodes slower than the DDPG algorithm, this is because the mixed Gaussian noise designed by the present invention gradually decreases until it stabilizes. The final computational cost of the proposed OU-TD3 algorithm is 75.95, which means a cost saving of 2.84 compared to the computational cost of 78.79 of the DDPG algorithm, which is acceptable in terms of training time cost.

[0175] Fig. 9 In the figure, the computational cost of the proposed OU-TD3 algorithm and other algorithms under different task sizes is compared. It is obvious that the computational cost of all algorithms will increase with the increasing task size. Compared with other algorithms, the proposed OU-TD3 algorithm always achieves the lowest computational cost under different bandwidth conditions and task sizes. This shows that the algorithm proposed in this paper has significant advantages over other algorithms.

[0176] Fig.10 In the paper, the average computational cost of the proposed OU-TD3 algorithm is compared with other algorithms under different communication bandwidth conditions. It can be observed that as the bandwidth increases, the computational cost of all algorithms decreases except for local calculations. This is attributed to the increase in communication bandwidth, which enables a higher task transmission rate for computing tasks. Therefore, the transmission time for transmitting computing tasks of the same size is reduced, and the transmission energy consumption of USV is also reduced, resulting in a reduction in computational cost. Under different bandwidth conditions, the proposed OU-TD3 algorithm can always achieve the lowest computational cost. It shows that the algorithm proposed in the present invention has significant advantages over other algorithms.

[0177] In recent years, the development of maritime communication technology has received widespread attention. However, the limited coverage of coastal base stations has brought challenges to the development of maritime communication technology. In order to solve this problem.

[0178] This paper proposes a new maritime mobile edge computing (MEC) network architecture, in which unmanned aerial vehicles (UAVs) are equipped with MEC servers to assist unmanned surface vehicles (USVs) in communication and computing. This architecture effectively solves the challenges brought by the limited computing and resource processing capabilities of USVs.

[0179] By modeling the non-convex computation offloading problem as a Markov decision process (MDP), the weighted sum of computational energy consumption and latency is taken as the objective function of the system, with the goal of minimizing the total cost of the system under numerous strict quality of service (QoS) requirements. Users can adjust the weights of preference factors to make them suitable for different scenarios.

[0180] Aiming at the high-dimensional continuous state and action space of the system, an improved double-delayed deep deterministic policy gradient (OU-TD3) computation offloading algorithm is proposed, which mixes Gaussian noise and Ornstein-Unlenbeck noise as detection noise. Simulation results show that compared with the unoptimized baseline algorithm, the algorithm can save about 54.2% of the computational overhead.

[0181] The above technical terms are explained as follows:

[0182] MEC mobile edge computing, USV unmanned surface vessel, UAV drone, Ornstein-Unlenbeck, TD3 double-delay deep policy gradient, MDP Markov decision process, LOS line-of-sight propagation, NLOS non-line-of-sight propagation, DRL deep reinforcement learning.

[0183] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. UAV-assisted unmanned boat task offloading method based on deep reinforcement learning, Features: The following steps are involved: S1. Establish a three-dimensional wireless communication network system model for mobile edge computing. The system model includes K USVs, whose set is represented by k∈{1,2,....,K}, k represents a USV in the set, and a drone U={u} equipped with a MEC edge server. k Computational offloading to save USV k The energy consumption of computing and the delay of task execution are reduced; Assume that the period of UAV to perform a certain task is T, and divide the entire communication period T into N time slots, each time slot is equal and the length is δ = T / N, and the nth time slot satisfies the set n∈{1,2···,N}; USV k The coordinates are L k (n) = [x k (n),y k (n),0] T , USV k The communication scheduling constraints are expressed as: USV k After offloading part of the computing tasks to the server, the remaining computing tasks are calculated locally; At the end of the nth time slot, the drone flies to a new hovering position, which is expressed as: Q u (n+1)=[x u (n+1),y u (n+1),H] T ∈R 3×1 ; The angle of the UAV’s flight in the nth time slot is θ(n)∈[0,2π], where θ(n) represents the horizontal direction of the UAV in the xy plane relative to the x-axis, and the flight speed is v(n)∈[0,v max ], the flight time of the UAV in one time slot is t fly (n) = t fly , where t fly is a fixed value; therefore, the horizontal moving distance of the UAV can be expressed as: x u (n+1)=x u (n)+t fly v(n)cosθ(n); y u (n+1)=y u (n)+t fly v(n)sinθ(n); UAV vs USV k The channel gain of the line-of-sight link between can be expressed as: where β 0 It can represent the channel gain at the reference distance d = 1m, d u,k (n) indicates UAV and USV k The Euclidean distance between: When the UAV is hovering, the UAV and the USV k For communication, the wireless transmission rate of the drone is r u,k (n) is expressed as: Where B represents the allocated communication bandwidth, assuming that all USVs k The transmission power P up,k (n) = P up is a fixed value, σ 2 represents the noise power; S2, establish delay model and energy consumption model; S3. Joint optimization problem of drone scheduling and unloading strategy: Communication scheduling of UAVs by joint optimization k (n), unmanned boat task offloading decision R k (n), UAV flight speed v(n), UAV flight angle θ(n), and propose the weighted minimization problem of computing energy consumption and delay of UAV and unmanned boat; the optimization problem can be expressed as: Q u (n)∈{x u ( n ), y u (n)|x u (n)∈[0,X],y u (n)∈[0,Y]}: L k (n)∈{x k ( n ), y k (n)|x k (n)∈[0,X],y k (n)∈[0,Y]}: T total,k (n)≤ΔT; 0≤v(n)≤v max ; c uav,k (n)≥γ th ; Introducing λ e and λ t Represent the total system delay and energy consumption respectively, and make them dimensionless. At the same time, a trade-off factor α is introduced. For the tasks performed by USV in different scenarios, the UAV only communicates with one USV in one time slot. k Communication, the range of task offloading ratio, UAVs and unmanned boats can only move in a limited area, the calculation time of the system in each time slot cannot be greater than the maximum tolerable delay of the task, C7 constraints indicate that the UAV cannot exceed the maximum speed, UAV and USV k The signal-to-noise ratio for communication cannot be lower than its threshold. The system needs to process a certain amount of mission data C during the entire cycle. The remaining power of the UAV must support its flight and calculation during the mission decision-making period. S4. OU-TD3 algorithm based on deep reinforcement learning: (1) Hybrid Noise Adaptive Algorithm The output action at of the Actor network based on mixed noise can be expressed as: Where var is the Gaussian variance to ensure that the agent has uniform and stable detection capabilities in each scenario; at the same time, as the training process progresses, the agent begins to adapt to the task scenario, which requires the exploration rate to gradually decrease, as shown in the formula: var = var × 0.9997; (2) Constructing MDP The optimization objective is described as an MDP (Markov decision process); usually, an MDP can be represented as a tuple M = (S, A, P, R), where S is the state space, A is the action space, and P (s t+1 |s t ,a t ) is the transition probability, and R(s t ,a t ) is in action a t ∈A is executed after the instantaneous reward function; the purpose of this invention is to find an optimal strategy π * (·), which maximizes the long-term cumulative reward, can be defined as Where γ∈[0,1] represents the discount factor. The longer the future, the greater the discount on the reward. (3) OU-TD3 algorithm architecture The OU-TD3 algorithm consists of an Actor main network μ(s|φ) with a weight of φ and two weights θ 1 and θ 2 Critic main network and the Actor target network μ'(s|φ') with weight φ' and weight θ' 1 and θ′ 2 Critic target network The Actor network acts as a policy network, i.e., the actor generates actions and updates its parameters φ by maximizing the cumulative expected reward; the Critic network acts as a Q network, i.e., the Critic, which evaluates the actor’s performance, guides the actor’s next action, and updates its parameters θ by minimizing the loss error between the evaluation value and the target value. i value; S5. Simulation and performance analysis: Numerical simulations are conducted to evaluate the performance of the OU-TD3 computational offloading algorithm in a UAV-assisted MEC system. First, a detailed description of the simulation parameters is given. Subsequently, the average computational overhead of the proposed algorithm is compared with that of other five benchmark algorithms under different weights, different task sizes, different bandwidth conditions, and different USVs’ computational capabilities.

2. The method for unloading unmanned boat tasks assisted by unmanned aerial vehicles based on deep reinforcement learning as claimed in claim 1, Features: The implementation process of the OU-TD3 algorithm includes the following steps: First, the weight parameters of the six neural networks and the experience replay buffer are randomly initialized to obtain the initial state; the action space is constructed by adding mixed noise, that is: Then the agent inputs the current state s t , get action a through the Actor main network and mixed noise t ; After executing the action, you will get a reward r t , next state s t+1 , and state transition tuple (s t ,a t ,s t+1 ,r t ), storing the obtained tuples into the experience replay buffer pool for training the neural network; When the experience replay buffer pool is full, a small batch of experience (s) of size B is extracted from the experience replay buffer using random experience replay. j ,a j ,s j+1 ,r j ) to train the Actor main network and the Critic main network; the Q value can be calculated by the Critic target network, which is given by the following formula: Where ξ is the mixed noise, and the target Q value is the minimum value of the two critic networks in the target network, that is, and The Critic network is trained by using the given optimizer Adam Optimizer and combining the output of the Actor with the Critic network; the two critic networks minimize the loss function using the calculated loss function, expressed as: The agent can then use the policy gradient method to update the weight parameters of the Actor network: Next, the agent uses the following formula to update the weight parameters of the three main networks: where α a and α c Represents the learning rate of the Actor and Critic main networks. In order to improve the efficiency of network training, the Actor learning rate is generally set to be slightly smaller than the Critic learning rate; After the parameters of the main network are updated, the target network will copy the weight parameters τ of the main network through the soft update method after a certain delay d steps: φ′=τφ+(1-τ)φ′ i i ′=τθ i +(1-τ)θ i ′,i=1,2 where τ is the soft update parameter.

3. According to the method for unloading unmanned boat tasks assisted by unmanned aerial vehicles based on deep reinforcement learning according to claim 1, Features: In the above-mentioned construction of MDP, the state space, action space and reward function of the drone-assisted MEC offloading problem are designed; 1) State space: The agent observes the environment of the current system model and obtains state information, including the UAV position information Q u (n) With all USVs k The location information L(n), where L(n) = {L 1 (n),L 2 (n),···L K (n)}, the remaining amount of total computing tasks C(n), and the current service USV k Calculate the remaining amount of the task C k (n), the maximum tolerable delay ΔT of the current time slot task k (n) and the remaining battery level of the drone, E re (n), the state space of the system of the present invention at time slot n can be defined as: n = {Q u (n),L(n),C(n),C k (n),ΔT k (n),E re (n)}; 2) Action space: Agent takes action according to the current state s n Select action a n ; where a n Including UAV communication scheduling τ k (n), uninstall decision R k (n), flight speed v(n) and flight angle θ(n), the action at time slot n is represented by a n ={τ k (n),R k (n),v(n),θ(n)}, in the continuous action space, by jointly optimizing the four variables of communication scheduling, offloading decision, flight speed, and flight angle; the agent's action can be accurately optimized in the high-dimensional action space, and the system cost can be minimized; 3) Reward function design: In the UAV-assisted MEC system, the system reward function should be negatively correlated with the maximum computational cost, expressed as:

4. According to the method for unloading unmanned boat tasks assisted by unmanned aerial vehicles based on deep reinforcement learning in claim 1, Features: The S2, time-delay model: USV k Some tasks can be offloaded to the MEC server on the UAV for processing, where C k (n) indicates the USV in the nth time slot k The computing task size, R k (n) indicates USV k The offloading ratio of tasks to UAV; s represents the CPU cycles required to process each unit bit, and represents the UAV k computing power.

Citation Information

Cited By

  • Unmanned aerial vehicle and unmanned ship long-endurance collaborative search method based on reinforcement learning

    CN119005305A

  • Unmanned aerial vehicle assisted MEC system mobile edge computing unloading time delay optimization method

    CN119485500A

  • Task unloading and wireless energy transmission method and system

    CN119545380A

  • Task offloading and wireless energy transfer method and system

    CN119545380B

  • A method for designing orientation and phase shift of marine ARIS-UAV communication system

    CN119743171A