Tactical intention recognition method based on self-attention mechanism
By using the deep learning model of the self-attention mechanism in the air combat environment, combined with the convolutional neural network and the fully connected module, the deep features are extracted and the tactical intention probability is output, which solves the identification problems in the existing technology and achieves efficient and accurate air combat. Target intent recognition.
Patent Information
- Application Number
- CN202410759451.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-13
AI Technical Summary
It is difficult for the existing technology to accurately identify the target's tactical intention in a highly dynamic and highly confrontational air combat environment, especially because the characteristic information at a single moment is insufficient to capture the temporal change characteristics, resulting in insufficient scientificity and accuracy of the identification method.
Using a deep learning model based on the self-attention mechanism, combined with a convolutional neural network and a fully connected module, the self-attention mechanism extracts deep features, outputs the probability of tactical intent, and achieves efficient identification of air combat target intentions.
It improves the prediction accuracy of tactical intentions of air combat targets, provides better feature expression capabilities and interpretability, and can provide reliable decision support in complex environments.
Smart Images

Figure CN118643330A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tactical intention recognition in air combat, and in particular to a tactical intention recognition method based on a self-attention mechanism. Background Art
[0002] The air combat confrontation simulation system uses computer simulation to simulate the entire combat process of the fighter jet in a detailed and realistic manner. In order to effectively improve the authenticity of the simulation, it is necessary to conduct simulation design from the perspective of actual air combat. Accurately identifying the target's tactical intentions in a highly dynamic and highly confrontational actual air combat environment is an important basis for achieving deep situational awareness and intelligent decision-making, and is also the key to improving the human-computer interaction and intelligence level of air combat confrontation and simulation systems. It is of great significance to the fidelity and credibility of simulation design.
[0003] Air combat target tactical intention recognition is a process of data mining and online reasoning. It extracts key feature information from the target motion state obtained by airborne sensors, and perceives the current target behavior and relative situation as quickly and accurately as possible to gradually explore the target's potential tactical intention. Online accurate recognition of air combat target tactical intention can create tactical opportunities for our aircraft, improve air combat decision-making efficiency, and thus gain air combat advantages.
[0004] Existing research on this issue generally classifies the target intention into categories such as attack, search, position, and defense from the perspective of tasks. However, for the actual air combat confrontation process, on the one hand, it is difficult to effectively realize the recognition of such target intentions only through target track information; on the other hand, it is more realistic to identify the more specific confrontation behavior intentions of the target from the perspective of tactics and methods. At present, the recognition methods mainly focus on the application of theories such as template matching, expert system, and machine learning. Template matching uses the experience of air combat experts and combat commanders to build a model library, then extracts features for actual air combat, and finally predicts the target intention by reasoning the similarity between the features and the template. Although the expert system has strong knowledge expression and reasoning capabilities, it needs to build a complete rule system, resulting in low learning and fault tolerance capabilities, and it is difficult to summarize the complex evolution of air combat. Bayesian network, as a machine learning method with strong causal probability reasoning performance, adapts to changes in air combat situation through dynamic updating of network parameters, but its network model is relatively complex, and the determination of network parameters such as prior probability and conditional probability also depends on expert experience and is highly subjective.
[0005] As mentioned above, the existing methods rely on the characteristic information of a single moment for analysis and calculation, and it is difficult to effectively find the implicit deep information from the time-sequentially changing target state characteristics. In fact, the target intention is implemented through a series of tactical actions on the battlefield, so the dynamic attributes of the target and the battlefield environment will show dynamic and time-sequential changing characteristics, and the combat actions of the enemy target will have certain deception and concealment. Therefore, it is not scientific to infer the enemy target intention based on the characteristic information of a single moment.
[0006] Therefore, in view of the characteristics of time series changes, it is necessary to invent a method for identifying tactical intentions of air combat targets with strong model performance, good generalization performance, and satisfactory interpretability and versatility, so as to provide reliable support for the decision-making system. Summary of the invention
[0007] In view of this, the present invention provides a tactical intention recognition method based on the self-attention mechanism, which can be used to identify the intention of air combat enemy aircraft. This method requires a small amount of data and has high accuracy.
[0008] The technical solution for implementing the present invention is as follows:
[0009] A tactical intention recognition method based on self-attention mechanism includes the following steps:
[0010] Step 1: extract an air combat intention recognition data set from the air combat system simulation process, perform data preprocessing on the air combat intention recognition data set, and divide the air combat intention recognition data set into a training set and a test set;
[0011] Step 2: Construct a convolutional neural network module to process the air combat intention recognition data and extract shallow features;
[0012] Step 3: Build a self-attention mechanism module to process shallow features and extract deep feature representations;
[0013] Step 4: Build a fully connected module to process the deep features and output the probability of each tactical intention;
[0014] Step 5: Input the training set in step 1 into the air combat intention recognition model formed by the convolutional neural network module, the self-attention mechanism module and the fully connected module, set the training hyperparameters and train the air combat intention recognition model;
[0015] Step 6: Input the test set in step 1 into the air combat intention recognition model trained in step 5 to evaluate the accuracy of tactical intention recognition.
[0016] In the step 1, the air combat intention recognition data set includes flight parameters and air combat intention types; the flight parameters are pitch angle, yaw angle, roll angle, longitude, latitude, and relative altitude; and the air combat intention types are attack, search, defense, and occupation.
[0017] In the step 1, the method for preprocessing the air combat intention recognition data set is: normalizing the z value of the air combat intention flight parameters, mapping the four air combat intention types to [0, 1, 2, 3] respectively, and obtaining the preprocessed air combat intention recognition data set.
[0018] In the step 1, the method of dividing the air combat intention recognition data set into a training set and a test set is: cutting the data set into a training set and a test set in a ratio of 7:3.
[0019] In step 2, the specific steps of extracting shallow features are:
[0020] 2-1. Set the convolution kernel with size (3,3), step size 1, and filling mode zero padding as the convolution layer, and set a total of 21 convolution kernels;
[0021] 2-2. After the convolution layer, set the nonlinear activation function ReLU as the activation layer;
[0022] 2-3. After the activation layer, set the MaxPooling pooling layer;
[0023] 2-4. After the pooling layer, set the BatchNormalization regularization layer;
[0024] 2-5. The preprocessed air combat intention recognition features are processed in sequence by convolution layer, activation layer, pooling layer and regularization layer to extract shallow features in the time dimension.
[0025] In step 3, the specific steps of extracting the depth feature are:
[0026] 3-1. Set up the self-attention mechanism;
[0027] 3-2. After the self-attention mechanism, set Add residual connection and LayerNormalization layer normalization;
[0028] 3-3. After residual connection and layer normalization, set up the Feed Forward network;
[0029] 3-4. The shallow features extracted in the time dimension are sequentially subjected to self-attention mechanism, residual connection, layer normalization and feedforward network operation to extract deep features from contextual information.
[0030] In step 4, the specific steps of outputting the probability of each tactical intention are:
[0031] 4-1. Set the Softmax layer;
[0032] 4-2. Input the extracted deep features into the Softmax layer to obtain the probability distribution of the air combat intention recognition type, and take the air combat intention type with the largest probability value as the output result of the air combat intention recognition model.
[0033] In step 5, the specific steps of air combat intention recognition model training are:
[0034] 5-1. Set the loss function as the cross entropy loss function during training;
[0035] 5-2. Set the optimizer to Adam optimizer, set the hyperparameters in the optimizer, the learning rate to 0.001, the optimizer first-order moment estimation parameter beta1 to 0.9, the optimizer second-order moment estimation parameter beta2 to 0.999, and the numerical stability parameter epsilon to 1×10 -8 ;
[0036] 5-3. Set the training rounds to 100 and the batch training parameter to 256;
[0037] 5-4. Train the air combat intention recognition model. During the training process, update the parameters of the air combat intention recognition model through back propagation and optimizer.
[0038] In step 6, the specific steps of evaluating the accuracy of tactical intent recognition are as follows:
[0039] 6-1. Set the evaluation indicators as the accuracy of tactical intent recognition and cross entropy loss;
[0040] 6-2. Based on the accuracy and cross entropy loss of tactical intent recognition, draw the accuracy change curve and cross entropy loss change curve of the model on the test set. The higher the accuracy of tactical intent recognition, the smaller the cross entropy loss, and the better the model performance.
[0041] Beneficial effects:
[0042] (1) The present invention combines the convolutional neural network with the self-attention mechanism model to solve the problems of high cost and low efficiency of data processing, feature loss and real-time changes.
[0043] (2) The present invention adopts a method for tactical intention recognition based on the self-attention mechanism. The convolutional neural network can automatically learn to extract complex features of data. The extracted low-level and local features are passed to the self-attention mechanism module, and the self-attention mechanism models the context features through the interaction between high-dimensional features. This combined model can provide better feature expression capabilities and improve the accuracy of predicting the enemy aircraft's tactical intentions. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is the overall structural diagram of the tactical intent recognition of the deep learning model designed by the present invention;
[0045] Figure 2 It is a training curve diagram of the deep learning model designed by the present invention; wherein (a) is a training loss curve diagram, and (b) is a recognition accuracy change diagram. DETAILED DESCRIPTION
[0046] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0047] The present invention provides a tactical intention recognition method based on self-attention mechanism, such as Figure 1 As shown, including:
[0048] (1) Extract the air combat intention recognition data set from the air combat system simulation process, perform data preprocessing on the air combat intention recognition data set, and divide the air combat intention recognition data into a training set and a test set.
[0049] The specific steps are as follows:
[0050] (1-1) The air combat intention recognition data set includes flight parameters and air combat intention types; the flight parameters are pitch angle, yaw angle, roll angle, longitude, latitude, and relative altitude; the air combat intention types are attack, search, defense, and occupation.
[0051] (1-2), the air combat intention flight parameters are z-normalized, and the four types of air combat intentions are mapped to [0, 1, 2, 3] respectively, to obtain the preprocessed air combat intention recognition data set.
[0052] (1-3) The data set is divided into training set and test set in a ratio of 7:3.
[0053] (2) Construct a convolutional neural network module to process the air combat intention recognition data and extract shallow features.
[0054] The specific steps are as follows:
[0055] (2-1) Set 21 convolution kernels with a size of (3,3), a step size of 1, and a filling mode of zero padding as the convolution layer. By setting the number of convolution kernels to 21, features of different sizes can be effectively extracted;
[0056] (2-2) After the convolutional layer, the nonlinear activation function ReLU is set as the activation layer. The ReLU activation function is selected to effectively improve the nonlinear expression ability and convergence ability of the model;
[0057] (2-3) After the activation layer, set the MaxPooling pooling layer to extract the main features of a certain area of the model, reduce the number of parameters, and improve the calculation speed;
[0058] (2-4) After the pooling layer, set the BatchNormalization regularization layer to speed up the training and convergence of the network, control the gradient explosion and prevent the gradient from disappearing;
[0059] (2-5) The pre-processed air combat intention recognition features are processed in sequence by convolution layer, activation layer, pooling layer and regularization layer to extract shallow features in the time dimension.
[0060] (3) Construct a self-attention mechanism module to process shallow features and extract deep feature representation. Figure 2 As shown, the specific steps are as follows:
[0061] (3-1) Set up the self-attention mechanism. The calculation formula of the self-attention mechanism is:
[0062]
[0063] Q=XW Q ,
[0064] K=XW K ,
[0065] V=XW V ,
[0066] Among them, X is the input feature, W Q , W K 、w V is the parameter to be learned, d k is the column dimension of K.
[0067] The attention mechanism is used to calculate the attention score between a given feature and all features. The attention score is multiplied by the information sum of the corresponding feature, which is the weighted sum of the given feature and all features. The attention information of each feature and data is updated in turn. The self-attention mechanism is used to focus on the information of different dimensions within the feature.
[0068] (3-2) After the self-attention mechanism, set the Add residual connection and LayerNormalization layer normalization. The calculation formula of Add residual connection is:
[0069] Add(X)=X+F(X),
[0070] Where X is the layer input and F(X) is the layer output. The network is trained deeper through residual connection to improve the model's expressiveness, and a LayerNormalization layer is added after the residual connection for normalization.
[0071] (3-3) After residual connection and layer normalization, set up the Feed Forward network;
[0072] (3-4) The shallow features extracted in the time dimension are sequentially subjected to self-attention mechanism, residual connection, layer normalization and feedforward network operation to extract deep features from contextual information.
[0073] (4) Construct a fully connected module to process the deep features and output the probability of each tactical intention;
[0074] (4-1) Set the Softmax layer;
[0075] (4-2) Input the deep features of the context information dimension into the Softmax layer to obtain the probability distribution of the air combat intention recognition type, and take the air combat intention type with the largest probability value as the output result of the air combat intention recognition model.
[0076] (5) inputting the training set in step 1 into the air combat intention recognition model formed by the convolutional neural network module, the self-attention mechanism module and the fully connected module, setting the training hyperparameters and training the air combat intention recognition model;
[0077] (5-1) In training, the loss function is set to the cross entropy loss function;
[0078] (5-2) Set the optimizer to Adam optimizer, set the hyperparameters in the optimizer, the optimizer learning rate is 0.001, the optimizer first-order moment estimation parameter beta1 is 0.9, the optimizer second-order moment estimation parameter beta2 is 0.999, and the numerical stability parameter epsilon is 1×10 -8 .
[0079] (5-4) Set the training rounds to 100 and the batch training parameter to 256;
[0080] (5-4) Train the air combat intention recognition model. During the training process, the parameters of the air combat intention recognition model are updated through back propagation and optimizer.
[0081] (6) Input the test set in step 1 into the air combat intention recognition model trained in step 5 to evaluate the accuracy of tactical intention recognition.
[0082] (6-1) Set the evaluation indicators as the accuracy of tactical intent recognition and cross entropy loss;
[0083] (6-2) Based on the accuracy and cross entropy loss of tactical intent recognition, plot the accuracy change curve and cross entropy loss change curve of the model on the test set. The higher the accuracy of tactical intent recognition, the smaller the cross entropy loss, and the better the model performance.
[0084] The method of the present invention can obtain higher accuracy in tactical intention recognition. In actual use, feature data can be re-extracted as needed and the model can be trained to improve accuracy.
[0085] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A tactical intention recognition method based on self-attention mechanism, It is characterized in that The following steps are involved: Step 1: extract an air combat intention recognition data set from the air combat system simulation process, perform data preprocessing on the air combat intention recognition data set, and divide the air combat intention recognition data set into a training set and a test set; Step 2: Construct a convolutional neural network module to process the air combat intention recognition data and extract shallow features; Step 3: Build a self-attention mechanism module to process shallow features and extract deep feature representations; Step 4: Build a fully connected module to process the deep features and output the probability of each tactical intention; Step 5: Input the training set in step 1 into the air combat intention recognition model formed by the convolutional neural network module, the self-attention mechanism module and the fully connected module, set the training hyperparameters and train the air combat intention recognition model; Step 6: Input the test set in step 1 into the air combat intention recognition model trained in step 5 to evaluate the accuracy of tactical intention recognition.
2. A tactical intention recognition method based on a self-attention mechanism as claimed in claim 1, It is characterized in that In the step 1, the air combat intention recognition data set includes flight parameters and air combat intention types; the flight parameters are pitch angle, yaw angle, roll angle, longitude, latitude, and relative altitude; and the air combat intention types are attack, search, defense, and occupation.
3. A tactical intention recognition method based on self-attention mechanism as claimed in claim 2, It is characterized in that In the step 1, the method for preprocessing the air combat intention recognition data set is: normalizing the z value of the air combat intention flight parameters, mapping the four air combat intention types to [0, 1, 2, 3] respectively, and obtaining the preprocessed air combat intention recognition data set.
4. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In the step 1, the method of dividing the air combat intention recognition data set into a training set and a test set is: cutting the data set into a training set and a test set in a ratio of 7:
3.
5. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In step 2, the specific steps of extracting shallow features are: 2-1. Set the convolution kernel with size (3,3), step size 1, and filling mode zero padding as the convolution layer, and set a total of 21 convolution kernels; 2-2. After the convolution layer, set the nonlinear activation function ReLU as the activation layer; 2-3. After the activation layer, set the MaxPooling pooling layer; 2-4. After the pooling layer, set the BatchNormalization regularization layer; 2-5. The preprocessed air combat intention recognition features are processed in sequence by convolution layer, activation layer, pooling layer and regularization layer to extract shallow features in the time dimension.
6. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In step 3, the specific steps of extracting the depth feature are: 3-1. Set up the self-attention mechanism; 3-2. After the self-attention mechanism, set Add residual connection and LayerNormalization layer normalization; 3-3. After residual connection and layer normalization, set up the Feed Forward network; 3-4. The shallow features extracted in the time dimension are sequentially subjected to self-attention mechanism, residual connection, layer normalization and feedforward network operation to extract deep features from contextual information.
7. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In step 4, the specific steps of outputting the probability of each tactical intention are: 4-1. Set the Softmax layer; 4-2. Input the deep features of the context information dimension into the Softmax layer to obtain the probability distribution of the air combat intention recognition type, and take the air combat intention type with the largest probability value as the output result of the air combat intention recognition model.
8. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In step 5, the specific steps of air combat intention recognition model training are: 5-1. Set the loss function as the cross entropy loss function during training; 5-2. Set the optimizer to Adam optimizer, set the hyperparameters in the optimizer, the learning rate to 0.001, the optimizer first-order moment estimation parameter beta1 to 0.9, the optimizer second-order moment estimation parameter beta2 to 0.999, and the numerical stability parameter epsilon to 1×10 -8 ; 5-3. Set the training rounds to 100 and the batch training parameter to 256; 5-4. Train the air combat intention recognition model. During the training process, update the parameters of the air combat intention recognition model through back propagation.
9. A tactical intention recognition method based on self-attention mechanism as claimed in claim 1, It is characterized in that In step 6, the specific steps of evaluating the accuracy of tactical intent recognition are as follows: 6-1. Set the evaluation indicators as the accuracy of tactical intent recognition and cross entropy loss; 6-2. Based on the accuracy and cross entropy loss of tactical intent recognition, draw the accuracy change curve and cross entropy loss change curve of the model on the test set. The higher the accuracy of tactical intent recognition, the smaller the cross entropy loss, and the better the model performance.
Citation Information
Patent Citations
BiLSTM-Attention-based tactical intention recognition method
CN114266355A
Target tactical intention online identification method based on deep learning in simulation environment
CN115204286A
Method for identifying combat intention of aerial target
CN116956144A
Aerial target combat intention recognition method
CN116975708A
