Model compression method for auxiliary mobile edge calculation of unmanned aerial vehicle

The evolutionary knowledge distillation algorithm is used to compress the drone-assisted mobile edge computing model, which solves the problem of long response time for drone resource scheduling and achieves low-latency performance improvement in emergency communication environments.

CN118585331APending Publication Date: 2024-09-03DALIAN MARITIME UNIVERSITY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410746919.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The resource scheduling response time of existing drone-assisted mobile edge computing is long and cannot meet the low-latency requirements in emergency communication environments.

Method used

The evolutionary knowledge distillation algorithm is used to compress the UAV-assisted mobile edge computing model. By building a neural network and multi-network collaborative training, combined with soft and hard loss functions and adaptive learning rate mechanisms, the model is lightweight and resource scheduling optimized.

Benefits of technology

It significantly reduces the response time and execution efficiency of drone dispatching, improves the total delay performance of the emergency communication network, and is suitable for resource scheduling scenarios of multiple drones among multiple users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585331A
    Figure CN118585331A
Patent Text Reader

Abstract

The invention provides a model compression method for auxiliary mobile edge calculation of an unmanned aerial vehicle. The method comprises the following steps: S1, establishing an auxiliary mobile edge calculation model of the unmanned aerial vehicle applied to an emergency communication condition; and S2, establishing a neural network, converting the unmanned aerial vehicle auxiliary mobile edge calculation model into a compressible model through the neural network, and performing model compression on the compressible model by using an evolutionary knowledge distillation algorithm. The unmanned aerial vehicle assisted mobile edge calculation model comprises an unmanned aerial vehicle model used for unmanned aerial vehicle scheduling; the network model is used for setting a neural network on the unmanned aerial vehicle and the edge server; and the task model is used for calculating task completion time delay. According to the invention, a plurality of unmanned aerial vehicles carrying communication equipment can be rapidly scheduled to assist mobile edge calculation, and the response speed and execution efficiency of unmanned aerial vehicle scheduling are improved through the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drone resource allocation, and in particular to a model compression method for drone-assisted mobile edge computing. Background Art

[0002] Uncontrollable natural disasters often damage human communication equipment, and failure to quickly restore communication conditions will bring greater losses. In an emergency communication environment, it is an important project to quickly deploy communication equipment and conduct effective communication. The edge devices carried by drones are convenient, maneuverable and low-cost, so they can become a key part of the temporary composition method of the communication network in emergency communication situations. Although drones are fast and flexible, and reduce a lot of flight delays in the scheduling and deployment of communication tasks, the task scheduling of drones is also a part that affects the total delay. The total delay includes the reaction delay, flight delay and calculation delay of drones. The reaction delay is greatly affected by the area and number. Generally speaking, the wider the coverage of the drone group, the more tasks in the emergency scene, and the greater the reaction delay. Edge intelligence is divided into edge and intelligence as the name suggests. Edge describes computing devices closer to the edge, making the transmission delay of tasks smaller. Intelligence is the product of the continuous development of computers. Artificial intelligence has developed faster and faster in recent years, from top research to civilian use. Then edge intelligence refers to deploying artificial intelligence at the edge, that is, building an artificial intelligence framework in edge computing devices. However, the computing resources and energy consumption resources required by artificial intelligence are generally large, and the resources at the edge are often limited. Using edge intelligence on the drone side will make it more energy-consumption-constrained. Therefore, how to apply edge intelligence on the drone side and successfully build a low-latency emergency communication network is a problem worth studying.

[0003] Artificial intelligence has the advantages of edge computing, that is, it is deployed on the edge side, closer to the user, and has low computing latency, so that it can provide intelligent services to users. However, the scale of artificial intelligence systems is generally large and energy-intensive, that is, computing, storage, and energy consumption resources are limited, so the actual application of edge intelligence must solve these two problems. Edge intelligence generally has the following solutions: 1 Edge-cloud collaboration: similar to offline training and online prediction in reinforcement learning. The training process is deployed in the cloud, so the energy consumption and computing power conditions are better, and the trained model is deployed on the edge device; 2 Model segmentation: divided according to different task considerations, tasks with large computational workloads are offloaded to the edge server, and others are left for terminal calculation; 3 Model clipping: that is, model lightweight, and complex models are compressed or clipped through some methods; 4 Reduce redundant data transmission: transmit incorrectly trained data on the edge intelligence end to the cloud to ensure data accuracy; 5 Structural design: improved through network structure design or chip level design. Without considering the hardware, solutions 1, 2, and 4 all involve edge-cloud data transmission of a data, that is, before the data processing is completed, there will be steps that seriously affect the timeliness, which will cause performance problems in emergency communications and other situations with strong timeliness requirements. Therefore, in this case, it is necessary to lightweight the model, but the existing model compression method is not enough to meet the efficiency of the resource scheduling process. Summary of the invention

[0004] In view of this, the purpose of the present invention is to propose a model compression method for drone-assisted mobile edge computing to solve the problem of long resource scheduling response time in existing drone-assisted mobile edge computing.

[0005] The technical means adopted by the present invention are as follows:

[0006] A model compression method for drone-assisted mobile edge computing includes the following steps:

[0007] S1. Establish a UAV-assisted mobile edge computing model for emergency communication situations;

[0008] S2. Build a neural network, convert the drone-assisted mobile edge computing model into a compressible model through the neural network, and use the evolutionary knowledge distillation algorithm to compress the compressible model.

[0009] Furthermore, the drone-assisted mobile edge computing model in S1 includes:

[0010] UAV model, used for UAV dispatch;

[0011] Network models for setting up neural networks on drones and edge servers;

[0012] Task model, used to calculate task completion delay.

[0013] Furthermore, the constraints of the drone model are as follows:

[0014] Dronex i ,y i With user x k ,y k All within the limited coordinate range d x ,d y Inside:

[0015] x i <d x ,y i <d y ;x k <d x ,y k <d y

[0016] The distance between drones is greater than the safety distance d safe :

[0017]

[0018] When the communication distance d between the drone and the user is satisfied commucation Otherwise, the task is offloaded to other drones to meet the following requirements:

[0019]

[0020] Furthermore, the constraints of the network model are as follows:

[0021] Computational energy consumption of the student network E student The constraint E of the edge server needs to be met server ;

[0022] Computing resources of student network C student The constraint C of the edge server needs to be met server .

[0023] Furthermore, the constraints of the task model are as follows:

[0024] For Task U il , C il For the task U il Calculate the CPU cycles required, f i,CPU The CPU calculation frequency of the user terminal; the device that calculates locally in the strategy calculates on the corresponding user's terminal, and the calculation time t local for:

[0025]

[0026] Ci,off represents the CPU computing cycle required for selecting the offloaded part in a computing task, f is the CPU computing frequency of the drone, where C i,off <C il ; Calculation time t of the corresponding unloaded data volume terminal for:

[0027]

[0028] Furthermore, the steps of the evolutionary knowledge distillation algorithm described in S2 are as follows:

[0029] S21. Use the intelligent combination algorithm from previous work to collect data sets for current work;

[0030] S22, process the data set and complete the neural network construction;

[0031] S23. Complete the multi-network collaborative training of neural networks and add a collaborative evolution mechanism to the knowledge distillation part of the neural network.

[0032] Further, S21 includes the following steps:

[0033] S211, using the MQCGA algorithm to provide data for each case as a training set for neural network training, and running it several times as a test set;

[0034] S212. Data preprocessing: Divide the data set into three parts: training set, validation set and test set.

[0035] Further, S22 includes the following steps:

[0036] S221, the input data in the data set are the coordinates of the drone and the user. For one item of data, the coordinates are processed into a vector of 1×(uav×2+user×2); the output data is the offloading plan of each task of the user, and the offloading plan is processed into a vector of task dimension;

[0037] S222, adding a multi-label classification result to each dimension of the vector, and encoding the digitized task allocation with real numbers;

[0038] S223. The architecture of the neural network consists of an input layer, two fully connected hidden layers with 64 neurons, and an output layer. The activation function uses the ReLu function and the SoftMax function. The output layer is the Q value corresponding to each unloading scheme. The compression degree of the model is set to 20% and 50% according to the constraints.

[0039] Further, S23 includes the following steps:

[0040] S231, the neural network uses soft and hard loss functions and an adaptive learning rate mechanism. The trained network is directly added to the pre-prepared teacher list for the co-evolution mechanism;

[0041] S232, the data interaction between students and teachers is reflected in the training of the data set, and the input and output labels of the training set, the input and output labels of the test set, and the number of trainings at one time are input into the training function;

[0042] S233, the cooperation and competition mechanism of node evolution distillation lies in the interactive iteration of nodes; network evolution is based on information exchange between different population networks, and each student sub-network evolves independently; when evaluating the fitness of individuals in a sub-network, other sub-networks will also be considered for evaluation together, and some excellent network individuals will be retained; competition and cooperation will be carried out between different sub-networks. If the result gets better after evolution, the network nodes and the optimal network will be updated, and the student network will be updated at the same time; the current global optimal network is compared with the previous global optimal. If the result gets better, the sub-network model will be retained and the basic network will be updated to the global optimal network; on the contrary, the sub-network model is updated and the basic network is not updated;

[0043] In addition, the present invention adopts a result-oriented evaluation method, that is, the loss function and the fitness function are used as evaluation methods at the same time. Loss is an important function used to evaluate network parameters and network results in the gradient descent process. The fitness function is used to evaluate the resource scheduling scheme, that is, the total delay for task completion of the current resource scheduling scheme. The loss function is more inclined to whether the output value of the network is close to the training value, that is, the data set result obtained by the algorithm, while the fitness function is more inclined to the objective fact, that is, the delay result of the current scheduling scheme. The test functions of the two evaluation methods both speed up the training of the network.

[0044] S234. To stabilize the neural network training capability, other optimization items are added.

[0045] Further, S234 includes the following steps:

[0046] S2341, learning rate setting; the ReduceLROnPlateau method is called in torch to set the upper limit of the number of consecutive loss constants. After reaching the upper limit, the learning rate will change accordingly to optimize the training effect;

[0047] S2342, setting the number of training times; adding a stop condition judgment part to determine whether to exit the training by judging the change in accuracy to prevent the occurrence of over-fitting;

[0048] S2343, regularization term setting; a regularization term L is added to the loss function, L is added to the loss function in a cumulative form, and a penalty term is also added; in the process of the loss function constantly changing, the addition of the regularization term will make it consider the network's own weight. When the weight is too large or too small, the loss function can be corrected in time, thereby further preventing the neural network from overfitting.

[0049] Compared with the prior art, the present invention has the following advantages:

[0050] The present invention adopts knowledge distillation in model lightweighting. Knowledge distillation is a new technology that can lightweight complex and cumbersome models so that integrated models can be applied in edge deployment. The present invention studies the model compression problem of drone scheduling in a drone-assisted mobile edge computing system, in which multiple drones provide emergency communication services to multiple users. In this scenario, the present invention continues to follow the model and scenario planning of previous work and optimizes the model and algorithm in the reaction delay part. Different from existing work, the present invention is committed to the research of drone-assisted mobile edge models and the optimization of knowledge distillation algorithms to reduce total delay.

[0051] The present invention can quickly dispatch multiple drones equipped with communication equipment to assist mobile edge computing, and the response speed and execution efficiency of drone dispatching can be improved through this system. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0053] Figure 1 A block diagram of the method of the present invention.

[0054] Figure 2 This is a diagram of the lightweight algorithm model of the present invention.

[0055] Figure 3 This is a schematic diagram of the evolution of the present invention.

[0056] Figure 4 A comparison chart of different training methods.

[0057] FIG. 5 is a diagram showing the network training results of the present invention. Figure 5a This is the result diagram for 100m. Figure 5b This is the result diagram for 200m. Figure 5c This is the result diagram for 500m.

[0058] FIG6 is a comparison chart of the completion time of the present invention. Figure 6a This is a 100m comparison chart. Figure 6b This is a comparison chart for 200m. Figure 6c This is a 500m comparison chart.

[0059] Figure 7 This is the overall improvement rate diagram of the present invention. DETAILED DESCRIPTION

[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.

[0061] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0062] like Figure 1-3 As shown, the present invention provides a model compression method for drone-assisted mobile edge computing, comprising the following steps:

[0063] S1. A drone-assisted mobile edge computing model dedicated to emergency communications was established. The drone-assisted mobile edge computing model includes:

[0064] 1. UAV model,This strategy is used for UAV scheduling.

[0065] Dronex i ,y i With user x k ,y k All within the limited coordinate range d x ,d y Inside:

[0066] x i <d x ,yi <d y ;x k <d x ,y k <d y

[0067] The distance between drones should be greater than the safe distance d safe :

[0068]

[0069] The communication distance d between the drone and the user satisfies the drone commucation Otherwise, the task will be offloaded to other drones to meet the following requirements:

[0070]

[0071] Second, network model,This strategy sets up neural networks on drones and edge servers.

[0072] Computational energy consumption of the student network E student The constraint E of the edge server needs to be met server .

[0073] Computing resources of student network C student The constraint C of the edge server needs to be met server .

[0074] 3. Task model,This strategy calculates the task completion delay.

[0075] For Task U il , C il The CPU cycles required to calculate it, f i,CPU The CPU frequency of the user terminal is calculated. The device that calculates locally in the strategy calculates on the corresponding user's terminal, and the calculation time t local for

[0076]

[0077] C i,off represents the CPU computing cycle required for selecting the offloaded part in a computing task, f is the CPU computing frequency of the drone, where C i,off <C il . Calculation time t of the corresponding unloaded data volume terminal for

[0078]

[0079] S2, further convert this model into a compressible model by building a neural network and use the evolutionary knowledge distillation algorithm to compress the model. The teacher network and the student network are in the knowledge distillation algorithm.

[0080] S21. Use the intelligent combination algorithms from previous work to collect data sets for current work.

[0081] S211. The MQCGA algorithm was used to provide 5000 data for each case as the training set for neural network training, and another 10 runs were performed as the test set.

[0082] S212. Data preprocessing divides it into three parts: training set, validation set and test set.

[0083] S22. Process the data set and complete the construction of a reasonable neural network.

[0084] S221. The input data in the data set are the coordinates of the drone and the user. For one item of data, the coordinates are processed into a vector of 1×(uav×2+user×2). The output data is the offloading plan for each task of the user, and the offloading plan is processed into a vector of task dimension.

[0085] S222. Add multi-label classification results to each dimension of the vector and encode the digitized task allocation using real numbers.

[0086] S223. The architecture of the neural network consists of an input layer, two fully connected hidden layers with 64 neurons, and an output layer. The activation function uses the ReLu function and the SoftMax function. The output layer is the Q value corresponding to each unloading scheme. The compression degree of the model is set to 20% and 50% according to the constraints.

[0087] S23. Complete multi-network collaborative training and add a collaborative evolution mechanism to the knowledge distillation part.

[0088] S231, the neural network uses soft and hard loss functions and an adaptive learning rate mechanism. The trained network is directly added to the pre-prepared teacher list for the co-evolution mechanism.

[0089] S232. The data interaction between students and teachers is mainly reflected in the training of the data set. We input the input and output labels of the training set, the input and output labels of the test set, and the number of trainings at one time into the training function.

[0090] S233. The cooperation and competition mechanism of node evolution distillation lies in the interactive iteration of nodes. Network evolution is based on information exchange between different population networks, and each sub-network evolves independently. When we evaluate the fitness of individuals in a sub-network, other sub-networks will also be considered for evaluation together, and some excellent network individuals will be retained. Competition and cooperation will be carried out between different sub-networks. If the results get better after evolution, the network nodes and the optimal network will be updated, and the student network will be updated at the same time. The current global optimal network is compared with the previous global optimal. If the results get better, the sub-network model will be retained and the basic network will be updated to the global optimal network; otherwise, the sub-network model is updated and the basic network is not updated.

[0091] S234. In order to stabilize the neural network training capability, other optimization items were added.

[0092] S2341, learning rate setting. The ReduceLROnPlateau method is called in torch to set the upper limit of the number of consecutive loss-invariant times. After reaching the upper limit, the learning rate will change accordingly to optimize the training effect.

[0093] S2342, setting the number of training times. We have added a stop condition judgment part to determine whether to exit the training by judging the change in accuracy. This can effectively prevent the occurrence of over-fitting.

[0094] S2343, regularization term setting. A regularization term L is added to the loss function, and L is added to the loss function in a cumulative form, and a penalty term is also added. In the process of the loss function constantly changing, the addition of the regularization term will make it consider the weight of the network itself. When the weight is too large or too small, the loss function can correct it in time, thereby further preventing the neural network from overfitting.

[0095] Example

[0096] The present invention utilizes the integration of the co-evolution mechanism and the knowledge distillation algorithm to achieve a more accurate model compression effect, thereby optimizing the response delay of resource scheduling.

[0097] This embodiment conducts experiments in actual mission scenarios and tests them under different scales of drone groups and mission numbers. The comparison algorithms in this paper adopt RLKD, ATKD and CNKD algorithms.

[0098] Table 1 is a comparison table of the results under the same number of evaluations of the algorithms. It can be seen that the effect of the algorithm under the same number of evaluations is better than other algorithms. Figure 4 For the comparison of different training methods.

[0099] Figure 5 shows the training results of the network under different parameter conditions. Under result-oriented training, the teacher network with 100m, 200m, and 500m area settings all converged. Figure 6 shows the running time of MQCGA, the running time of the scheduling solution obtained by the student network, and the running time of the solution obtained by the teacher network. In a smaller range, the time increase after distillation is smaller. Figure 7 For the overall time comparison, the overall time is the sum of the scheduling time and the algorithm response time. It can be seen that when the area increases, the algorithm running time increases exponentially. The scheduling solution after distillation can be improved by more than 90%, and the improvement rate will increase as the area increases. Therefore, our algorithm performs better in large areas.

[0100] Table 1 Comparison of algorithm results in different ranges

[0101]

[0102]

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A model compression method for drone-assisted mobile edge computing, It is characterized in that The steps include: S1. Establish a UAV-assisted mobile edge computing model for emergency communication situations; S2. Build a neural network and convert the drone-assisted mobile edge computing model into a compressible model through the neural network. The evolutionary knowledge distillation algorithm includes a teacher network and a student network. The evolutionary knowledge distillation algorithm is used to compress the compressible model and compress the teacher network to the student network.

2. The model compression method for drone-assisted mobile edge computing according to claim 1, It is characterized in that S1 The drone-assisted mobile edge computing model includes: UAV model, used for UAV dispatch; Network models for setting up neural networks on drones and edge servers; Task model, used to calculate task completion delay.

3. The model compression method for drone-assisted mobile edge computing according to claim 2, It is characterized in that The constraints of the drone model are as follows: Dronex i ,y i With user x k ,y k All within the limited coordinate range d x ,d y Inside: x i <d x ,y i <d y ;x l <d x ,y k <d y The distance between drones is greater than the safety distance d safe : When the communication distance d between the drone and the user is satisfied commucation Otherwise, the task is offloaded to other drones to meet the following requirements:

4. The model compression method for drone-assisted mobile edge computing according to claim 2, It is characterized in that The constraints of the network model are as follows: Computational energy consumption of the student network E student The constraint E of the edge server needs to be met server ; Computing resources of student network C student The constraint C of the edge server needs to be met server .

5. The model compression method for drone-assisted mobile edge computing according to claim 2, It is characterized in that The constraints of the task model are as follows: For Task U il , C il For the task U il Calculate the CPU cycles required, f i,CPU The CPU calculation frequency of the user terminal; the device that calculates locally in the strategy calculates on the corresponding user's terminal, and the calculation time t local for: C i,off represents the CPU computing cycle required for selecting the offloaded part in a computing task, f is the CPU computing frequency of the drone, where C i,off <C il ; Calculation time t of the corresponding unloaded data volume terminal for:

6. The model compression method for drone-assisted mobile edge computing according to claim 1, It is characterized in that The steps of the evolutionary knowledge distillation algorithm described in S2 are as follows: S21. Use the intelligent combination algorithm from previous work to collect data sets for current work; S22, process the data set and complete the neural network construction; S23. Complete the multi-network collaborative training of the neural network, and add a collaborative evolution mechanism to the knowledge distillation part of the neural network to finally obtain a compressed neural network.

7. The model compression method for drone-assisted mobile edge computing according to claim 6, It is characterized in that S21 includes the following steps: S211, using the MQCGA algorithm to provide data for each case as a training set for neural network training, and running it several times as a test set; S212. Data preprocessing: Divide the data set into three parts: training set, validation set and test set.

8. The model compression method for drone-assisted mobile edge computing according to claim 6, It is characterized in that S22 includes the following steps: S221, the input data in the data set are the coordinates of the drone and the user. For one item of data, the coordinates are processed into a vector of 1×(uav×2+user×2); the output data is the offloading plan of each task of the user, and the offloading plan is processed into a vector of task dimension; S222, adding a multi-label classification result to each dimension of the vector, and encoding the digitized task allocation with real numbers; S223. The architecture of the neural network consists of an input layer, two fully connected hidden layers with 64 neurons, and an output layer. The activation function uses the ReLu function and the SoftMax function. The output layer is the Q value corresponding to each unloading scheme. The compression degree of the model is set to 20% and 50% according to the constraints.

9. The model compression method for drone-assisted mobile edge computing according to claim 6, It is characterized in that S23 includes the following steps: S231, the neural network uses soft and hard loss functions and an adaptive learning rate mechanism. The trained network is directly added to the pre-prepared teacher list for the co-evolution mechanism; S232, the data interaction between the student network and the teacher network is reflected in the training of the data set, and the training set input and output labels, the test set input and output labels, and the number of trainings at one time are input into the training function; S233, the cooperation and competition mechanism of node evolution distillation lies in the interactive iteration of nodes; network evolution is based on information exchange between different population networks, and each sub-network evolves independently; when evaluating the fitness of individuals in a sub-network, other sub-networks will also be considered for evaluation, and some excellent network individuals will be retained; competition and cooperation will be carried out between different sub-networks. If the result becomes better after evolution, the network nodes and the optimal network will be updated, and the student network will be updated at the same time; The current global optimal network is compared with the previous global optimal. If the result becomes better, the sub-network model will be retained and the basic network will be updated to the global optimal network; otherwise, the sub-network model is updated and the basic network is not updated; S234. In order to stabilize the neural network training capability, other optimization items are added to make the algorithm more stable, converge faster, and achieve better model compression.

10. The model compression method for drone-assisted mobile edge computing according to claim 9, It is characterized in that S234 includes the following steps: S2341, learning rate setting; the ReduceLROnPlateau method is called in torch to set the upper limit of the number of consecutive loss constants. After reaching the upper limit, the learning rate will change accordingly to optimize the training effect; S2342, setting the number of training times; adding a stop condition judgment part to determine whether to exit the training by judging the change in accuracy to prevent the occurrence of over-fitting; S2343, regularization term setting; a regularization term L is added to the loss function, L is added to the loss function in a cumulative form, and a penalty term is also added; in the process of the loss function constantly changing, the addition of the regularization term will make it consider the network's own weight. When the weight is too large or too small, the loss function can be corrected in time, thereby further preventing the neural network from overfitting.

Citation Information

Cited By

  • Multi-task domain adaptive method for calculation unloading

    CN119938171A

  • Multi-task domain adaptation method for computation offloading

    CN119938171B