Full text
i Master Degree Program in Information Management Radar Emitter Classification based on Deep Ensemble Tiago Pedro Giesta Martins Dissertation presented as partial requirement for obtaining the Master Degree Program in Information Management NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa MGI
i NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa RADAR EMITTER CLASSIFICATION BASED ON DEEP ENSEMBLE By Tiago Pedro Giesta Martins Master Thesis presented as partial requirement for obtaining the Master’s degree in Information Management, with a specialization in Business Intelligence. Supervisor: Roberto André Pereira Henriques July 2023
ii STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledge the Rules of Conduct and Code of Honor from the NOVA Information Management School. Lisboa, July 05, 2023
iii DEDICATION To my family, who has always supported me and without them nothing could be accomplished. Thank You!
iv ACKNOWLEDGEMENTS I would like to start by thanking the Portuguese Navy for giving me the chance to complete a master program in Information Management. Focusing the present project, a big thank you to Eng. Michiel Poel (Royal Netherlands Navy), who have provided all the data used, and Eng. Adam Leitch (Thales UK) for giving me all the necessary explanations about Electronic Support Measurement. Finally, I would like to express gratitude to my supervisor.
v ABSTRACT Electronic Support Measures (ESM) systems are designed to classify radar signals, providing information about the presence of threats. This function aids in battlefield situational awareness and the commander's decision on which countermeasures to employ. This dissertation aims to develop a deep ensemble model, recognizing the importance of a fast and precise classification based on a deep forest as an alternative to the parameter matching method. Four deep ensemble models and six of its base learners were built and evaluated to classify 52 emitters, using seven train/test datasets and two test datasets with noise, totalling 420 measurements of accuracy and classification speed. After analyzing these results, two deep ensemble models and their base learners were optimized, each for a different dataset, achieving 100% accuracy in a feature-engineered dataset and up to 98.358% in the original dataset. Regarding classification speed, the fastest models can classify 1000 records in 64ms, which may be acceptable in the real world. The experimental results of this approach reveal several advantages, making it a feasible alternative, including reduced dependency on ESM experts, ease of maintenance, quick to update, and high accuracy. KEYWORDS Ensemble methods; Deep architecture; Electronic Support Measures; Classification Sustainable Development Goals (SDG):
vi INDEX 1. Introduction .................................................................................................................. 1 2. Literature review .......................................................................................................... 6 2.1. Cascade Generalization ......................................................................................... 6 2.2. Deep Super Learner ............................................................................................... 6 2.2.1. Base Learner ................................................................................................... 6 2.2.2. Deep model .................................................................................................... 8 2.2.3. Application example ..................................................................................... 10 2.3. Deep SVM ............................................................................................................ 10 2.4. Deep Forest ......................................................................................................... 12 2.4.1. New versions ................................................................................................ 13 2.4.2. Application example ..................................................................................... 18 3. Methodology .............................................................................................................. 19 3.1. Design Science Research ..................................................................................... 19 3.2. Design Science Research Methodology............................................................... 23 3.2.1. Dataset and resources .................................................................................. 25 4. Empirical Study ........................................................................................................... 26 4.1. Dataset preparation ............................................................................................ 26 4.2. Data exploration and data cleaning .................................................................... 26 4.2.1. Data exploration ........................................................................................... 26 4.2.2. Data cleaning ................................................................................................ 28 4.3. Feature engineering ............................................................................................ 29 4.4. Model build and optimization ............................................................................. 32 4.4.1. Model optimization ...................................................................................... 33 4.5. Evaluate and compare ......................................................................................... 34 4.5.1. Evaluate optimization ................................................................................... 36 4.6. Resources............................................................................................................. 39 5. Results and discussion ................................................................................................ 40 6. Conclusions and future works .................................................................................... 45 Bibliographical References .............................................................................................. 47 Appendix.......................................................................................................................... 52 A.1. PDW dataset - violin plots of continuous features by emitter ........................... 52 A.2. PDW dataset - categorical features relation with emitter .................................. 56 A.3. Optimized DF-SL confusion matrix ...................................................................... 57
vii A.4. Optimized super learner confusion matrix ......................................................... 60 A.5. Models’ performance across all datasets ........................................................... 63
viii LIST OF FIGURES Figure 1.1 - Ground radar and its environment (Meikle, 2008, p. 1) ......................................... 1 Figure 1.2 - Illustration of transmission of a pulse (Sebastian, 2017, p. 9) ................................ 1 Figure 1.3 - Examples of different PRI modulations (Revillon, 2019, p. 55) .............................. 2 Figure 1.4 - Electronic Warfare divisions (Aldossary, 2017, p. 8) .............................................. 3 Figure 1.5 - General block diagram of radar ESM data processing ............................................ 4 Figure 2.1 - Overall procedure of Super Learner (Laan et al., 2007) ......................................... 7 Figure 2.2 - Overall procedure of Deep Super Learner (Young et al., 2018, p. 87).................... 9 Figure 2.3 - Ensemble of D-SVM (Abdullah et al., 2009, p. 303) .............................................. 11 Figure 2.4 - Structure of deep SVM (Kim et al., 2015, p. 23) ................................................... 11 Figure 2.5 - Overall procedure of Deep Forest (Z.-H. Zhou & Feng, 2017, p. 3555) ................ 13 Figure 2.6 - Overall procedure of BCDForest (Guo et al., 2018, p. 6) ...................................... 14 Figure 2.7 - Illustration of gcForestCS (Pang et al., 2018, p. 1195) .......................................... 15 Figure 2.8 - Overall procedure of PSForest (Ni & Kao, 2020, p. 775) ....................................... 15 Figure 2.9 - Illustration of hiDF (Y.-H. Chen et al., 2021, p. 1031) ........................................... 16 Figure 2.10 - Illustration of DBC-Forest (Ma, Wu, Li, Guo, & Li, 2022, p. 115) ........................ 16 Figure 2.11 - Overall procedure of HW-Forest (Ma, Wu, Li, Guo, Jiang, et al., 2022, p. 10) ... 17 Figure 2.12 - Overall procedure of gcForestS (Pang et al., 2022, p. 4303) .............................. 17 Figure 3.1 - IS research framework (Hevner et al., 2004, p. 80) .............................................. 19 Figure 3.2 - DSRM process model (Peffers et al., 2007, p. 54) ................................................. 21 Figure 3.3 - DS research knowledge contribution framework (Gregor & Hevner, 2013, p. 345) .......................................................................................................................................... 22 Figure 4.1 - PDW dataset descriptive statistics ........................................................................ 27 Figure 4.2 - Continuous features evolution overtime .............................................................. 28 Figure 4.3 - Continuous features distribution .......................................................................... 29 Figure 4.4 - Datasets produced ................................................................................................ 32 Figure 5.1 - Models' performance on the test dataset ............................................................ 40 Figure 5.2 - Models' performance on Gaussian noise dataset ................................................ 40 Figure 5.3 - Models' performance on Uniform noise dataset .................................................. 41 Figure 5.4 - Comparison of models’ performance ................................................................... 42
4 Receiver Parameter measurement Radar signal PDW Deinterleaver PDW, PRI & Tracks Source classification Radar parameter database Figure 1.5 - General block diagram of radar ESM data processing In ideal scenarios, emitters and signals are properly isolated from one another in time, frequency, and space, allowing PDW-based classification to work well. In congested scenarios, numerous emitters are degraded by noise, interference, fading, clutter, multipath and pulse overlap (Aslan, 2006; Buchenroth, 2015). In addition to environment and propagation degradations, the receiver has limitations, such as instantaneous band-width, automatic gain control and sensitivity (Aldossary, 2017; Meikle, 2008). Following these harsh conditions, several researchers have developed and applied cutting-edge machine learning and deep learning techniques to radar classification in the last decade. Some of those techniques are Feedforward Neural Networks (Petrov et al., 2013), Fuzzy Logic (Y. M. Chen et al., 2013), Weighted Extreme Gradient Boost (W. Chen et al., 2017), Support Vector Machine (SVM) (Sebastian, 2017), Unidimensional Convolutional Neural Network (CNN) (Sun et al., 2018), Deep Forest (Y. Wang et al., 2019; Zhang et al., 2020), Gaussian Mixture Model (GMM) (Revillon, 2019), Recurrent Neural Network (RNN) and Long Short-Term Memory (LSTM) (Notaro et al., 2019), Naïve Bayes (Kvasnov, 2020; Xiao & Yan, 2020), LSTM and Markov Chain (Apfeld & Charlish, 2021), Hybrid Deep Neural Network with dynamic CNN and LSTM (Feng et al., 2021), and Intuitionistic Fuzzy Information Tritraining (J. Wang et al., 2022). To validate the effectiveness of previous proposed models, Relevant Vector Machine, Deep Belief Network, Gradient Boost Decision Tree (GBDT), Extreme Gradient Boost (XGBoost), Random Forest, Extremely Randomized Trees (ExTrees), and K-Nearest Neighbor (KNN) have also been used. As machine learning is a data-driven discipline that comprises two essential steps, feature extraction and model training, some studies have also proposed different feature engineering approaches (Ahmed et al., 2018; W. Chen et al., 2017; Gençol, 2015; Notaro et al., 2019; Petrov et al., 2013; Sun et al., 2018; Y. Zhou et al., 2020). Deep learning is a machine learning category that employs multiple layers of processing units, where each layer input comes from the previous layer output. Deep neural networks, an architecture of deep learning, have been successfully applied in several fields and achieved high accuracy rates (Young et al., 2018). Nevertheless, it also has some drawbacks: it requires large amounts of data to train, does not converge as fast as traditional machine learning algorithms, are complicated models, requires powerful computational facilities, has numerous hyperparameters, and the learning performance depends seriously on careful tuning (Young et al., 2018; Z.-H. Zhou & Feng, 2017). Zhou & Feng (2017) argue that learning models will undoubtedly need to go deep to handle complex learning problems; however, deep models are always neural networks, with the disadvantages already known. As traditional machine learning algorithms are relatively simple to tune and their output may
5 provide interpretable results, novel deep ensemble models based on deep learning and using machine learning algorithms have recently been proposed (Qi et al., 2016; Young et al., 2018; Z.-H. Zhou & Feng, 2017). Moreover, following the research of Grinsztajn et al. (2022), when these algorithms are treebased and used on medium-sized tabular data, with and without categorical features, it outperforms neural networks. “Reliable and real-time identification of radar signals is of crucial importance for timely threat detection, threat avoidance, general situation awareness and timely deployment of counter-measures” (Petrov et al., 2013, p. 1194). Recognizing the importance of ESM classification, the novelty of deep ensemble models, and its performance, the following research gap is considered: Classification of emitters in PDW using a deep ensemble model. Accordingly, this study aims to develop a deep ensemble model based on deep forest, to classify radar emitters in PDW as an alternative to standard classification methods. Therefore, the following research question is: How can a deep ensemble model, based on deep forest, be used to classify radar emitters in PDW of ESM systems? Since this investigation aims to design an artifact – a deep ensemble model – a proper methodology is required, leading to the adoption of design science research methodology (DSRM). This methodology has six activities – problem identification and motivation, the definition of objectives for a solution, design and development (of the artifact), demonstration, evaluation, and communication, developed along the dissertation. In general, deep ensemble models and their base learners presented such a competitive performance that a practical implementation may accurately classify emitters degraded by noise while achieving the main goal – being an alternative to standard classification methods, among other benefits and contributions. This dissertation is divided into six chapters, beginning with the presentation of the context, main objective and research question, a summary of the methodology, results, and contributions, and ends with a brief description of its structure. Then, a review of deep ensemble models, pertinent base learners, and some application studies are presented. The third chapter describes the methodology, and the fourth chapter outlines the procedures followed from data collection to model evaluation on different datasets. The results are then presented and analyzed, in the fifth chapter, along with a comparison to earlier research and an evaluation of effectiveness. The final chapter summarizes conclusions and limitations before restating the most relevant contributions and suggesting future developments.
6 2. LITERATURE REVIEW This chapter aims to enhance the knowledge of deep ensemble models and gain a perspective on previous research organized chronologically. 2.1. CASCADE GENERALIZATION The ability of an algorithm to induce a good generalization depends on the appropriateness of its representation to express generalizations for a given task. This can be achieved in two ways: selecting the most appropriate algorithm or combining predictions of algorithms with different search heuristics, for instance, stacked generalization (Gama & Brazdil, 2000). Stacked generalization refers to any scheme of forwarding information from one layer of models to another before forming the final prediction. This is a suitable method for correcting the constituent models' biases towards a learning set (Wolpert, 1992). In this sense, Gama & Brazdil (2000) proposed a family of algorithms under the generic name of cascade generalization, which is considered a particular case of stacking generalization. The basic idea of cascade generalization is to use learning algorithms in sequence and perform the following two-step process at each iteration: first, a model is built using base classifiers, and then the original data is extended by inserting new attributes. This is, all classifiers have access to the original attributes (independent variables) and produce new continuous attributes with the class probability (dependent variable), which are appended to the original data and used on the next iteration/layer (Gama & Brazdil, 2000). The research concluded that these models could improve the accuracy of the base classifiers but could not state why it occurred, how many base classifiers are needed, or what classifiers to combine. It was also concluded that in some datasets, these models could not improve the accuracy (Gama & Brazdil, 2000). In short, the authors could not predict under what circumstances cascade generalization would improve performance. 2.2. DEEP SUPER LEARNER The deep super learner model uses a super learning ensemble on each layer. Thus, the super learner must be introduced prior to its cascade version. 2.2.1. Base Learner The super learner is a stacking ensemble learner of heterogeneous base learners that uses v-fold crossvalidation to protect against overfitting and optimizes the weights of the base learners by minimizing a loss function (Laan et al., 2007). As represented in Figure 2.1, this model works as follows: 1. Split data in equal size v-fold blocks, mutually exclusive. 2. Build and train each m-base learning algorithm on each training block. 3. Predict the class probability of the validation block for each base learner, and get a Z matrix of v*m shape. 4. Build the minimum cross-validated risk predictor, for instance, a linear regression to find the linear combination of the Z predictions that minimize the error against true values Y. This function provides the weights to apply at each base learners.
7 5. Re-train each base learning algorithm on the entire dataset, represented as step 0 in Figure 2.1, and combine their predictions by applying the cross-validated risk minimizer. Figure 2.1 - Overall procedure of Super Learner (Laan et al., 2007) Previous developments have shown that the super learner would theoreticaly perform asymptotically as well or better than any of its base learners, which was verified in practice by Laan et al. (2007) – when applied to generated dataset the super learner was able to outperform its base learner, but when applied to diabetes dataset and to HIV-1 drug resistance dataset it wasn’t able to outperform its base learners but also did not any worse; which prompted the researchers to claim that when a base learner makes accurate predictions it leaves little room for the super learner to improve. Additionally, as it is “unlikely to know apriori which candidate learner will work best, the super learner is a natural choice for prediction” (Laan et al., 2007, p. 17). Naimi & Balzer (2018) demonstrate the implementation of the super learner to estimate a doseresponse curve and to build a classifier for a binary outcome. Within this study, a few essential considerations were highlighted: ▪ The number of v-fold cross-validation is critical for the super learner, and its choice is not always clear. So, increasing the number of folds as the sample size decreases is recommended. ▪ A wide variety of base learners can be included in the super learner, and it is recommended to include standard parametric models along with more complex dataadaptative models.
8 ▪ Since hyperparameter tunning is a critical step in optimizing machine learning algorithms, it is recommended to replicate the same algorithm with different parameter values. ▪ As it is possible to choose any loss functions to determine the optimal combination of predictions directly impacting performance, it is recommended to choose that function based on the analysis objective. Although this model appears large and complex, the computation cost does not exceed the computation required to train each base learner on v-folds and the full dataset (Laan et al., 2007). 2.2.1.1. Application example Taghizadeh-Mehrjardi et al. (2021) used the super learner to predict several soil properties, typically obtained by measuring soil samples from related environmental covariates (groundwater data, terrain attributes, geomorphic map, and remote sensing data). A major challenge is quantifying each environmental covariate's importance to the final prediction. To address this issue, a model-agnostic interpretation tool was used. Furthermore, permutation feature importance analysis was selected mainly for its ability to rank features considering the interaction with other features. Before modeling, to test accuracy, the dataset was randomly partitioned into two sets – 80% for training and 20% for testing. The training dataset was then split in five-fold (step 1 of the procedure) to train 12 base learners of the super learner: least absolute shrinkage and selection operator (LASSO), KNN, genetic programming, adaptive-network-based fuzzy inference systems, multi-linear regression, multivariate adaptive regression splines (MARS), support vector regression, artificial neural network (ANN), cubist, random forest, ExTrees, and XGBoost. The selected cross-validated risk minimizer, a meta-learner that uses the cross-validation predictions, was a generalized linear model (step 4 of the procedure). Moreover, to compare the results, an equal-weight combiner was used (1/12). The super learner was consistently the best model to predict all soil properties, and the equal-weight combiner was the second. The researchers concluded that no single algorithm could be the ‘best’ for every region and soil property. Another interesting conclusion relates to base learners’ contribution/weights for final prediction. Although the performance of most base learners varies from one soil property to another, the multi-linear regression was consistently the worst, but it still contributed to super learner predictions. This led researchers to conclude that super learner is exceptionally flexible in incorporating different base learners and evaluating their individual contributions to the final prediction. 2.2.2. Deep model The deep super learner is an extension of the super learner ensemble, using a super learner on each layer, with some nuances. The initial four steps are similar to the super learner, the fifth is changed, and two additional steps are implemented (Young et al., 2018). As represented in Figure 2.2, this model works as follows: 1. Split data in equal size k-fold blocks, mutually exclusive. 2. Build and train each m-base learning algorithm on each training block, and save the k*m trained models.
9 3. Predict (j) classes probability of the validation block for each base learner. 4. Build and minimize a loss function on cross-validated predictions, and save the loss function weights. 5. (Option1, as proposed in super learner) Re-train each base learning algorithm on the entire dataset and combine their predictions. Then save the m-trained models. (Option 2, a novel approach) Calculate the weighted average of the cross-validated predictions for each record. 6. Append the overall predictions to the original training data. 7. Repeat the previous steps with the augmented data until the loss function value no longer decreases and save the number of iterations. Figure 2.2 - Overall procedure of Deep Super Learner (Young et al., 2018, p. 87) The unseen data must pass through a similar process (of the training), using the models and weights of each iteration to make predictions. If the base learners are trained on the entire training dataset (option 1 of step 5), use those models to make the predictions. If the base learners are trained on kfolds (option 2 of step 5), use each model trained on each fold to make the predictions. Young et al. (2018) implemented a new approach in step 5, arguing that with sufficient cross-validation folds the base learners will have enough data to train, and additional data does not improve the goodness of fit. However, authors recommend the original approach when using few folds or when making predictions is computationally more expensive than training, as with KNN. In this research, Young et al. (2018) tested the deep super learner on the IMDB movie review sentiment classification dataset and MNIST handwritten digits dataset. Deep super learner was built on threefold cross-validation with five heterogeneous base learners: logistic regression, KNN, random forest, ExTrees, and XGBoost. For loss function or cross-validated risk minimizer, log loss was chosen. To compare results, the five base learners are also tested individually, as well as three ensembles – a stacked ensemble where the output of the base learners is fed into XGBoost, an equal-weighted
10 average of the base learners, and a super learner; plus two deep neural network architectures – multilayer perceptron (MLP) and a CNN. Regarding results, on the IMDB dataset, the deep super learner finished training after the third iteration and outperformed all other models. On MNIST, the deep super learner finished training after the fifth iteration and could not perform better than CNN. As a runtime reference, on the IMDB dataset, deep super learner took 50 minutes to converge; 46 of those were spent by KNN, and on MNIST took 86 minutes, where 70 of those were spent by KNN. 2.2.3. Application example A WebShell file is an executable program written with web scripts, such as PHP, to be used as a website backdoor. These malicious files allow attackers to obtain database information. Consequently, finding website backdoors is essential for data security. In this sense, Ai et al. (2020) propose to use deep super learner to detect WebShell. This application's dataset comprises PHP files with instructions or fields for a computer program. Thus, in data preprocessing, some feature extraction operations are executed and feature vectorization, using Word2Vec. Then, to remove irrelevant or redundant features and keep the most effective ones, feature selection is performed based on a genetic algorithm. Moreover, to fix dataset class imbalance, data sampling with the synthetic minority oversampling technique (SMOTE) was implemented. The modeling of deep super learner uses logistic regression, MLP and random forest as base learners and sequential least squares programming to calculate the models' weight value (Ai et al., 2020). As noted by Naimi & Balzer (2018), the value of k-fold is a parameter of utmost importance in the (deep) super learner; therefore, Ai et al. (2020) tested different values, from three to ten-fold crossvalidation, achieving the best performance on seven-fold. To verify and compare the deep super learner performance, two base learners are used – logistic regression and random forest, complemented with XGBoost, LightGBM, Adaboost and a stacking ensemble model. Deep super learner achieved the best performance, yet, in terms of time efficiency on the test dataset, was the second slowest model, with 2.89 seconds, close to XGBoost, with 2.47 seconds, and far from the slowest model – LightGBM, with 8.43 seconds. 2.3. DEEP SVM Deep learning is a sophisticated machine learning method that identifies lower-level features and inputs them to the next layer to identify higher-level features, improving overall classification performance (Young et al., 2018). These architectural designs have succeeded in various applications, particularly visual and speech information (Pang et al., 2022). Inspired by deep belief networks, Abdullah et al. (2009) presented a deep support vector machine (D- SVM) and an ensemble of D-SVM for image categorization. The D-SVM is obtained through training one SVM in the standard way, and creating a new training dataset with labels and kernel activations, to be used on the next layer SVM. Concerning the proposed ensemble (see Figure 2.3), this calculates probability estimates for each class using a set of D-SVM, each receiving a distinct set of features as input. Then, class probabilities are combined with the product rule, multiplying each class probability and using the highest probability as the final class label. Experiments with Corel and Caltech-101 datasets revealed that D-SVM has a higher accuracy than standard SVM, but not quite significant.
11 Moreover, regarding the ensemble a similar result was obtained – the ensemble of D-SVM performed slightly better than an ensemble of SVMs. Figure 2.3 - Ensemble of D-SVM (Abdullah et al., 2009, p. 303) As the work of Abdullah et al. (2009) and other researchers had a fixed structure of just two layers of SVMs and actually did not have a deep structure, Kim et al. (2015) proposed a new deep network model. This new structure consists of (k) SVMs layers to perform k-class classification, selecting the label with the maximum output as the final prediction (see Figure 2.4). At each layer, a class probability output network (CPON) measures uncertainty when the classification decision is made. If the required certainty is met, the classification is performed in that layer; if not, the CPON output continues for the next layer. Experiments with four datasets from the UCI Machine Learning and the MNIST dataset, comparing the proposed model with Naïve Bayes, single-layer SVM, single-layer SVM with CPON, and deep belief networks, showed its competitiveness – outperforming the other models in all datasets, except in Ionosphere. Figure 2.4 - Structure of deep SVM (Kim et al., 2015, p. 23) Later, Qi et al. (2016) proposed a new deep support vector machine called DeepSVM. This model has a multi-layer architecture and extracts features via Adaboost (Ex-Adaboost) on each layer. This Ex-
12 Adaboost can adjust kernel parameters, classifier weight coefficients and feature’s weight for the next layer. Experiments on eight UCI Machine Learning datasets, comparing the proposed model with a version of himself without Ex-Adaboost, showed that DeepSVM achieves a slightly better performance, which proves that Ex-Adaboost promotes data representation. When comparing DeepSVM accuracy with the model proposed by Kim et al. (2015), DeepSVM underperformed in all three common datasets. 2.4. DEEP FOREST As in other research above, Zhou & Feng (2017) presented a deep ensemble model intending to endow deep learning properties without shortcomings. The proposed model, gcForest (multi-Grained Cascade Forest), comprises two parts – multi-grained scanning and cascade forest. The first part seeks to facilitate spatial or sequential interpretation, while the second does representation learning. To encourage diversity gcForest uses two types of forest – random forest and completely-random tree forest. This last forest contains a defined number of completely-random trees produced with randomly selected features at each node and growing until each leaf becomes pure. As represented in Figure 2.5, this model works as follows: Multi-Grained Scanning: 1. Take d-dimension raw input features and slide multiple-size windows (suggested [d/16], [d/8] and [d/4]) to generate feature vectors. If d=400 and window=100, a total of 301 feature vectors are produced. 2. Each forest produces a probabilistic estimate of class distribution for each feature vector. Considering the previous 301 feature vectors, if the dataset has three classes, each forest will produce 301 three-dimensional class vectors (leading to a 903- dimensional transformed feature vector). Cascade Forest: 3. The transformed feature vector will then be used to train the first layer of the cascade forest and produce class estimates generated by k-fold cross-validation using k-1 folds. Considering a layer with four forests and the previous dataset with three classes, a 12- dimension class vector is produced. 4. The generated class vector, augmented alternately with the transformed feature vectors, is then used to train the next layer. 5. After adding a new level, the holdout fold (validation set) is used to estimate the performance of the entire cascade, and if there is no significant improvement in performance, the training procedure ends. 6. Reaching the last layer, an average class vector is produced, and the class with the highest value is taken as the final prediction.
13 Figure 2.5 - Overall procedure of Deep Forest (Z.-H. Zhou & Feng, 2017, p. 3555) Data must pass a similar process, starting with the multi-grained scanning procedure to obtain the corresponding transformed feature representation and proceed with the cascade until the final prediction is obtained. Zhou & Feng (2017) compared gcForest with deep neural networks and several other popular learning algorithms on five different datasets for music classification (GTZAN), image categorization (MNIST), hand movement recognition (sEMG), face recognition (ORL), and sentiment classification (IMDB), plus three low dimensional datasets (LETTER, ADULT, YEAST). The proposed model achieved a highly competitive performance obtaining the best accuracy in all experiments. Besides having fewer hyperparameters than deep neural networks, this model can get excellent performance across various domains with default settings. Moreover, to exemplify the runtime efficiency, gcForest took 40 minutes to converge on the IMDB dataset, while MLP required 77 minutes. 2.4.1. New versions Since the introduction of gcForest numerous researchers have suggested new deep forest configurations to address a specific purpose or a specific challenge. Guo et al. (2018) proposed BCDForest (boosting cascade deep forest) to be suitable for small-scale class-imbalanced biology data. This model has a multi-class-grained scanning approach (instead of multi-grained scanning) to encourage the diversity of ensemble forests and an additional output feature in each forest of the cascade (the standard deviation of the top-k most important features) to boost important features. As result, BCDForest consistently outperformed gcForest on most cancer datasets, demonstrating that the proposed boosting strategy has improved the models’ classification ability.
20 Peffers et al. (2007), incorporating principles, practices, and procedures. DSRM was developed using a consensus-building strategy combining seven representative papers on DS. The result, as represented in Figure 3.2, is a process model made up of six activities in sequential order, with four possible entry points and an iterative process to improve the artifact (Peffers et al., 2007): 1. Problem identification and motivation – Define the research problem, capturing its complexity and the importance of a solution. This activity requires knowledge of the problems’ nature and the value of a solution. 2. Define the objectives for a solution – Establish the objectives of a solution (either quantitative or qualitative) from the problem description and an assessment of what is appropriate. Resources required for this activity include knowledge of problems’ current state and existing solutions. 3. Design and development – Determine the required functionality and architecture of the artifact and then build it. Resources required for this activity include knowledge of theories that can be applied to a solution. 4. Demonstration – Identify how the artifact can solve the problem or some of its instances. Resources required include an adequate understanding of the artifact and its use. 5. Evaluation – Compare the objectives from activity 2 to the observed results of the artifact in activity 4. Depending on the nature of the problem, this activity could take many forms, such as satisfaction surveys, client feedback, response time, availability, simulations, system performance, and empirical evidence or logical proof. At the end of this activity, the researchers can decide whether to iterate back to design and development or continue for the next activity and leave further improvement to subsequent projects. Resources required for this activity include knowledge of relevant metrics and analysis. 6. Communication – Describe the problem and its importance, the design of the proposed artifact and its effectiveness, novelty, and utility. As referred, there are four possible entry points in the DSRM process: 1. In activity 1, problem-centered approach – If the inspiration for the research came from the observation of a problem or a suggestion made in a previous project. 2. In activity 2, objective-centered solution – If an industry or a research need triggers the research. 3. In activity 3, design- and development-centered approach – If the research uses an artifact developed for a different problem. 4. In activity 4, client-/context-initiated solution – If the research seeks to improve the process of a solution already developed.
21 Figure 3.2 - DSRM process model (Peffers et al., 2007, p. 54) As seen in Figure 3.1, DS research has two main outcomes: design artifacts and design theories. The first can be categorized as (Baskerville et al., 2018): ▪ Construct – Establish the basic concepts and language used to describe and communicate problems and solutions. ▪ Model – Use constructs to represent real-world contexts (problems and solutions). ▪ Method – Define processes such as solution algorithms. ▪ Instantiation – Embodies methods, models and constructs in a working system, enabling concrete assessment. Designing artifacts allow researchers to learn about the real-world and how it is affected, leading to the development of design theories. Consequently, it is expected that some reflection of the form and functions of an artifact but not a fully formed theory on any project or article (Baskerville et al., 2018). Gregor & Hevner (2013) analyzed DS research development and its different contributions to knowledge, urging the proposal of a DS research knowledge contribution framework (see Figure 3.3). This framework focuses attention on the start-point knowledge. It has two dimensions – the existing maturity of the problem (x-axis) and the existing maturity of potentially usable artifact (y-axis) for the research question, producing a 2x2 matrix with the following quadrants (Brendel et al., 2021; Gregor & Hevner, 2013): ▪ Invention – Proving new solutions for new problems. Projects in this quadrant are rare and involve research on novel applications where the problem is poorly understood and there are no effective artifacts available. ▪ Improvement – Presenting new solutions for known problems. The intention is to develop improved solutions, which can be in the form of more effective and efficient technologies, products, services, processes, or ideas. ▪ Exaptation – Extending known solutions to new problems. In this quadrant, knowledge that already exists in one field is extended or refined to another.
22 ▪ Routine design – Proving known solution for known problems. In this quadrant no major knowledge is expected, but some research opportunities may arise when the application of existing knowledge in a routine way leads to surprises and discoveries, requiring the research to move to another quadrant. Figure 3.3 - DS research knowledge contribution framework (Gregor & Hevner, 2013, p. 345) Gregor & Hevner (2013) also argue that prior guidelines for presenting DS research do not offer enough guidance to researchers and propose a publication schema in comparison to a conventional behavioral science paper: 1. Introduction – Contents are similar but should also include the goals for the artifact, specifying the scope and purpose. 2. Literature review – Should include relevant literature on knowledge or artifacts related to the problem at hand. 3. Method – The adopted research approach should be described and supported with reference to existing authorities. 4. Artifact description – This section differs markedly from conventional articles in the behavioral science. It is expected to have a description of the artifact and (may also include) the development process, at the appropriate level of abstraction. 5. Evaluation – Reports any evidence that the artifact does what it is meant to do, in accordance with the goals established. 6. Discussion – Presents an interpretation of the results, the novelty of the artifact and its contributions to knowledge. 7. Conclusions – Restates the main contributions to knowledge and why they are important.
23 3.2. DESIGN SCIENCE RESEARCH METHODOLOGY Relating DSRM activities to the publication schema and the present dissertation structure, it’s possible to understand how to comply with DS research. Table 3.1 - DSRM activities relation with chapters DSRM activity: Publication schema: Dissertation structure: Problem identification and motivation Introduction Introduction Define the objectives for a solution Literature review Literature review - Method Methodology Design and development Artifact description Empirical study Demonstration Evaluation Results and discussion Evaluation Discussion Communication Conclusions Conclusions and future works It is clear at this point what to expect from each activity and where it is described. Still, a brief review of the first two activities is provided to ensure clarity. Problem identification – Current radar classification methods heavily rely on the knowledge of experts to label records performed by ESM systems (e.g. PDW), to build rules of radar attributes when using the expert system method, or to characterize and input radar parameters in databases, when using the parameter matching method. Then, a system expert should test and tune these rules or parameters. It should be noticed that due to sensitivity, congestion management, and other systemspecific characteristics, any record created by an ESM system and used to develop rules or parameters may not be suitable for another ESM system. Objectives for a solution – The primary objective is to create a machine learning model, specifically a deep ensemble, that can classify radar emitters. To be an alternative, it must comply with three requirements: ▪ Be quick – As most radars can transmit thousands of pulses per second and may be traveling fast (more than 1000km/h in case of missiles or fighters), the classification process is required to be as quick as possible. ▪ Highly precise – Errors in classification can lead to higher threat assessment processing time, hampering timely reactions. Therefore, precision is required for better and faster responses. ▪ And robust – ESM operates in harsh conditions, affected by several environment, system, and propagation degradation, with impact on performance. To sustain the precision of classification and lessen this issue, the proposed machine learning model should be robust, this is, should be noise resistant.
24 To be presented in the next chapter, the design and development activity follows a set of steps adapted from Ferreira (2020) – the six phases of the data science loop. 1. Data exploration: A general assessment of the dataset is performed in this initial step. It enables familiarization with the data, verifying its quality, checking features correlation, and any issue to be solved in the data cleaning step. The following features are available in the dataset: TOA, DOA, RF, power, AMOP, FMOP, PMOP, CW, POP (Pulse On Pulse, interrupting pulse), POPed (Pulse On Pulse, interrupted pulse), and label. 2. Data cleaning: As in CRISP-DM (Cross Industry Standard Process for Data Mining), SEMMA (Sampling, Exploring, Modifying, Modelling, and Assessing) or KDD (Knowledge Discovery in Databases), this step aims to perform noise removal and transformations on data. 3. Feature engineering: This step creates new features from original data and transformations to enhance models’ performance. New Features: ▪ PRI, using the first difference of TOA between sequential pulses of each emitter 1 . ▪ The second difference of TOA, based on Ahmed et al. (2018). ▪ The minimum, maximum and mean values of RF, PW and PRI, based on W. Chen et al. (2017) and Petrov et al. (2013). ▪ Rolling minimum, maximum, and mean values of RF, PW and PRI, based on the sequence normalization of Notaro et al. (2019). ▪ Binning RF, PW and PRI, based on Sun et al. (2018). Transformations: ▪ Normalization with Min-Max scaling [0,1], based on W. Chen et al. (2017) and Petrov et al. (2013). ▪ Standardization scaling, based on Petrov et al. (2013). ▪ Normalization scaling [-1,1], based on Notaro et al. (2019). ▪ Sequence/rolling normalization [-1,1], based on Notaro et al. (2019). ▪ Principal Component Analysis (PCA), based on Gençol (2015) and Y. Zhou et al. (2020). 4. Model build: Deep forest is the foundation to build several deep ensemble models that replicate some research mentioned in the Literature review. Additionally, to compare results across datasets, their base learners must be built separately. 5. Hyperparameter optimization: This step aims to finetune each model for superior performance. Models can also be tested with different features, following a feature selection procedure. 1 The use of labels in preprocessing shouldn’t be considered data leakage because deinterleaving occurs before classification, grouping pulses of the same emitter to produce tracks.
25 6. Evaluate and compare: The evaluation and comparison of models’ performance in all datasets must score time and accuracy to value the first two requirements – be quick and highly precise. The third requirement, the models’ robustness, is evaluated through the performance of noisy data. 3.2.1. Dataset and resources The dataset (PDW) was produced with a virtual EW simulator from Leonardo DRS. This software can simulate different radar characteristics, including antenna patterns and external interference, resembling a real-world scenario. In total, 52 different emitters were simulated, from simple navigation radars to multifunction radars, including fixed frequency and RF agility, a wide variety of PW, several PRI modulations, and different types of antenna polarization. The algorithms used to develop the artifact were implemented in Python, and the experiments were performed using a computer with an Intel® Core™ i5-8265U processor and 16GB of memory.
26 4. EMPIRICAL STUDY This chapter describes the design and development of the proposed artifact, following the procedures described in 3.2. 4.1. DATASET PREPARATION The dataset includes the PDW of 52 emitters generated separately using the virtual EW simulator from Leonardo DRS. To use this data in supervised learning, all PDWs were concatenated and labeled with an alphanumeric label 2 (one letter for each type of radar and a sequential number). Within this preparation, a few changes to features’ names and measurement units were performed, ending as TOA(ns), DOA(deg), RF(kHz), PW(ns), POWER(dB), AMOP, FMOP, PMOP, POP, POPed, CW. Two noisy datasets were produced using 20% of the pulses from each emitter to evaluate the models’ robustness: 1. Gaussian noise on continuous features: Revillon (2019) have noised continuous features applying a multivariate Gaussian noise with a diagonal covariance matrix comprising RF, PW, PRI = [1MHz, 50ns, 1µs]. Using identical approach the following matrix was taken into consideration – TOA(ns), RF(Khz), PW(ns), POWER(dB) = [1000, 1000, 50, 0.1]. TOA was used instead of PRI because this last is not available in the original dataset and TOA will be used to determine PRI. Furthermore, to affect all available continuous features, power was also noised. 2. Uniform noise on categorical features: Y.-H. Chen et al. (2021) used uniform random noise on 25% of the synthetic test data in order to evaluate the hiDF model (presented in the Literature review). Similarly, all flag features (AMOP, FMOP, PMOP, POP, POPed and CW) were uniform random noised. 4.2. DATA EXPLORATION AND DATA CLEANING 4.2.1. Data exploration 6.740.247 records/pulses in the PDW dataset are available without missing data. Checking the descriptive statistics, as Figure 4.1 shows, no incoherent values exist in any feature. On the other hand, TOA(ns), DOA(deg), POP, and POPed are environment-related features and should not be used to build the models, consequently, can be dropped. Thou, as PRI is determined with the difference in TOA between sequential pulses, this feature can only be dropped in the Feature engineering phase. Spearman's correlation was calculated to test for feature correlation and revealed a high negative correlation between TOA(ns) and DOA(deg), which makes no logic because the time when a certain pulse arrives at an ESM system has no relation with the direction from where it arrives; besides, both features will be dropped and will not impact the models. 2 A second label feature must also be created because XGBoost, since version 1.3.2, requires it to start from 0.
27 Figure 4.1 - PDW dataset descriptive statistics To enhance the familiarization with the PDW dataset 3 , Figure 4.2 displays the three main continuous features overtime, colored by the emitter. 3 More figures are included in Appendix A.1 and A.2.
28 Figure 4.2 - Continuous features evolution overtime 4.2.2. Data cleaning Over time, a radar transmits pulses with the same characteristics, even when they have the agility and change their parameters for a certain period. So, it is expected to have a substantial number of duplicate records (6.737.766). Nevertheless, as some new features will be based on rolling windows and sequential pulses (reducing that number), duplicate values can only be dropped in the Feature engineering phase before transformations are performed. From Figure 4.2 and Figure 4.3, it is difficult to identify which records could be considered outliers. On the other hand, since the base model (deep forest) is designed to cope with raw data, there is no place for outliers’ removal. Additionally, the exclusion of records may altogether remove emitters from the dataset.
29 Figure 4.3 - Continuous features distribution The train-test split of the PDW dataset follows what previous research on deep forest and super learner have implemented (80-20% split), as in Z.-H. Zhou & Feng (2017), Naimi & Balzer (2018), Y. Wang et al. (2019) and Taghizadeh-Mehrjardi et al. (2021). 4.3. FEATURE ENGINEERING The Feature engineering phase mainly implements what earlier research has proposed and tested regarding new features and transformations. The first new feature is PRI, using the first difference of TOA(ns). This is the primary feature to determine the emitters' modulation in time. Following Ahmed et al. (2018), a second difference of TOA(ns) is also implemented. In the research of Petrov et al. (2013), the dataset has pulse trains, and this is a summary of the emitter characteristics, which includes the minimum and maximum values of RF, PW and PRI. On the other hand, W. Chen et al. (2017) also have the mean value of the same features. Based on this earlier research, the minimum, maximum, and mean values of RF(kHz), PW(ns) and PRI of all recorded pulses per emitter were determined and included in the dataset. Considering these new features and one of the transformations presented below, the sequence normalization of Notaro et al. (2019), rolling minimum, maximum, and mean values of RF(kHz), PW(ns) and PRI were also included, using a window of 20 pulses. The next new set of features apply binning to RF, PW and PRI, resembling Sun et al. (2018). This last have implemented a (binary) sequence encoding method dividing the range of each feature in bins. If a bin range is within the minimum and maximum value of a specific feature, this bin will have the value
36 DF-SL 89.031% 100% 100% 100% 100% 100% 64.374% RandForest 69.829% 100% 100% 100% 100% 100% 56.661% ExTrees 41.954% 100% 100% 100% 100% 100% 63.178% XGBoost 86.635% 74.234% 74.234% 74.393% 60.415% 59.297% 63.584% GBDT 49.109% 99.049% 99.049% 99.049% 74.567% 74.710% 45.903% SVM 48.095% 39.587% 92.386% 39.161% 39.577% 56.889% 65.876% SuperLearner 93.066% 100% 99.500% 83.126% 82.551% 91.239% 72.918% Model: Prediction time (seconds): DF 134.000 123.000 72.000 83.000 86.000 102.000 197.000 DF-Stack 332.000 146.000 101.000 101.000 106.000 147.000 104.000 DF-SVM 1053.000 5005.000 3743.000 2711.000 3907.000 6474.000 2209.000 DF-SL 39.200 2848.000 1830000 1399.000 1935.000 1942.000 63.000 RandForest 6.450 18.600 11.400 7.950 12.200 11.200 8.460 ExTrees 6.640 18.800 12.300 8.050 12.400 11.800 8.890 XGBoost 1.080 1.190 1.400 1.070 1.380 1.410 1.360 GBDT 2.160 34.400 30.500 26.100 36.600 29.200 4.940 SVM 905.000 7298.000 1534.000 1546.000 1979.000 2244.000 1354.000 SuperLearner 15.300 86.000 87.000 88.000 91.000 128.000 17.800 The following considerations can be taken by analyzing and comparing the models’ performance: ▪ Models’ accuracy increased with new features (created in feature engineering). ▪ In general, the models had better accuracy with the normalization scaling [-1,1] dataset (N2) than the concatenation of normalization scaling [-1,1] with the sequence normalization (RN2). ▪ Deep models, random forest, ExTrees, XGBoost and GBDT had the same accuracy whether the dataset had no transformation (WT), Min-Max scaling (N1) or standardization scaling (ST). ▪ DF-SVM improved the accuracy of its base learner (SVM). ▪ DF-SL improved the accuracy of its base learner (super learner) when using datasets with transformation and underperformed when using original data (PDW) and principal components (PC). ▪ While DF-SL had the best overall accuracy, DF had the second-best accuracy and the best time performance within the deep forest models (almost eight times faster than DF-SL). Since DF only employs random forests and ExTrees as base learners, its performance may be justified by the same top performance of its base learners. 4.5.1. Evaluate optimization The optimization of DF is obtained through feature selection, which requires evaluating its performance over a reduced sequence of features previously ranked. As presented in Table 4.6, DF maintained 100% accuracy in all test datasets using four features.
37 Table 4.6 - DF and base learners’ performance with four features Train Dataset Train WT Train WT Train WT Test Dataset Test WT Test GN-WT Test UN-WT Features RF_mean_bin, PRI_max, RF_mean, RF_min_bin Model: Accuracy: DF 100% 100% 100% RandForest 100% 100% 100% ExTrees 100% 100% 100% Model: Prediction time (seconds): DF 21.900 746.000 165.000 RandForest 2.530 86.000 19.300 ExTrees 2.430 85.000 19.100 Regarding prediction time, DF increased 42% while random forest and ExTrees increased 84%, yet DF is still eight times slower. The DF-SL optimization includes feature selection and hyperparameter optimization. The first optimization is executed as in DF, which records the performance over different sets of features, as follows. Table 4.7 - DF-SL and super learner performance with five features Train Dataset Train PDW Train PDW Train PDW Test Dataset Test PDW Test GN-PDW Test UN-PDW Features RF(kHz), PW(ns), POWER(dB), FMOP, PMOP Model: Accuracy: DF-SL 96.777% 91.618% 90.123% SuperLearner 97.588% 94.423% 93.392% Model: Prediction time (seconds): DF-SL 2.860 351.000 38.200 SuperLearner 0.806 88.000 9.160 Table 4.8 - DF-SL and super learner performance with three features Train Dataset Train PDW Train PDW Train PDW Test Dataset Test PDW Test GN-PDW Test UN-PDW Features RF(kHz), PW(ns), POWER(dB) Model: Accuracy: DF-SL 96.817% 91.610% 96.179% SuperLearner 97.567% 94.357% 96.112% Model: Prediction time (seconds): DF-SL 3.180 284.000 38.100 SuperLearner 1.080 67.000 7.750
38 Comparing both tables, using three features improves the accuracy of Test UN 4 in both models. Furthermore, the overall prediction time is faster. Consequently, this set of features should be selected and continued for hyperparameter optimization. The first step of hyperparameter optimization requires testing and selecting the best parameters for the base learner. Table 4.9 comprises the accuracy of the super learner (DF-SL base learner) over a different number of v-fold cross-validation and loss functions. Table 4.9 - Super Learner accuracy over fold and loss function Loss Function Logistic Regression Ridge Classifier SGD Classifier Folds: Train/Test PDW accuracy: Train/Test PDW accuracy: Train/Test PDW accuracy: 2-folds 96.751% / 97.567% 96.766% / 97.790% 96.563% / 97.810% 3-folds 96.563% / 98.135% 96.619% / 97.993% 96.345% / 98.317% 4-folds 96.436% / 98.297% 96.512% / 98.135% 96.543% / 98.317% 5-folds 96.401% / 98.378% 96.467% / 98.256% 96.264% / 98.439% 6-folds 96.447% / 98.276% 96.502% / 98.216% 96.507% / 98.317% 7-folds 96.340% / 98.398% 96.447% / 98.317% 96.071% / 98.439% 8-folds 96.365% / 98.357% 96.472% / 98.216% 96.431% / 98.357% 9-folds 96.355% / 98.378% 96.457% / 98.256% 96.021% / 98.337% 10-folds 96.381% / 98.378% 96.477% / 98.236% 96.330% / 98.357% The second step requires testing and selecting the best number of (optimized) base learners – 7-fold cross-validation super learner with SGD loss function; to be used in each layer of the deep forest cascade. The accuracy achieved with 2, 3 and 4 base learners is recorded in Table 4.10. Table 4.10 - DF-SL accuracy over base learner quantity Models qt: Train/Test PDW accuracy: 2 SL 96.928% / 97.121% 3 SL 96.923% / 97.182% 4 SL 96.913% / 97.161% After finding the best number of base learners (3) it is possible to re-evaluate the models over the three datasets and compare it with the initial performance, as follows. Table 4.11 - Optimized models performance Train Dataset Train PDW Train PDW Train PDW Test Dataset Test PDW Test GN-PDW Test UN-PDW Model: Accuracy: DF-SL 97.182% 90.310% 95.999% SuperLearner 98.358% 94.532% 96.073% Model: Prediction time (seconds): 4 As the models aren’t using categorical features, the noise introduced in Test UN doesn’t affect the models’ accuracy.
39 DF-SL 4.890 786.000 69.000 SuperLearner 0.906 135.000 15.400 The optimized version of DF-SL improved by 2% accuracy on average while the optimized version of super learner improved by 1.29%; however, this last still achieved higher accuracy in all three datasets. DF-SL also worsen by 1.31% accuracy in Test GN, revealing less generalization capability. Regarding prediction time, DF-SL increased by 11%, and super learner increased by 50%, yet DF-SL is still five times slower. 4.6. RESOURCES Table 4.12 lists the main Python packages and software used to develop the artifact. Table 4.12 - Summary of software Software/package: Version: Software/package: Version: Jupyter Notebook 6.3.0 matplotlib 3.3.4 phyton 3.8.8 seaborn 0.12.0 pandas 1.4.2 deep-forest 0.1.7 numpy 1.23.4 xgboost 1.6.0 scikit-learn 1.1.3 mlens 0.2.3
40 5. RESULTS AND DISCUSSION The main objective of this dissertation is to develop a deep ensemble model based on deep forest that can classify radar emitters in PDW. In this sense, four deep ensemble models and six of its base learners were built and tested on several datasets. Figure 5.1 plots the models’ performance, measured in accuracy and time, on each test dataset. It is possible to see that XGBoost is the fastest model, DF-SVM is the slowest, and almost every model achieved 100% accuracy (except SVM and DF-SVM). All models underperformed on Test PC and Test PDW (trained on Train PC and Train PDW, respectively), meaning they performed better on datasets with engineered features regardless of the transformation applied. Figure 5.1 - Models' performance on the test dataset Figure 5.2 plots the models’ performance on the Gaussian noise test dataset, where the prediction time increased because this dataset is much bigger. Looking to the right side of the figure, it is possible to see that DF-SVM achieved a higher accuracy than its base learner (SVM). Figure 5.2 - Models' performance on Gaussian noise dataset
41 Figure 5.3 plots the models’ performance 5 on the Uniform noise test dataset, where it is possible to see that DF-SL had lower accuracy than its base learner (super learner) on Test PDW but better on other datasets, as Test N1, Test ST, Test N2 and Test RN2. Figure 5.3 - Models' performance on Uniform noise dataset Given that datasets have a different number of records and models may perform differently on each, Table 5.1 presents the average prediction time of each model per 1000 records, confirming that XGBoost, random forest and ExTrees are significantly faster than the remaining. Table 5.1 - Average model prediction time Average prediction time per 1000 records (seconds): DF DF-Stack DF-SVM DF-SL RandForest 0.524 0.775 11.785 4.107 0.038 ExTrees XGBoost GBDT SVM SuperLearner 0.061 0.005 0.358 7.334 0.265 Since the best models already achieve 100% accuracy in primary and noisy datasets, improving them through feature selection and hyperparameter optimization is impossible. Tough, it is possible to seek efficiency by reducing the number of features the model uses on datasets without transformation. This DF implementation concluded that using four features (RF_mean_bin, PRI_max, RF_mean, RF_min_bin) was enough to maintain 100% accuracy on Test WT, Test GN and Test UN datasets. However, different from what was expected, the models become substantially slower, especially random forest and ExTrees, with an increase of 84%. Another interesting approach is to improve a deep model using the PDW dataset, which has not any transformation or feature engineering. This implementation on DF-SL and its base learner increased 5 Appendix A.5. presents the models’ performance on test dataset, Gaussian noise dataset, and Uniform noise dataset with linear time scale and accuracy between 0 and 100%.
42 the accuracy by 2.027% and 1.299%, respectively. Nevertheless, as presented in Figure 5.4, the super learner still achieves higher accuracy in all three datasets and is five times faster. For both approaches, it was impossible to determine why prediction time increased. While the number of layers in both deep ensembles has remained constant, the training times for all models have increased. Figure 5.4 - Comparison of models’ performance The accuracy reached in this dissertation appears to be good, but how does it compare to previous research? The answer to this important question is complicated since each research employs its dataset, ranging from a few thousand records to some hundred thousand records, containing different numbers of agile emitters and varying the number of labels from a dozen to a hundred. So, this comparison is only possible with many assumptions. As expected, the super learner performed asymptotically or better than any of its base learners 6 . The only down performance was observed in classifying the Uniform noise dataset using a model trained with transformations (Train ST, Train N1, Train N2 and Train RN2 dataset). In these occurrences, the deep model (DF-SL) improved the accuracy of the base learner, confirming what Young et al. (2018) concluded – augmented features add depth to the learning and improve accuracy. Likewise, SVM's accuracy increased significantly on the deep model, going from an average of 70.536% to 94.390%, similar to what Kim et al. (2015) and Qi et al. (2016) had verified. According to Z.-H. Zhou & Feng (2017) deep forest has few hyperparameters and can perform excellently with default settings. In applying this model to classify synthetic aperture radar (SAR) targets, the authors had the same conclusion but also stated that an appropriate selection of hyperparameters would improve the accuracy for a specific classification task (Zhang et al., 2020). Considering the results of this dissertation, it is possible to confirm both statements. 6 This conclusion comes from Literature review and considers the use of train/test dataset compared to random forest, ExTrees and XGBoost.
43 In the context of HRRP recognition, as presented in the Literature review, deep forest achieved 94.81% accuracy (Y. Wang et al., 2019). That model was replicated on DF-Stack and, using the PDW dataset, achieved 97.203% accuracy. Some previous research on radar classification was referred to in Introduction, and the corresponding accuracies are now presented for comparison (see Table 5.2). Table 5.2 - Accuracy of previous research Research: Model: Highest accuracy: Petrov et al., 2013 Feedforward Neural Networks 84.3% W. Chen et al., 2017 Weighted XGBoost 98.30% Sun et al., 2018 Unidimensional CNN 97.5% Notaro et al., 2019 RNN and LSTM 64.98% Xiao & Yan, 2020 Naïve Bayes 99.50% Feng et al., 2021 Hybrid Deep Neural Network with dynamic CNN and LSTM 96.24% J. Wang et al., 2022 Intuitionistic Fuzzy Information Tri-training 99.91% Regarding prediction time, just a few previous research have measured it, and from those, some comparisons could be made solely for SVM, following Sun et al., 2018 and Xiao & Yan, 2020. Even still, the impact of different hardware and datasets would have to be considered in that comparison. Some models evaluated are highly competitive in accuracy, but are they appropriate to solve the problem? Considering the use case of accessing data after deinterleave (with cluster labels), it is possible to engineer the four features that enable DF to accomplish 100% accuracy on datasets without transformation. This leads to the conclusion that DF complies with the requirements of precision and robustness. Regarding classification speed, the conclusion is complex – radars can transmit between a few hundred and several hundred thousand pulses per second, and how many are unique to be used in classification is unclear. In this context, on average, DF can classify 1000 records in 557ms (after optimization), which may be acceptable. It is also worth noticing that random forest and ExTrees accomplish the same accuracy and can be eight times faster than DF. In the use case of working with raw data, the super learner (after optimization) matched the accuracy of DF on Test PDW (98.358%) but can be considered the best performant model due to its superiority on noisy datasets. Though, it cannot be considered to meet the required precision and robustness due to a lack of quantitative requirements. Regarding classification speed, in this context, can classify 1000 records in 101ms, which may be acceptable. The contributions of this dissertation are summarized as follows: ▪ For the first time, using a super learner as the deep forest's base learner and using these models separately is proposed to classify emitters in PDW. ▪ It is verified that transformations do not impact deep forest accuracy. ▪ A new set of features has been proposed and tested – rolling minimum, maximum, and mean values of RF(kHz), PW(ns) and PRI, have risen to the top of feature selection.
44 Focusing on the practical implementation of this work, some of the benefits and contributions could be: ▪ Less dependency on experts to build and tune radar parameters databases, considering future model training with ESM PDW records. ▪ The robustness to noise is intrinsic to the models’ behavior instead of database parameters. ▪ The four features required to achieve 100% accuracy can be obtained from pulse trains. ▪ The model's classification process is not human-readable, protecting such classified information.
45 6. CONCLUSIONS AND FUTURE WORKS Modern warfare employs information from numerous sources to conduct operations, including ESM systems that intercept, locate, and classify radar emitters to support the battlefield’s situational awareness. These systems use the parameter matching method 7 to perform classification, which heavily relies on several experts to update, maintain, tune, and deploy radar parameters databases. Therefore, the present dissertation fosters an alternative – How can a deep ensemble model, based on deep forest, be used to classify radar emitters in PDW of ESM systems? Given the impact of misclassification and the conditions of operation, this model must be quick, highly precise, and robust to noise. The most suitable methodology was found to be DSRM, complemented by the six phases of the data science loop from Ferreira (2020), and the (PDW) dataset was produced with a virtual EW simulator from Leonardo DRS, totaling 52 different emitters. This dataset started with 11 features and after feature engineering, ended with 48. Then, several transformations took place, producing seven datasets to train and test the models, plus two datasets to assess the models' robustness to noise – one is dedicated to Gaussian noise on continuous features and another to Uniform noise on categorical features. Based on previous research, four deep ensemble models and six of its base learners were built and evaluated on all datasets, counting 420 measurements of accuracy and classification speed (also designated as prediction time). In overall accuracy, DF-SL was the best model (97.227%), and DF was the second-best (96.442%), but regarding speed, DF was almost eight times faster than DF-SL, making it the best performant model. Both models achieved 100% accuracy in datasets with feature engineering, but with raw data, DF-SL achieved 92.470%, and DF achieved 87.493%, on average. Hence, model optimization followed two distinct paths: 1. Improve the efficiency of DF, reducing the number of features used by the model through feature selection while maintaining 100% accuracy in primary and noisy datasets. 2. Improve the performance of DF-SL through feature selection and hyperparameter optimization using raw data. These developments were compared in deep ensemble models and their base learners. In the first line of development, DF and its base learners were able to maintain the accuracy using four features (RF_mean_bin, PRI_max, RF_mean, RF_min_bin) but became much slower – DF increased prediction time by 42% while base learners increased 84%. Nevertheless, the base learners (random forest and ExTrees) were still eight times faster than DF. Regarding the second line of development, feature selection leads DF-SL and super learner to use three features (RF(kHz), PW(ns), POWER(dB)), and after hyperparameter optimization, the accuracy has increased 2.027% and 1.299% respectively. However, the super learner achieves higher accuracy in all three datasets and is five times faster than DF-SL. 7 As the expert system method has a low recognition efficiency and a slow recognition speed, it’s not very common.
52 APPENDIX A.1. PDW DATASET - VIOLIN PLOTS OF CONTINUOUS FEATURES BY EMITTER
53
54
55
56 A.2. PDW DATASET - CATEGORICAL FEATURES RELATION WITH EMITTER
57 A.3. OPTIMIZED DF-SL CONFUSION MATRIX
58
59
60 A.4. OPTIMIZED SUPER LEARNER CONFUSION MATRIX
61