Target recognition unit training method based on knowledge sharing

By downloading and compressing the deep neural network model from the knowledge sharing library in the target recognition unit, and training it jointly with local sensing data, the problem of recognition accuracy and training speed in complex environments is solved, without sacrificing model performance. It speeds up model convergence and is suitable for fields such as autonomous driving.

CN118657923APending Publication Date: 2024-09-17XIDIAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410687749.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing target recognition technology has insufficient recognition accuracy in complex environments, slow training speed and limited model performance. Especially in fields such as autonomous driving, there are high requirements for fast and accurate recognition, and low-precision data and lightweight networks speed up training. But model performance is sacrificed.

Method used

The target recognition unit training method based on knowledge sharing is adopted, by downloading and compressing the deep neural network model from the knowledge sharing library, jointly training it locally and with local sensing data, and requesting the server to assist in training, and using the evaluation network-behavior network model to determine the model parameters. Update and merge, optimize communication and computing resources, reduce packet loss and retransmission, and improve training efficiency.

Benefits of technology

It effectively shortens the iteration cycle of the target recognition unit, reduces the model training delay, improves the model performance, reduces the loss of information, and is suitable for collaborative operation scenarios of multiple target recognition units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657923A
    Figure CN118657923A
Patent Text Reader

Abstract

The invention discloses a target recognition unit training method based on knowledge sharing, relates to the field of target recognition, and is used for considering the training efficiency and performance of a deep neural network model. In an initial stage, a target identification unit downloads a deep neural network model from a shared knowledge base and compresses the deep neural network model; in the iteration stage, the target identification unit learns the partially sunk sensor network associated data and requests the server to learn the remaining data; and in the ending stage, the server combines the models trained by the two target recognition units, and uploads the combined models to a shared knowledge base for other target recognition units to download and use. The method is suitable for model training in a scene requiring collaborative operation of a plurality of target recognition units, and the target recognition units share the existing model, so that the iteration period of a single target recognition unit is effectively shortened, the model training time delay is reduced, meanwhile, the effective information loss is reduced, and the model performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of target recognition, in particular to a target recognition unit training method based on knowledge sharing. Background Art

[0002] Target recognition technology is the core of computer vision. By analyzing the features in images or videos, it can automatically detect, identify and track targets. It not only has important applications in security and autonomous driving, but also plays a key role in medical imaging, industrial inspection and other fields, promoting the development of intelligent technology.

[0003] Target recognition technology uses computer vision and machine learning algorithms to detect, track, and classify certain targets in images or videos. The core of this technology is to enable computers to automatically identify specific targets in images and correctly interpret and process their attributes. The application of deep learning, especially convolutional neural networks (CNN), has greatly promoted the development of target recognition technology, making its recognition accuracy and speed have achieved a qualitative leap.

[0004] However, the development of target recognition technology also faces huge challenges. For example, when dealing with target recognition problems in complex environments, such as changing lighting, occlusion, and background interference, the accuracy of recognition may be affected. In addition, the demand for large-scale real-time data processing also places higher demands on existing technologies. For example, in the field of autonomous driving, rapid and accurate recognition of the surrounding environment is the key to ensuring driving safety. These challenges have put forward higher requirements on the training quality of the model: both shorter training time and better model performance are required.

[0005] In order to solve the above technical challenges, existing research work mainly uses lower-precision data such as 16-bit floating-point numbers, and uses lighter networks such as MobileNet and ShuffleNet to reduce the number of parameters during training, thereby accelerating the model training process.

[0006] Although the above methods provide solutions for improving the training efficiency of target recognition algorithms, there are still some key issues to be solved:

[0007] 1. None of the above methods can solve the problem of slow training convergence or even failure to converge caused by improper selection of initial values.

[0008] 2. Although the use of low-precision data and lightweight networks reduces the parameter burden of training, it also sacrifices model performance to a certain extent, resulting in insufficient model expressiveness. Summary of the invention

[0009] The object of the present invention is to provide a target recognition unit training method based on knowledge sharing to accelerate the model convergence speed without sacrificing model performance, in order to solve all or part of the above-mentioned problems.

[0010] The technical solution adopted by the present invention is as follows:

[0011] A method for training a target recognition unit based on knowledge sharing, comprising:

[0012] Initial stage: The target recognition unit downloads the target deep neural network model from the knowledge sharing library and compresses the downloaded deep neural network model;

[0013] Iteration stage: the target recognition unit trains the compressed deep neural network model locally based on the local sensing data and the sensor network associated data sent down by the server; or, the target recognition unit trains the compressed deep neural network model locally based on the local sensing data and part of the sensor network associated data sent down by the server, and requests the server to train the compressed deep neural network model based on the remaining sensor network associated data;

[0014] Ending stage: the target recognition unit uses the locally trained deep neural network model to perform target recognition perception, and uploads the locally trained deep neural network model from the server to the knowledge sharing library; or, the target recognition unit uploads the locally trained deep neural network model to the server to merge it with the deep neural network model trained by the server, the server uses the merged deep neural network model to perform target recognition perception, and uploads the merged deep neural network model to the knowledge sharing library.

[0015] Furthermore, the deep neural network model is an "evaluation network-behavior network" model, in which the evaluation network includes a main evaluation network and target evaluation network s u (t) and a u (t) is input, and the evaluation Q value is output; the behavior network includes the main behavior network and target behavior network s u (t) is the input, a u (t) is the output; where t represents the time step, s u (t) represents local sensing data or sensor network related data, a u (t) represents the target recognition unit based on s u (t) Generated decision behavior, ν u and ν′ u Respectively represent the model parameters of the main evaluation network and the target evaluation network, ηu and η′ u Represent the model parameters of the main behavior network and the target behavior network respectively.

[0016] Furthermore, the target recognition unit downloads the target deep neural network model from the knowledge sharing library, including:

[0017] The target recognition unit submits a knowledge sharing request to the server;

[0018] The server schedules, according to the knowledge sharing request, a deep neural network model associated with the task objective carried in the knowledge sharing request for download;

[0019] Optimize communication resources;

[0020] The target recognition unit downloads the deep neural network model according to the optimized communication resources;

[0021] If packet loss occurs during the download of the deep neural network model, the above process is repeated after waiting for the retransmission delay until the download is completed;

[0022] The target recognition unit decodes the downloaded data to obtain the target deep neural network model.

[0023] Furthermore, the step of compressing the downloaded deep neural network model includes:

[0024] Prune the downloaded deep neural network model;

[0025] Partition and cluster the weight parameters of the pruned deep neural network model.

[0026] Furthermore, the initial stage also includes: evaluating the overall delay of the initial stage and the amount of effective information obtained by the target recognition unit, and optimizing the initial stage with the goal of minimizing the overall delay of the initial stage and maximizing the amount of effective information obtained by the target recognition unit in the initial stage.

[0027] Further, the target recognition unit locally trains the compressed deep neural network model based on the local sensing data and part of the sensor network associated data sent down by the server, and requests the server to train the compressed deep neural network model based on the remaining sensor network associated data, including:

[0028] At each time step:

[0029] The target recognition unit submits a request for sinking sensor network associated data and a request for server-assisted training to the server;

[0030] The server schedules a corresponding portion of the sensor network associated data to prepare for sinking according to the sensor network associated data sinking request;

[0031] Optimize communication resources and computing resources;

[0032] The target recognition unit sinks the portion of the sensor network associated data according to the optimized communication resources; at the same time, the server responds to the server assistance training request and trains the compressed deep neural network model based on the remaining sensor network associated data according to the optimized computing resources;

[0033] If packet loss occurs during the sinking process of the sensor network associated data, the target identification unit submits the sensor network associated data sinking request to the target identification unit to perform the sinking of part of the sensor network associated data, and repeats the process after waiting for the retransmission delay until the sinking is completed;

[0034] The target recognition unit decodes the sinking data to obtain partial sensor network associated data, and trains the compressed deep neural network model based on the partial sensor network associated data.

[0035] Furthermore, the iteration stage also includes: evaluating the overall delay of the iteration stage and the amount of effective information obtained by the target recognition unit, and optimizing the iteration stage with the goal of minimizing the overall delay of the iteration stage and maximizing the amount of effective information obtained by the target recognition unit in the iteration stage.

[0036] Furthermore, in the iteration phase, the method for updating the model parameters of the compressed deep neural network model is:

[0037]

[0038] η′ u ←rη u +(1-r)η′ u ;

[0039] v′ u ←rv u +(1-r)v′ u ;

[0040] Among them, r is the learning rate, m t is the normalized weight, TD t represents the timing difference error of the sampled transfer tuple, M represents the number of transfer tuples, Indicates ν u The amount of change, Indicates a u The change in (t).

[0041] Furthermore, the target recognition unit uploads the locally trained deep neural network model to the server and merges it with the deep neural network model trained by the server, including:

[0042] The target recognition unit submits a model merging request to the server;

[0043] Optimize communication resources;

[0044] The target recognition unit uploads the locally trained deep neural network model to the server based on the optimized communication resources;

[0045] If packet loss occurs when uploading the deep neural network model, the above process is repeated after waiting for the retransmission delay until the upload is completed;

[0046] The server decodes the uploaded data and obtains the deep neural network model trained by the target recognition unit;

[0047] The server merges its trained deep neural network model with the received deep neural network model.

[0048] Furthermore, the ending stage also includes: evaluating the overall delay of the ending stage and the amount of effective information obtained by the server, and optimizing the ending stage with the goal of minimizing the overall delay of the ending stage and maximizing the amount of effective information obtained by the server in the ending stage.

[0049] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0050] The target recognition unit training method based on knowledge sharing designed in the present invention is suitable for model training in scenarios that require multiple target recognition units to work together. The designed method can shorten the number of iterations by sharing existing training knowledge between target recognition units, thereby effectively shortening the iteration cycle of a single target recognition unit, reducing model training delay, and at the same time reducing the loss of effective information, thereby improving model performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The present invention will now be described by way of example with reference to the accompanying drawings, in which:

[0052] Figure 1 is a flow chart executed by the target recognition unit;

[0053] Figure 2 It is a hybrid service delay structure diagram of the target recognition unit;

[0054] Figure 3 It is a graph of the performance gain of knowledge sharing on the model training cycle. DETAILED DESCRIPTION

[0055] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.

[0056] Any feature disclosed in this specification (including any additional claims and abstract), unless otherwise stated, may be replaced by other equivalent or alternative features having similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

[0057] This embodiment introduces a method for training a target recognition unit based on knowledge sharing. Figure 1 As shown, the method includes:

[0058] Initial stage: The target recognition unit downloads the target deep neural network model from the knowledge sharing library and compresses the downloaded deep neural network model.

[0059] The target deep neural network model downloaded by the target recognition unit from the knowledge sharing library is a trained deep neural network model that is most similar to its task goal or decision-making behavior. That is, the target recognition units share the model of existing training knowledge through the knowledge sharing library, thereby shortening the number of training iterations, shortening the number of iteration cycles of training for a single target recognition unit, and reducing the model training delay.

[0060] See attached Figure 2 ,The process of the target recognition unit downloading the target deep neural network model in the initial stage includes:

[0061] (1) The target recognition unit submits a knowledge sharing request to the server. The request delay of this stage is denoted as D Req1 .

[0062] (2) Based on the knowledge sharing request, the server schedules the deep neural network model associated with the task objective carried in the knowledge sharing request for download. The scheduling delay of this stage is denoted as D Sched1 .

[0063] In some embodiments, the scheduled and downloaded deep neural network model is an "evaluation network-behavior network" model, where the evaluation network includes a main evaluation network and target evaluation network s u (t) and a u (t) is input, and the evaluation Q value is output; the behavior network includes the main behavior network and target behavior network s u (t) is the input, a u (t) is the output; where t represents the time step, s u (t) represents local sensing data or sensor network related data, a u (t) represents the target recognition unit based on s u (t) Generated decision behavior, ν uand ν′ u Respectively represent the model parameters of the main evaluation network and the target evaluation network, η u and η′ u Represent the model parameters of the main behavior network and the target behavior network respectively.

[0064] (3) Optimize communication resources. Optimize communication resources to determine the downlink channel resources for resource download. The optimization delay of this stage is denoted as D Opt1 .

[0065] (4) The target recognition unit downloads the deep neural network model. The communication delay of this stage is denoted as D TX1 , the download packet loss rate is ∈1.

[0066] (5) If packet loss occurs during the download of the deep neural network model, the waiting time for retransmission is D Wait1 Then repeat the above process (i.e. (1)-(4)) until the download of the deep neural network model is completed. Let v represent the number of downloads.

[0067] (6) The target recognition unit decodes the downloaded data to obtain the target deep neural network model. The model downloaded from the server is encoded and compressed, so the target recognition unit needs to perform channel estimation and signal decoding on the downloaded data to obtain the target deep neural network model. The signal processing delay of this decoding is denoted as D SigProc1 .

[0068] The model compression of the downloaded deep neural network model, in some embodiments, includes the process of:

[0069] (7) Prune the downloaded deep neural network model.

[0070] As mentioned above, the deep neural network model "evaluation network-behavior network" model. Here, the pruning of the deep neural network model, in some embodiments, includes subtracting the weight value between the main evaluation network and the main behavior network [c - ,c + ] within the range of branches.

[0071] (8) Partition and cluster the weight parameters of the pruned deep neural network model.

[0072] For the pruned deep neural network model, assuming that the target recognition unit expects to store each weight value in b bits, the weight of each layer can be divided into 2 b -1 interval, and the weight in each interval is quantified using the K-means clustering method, that is:

[0073]

[0074] The subscript l is used to indicate the number of layers in the deep neural network model, η' and v' are the weight values ​​of the layer after clustering, and the subscript k represents the kth cluster center. If the total number of weights of the deep neural network model before and after compression is m and m' respectively, the compression rate of the deep neural network model is:

[0075]

[0076] The model compression (i.e. pruning and quantization) delay at this stage is recorded as D Compr , then in, Indicates the amount of data to be calculated in the local server, Indicates the local calculation rate.

[0077] For the initial stage, the above steps (1)-(8) need to be evaluated and optimized. The evaluation objects are the overall delay of the initial stage and the effective information amount obtained by the target recognition unit. The optimization goal is to minimize the overall delay of the initial stage and maximize the effective information amount obtained by the target recognition unit in the initial stage.

[0078] The initial stage also includes:

[0079] (9) Assuming that the maximum number of retransmissions of the target recognition unit during the shared knowledge download process is V1, the overall delay of the target recognition unit u in the initial stage is:

[0080]

[0081] The amount of effective information that the target recognition unit u can obtain at the end of the initial stage is:

[0082]

[0083] a u,n is the access status of the target identification unit u and the access point n. Its value is 1, indicating that the target identification unit is allowed to access the network when issuing a communication request, and 0, indicating that access is not allowed. represents the time-frequency resource block occupied during the communication between the target identification unit u and the access point n, It represents the transmission spectrum efficiency of access point n to target identification unit u.

[0084] In the initial stage, based on the evaluation of the overall delay and the effective information amount obtained by the target recognition unit, the initial stage is optimized with the goal of minimizing the overall delay and maximizing the effective information amount obtained by the target recognition unit in the initial stage.

[0085] Iteration phase: the target recognition unit locally trains the compressed deep neural network model based on the local perception data and the sensor network associated data sent down by the server; alternatively, the target recognition unit locally trains the compressed deep neural network model based on the local perception data and part of the sensor network associated data sent down by the server, and requests the server to train the compressed deep neural network model based on the remaining sensor network associated data.

[0086] The iteration phase belongs to the model training phase, so multiple iteration cycles will be executed until convergence. T represents the number of iteration cycles, and t represents the tth time step of the iteration, which is used to refer to the current time step. At each time step, the target recognition unit locally learns the local perception data and the sensor network associated data sent down by the server, and deepens the training of the deep neural network model. Alternatively, when the local training efficiency of the target recognition unit is low (judged by the time of each iteration), the server can also be requested to assist in completing the training. At this time, the server only needs to send part of the sensor network associated data to the target recognition unit for learning, and the server assists in completing the learning of the remaining sensor network associated data.

[0087] Here we focus on situations where the server assists in completing the training, including:

[0088] See attached Figure 2 , at each time step:

[0089] (1) The target recognition unit submits a request for sensor network related data to the server, as well as a request for server-assisted training. The request delay at this stage is denoted as D Req2 .

[0090] (2) The server schedules the corresponding part of the sensor network associated data to prepare for sinking according to the sensor network associated data sinking request. The scheduling delay of this stage is denoted as D Sched2 .

[0091] (3) Optimize communication resources and computing resources. Here, we optimize the data splitting factor, downlink communication resources, and computing resources for model training. The optimized delay of this stage is denoted as D Opt2 .

[0092] (4) The target recognition unit sinks the part of the sensor network associated data according to the optimized communication resources; at the same time, the server responds to the server assistance training request and trains the compressed deep neural network model based on the remaining sensor network associated data according to the optimized computing resources. The communication delay of sinking the sensor network associated data is denoted as D TX2 , the packet loss rate is ∈2; the model training delay of the server is Then there is Among them, du,n Indicates the amount of data to be calculated by the server, h u,n It represents the calculation rate assigned by access point n to target identification unit u.

[0093] (5) If packet loss occurs during the sinking process of sensor network related data, the waiting time D Wait2 Then repeat the above process of the target identification unit submitting the sensor network associated data sinking request to the target identification unit for sinking part of the sensor network associated data until the sinking is completed.

[0094] (6) The target recognition unit decodes the downlinked data to obtain some sensor network related data. The target recognition unit performs channel estimation and signal decoding on the received data to obtain sensor network related data. The signal processing delay of this decoding stage is denoted as D SigProc2 Based on this part of the sensor network associated data, the compressed deep neural network model is trained. The model training delay of the target recognition unit is denoted as have In the formula, C U is the neural network compression rate, h u represents the computation rate of the target recognition unit u, d u Represents the amount of data to be calculated by the target recognition unit u.

[0095] For the training of the deep neural network model, the main evaluation network is updated to minimize the loss function, where the loss function is defined as In the formula, E represents mathematical expectation, TD t Represents the temporal difference error of the sampled transfer tuple at time step t, that is:

[0096]

[0097] Therefore, for M transition tuples, the model parameter ν u The update rules are as follows:

[0098]

[0099] Indicates ν u The amount of change in adjacent time steps; m t To normalize the weights, it is used to reduce the impact of tuple data with high temporal difference errors on the neural network weights.

[0100] Each target recognition unit associates data s in the sensor network u The optimal decision behavior under (t) is:

[0101]

[0102] Based on this, the model parameter η of the main behavior network u It can be updated according to the deterministic policy gradient descent method (DDPG), that is:

[0103]

[0104] Indicates a u (t) The change in adjacent time steps.

[0105] Model compression is introduced in the initial stage, so ν u and η u The gradient expression involved in the update strategy is:

[0106]

[0107] Here, v x,y represents the element in the xth row and yth column of the main evaluation network, η x,y represents the element in the xth row and yth column of the main behavior network, Indicates that when v x,y The kth cluster center belonging to the lth layer The function value is 1 when , otherwise the function value is 0. Indicates that when v x,y The kth cluster center belonging to the lth layer The function value is 1 when , otherwise the function value is 0.

[0108] To avoid overfitting, the model parameters of the target evaluation network and the target behavior network adopt a soft update strategy, namely:

[0109]

[0110] The iteration phase also evaluates and optimizes the above steps (1)-(6). The evaluation objects are the overall delay of the iteration phase and the effective information amount obtained by the target recognition unit. The optimization goal is to minimize the overall delay of the iteration phase and maximize the effective information amount obtained by the target recognition unit in the iteration phase.

[0111] Therefore, the iteration phase also includes:

[0112] (7) Assuming that the maximum number of retransmissions per time step is V2, the overall delay in the iteration phase is:

[0113]

[0114] The effective amount of information obtained by the target recognition unit u at the end of the iteration phase is:

[0115]

[0116] In the iteration phase, optimization is also performed with the goal of minimizing the overall delay and maximizing the amount of effective information obtained by the target recognition unit.

[0117] Ending stage: the target recognition unit uses the locally trained deep neural network model to perform target recognition perception, and uploads the locally trained deep neural network model from the server to the knowledge sharing library; or, the target recognition unit uploads the locally trained deep neural network model to the server, merges it with the deep neural network model trained by the server, and the server uses the merged deep neural network model to perform target recognition perception, and uploads the merged deep neural network model to the knowledge sharing library.

[0118] Similarly, the focus here is on the situation where the server assists in training.

[0119] See attached Figure 2 The process in which the target recognition unit uploads the locally trained deep neural network model to the server and merges it with the deep neural network model trained by the server includes:

[0120] (1) The target recognition unit submits a model merging request to the server. The request delay of this stage is denoted as D Req3 .

[0121] (2) Optimize communication resources. Here, we optimize the uplink communication resources for short packet services, which are used to upload the model. The optimized delay at this stage is denoted as D Opt3 .

[0122] (3) The target recognition unit uploads the locally trained deep neural network model to the server based on the optimized communication resources. The communication delay at this stage is denoted as D TX3 , the packet loss rate is ∈3.

[0123] (4) If packet loss occurs when uploading the deep neural network model, the waiting time for retransmission is D Wait3 Then repeat the above process (1)-(3) until the upload is completed.

[0124] (5) The server decodes the uploaded data and obtains the deep neural network model trained by the target recognition unit. The decoding process also includes channel estimation and signal decoding of the received data. The signal processing delay at this stage is denoted as D SigProc3 .

[0125] (6) The server merges the trained deep neural network model with the received deep neural network model. The model merging delay at this stage is denoted as D Combi .

[0126] The finalization phase also includes uploading and applying the merged model, so the finalization phase also includes:

[0127] (7) The server also uploads the merged deep neural network model to the knowledge sharing library. The upload communication delay at this stage is denoted as D up .

[0128] (8) Use the merged deep neural network model to perform target recognition perception. The decision output and execution delay of this stage are recorded as D out .

[0129] In the ending stage, the above steps (1)-(8) also need to be evaluated and optimized to evaluate the overall delay of the ending stage and the amount of effective information obtained by the server. The optimization goal is to minimize the overall delay of the ending stage and maximize the amount of effective information obtained by the server.

[0130] The end phase also includes:

[0131] (9) Assuming that the maximum number of retransmissions of the target recognition unit during the model upload process is V3, the overall delay of the end phase of the target recognition unit u is:

[0132]

[0133] The amount of effective information obtained by server n at the end stage is:

[0134] U n Represents a collection of target recognition units.

[0135] In the final stage, the overall delay and the amount of effective information obtained by the server are evaluated, and the final stage is optimized with the goal of minimizing the overall delay and maximizing the amount of effective information obtained by the server.

[0136] The above packet loss rate can be calculated based on probability statistics theory by analyzing the probability density function of the signal-to-noise ratio. and get.

[0137] In addition, the embodiment of the present invention also provides the convergence performance of the present invention in a simple industrial scenario, such as Figure 3 As shown. Figure 3 It can be seen that for different learning rates r, the knowledge sharing strategy of the present invention can effectively reduce the number of model iterations of the traditional training scheme and quickly achieve the best system performance in a shorter iteration cycle. This means that knowledge sharing can speed up the response speed of the target recognition unit to generate control decisions while ensuring the quality of the control decision of the target recognition unit, taking into account the two key performance indicators of effective information volume and overall delay.

[0138] The present invention is not limited to the above-mentioned specific embodiments, but extends to any new features or any new combination disclosed in this specification, as well as any new method or process steps or any new combination disclosed.

Claims

1. A method for training a target recognition unit based on knowledge sharing, characterized in that: include: Initial stage: The target recognition unit downloads the target deep neural network model from the knowledge sharing library and compresses the downloaded deep neural network model; Iteration stage: The target recognition unit trains the compressed deep neural network model locally based on the local perception data and the sensor network association data sent down by the server; Alternatively, the target recognition unit locally trains the compressed deep neural network model based on the local sensing data and part of the sensor network associated data sunk by the server, and requests the server to train the compressed deep neural network model based on the remaining sensor network associated data; Ending stage: the target recognition unit uses the locally trained deep neural network model to perform target recognition perception, and uploads the locally trained deep neural network model from the server to the knowledge sharing library; Alternatively, the target recognition unit uploads a locally trained deep neural network model to the server and merges it with a deep neural network model trained by the server. The server uses the merged deep neural network model for target recognition perception and uploads the merged deep neural network model to the knowledge sharing library.

2. The object recognition unit training method based on knowledge sharing as claimed in claim 1, characterized in that: The deep neural network model is an "evaluation network-behavior network" model, in which the evaluation network includes a main evaluation network and target evaluation network s u (t) and a u (t) is input, and the evaluation Q value is output; the behavior network includes the main behavior network and target behavior network s u (t) is the input, a u (t) is the output; where t represents the time step, s u (t) represents local sensing data or sensor network related data, a u (t) represents the target recognition unit based on s u (t) Generated decision behavior, ν u and ν u ′ represents the model parameters of the main evaluation network and the target evaluation network, η u and η u ′ represent the model parameters of the main behavior network and the target behavior network respectively.

3. The object recognition unit training method based on knowledge sharing as claimed in claim 1, characterized in that: The target recognition unit downloads the target deep neural network model from the knowledge sharing library, including: The target recognition unit submits a knowledge sharing request to the server; The server schedules, according to the knowledge sharing request, a deep neural network model associated with the task objective carried in the knowledge sharing request for download; Optimize communication resources; The target recognition unit downloads the deep neural network model according to the optimized communication resources; If packet loss occurs during the download of the deep neural network model, the above process is repeated after waiting for the retransmission delay until the download is completed; The target recognition unit decodes the downloaded data to obtain the target deep neural network model.

4. The object recognition unit training method based on knowledge sharing as claimed in claim 3, characterized in that: The step of compressing the downloaded deep neural network model includes: Prune the downloaded deep neural network model; Partition and cluster the weight parameters of the pruned deep neural network model.

5. The object recognition unit training method based on knowledge sharing as claimed in claim 4, characterized in that: The initial stage also includes: evaluating the overall delay of the initial stage and the amount of effective information obtained by the target recognition unit, and optimizing the initial stage with the goal of minimizing the overall delay of the initial stage and maximizing the amount of effective information obtained by the target recognition unit in the initial stage.

6. The object recognition unit training method based on knowledge sharing as claimed in claim 1, characterized in that: The target recognition unit locally trains the compressed deep neural network model based on the local perception data and part of the sensor network associated data sent down by the server, and requests the server to train the compressed deep neural network model based on the remaining sensor network associated data, including: At each time step: The target recognition unit submits a request for sinking sensor network associated data and a request for server-assisted training to the server; The server schedules a corresponding portion of the sensor network associated data to prepare for sinking according to the sensor network associated data sinking request; Optimize communication resources and computing resources; The target recognition unit sinks the portion of the sensor network associated data according to the optimized communication resources; at the same time, the server responds to the server assistance training request and trains the compressed deep neural network model based on the remaining sensor network associated data according to the optimized computing resources; If packet loss occurs during the sinking process of the sensor network associated data, the target identification unit submits the sensor network associated data sinking request to the target identification unit to perform the sinking of part of the sensor network associated data, and repeats the process after waiting for the retransmission delay until the sinking is completed; The target recognition unit decodes the sinking data to obtain partial sensor network associated data, and trains the compressed deep neural network model based on the partial sensor network associated data.

7. The object recognition unit training method based on knowledge sharing as claimed in claim 6, characterized in that: The iteration phase also includes: evaluating the overall delay of the iteration phase and the amount of effective information obtained by the target recognition unit, and optimizing the iteration phase with the goal of minimizing the overall delay of the iteration phase and maximizing the amount of effective information obtained by the target recognition unit in the iteration phase.

8. The object recognition unit training method based on knowledge sharing as claimed in claim 2, characterized in that: In the iteration phase, the method for updating the model parameters of the compressed deep neural network model is: or' u ←rη u +(1-r)η′ u ; v′ u ←rv u +(1-r)v′ u ; Among them, r is the learning rate, m t is the normalized weight, TD t represents the timing difference error of the sampled transfer tuple, M represents the number of transfer tuples, Indicates ν u The amount of change, Indicates a u The change in (t).

9. The object recognition unit training method based on knowledge sharing as claimed in claim 1, characterized in that: The target recognition unit uploads the locally trained deep neural network model to the server and merges it with the deep neural network model trained by the server, including: The target recognition unit submits a model merging request to the server; Optimize communication resources; The target recognition unit uploads the locally trained deep neural network model to the server based on the optimized communication resources; If packet loss occurs when uploading the deep neural network model, the above process is repeated after waiting for the retransmission delay until the upload is completed; The server decodes the uploaded data and obtains the deep neural network model trained by the target recognition unit; The server merges its trained deep neural network model with the received deep neural network model.

10. The object recognition unit training method based on knowledge sharing according to claim 9, characterized in that: The ending stage also includes: evaluating the overall delay of the ending stage and the amount of effective information obtained by the server, and optimizing the ending stage with the goal of minimizing the overall delay of the ending stage and maximizing the amount of effective information obtained by the server in the ending stage.

Citation Information

Patent Citations

  • Distributed edge learning system and method for industrial internet

    CN113923605A

  • Clue language automatic recognition model training method and device, storage medium and equipment

    CN114445909A