Neural network architecture searching method for antenna housing agent model

By calculating the multi-task conflict matrix and the indication matrix generation modulation module, the problems of gradient conflict and task interference in multi-task learning are solved, flexible search and optimization of the model architecture are realized, and the design efficiency and accuracy of the radome agent model are improved.

CN119047332AActive Publication Date: 2024-11-29XIDIAN UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411286402.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-11-29
Estimated Expiration
2044-09-13

Smart Images

  • Figure CN119047332A_ABST
    Figure CN119047332A_ABST
Patent Text Reader

Abstract

The invention discloses a neural network architecture searching method for an antenna housing agent model. Inputting a training set, a verification set, a prediction set and a search space parameter into the neural network model; training a neural network model; calculating a multi-task conflict matrix; calculating an indication matrix according to the multi-task conflict matrix; generating a modulation module according to the calculated indication matrix; judging whether the current neural network model meets the maximum model limit or not; adding the modulation module into the neural network model; training the newly added modulation module by using the training set to complete pre-training; outputting and storing a current neural network model architecture and parameters thereof; inputting a to-be-detected radome sample into the trained neural network model; and generating a prediction value according to the read-in antenna housing sample to be detected, and outputting a prediction result. According to the method, gradient conflicts are effectively relieved, model architecture search is flexibly achieved, and the method can be used for the subsequent detailed optimization process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of radomes, and in particular relates to a neural network architecture search method for a radome proxy model. Background Art

[0002] Radome proxy model technology is a technology used to replace the complex electrical performance analysis of the radome, which is crucial in the design and optimization of the radome. In order to ensure that design decisions can be made quickly according to given requirements within the engineering cycle, multi-task learning (MTL) provides an effective method to solve multiple related tasks simultaneously through knowledge sharing. However, a key problem that hinders its application is the task interference problem, that is, different tasks compete with each other, resulting in gradient conflicts and negative transfer in the optimization process.

[0003] Yu et al. proposed a method to achieve a balance between competing tasks by manipulating gradients / losses in the paper "Gradient surgery for multi-task learning (Advances in Neural Information Processing Systems, 2020)". The gradient operation technique is to adjust the gradient direction, delete part of the gradient vector and rotate the shared features so that the set gradient direction does not conflict with the gradient of any task. However, this ignores the properties of the Pareto stationary point.

[0004] Yue et al. proposed a CoNAL method in the paper "Learning conflict-noticed architecture for multi-tasklearning (2023)" to alleviate gradient conflicts in the architecture learning process. A specific (task-exclusive) module is introduced as a candidate search space. When a gradient conflict is detected during the architecture learning process, CoNAL adaptively switches to the task-exclusive module. However, this also ignores the properties of the Pareto stationary point, so it is not necessarily the optimal solution.

[0005] The defects of existing technologies mainly lie in the problems of gradient conflict and task interference, especially in multi-task learning, where competition between different tasks leads to gradient conflict and negative transfer in the optimization process. Although some methods try to solve these problems, such as gradient operations and task-exclusive modules, they often ignore the properties of Pareto stationary points and may fail to achieve the optimal solution. Summary of the invention

[0006] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a neural network architecture search method for a radome proxy model. The method considers the conflict of the trained model and uses an indicator matrix to generate a corresponding modulation module, thereby effectively alleviating the gradient conflict and flexibly realizing the model architecture search, which can be used for subsequent detailed optimization processes.

[0007] In order to achieve the above object, the technical solution adopted by the present invention is:

[0008] A neural network architecture search method for a radome proxy model comprises the following steps;

[0009] Step (1): input the training set, validation set and prediction set into the neural network model respectively, and search for spatial parameters;

[0010] Step (2): train the neural network model using the training data set;

[0011] Step (3): Calculate the multi-task conflict matrix through the trained neural network model;

[0012] Step (4): calculating an indicator matrix according to the multi-task conflict matrix;

[0013] Step (5): generating a modulation module according to the calculated indicator matrix;

[0014] Step (6): Determine whether the current neural network model meets the maximum model limit; if the number of parameters of the current model is lower than the limit, proceed to the subsequent steps; if the number of parameters of the current model is equal to the limit, terminate the construction process of the current model and go to step (9);

[0015] Step (7): adding the modulation module generated in step (5) to the neural network model;

[0016] Step (8): Use the training data set to train the newly added modulation module. After completing the pre-training, go to step (2);

[0017] Step (9): Output and save the current neural network model architecture and its parameters;

[0018] Step (10): inputting the radome sample to be tested into the trained neural network model;

[0019] Step (11): Generate a prediction value based on the read-in radome sample to be tested and output the prediction result.

[0020] In the step (1), the training data set D is input into the neural network model respectively. train , validation data set D val , prediction data set Dpre The data parameters, the shared layer structure of the neural network f S , modulation module h i,j , maximum model capacity limit, gradient conflict threshold neural network structure parameters, training rounds, learning step size, detection times neural network training parameters; training set, validation set and prediction set are simulation data of S21 transmission coefficient obtained by simulating the unit frequency selective surface of the antenna cover using CST simulation software. The simulation setting parameter variables are substrate thickness and incident angle, with a range of 1-5mm and 0-60 degrees, respectively, and the simulation result is the S21 transmission coefficient. The simulation data with a substrate thickness of 1-2mm is used as the training set, the simulation data with a substrate thickness of 3-4mm is used as the validation set, and the simulation data with a substrate thickness of 5mm is used as the prediction set, and they are successively input into the neural network model. These elements jointly determine the design, training process and final performance of the model.

[0021] In the step (2), the training set and the shared layer network are initialized, the shared layer network is trained using the training set, and an early stopping strategy is used until convergence;

[0022] The training neural network described in step (2) is specifically:

[0023] Using the training set D train The model parameters are trained and the loss is monitored using an early stopping mechanism, where the early stopping mechanism automatically terminates the training if the loss does not improve after 50 training rounds.

[0024] In step (3), the multi-task gradient conflict matrix C is calculated using the validation set for the trained neural network model obtained in step (2), and the validation set D is used to calculate the multi-task gradient conflict matrix C. val Calculate the gradient of back propagation on the model trained in step (2), where the gradient for task i is grad i , the gradient of task j is grad j ;

[0025] The gradient conflict between the calculation task gradients is calculated by the following formula:

[0026] conflict=cos(grad i ,grad j )

[0027] By calculating the gradient conflicts between two tasks, we can get the multi-task gradient conflict matrix C, which is a symmetric matrix.

[0028] The conflict matrix element C ij The calculation formula is as follows:

[0029] C ij =cos(grad i,grad j )

[0030] Among them, cos(grad i ,grad j ) represents the cosine value between gradient vector i and gradient vector j. Its value represents the degree of conflict between task i and task j. The smaller the value, the greater the conflict.

[0031] The step (4) is specifically as follows: according to the multi-task gradient conflict matrix C and the gradient conflict threshold input in step (1), the indicator matrix is ​​calculated. The specific calculation is as follows:

[0032]

[0033] in Represents the conflict threshold. In the experiment, D val Divided into batches, there will be batch-number indicator matrices In multi-batch testing, the full verification set conflict matrix is ​​obtained by summing the indicator matrix, and the calculation formula is as follows:

[0034]

[0035] The final indicator matrix is ​​generated by adopting the average value strategy or the maximum value strategy. The calculation formula of the average value strategy is as follows:

[0036]

[0037] Among them I average Represents the average value of matrix I, and the maximum value strategy calculation formula is as follows:

[0038]

[0039] Among them I top Represents the maximum value of the matrix I. The significance of the average value strategy and the maximum value strategy is whether the number of modulation modules generated after each conflict detection is half of the search space or only one modulation module is generated.

[0040] The step (5) specifically comprises: generating a modulation module for the corresponding layer according to the indicator matrix provided in the step (4) for modulating the gradient conflict;

[0041] When there is a conflict between two tasks, the conflict between task i and task j is mitigated by the modulation module. The modulation module uses neurons with higher granularity or modules with lower granularity. In form, when task i and task j conflict at the lth layer of the network, cos(g i,l ,g j,l)<0, gi,l and gj,l represent the gradients of task i and task j on layer l respectively;

[0042] According to the cosine definition between two gradient vectors:

[0043]

[0044] Two of these vectors conflict, meaning that <g i,l ,g j,l ><0, now assume that tasks i and j share Q parameters on layer l, and make <g i,l ,g j,l >=-c, where c is a positive number. The adjustment module consists of P parameters. The gradient g after adding the adjustment module i,l , g j,l It is divided into two parts: and and The inner product of two gradient vectors is expressed as:

[0045]

[0046] Based on the previous assumption, a gradient conflict occurs, and <g i,l ,g j,l >=-c, the two gradients of the two two-dimensional vectors are folded by dimension increase so that they have a common descent direction, alleviating gradient conflicts, so that all tasks have a common descent gradient.

[0047] The step (6) is specifically as follows:

[0048] According to the maximum model parameter limit in step (1), the maximum allowed parameter amount is determined, and the total parameter amount of the current model is compared with the set maximum model parameter amount limit.

[0049] The relevant calculation formula for adding the modulation module to the neural network in step (7) is as follows:

[0050] The input and output calculation formula for the fully shared layer is as follows:

[0051]

[0052] in represents the input of layer l, represents the output of layer l, f S (·) represents the l+1th shared layer;

[0053] The input and output calculation formula for the modulation module between task i and task j is as follows:

[0054]

[0055] in represents the input of the modulation module at layer l, Represents the output of the modulation module.

[0056] The specific method of pre-training the modulation module in step (8) is as follows:

[0057] After adding the modulation module, freeze the shared layer and the parameters of the previously added modulation module, use the Xavier initialization strategy to initialize the newly added module, and use the training set D train Pre-train it, also using the early stopping mechanism described in step (2).

[0058] Beneficial effects of the present invention:

[0059] This method first inputs the training set, validation set, test set, conflict matrix threshold, indicator matrix threshold and corresponding search space parameters; secondly, trains the shared skeleton in the initial neural network and applies the early stopping strategy; then uses the validation set to calculate the conflict matrix for the trained neural network; then calculates the corresponding indicator matrix by using the conflict threshold, and generates the corresponding modulation module through the indicator matrix; finally, determines whether the maximum limit on the number of model parameters and the maximum number of iterations are met. If so, outputs the corresponding model architecture and model parameters; if not, adds the corresponding modulation module and trains until convergence.

[0060] When establishing a neural network-based proxy model for the radome, the present invention introduces an indicator matrix and generates corresponding modulation modules by considering the conflict of the trained model, thereby alleviating the conflict of gradients. Different numbers of modulation modules can be generated at different stages through different indicator matrix generation methods, thus flexibly realizing model architecture search.

[0061] Traditional evolutionary algorithms or gradient algorithms (DARTs) are trained while searching. This will result in the current performance weight not being able to represent the final performance, resulting in the gradient algorithm-based neural network architecture search method tending to be simple models, while the evolutionary algorithm-based neural network architecture search method is usually slow and requires many iterations. The gradient conflict-based neural network architecture search method provided by this method has a low search cost and does not use the performance of the model in training as a search condition. It can adapt to any neural network model. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 The present invention is a training flow chart of the method.

[0063] Figure 2 Schematic diagram of the model search space provided by the present invention.

[0064] Figure 3 Schematic diagram of gradient processing provided by the present invention.

[0065] Figure 4 It is a comparison diagram of the simulation curve and the predicted curve of the transmission coefficient of the present invention. DETAILED DESCRIPTION

[0066] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0067] See also Figure 1 , a neural network architecture search method for a radome proxy model, comprising the following steps:

[0068] (1) Input the training set, validation set, and prediction set into the neural network model respectively to search for spatial parameters;

[0069] Input the training data set D into the neural network model one by one train , validation data set D val , prediction data set D pre The data parameters, the shared layer structure of the neural network f S , modulation module h i,j , maximum model capacity limit, gradient conflict threshold neural network structure parameters, training rounds, learning step size, detection times neural network training parameters. The training set, validation set, and prediction set are simulation data of the S21 transmission coefficient obtained by simulating the unit frequency selective surface of the antenna cover using CST simulation software. The simulation setting parameter variables are substrate thickness and incident angle, with a range of 1-5mm and 0-60 degrees, respectively, and the simulation result is the S21 transmission coefficient. The simulation data with a substrate thickness of 1-2mm is used as the training set, the simulation data with a substrate thickness of 3-4mm is used as the validation set, and the simulation data with a substrate thickness of 5mm is used as the prediction set, and they are input into the neural network model one after another. These elements jointly determine the design, training process, and final performance of the model.

[0070] (2) Train the neural network model using the training data set;

[0071] Initialize the training set and shared layer network, use the training set to train the shared layer network and use the early stopping strategy until convergence.

[0072] (3) Calculate the multi-task conflict matrix;

[0073] This step is to calculate the multi-task conflict matrix, in preparation for the subsequent step (4) of calculating the indicator matrix and generating the modulation unit. The calculation of the indicator matrix in step (4) requires the multi-task conflict matrix to participate in the calculation.

[0074] The multi-task gradient conflict matrix C is calculated using the validation set for the trained model obtained in step (2), where the conflict matrix element Cij The calculation formula is as follows:

[0075] C ij =cos(grad i ,grad j )

[0076] Among them, cos(grad i ,grad j ) represents the cosine value between gradient vector i and gradient vector j. Its value represents the degree of conflict between task i and task j. The smaller the value, the greater the conflict.

[0077] (4) Calculate the indicator matrix;

[0078] This step is to calculate the multi-task conflict matrix and prepare for the subsequent generation of the modulation unit.

[0079] The indicator matrix is ​​calculated based on the multi-task gradient conflict matrix and the conflict threshold. The specific calculation is as follows:

[0080]

[0081] in Represents the conflict threshold.

[0082] (5) Generate a modulation module. According to the indication matrix provided in step (4), generate a modulation module for the corresponding layer to modulate the gradient conflict.

[0083] The principle of the modulation module is Figure 3 The gradient adjustment process shown in FIG. 1 is described as the inner product formula of two gradient vectors through the following step (11). Figure 2 It is represented by h, Figure 2 (b) is a schematic diagram of the adaptive fusion module composed of many modulation modules.

[0084] The function of the modulation module is to fold the two gradients of the vectors of the two two-dimensional planes by increasing the dimension so that they have a common descent direction to alleviate the gradient conflict, so that all tasks have the effect of common descent gradients.

[0085] (6) Determine whether the current model meets the maximum model constraints;

[0086] According to the maximum model parameter limit in step (1), the maximum allowed parameter amount is determined. The total parameter amount of the current model is compared with the set maximum model parameter amount limit. If the parameter amount of the current model is lower than the limit, then proceed to the subsequent steps; if the parameter amount of the current model is equal to the limit, then it is necessary to terminate the construction process of the current model and go to step (9).

[0087] (7) Add the modulation module generated in step (5) to the neural network.

[0088] (8) Use the training set to train the newly added modulation module. After completing the pre-training, go to step (2).

[0089] (9) Output the current neural network model, output and save the current neural network model architecture and its parameters.

[0090] (10) Input the radome sample to be tested. The radome sample is the data obtained after the CST is used to simulate the frequency selective surface of the radome unit. The radome sample to be tested is input into the trained neural network model.

[0091] (11) Output the prediction result and generate the prediction value according to the read-in radome sample to be tested.

[0092] See also Figure 2 ,in Figure 2 (a) is a schematic diagram of the overall architecture of the neural network. Figure 2 (b) Schematic diagram of the adaptive fusion module for the mth task. Figure 2 The following is a schematic diagram of the overall architecture of the neural network. The following formula is the formula of the internal principle of the neural network. After the overall architecture of the neural network is completed, the radome sample to be tested is input, combined with the neural network, and then the predicted value is generated. The radome sample is the data obtained through simulation.

[0093] For m learning tasks, the overall architecture of the neural network includes:

[0094] 1) A fully shared encoder network Where L is the number of layers in the network;

[0095] 2) m×m×L task-specific encoder networks Implement the gradient adjustment module;

[0096] 3) m×m adaptive task-specific fusion parameters

[0097] 4) m task-specific decoder networks {g i} i∈[m] , used for the corresponding task header.

[0098] Input represents input. represents the shared module at layer l, represents the adjustment module for tasks i and j at layer l, β represents the final layer fusion weight, gi represents the decoder of the ith task, Represents the prediction of the i-th task. Adaptive fusion module for tasks: Taking the m-th task as an example, only the m-th row and m-th column of the architecture can be fused.

[0099] For all shared networks The output calculation formula for each layer is:

[0100]

[0101] For implementing task-specific encoder networks The output of each layer is

[0102]

[0103] The input of the fusion module consists of shared knowledge and the task-specific gradient information of the previous layer The core of architecture search is to determine indicates that the gradient conflict between the task (i, j) detected at layer r and the corresponding modulation module is activated if and only if it is 1.

[0104] Adaptive task-specific fusion layer connecting encoder and decoder networks It adaptively fuses shared knowledge and task-specific information.

[0105] by Figure 2 Taking the mth task shown in (b) as an example, the output calculation formula of the mth task head is:

[0106]

[0107] The fusion matrix {β i,i There are no diagonal elements of} because the tasks themselves do not conflict.

[0108] See also Figure 3 , the step (5) is specifically as follows:

[0109] When there is a conflict between two tasks, the conflict between task i and task j is mitigated by the modulation module. The modulation module uses neurons with higher granularity or modules with lower granularity. In form, when task i and task j conflict at the lth layer of the network, cos(g i,l ,g j,l )<0, gi,l and gj,l represent the gradients of task i and task j on layer l respectively;

[0110] According to the cosine definition between two gradient vectors:

[0111]

[0112] Two of these vectors conflict, meaning that <g i,l ,g j,l ><0, now assume that tasks i and j share Q parameters on layer l, and make <g i,l ,g j,l >=-c, where c is a positive number. The adjustment module consists of P parameters. Now we will add the gradient g after the adjustment module i,l , g j,l It is divided into two parts: and and So the inner product of two gradient vectors can be expressed as:

[0113]

[0114] Based on the previous assumption, a gradient conflict occurs, and <g i,l ,g j,l >=-c, by folding the two gradients of the two two-dimensional vectors through dimensionality increase so that they have a common descent direction, the gradient conflict can be alleviated, so that all tasks have a common descent gradient.

[0115] This paper proposes a new multi-task architecture learning method from the perspective of multi-objective optimization (MAMO). It achieves the goal by finding a Pareto optimal solution to balance competing tasks and generating mediation unit modules to alleviate gradient conflicts. Based on the gradient mediation unit, MAMO can adaptively fuse shared knowledge and dynamically learn to switch to specific task modules, and can also be integrated into other SOTA methods to improve their performance.

[0116] The advantages of the present invention can be further illustrated by the following simulation experiments:

[0117] Test data set simulation conditions:

[0118] CST is used to simulate the unit frequency selective surface of the radome. The unit module consists of a substrate and a ring. The specific simulation setting parameters are shown in Table 1. The S21 transmission coefficient obtained by simulation is imported into the proxy model for training to obtain the predicted values ​​of the transmission coefficient at each angle.

[0119] Table 1 Simulation setting parameters

[0120]

[0121]

[0122] Simulation results:

[0123] The neural network architecture search method for the radome proxy model of the present invention is adopted. Figure 4 , Figure 4The comparison of the S21 simulation curve and the predicted curve at 15GHz with the substrate thickness h of 1mm, 3mm, and 5mm, and the polarization angle Phi of 0 degree and 90 degree respectively. Figure 4 It can be seen that although there is a certain error between the simulation curve and the prediction curve of the proxy model, the proxy model of the present invention can achieve a better prediction effect under a certain error. The maximum absolute error between the simulation value and the predicted value of S21 is shown in Table 2 and Table 3, where Table 2 is the maximum absolute error of the real part of the transmission coefficient, and Table 3 is the maximum absolute error of the imaginary part of the transmission coefficient. It can be seen from the table that the absolute error is small and meets the error accuracy range. Therefore, while allowing a certain error, by training the proxy model and then using the proxy model input parameters to directly obtain the output value of S21, the development efficiency of the antenna cover can be effectively improved and simulation time can be saved.

[0124] Table 2 Maximum absolute error of the real part of the transmission coefficient (Re)

[0125]

[0126] Table 3 Maximum absolute error of the imaginary part of the transmission coefficient (Im)

[0127]

[0128] The parts not described in detail in this embodiment belong to the commonly used means known in the industry and are not described here one by one. The above examples are only for illustration of the present invention and do not constitute a limitation on the protection scope of the present invention.

[0129] Or similar designs all belong to the protection scope of the present invention.

Claims

1. A neural network architecture search method for radome proxy models, It is characterized in that The steps include: Step (1): input the training set, validation set and prediction set into the neural network model respectively, and search for spatial parameters; Step (2): train the neural network model using the training data set; Step (3): Calculate the multi-task conflict matrix through the trained neural network model; Step (4): calculating an indicator matrix according to the multi-task conflict matrix; Step (5): generating a modulation module according to the calculated indicator matrix; Step (6): Determine whether the current neural network model meets the maximum model limit; if the number of parameters of the current model is lower than the limit, proceed to the subsequent steps; if the number of parameters of the current model is equal to the limit, terminate the construction process of the current model and go to step (9); Step (7): adding the modulation module generated in step (5) to the neural network model; Step (8): Use the training data set to train the newly added modulation module. After completing the pre-training, go to step (2); Step (9): Output and save the current neural network model architecture and its parameters; Step (10): inputting the radome sample to be tested into the trained neural network model; Step (11): Generate a prediction value based on the read-in radome sample to be tested and output the prediction result.

2. A neural network architecture search method for a radome proxy model according to claim 1, It is characterized in that In the step (1), the training data set D is input into the neural network model respectively. train , validation data set D val , prediction data set D pre The data parameters, the shared layer structure of the neural network f S , modulation module h i,j , neural network structure parameters such as maximum model capacity limit, gradient conflict threshold, and neural network training parameters such as training rounds, learning step size, and number of detections.

3. The neural network architecture search method for the radome proxy model according to claim 2, It is characterized in that In the step (2), the training set and the shared layer network are initialized, the shared layer network is trained using the training set, and an early stopping strategy is used until convergence; The training neural network described in step (2) is specifically: Using the training set D train The model parameters are trained and the loss is monitored using an early stopping mechanism, where the early stopping mechanism automatically terminates the training if the loss does not improve after 50 training rounds.

4. The neural network architecture search method for a radome proxy model according to claim 3, It is characterized in that In step (3), the multi-task gradient conflict matrix C is calculated using the validation set for the trained neural network model obtained in step (2), and the validation set D is used to calculate the multi-task gradient conflict matrix C. val Calculate the gradient of back propagation on the model trained in step (2), where the gradient for task i is grad i , the gradient of task j is grad j ; The gradient conflict between the calculation task gradients is calculated by the following formula: conflict=cos(grad i ,grad j ) By calculating the gradient conflicts between two tasks, we can get the multi-task gradient conflict matrix C, which is a symmetric matrix. The conflict matrix element C ij The calculation formula is as follows: C ij =cos(grad i ,grad j ) Among them, cos(grad i ,grad j ) represents the cosine value between gradient vector i and gradient vector j. Its value represents the degree of conflict between task i and task j. The smaller the value, the greater the conflict.

5. The neural network architecture search method for a radome proxy model according to claim 4, It is characterized in that The step (4) is specifically as follows: according to the multi-task gradient conflict matrix C and the gradient conflict threshold input in step (1), the indicator matrix is ​​calculated. The specific calculation is as follows: in Represents the conflict threshold. In the experiment, D val Divided into batches, there will be batch-number indicator matrices In multi-batch testing, the full verification set conflict matrix is ​​obtained by summing the indicator matrix, and the calculation formula is as follows: The final indicator matrix is ​​generated by adopting the average value strategy or the maximum value strategy. The calculation formula of the average value strategy is as follows: Among them I average Represents the average value of matrix I, and the maximum value strategy calculation formula is as follows: Among them I top Represents the maximum value of the matrix I. The significance of the average value strategy and the maximum value strategy is whether the number of modulation modules generated after each conflict detection is half of the search space or only one modulation module is generated.

6. The neural network architecture search method for a radome proxy model according to claim 5, It is characterized in that The step (5) specifically comprises: generating a modulation module for the corresponding layer according to the indicator matrix provided in the step (4) for modulating the gradient conflict; When there is a conflict between two tasks, the conflict between task i and task j is mitigated by the modulation module. The modulation module uses neurons with higher granularity or modules with lower granularity. In form, when task i and task j conflict at the lth layer of the network, cos(g i,l ,g j,l )<0,g i,l With g j,l Represent the gradients of task i and task j on layer l respectively; According to the cosine definition between two gradient vectors: Two of these vectors conflict, meaning that <g i,l ,g j,l ><0, now assume that tasks i and j share Q parameters on layer l, and make <g i,l ,g j,l >=-c, where c is a positive number. The adjustment module consists of P parameters. The gradient g after adding the adjustment module i,l , g j,l It is divided into two parts: and and The inner product of two gradient vectors is expressed as: Based on the previous assumption, a gradient conflict occurs and <g i,l ,g j,l >=-c, the two gradients of the two two-dimensional vectors are folded by dimension increase so that they have a common descent direction, alleviating gradient conflicts, so that all tasks have a common descent gradient.

7. The neural network architecture search method for a radome proxy model according to claim 6, It is characterized in that The step (6) is specifically as follows: According to the maximum model parameter limit in step (1), the maximum allowed parameter amount is determined, and the total parameter amount of the current model is compared with the set maximum model parameter amount limit; The relevant calculation formula for adding the modulation module to the neural network in step (7) is as follows: The input and output calculation formula for the fully shared layer is as follows: in represents the input of layer l, represents the output of layer l, f S (·) represents the l+1th shared layer; The input and output calculation formula for the modulation module between task i and task j is as follows: in represents the input of the modulation module at layer l, Represents the output of the modulation module.

8. The neural network architecture search method for a radome proxy model according to claim 2, It is characterized in that The specific method of pre-training the modulation module in step (8) is as follows: After adding the modulation module, freeze the shared layer and the parameters of the previously added modulation module, use the Xavier initialization strategy to initialize the newly added module, and use the training set D train Pre-train it, also using the early stopping mechanism described in step (2).

Citation Information

Patent Citations

  • Method and equipment for rapidly predicting the radiation characteristic of antenna housing and storage medium

    CN112906308A

  • Neural network training method and device

    CN113505883A

  • Multi-task model training method based on adaptive loss function weighting

    CN114237838A

  • Method for searching and constructing binary neural network based on neural network architecture

    CN116542301A

  • Antenna housing electrical performance prediction method based on compensation network

    CN117113592A