scieee AI-readable full text Open interactive document viewer

A Survey on the Use of Deep Learning Techniques for UAV Jamming and Deception

Šimon, Ondřej; Götthans, Tomáš

Abstract

Unmanned aerial vehicles (UAVs) can be used for a variety of illegal activities (e.g., industrial espionage, smuggling, terrorism). Given their growing popularity and availability, and advances in communications technology, more sophisticated ways to disable these vehicles must be sought. Various forms of jamming are used to disable drones, but more advanced techniques such as deception and UAV takeover are considerably difficult to implement, and there is a large research gap in this area., Currently, machine and deep learning techniques are popular and are also used in various drone-related applications. HOwever, no detailed research has been conducted so far on the use of these techniques for jamming and deception of UAVs. This paper focuses on exploring the current techniques in the are of jamming and deception. A survey on the use of machine or deep learning specifically in UAV-related applicsations is also conducted. The paper provides insight into the issues described and encourages more detailed research in this area.

Full text

Citation: Šimon, O.; Götthans, T. A Survey on the Use of Deep Learning Techniques for UAV Jamming and Deception. Electronics 2022,11, 3025. https://doi.org/10.3390/ electronics11193025 Academic Editor: Hirokazu Kobayashi Received: 29 August 2022 Accepted: 21 September 2022 Published: 23 September 2022 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). electronics Review A Survey on the Use of Deep Learning Techniques for UAV Jamming and Deception Ondˇrej Šimon 1,2,* and Tomáš Götthans 1,2 1Department of Radio Electronics, Brno University of Technology, 616 00 Brno, Czech Republic 2Department of Communications Technologies, Electronic Warfare and Radiolocation, University of Defence, 662 00 Brno, Czech Republic *Correspondence: [email protected] Abstract: Unmanned aerial vehicles (UAVs) can be used for a variety of illegal activities (e.g., industrial espionage, smuggling, terrorism). Given their growing popularity and availability, and advances in communications technology, more sophisticated ways to disable these vehicles must be sought. Various forms of jamming are used to disable drones, but more advanced techniques such as deception and UAV takeover are considerably difficult to implement, and there is a large research gap in this area. Currently, machine and deep learning techniques are popular and are also used in various drone-related applications. However, no detailed research has been conducted so far on the use of these techniques for jamming and deception of UAVs. This paper focuses on exploring the current techniques in the area of jamming and deception. A survey on the use of machine or deep learning specifically in UAV-related applications is also conducted. The paper provides insight into the issues described and encourages more detailed research in this area. Keywords: UAV; jamming; machine learning; deep learning 1. Introduction Unmanned aerial vehicles (UAVs) are nowadays used in a wide range of industries, such as healthcare, humanitarian aid or commercial purposes. However, drones can pose a threat to critical infrastructure at the same time, due to their availability and ability to carry various types of weapons (explosives, jammers, etc.). Therefore, their neutralization is currently a highly discussed topic. The drones themselves can be divided into civilian and military, and both groups pose a real threat. They vary only in usage and capability of weapons systems. There are several ways of jamming drones in order to neutralize them. They depend mainly on the type of the communication signal modulation that the drones use and the related band in which the drones operate. This article addresses the issue of civilian UAVs, which are easily accessible and easily customizable. Additionally, there is a problem with their localization due to their small RCS (radar cross-section). This article focuses on the current overview of UAV neutralization techniques as UAVs are becoming an increasing threat with their growing popularity. Furthermore, this article analyzes the current state-of-the-art machine learning and deep learning methods with a focus on UAV application. Due to the complex UAV control signals and the generally complex signal environment in which UAVs operate, these methods have potential uses to address UAV interference and takeover issues. Various types of research have already been published for UAV neutralization and countermeasures against neutralization [ 1 – 6 ]. Due to the popularity of machine learning and deep learning, several studies have also been published about communication signals or wireless networks [ 7 – 9 ], which are closely related to the topic of UAVs. Several publications are also focused on applications of these methods to UAV on-board systems, management of the UAV itself or UAV swarms [ 9 – 11 ]. Despite all the identified benefits of machine learning in these areas, insufficient research Electronics 2022,11, 3025. https://doi.org/10.3390/electronics11193025 https://www.mdpi.com/journal/electronics Electronics 2022,11, 3025 2 of 32 has been conducted on the use of UAV jamming and spoofing. Table 1shows recent surveys and reviews focusing on UAV applications, jamming and spoofing techniques, communication signals, or machine and deep learning applications. Table 1. Relevant surveys and reviews on various UAV-related applications. Ref., Year UAV- Related Application Wireless Networks UAV Jamming UAV Protection UAV Spoofing Machine Learning Deep Learning Chamola et al. [1], 2021 x x x Abdalla et al. [2], 2021 x x Shafique et al. [3], 2021 x x x Kong [4], 2021 x x x x Morales-Ferre et al. [ 5 ], 2020 x x x Wu et al. [6], 2020 x x x Bithas et al. [7], 2019 x x Lahmeri et al. [8], 2021 x x x Carrio et al. [9], 2017 x x x Wang et al. [10], 2021 x x x x Zhang et al. [11], 2019 x x x This paper x x x x x x x As can be seen from Table 1, a number of studies have been conducted in recent years across the areas of UAV neutralization, communication signals and applications of machine and deep learning methods. However, none of these recent studies connect all of these areas. Therefore, the aim of this study is to provide an overview in the aforementioned areas and link them together. There is potential for the development of more sophisticated UAV neutralization techniques, and the use of deep learning methods for these applications appears to be a promising research topic. The article is designed as follows. The introductory part is followed by Section 2, in which basic types of UAV signals and modulations are discussed. Furthermore, Section 2 also focuses on basic communication protocols used by the most well-known UAV manufacturers. Section 3introduces basic techniques of jamming and spoofing. Moreover, practical examples of cyberattacks against UAVs are described here. Sections 4and 5focus on the basic description, explanation and division of machine learning and deep learning models. Furthermore, in these sections, practical use of these methods in the researched area is presented. In Section 6, the simulations of signal modulation classifiers based on various types of neural networks are presented. Section 7discusses the advantages and the disadvantages of employing deep learning algorithms in comparison to traditional methods. We also discuss the limitations of previous studies and their comparison. In Section 8, a conclusion is provided. 2. Signals and Protocols for UAV Communication In terms of manual control, current commercial drones usually operate in the standard Wi-Fi band (2.4 GHz and 5 GHz). Even basic commercial drones usually have several pre-programmed automatic functions, such as tracking the position of the drone or the “go home” function. The “go home” function guides the drone back to the take-off location according to the GPS (Global Positioning System) if the control signal is lost. The Global Navigation Satellite System (GNSS) is used for these functions. The GPS band in which the drones operate is located at 1574.42 MHz and 1227.60 MHz. Other possible drone remote control bands are at 900 MHz and 1.3 GHz, but these bands are close to the GPS band and Electronics 2022,11, 3025 3 of 32 may cause interference. At the same time, larger antennas are needed for lower frequencies. This brings another disadvantage in the use of these bands. Nowadays, the integration of the use of 4G and 5G bands for drone control is already beginning [ 1 , 2 , 12 ]. The basic types of modulations used for communication with drones are discussed below. 2.1. Spread Spectrum Signals Currently, we have several basic analog modulations (AM, FM, PM—amplitude, frequency and phase modulation) or data modulations (ASK, FSK, PSK—amplitude, frequency and phase shift keying). However, these signals are unsuitable for drone control as they have a fixed carrier signal frequency. Such signals can be easily found and jammed in the spectrum, although some modulations of this type (FSK, PSK) show a certain immunity to interference. However, these signals are easily demodulated, so anyone with sufficient equipment can find out what message is being transmitted. Therefore, spread spectrum signals are used. These types of signals show good resistance to interferences, whether natural (noise) or intentional (jamming). The principle of spectrum spreading consists of modulating a narrowband signal containing information by a pseudorandom broadband signal. By this modulation, the spread spectrum signal is obtained [ 1 ]. In the following paragraphs, various spectrum spreading options are described. 2.1.1. Direct Sequence Spread Spectrum—DSSS DSSS is the most basic form of spectrum spreading, where a signal with information is modulated by a pseudo-random code (PN code). The resulting signal bandwidth is similar to the PN code bandwidth. The PN code also serves as a demodulation key. DSSS usually uses BPSK or QPSK modulation (binary or quadrature PSK) [ 1 ]. DSSS can theoretically be below the noise level, as for demodulation, it is necessary to know only the PN code, according to which the appropriate signal in the spectrum can be found. Thanks to this, it is difficult for the attacker to find this system in the spectrum at all, let alone effectively jam it. This type of modulation can be disturbed by ultra-wideband (UWB) noise jamming (see Section 3), but the jamming signal power needs to be 20–40 dB higher than the useful signal power. The described basic principle of DSSS and the block diagram for its implementation are shown in Figure 1. Electronics 2022, 11, x FOR PEER REVIEW 3 of 34 lower frequencies. This brings another disadvantage in the use of these bands. Nowadays, the integration of the use of 4G and 5G bands for drone control is already beginning [1,2,12]. The basic types of modulations used for communication with drones are discussed below. 2.1. Spread Spectrum Signals Currently, we have several basic analog modulations (AM, FM, PM—amplitude, frequency and phase modulation) or data modulations (ASK, FSK, PSK—amplitude, frequency and phase shift keying). However, these signals are unsuitable for drone control as they have a fixed carrier signal frequency. Such signals can be easily found and jammed in the spectrum, although some modulations of this type (FSK, PSK) show a certain immunity to interference. However, these signals are easily demodulated, so anyone with sufficient equipment can find out what message is being transmitted. Therefore, spread spectrum signals are used. These types of signals show good resistance to interferences, whether natural (noise) or intentional (jamming). The principle of spectrum spreading consists of modulating a narrowband signal containing information by a pseudorandom broadband signal. By this modulation, the spread spectrum signal is obtained [1]. In the following paragraphs, various spectrum spreading options are described. 2.1.1. Direct Sequence Spread Spectrum—DSSS DSSS is the most basic form of spectrum spreading, where a signal with information is modulated by a pseudo-random code (PN code). The resulting signal bandwidth is similar to the PN code bandwidth. The PN code also serves as a demodulation key. DSSS usually uses BPSK or QPSK modulation (binary or quadrature PSK) [1]. DSSS can theoretically be below the noise level, as for demodulation, it is necessary to know only the PN code, according to which the appropriate signal in the spectrum can be found. Thanks to this, it is difficult for the attacker to find this system in the spectrum at all, let alone effectively jam it. This type of modulation can be disturbed by ultra-wideband (UWB) noise jamming (see Section 3), but the jamming signal power needs to be 20–40 dB higher than the useful signal power. The described basic principle of DSSS and the block diagram for its implementation are shown in Figure 1. (a) (b) Figure 1. (a) Principle of DSSS. (b) Block diagram for DSSS implementation. 2.1.2. Frequency Hopping Spread Spectrum—FHSS The narrowband information signal is modulated onto a carrier signal with a rapidly changing frequency. The frequency of the carrier signal changes according to the pseudorandom sequence, and the signal remains at one frequency for approximately 5–10 ms. The result of this modulation is a UWB signal. This type of spectrum spreading often uses MSK (minimum shift keying) modulation [1]. The disadvantage of this type of spectrum Figure 1. (a) Principle of DSSS. (b) Block diagram for DSSS implementation. 2.1.2. Frequency Hopping Spread Spectrum—FHSS The narrowband information signal is modulated onto a carrier signal with a rapidly changing frequency. The frequency of the carrier signal changes according to the pseudorandom sequence, and the signal remains at one frequency for approximately 5–10 ms. The result of this modulation is a UWB signal. This type of spectrum spreading often uses MSK (minimum shift keying) modulation [ 1 ]. The disadvantage of this type of spectrum spreading is that this signal can be easily found in the spectrum. To prevent transmission, Electronics 2022,11, 3025 4 of 32 it is usually sufficient to jam about one-third of the frequency jumps. However, due to the unknown sequence of frequency hopping, it is still necessary to jam the entire bandwidth in which the frequency of the carrier signal changes. The block diagram for implementing FHSS is shown in Figure 2a. Electronics 2022, 11, x FOR PEER REVIEW 4 of 34 spreading is that this signal can be easily found in the spectrum. To prevent transmission, it is usually sufficient to jam about one-third of the frequency jumps. However, due to the unknown sequence of frequency hopping, it is still necessary to jam the entire bandwidth in which the frequency of the carrier signal changes. The block diagram for implementing FHSS is shown in Figure 2a. (a) (b) Figure 2. (a) Block diagram for FHSS implementation; (b) CSS signal spectrum. 2.1.3. Time Hopping Spread Spectrum—THSS With THSS, the signal is not transmitted continuously, but is divided into parts and transmitted in individual pulses. Basically, the pulse repetition interval (PRI) and duty cycle are pseudo-randomly changed. In the true sense of the word, THSS is not a type of spectrum spreading. Therefore, it is used in combination with FHSS to create a signal with spread spectrum [1]. Even though THSS is not exactly a type of spectrum spreading, it can largely increase the resistance to interference, particularly against jamming. For example, THSS is largely used in modern radars, where mainly PRI varies from pulse to pulse or between groups of pulses. There are numerous ways of changing PRI, such as jitter, stagger, etc. 2.1.4. Chirp Spread Spectrum—CSS Unlike DSSS and FHSS, this type of modulation does not use a pseudo-random code generator to spread the spectrum. Instead, it uses a continuous or discrete change in carrier frequency over time to spread the spectrum. According to various mathematical relations (the simplest is linear dependence—linear frequency modulation), the frequency can increase (upchirp) or decrease (downchirp) [1]. If the frequency change is not linear, then it is called nonlinear frequency modulation (NLFM). Furthermore, the frequency change may be a combination of upchirp and downchirp (V-shaped LFM—VLFM). The spectrum of such signals uses the entire allocated bandwidth and is resistant to interferences (see Figure 2b). 2.1.5. Orthogonal Frequency Division Multiplexing—OFDM OFDM is currently one of the most common modulations that can be found in communication signals in the field of UAVs. It is also the basic modulation used in current modulation schemes such as 802.11 WLAN, 802.16 WiMAX or 3GPP LTE. OFDM, in contrast to conventional modulations, is a digital type of modulation that uses several socalled subcarriers in one channel instead of one carrier. Each of these subcarriers can then be modulated by one of the conventional digital modulations (16 QAM—16 quadrature AM, QPSK, etc.) with a slow symbol rate. The use of several subcarriers results in a comparable data rate with conventional single-carrier modulations in a given band [13]. Figure 2. (a) Block diagram for FHSS implementation; (b) CSS signal spectrum. 2.1.3. Time Hopping Spread Spectrum—THSS With THSS, the signal is not transmitted continuously, but is divided into parts and transmitted in individual pulses. Basically, the pulse repetition interval (PRI) and duty cycle are pseudo-randomly changed. In the true sense of the word, THSS is not a type of spectrum spreading. Therefore, it is used in combination with FHSS to create a signal with spread spectrum [ 1 ]. Even though THSS is not exactly a type of spectrum spreading, it can largely increase the resistance to interference, particularly against jamming. For example, THSS is largely used in modern radars, where mainly PRI varies from pulse to pulse or between groups of pulses. There are numerous ways of changing PRI, such as jitter, stagger, etc. 2.1.4. Chirp Spread Spectrum—CSS Unlike DSSS and FHSS, this type of modulation does not use a pseudo-random code generator to spread the spectrum. Instead, it uses a continuous or discrete change in carrier frequency over time to spread the spectrum. According to various mathematical relations (the simplest is linear dependence—linear frequency modulation), the frequency can increase (upchirp) or decrease (downchirp) [ 1 ]. If the frequency change is not linear, then it is called nonlinear frequency modulation (NLFM). Furthermore, the frequency change may be a combination of upchirp and downchirp (V-shaped LFM—VLFM). The spectrum of such signals uses the entire allocated bandwidth and is resistant to interferences (see Figure 2b). 2.1.5. Orthogonal Frequency Division Multiplexing—OFDM OFDM is currently one of the most common modulations that can be found in communication signals in the field of UAVs. It is also the basic modulation used in current modulation schemes such as 802.11 WLAN, 802.16 WiMAX or 3GPP LTE. OFDM, in contrast to conventional modulations, is a digital type of modulation that uses several so-called subcarriers in one channel instead of one carrier. Each of these subcarriers can then be modulated by one of the conventional digital modulations (16 QAM—16 quadrature AM, QPSK, etc.) with a slow symbol rate. The use of several subcarriers results in a comparable data rate with conventional single-carrier modulations in a given band [13]. Figure 3shows the principle of generation and demodulation of a signal with OFDM. In the frequency domain, we have many subcarriers that are independently modulated by the required data. These are then converted into OFDM symbols in the time domain using Inverse Fast Fourier Transformation (IFFT). The individual symbols can then be Electronics 2022,11, 3025 5 of 32 concatenated into one resulting OFDM pulse. A Fast Fourier Transformation (FFT) is then performed at the receiver to obtain the original data. The whole process of the OFDM modulation and demodulation is described in Figure 4. Firstly, the incoming binary data are baseband modulated by a digital modulation scheme such as BPSK, QPSK, QAM, etc. Secondly, the serial sequence is converted into parallel substreams. Then, the IFFT block converts each substream into an individual subcarrier, thus creating OFDM symbols. In the next block, the guard intervals are appended to the beginning of each OFDM symbol. Lastly, OFDM symbols are converted into a serial sequence of OFDM symbols that modulates high-frequency carriers and is transmitted via a channel. The processes in the receiver are reversed to the described processes in the transmitter [13–15]. Electronics 2022, 11, x FOR PEER REVIEW 5 of 34 Figure 3 shows the principle of generation and demodulation of a signal with OFDM. In the frequency domain, we have many subcarriers that are independently modulated by the required data. These are then converted into OFDM symbols in the time domain using Inverse Fast Fourier Transformation (IFFT). The individual symbols can then be concatenated into one resulting OFDM pulse. A Fast Fourier Transformation (FFT) is then performed at the receiver to obtain the original data. The whole process of the OFDM modulation and demodulation is described in Figure 4. Firstly, the incoming binary data are baseband modulated by a digital modulation scheme such as BPSK, QPSK, QAM, etc. Secondly, the serial sequence is converted into parallel substreams. Then, the IFFT block converts each substream into an individual subcarrier, thus creating OFDM symbols. In the next block, the guard intervals are appended to the beginning of each OFDM symbol. Lastly, OFDM symbols are converted into a serial sequence of OFDM symbols that modulates high-frequency carriers and is transmitted via a channel. The processes in the receiver are reversed to the described processes in the transmitter [13–15]. Figure 3. Representation of OFDM signal in frequency–time domain (based on [13]). Figure 4. Block diagram of the transmitter and the receiver of the OFDM signal. The function of this type of modulation is based on the concept of orthogonality. This concept is shown in Figure 5. Each of the subcarriers usually has a spectrum in the form of the sinc(x) function, which results in overlapping spectra between the individual subcarriers. However, if the individual frequencies are orthogonal to each other, the peak of the main lobe of one of the subcarriers corresponds to zeroes for the side lobes of the others. In this case, there is no interference that would prevent a restoration of the original data in the receiver. Consequently, the orthogonality provides high spectral efficiency. Interference between individual subcarriers occurs only in the case of loss of orthogonality [13,14]. Figure 3. Representation of OFDM signal in frequency–time domain (based on [13]). Electronics 2022, 11, x FOR PEER REVIEW 5 of 34 Figure 3 shows the principle of generation and demodulation of a signal with OFDM. In the frequency domain, we have many subcarriers that are independently modulated by the required data. These are then converted into OFDM symbols in the time domain using Inverse Fast Fourier Transformation (IFFT). The individual symbols can then be concatenated into one resulting OFDM pulse. A Fast Fourier Transformation (FFT) is then performed at the receiver to obtain the original data. The whole process of the OFDM modulation and demodulation is described in Figure 4. Firstly, the incoming binary data are baseband modulated by a digital modulation scheme such as BPSK, QPSK, QAM, etc. Secondly, the serial sequence is converted into parallel substreams. Then, the IFFT block converts each substream into an individual subcarrier, thus creating OFDM symbols. In the next block, the guard intervals are appended to the beginning of each OFDM symbol. Lastly, OFDM symbols are converted into a serial sequence of OFDM symbols that modulates high-frequency carriers and is transmitted via a channel. The processes in the receiver are reversed to the described processes in the transmitter [13–15]. Figure 3. Representation of OFDM signal in frequency–time domain (based on [13]). Figure 4. Block diagram of the transmitter and the receiver of the OFDM signal. The function of this type of modulation is based on the concept of orthogonality. This concept is shown in Figure 5. Each of the subcarriers usually has a spectrum in the form of the sinc(x) function, which results in overlapping spectra between the individual subcarriers. However, if the individual frequencies are orthogonal to each other, the peak of the main lobe of one of the subcarriers corresponds to zeroes for the side lobes of the others. In this case, there is no interference that would prevent a restoration of the original data in the receiver. Consequently, the orthogonality provides high spectral efficiency. Interference between individual subcarriers occurs only in the case of loss of orthogonality [13,14]. Figure 4. Block diagram of the transmitter and the receiver of the OFDM signal. The function of this type of modulation is based on the concept of orthogonality. This concept is shown in Figure 5. Each of the subcarriers usually has a spectrum in the form of the sinc(x) function, which results in overlapping spectra between the individual subcarriers. However, if the individual frequencies are orthogonal to each other, the peak of the main lobe of one of the subcarriers corresponds to zeroes for the side lobes of the others. In this case, there is no interference that would prevent a restoration of the original data in the receiver. Consequently, the orthogonality provides high spectral efficiency. Interference between individual subcarriers occurs only in the case of loss of orthogonality [13,14]. The term guard interval (GI), mentioned above, refers to cyclic prefix (CP), which is appended to the beginning of every OFDM symbol. Appending of CP reduces the effect of the inter-symbol interference (ISI). ISI occurs due to the transmission in a non-ideal transmission channel. Basically, ISI refers to spreading of the OFDM symbol that results in interference with another symbol. For mitigating ISI, the last N samples of OFDM symbols are copied and appended to the beginning of the OFDM symbol. These last N samples Electronics 2022,11, 3025 6 of 32 are called the cyclic prefix. The spread OFDM symbol then affects only the CP of the next symbol. This principle is shown in Figure 6[14,15]. Electronics 2022, 11, x FOR PEER REVIEW 6 of 34 Figure 5. Concept of orthogonality. The term guard interval (GI), mentioned above, refers to cyclic prefix (CP), which is appended to the beginning of every OFDM symbol. Appending of CP reduces the effect of the inter-symbol interference (ISI). ISI occurs due to the transmission in a non-ideal transmission channel. Basically, ISI refers to spreading of the OFDM symbol that results in interference with another symbol. For mitigating ISI, the last N samples of OFDM symbols are copied and appended to the beginning of the OFDM symbol. These last N samples are called the cyclic prefix. The spread OFDM symbol then affects only the CP of the next symbol. This principle is shown in Figure 6 [14,15]. Figure 6. Guard interval (cyclic prefix) insertion. The application of OFDM modulation, which is currently widely used, greatly complicates the detection process of UAVs in the spectrum. Furthermore, it complicates the use of jamming and spoofing techniques, discussed below. Due to these complications, efforts are being made to improve current receivers for successful detection of this type of modulation. One promising way is to use different machine or deep learning techniques (see [15–17]). The use of the machine or deep learning methods is explained in Sections 4 and 5. 2.2. Protocols for UAV Communication There are several protocols that are used for wireless communication between a transmitter (controller) and a receiver (drone). These transmission protocols are characterized by the structure of their data packets, encryption and the type of spectrum spreading (described above) [1]. Manufacturers usually use one or two types of protocols, so if Figure 5. Concept of orthogonality. Electronics 2022, 11, x FOR PEER REVIEW 6 of 34 Figure 5. Concept of orthogonality. The term guard interval (GI), mentioned above, refers to cyclic prefix (CP), which is appended to the beginning of every OFDM symbol. Appending of CP reduces the effect of the inter-symbol interference (ISI). ISI occurs due to the transmission in a non-ideal transmission channel. Basically, ISI refers to spreading of the OFDM symbol that results in interference with another symbol. For mitigating ISI, the last N samples of OFDM symbols are copied and appended to the beginning of the OFDM symbol. These last N samples are called the cyclic prefix. The spread OFDM symbol then affects only the CP of the next symbol. This principle is shown in Figure 6 [14,15]. Figure 6. Guard interval (cyclic prefix) insertion. The application of OFDM modulation, which is currently widely used, greatly complicates the detection process of UAVs in the spectrum. Furthermore, it complicates the use of jamming and spoofing techniques, discussed below. Due to these complications, efforts are being made to improve current receivers for successful detection of this type of modulation. One promising way is to use different machine or deep learning techniques (see [15–17]). The use of the machine or deep learning methods is explained in Sections 4 and 5. 2.2. Protocols for UAV Communication There are several protocols that are used for wireless communication between a transmitter (controller) and a receiver (drone). These transmission protocols are characterized by the structure of their data packets, encryption and the type of spectrum spreading (described above) [1]. Manufacturers usually use one or two types of protocols, so if Figure 6. Guard interval (cyclic prefix) insertion. The application of OFDM modulation, which is currently widely used, greatly complicates the detection process of UAVs in the spectrum. Furthermore, it complicates the use of jamming and spoofing techniques, discussed below. Due to these complications, efforts are being made to improve current receivers for successful detection of this type of modulation. One promising way is to use different machine or deep learning techniques (see [ 15 – 17 ]). The use of the machine or deep learning methods is explained in Sections 4and 5. 2.2. Protocols for UAV Communication There are several protocols that are used for wireless communication between a transmitter (controller) and a receiver (drone). These transmission protocols are characterized by the structure of their data packets, encryption and the type of spectrum spreading (described above) [ 1 ]. Manufacturers usually use one or two types of protocols, so if the appropriate protocol is found, the appropriate drone can be assigned to the particular manufacturer. Jamming techniques that can be used against such drones can then be derived from the knowledge of the protocols. Table 2lists well-known vendors and the protocols they use to communicate with UAVs. Electronics 2022,11, 3025 7 of 32 Table 2. UAV manufacturers and their protocols. Manufacturer Protocols Spektrum DMS2, DSMX Futaba S-FHSS, FASST FrSky ACCST FlySky AFHDS2 Syma SymaX DJI DESST, FASST Walkera Devo 2.2.1. MAVLink MAVLink is an open-source protocol for the transmission of telemetry and control commands for UAVs. As it is an open protocol, it has already been described in various publications, and its detailed description is readily available. Thus, it is easy to perform various types of cyberattacks against this type of protocol [1]. 2.2.2. Digital Signal Modulation 2—DSM2 DSM2 operates in the 2.4 GHz band and uses DSSS. It uses DuaLink technology, which is based on the use of two channels. When turned on, the transmitter scans the 2.4 GHz band and searches for two free channels. When it finds them, it sends a GUID (globally unique identifier) via these channels to the receiver and the receiver locks in on these channels [ 18 ]. If one channel is noisy or jammed, the other serves as a backup. This reduces the chance of the connection being lost and also increases the immunity against interferences [19]. 2.2.3. Digital Signal Modulation X—DSMX DSMX is based on DSM2. In terms of spectrum, DSMX works on a similar principle as DSM2. Unlike DSM2, DSMX uses FHSS for spectrum spreading instead of DSSS. The DSMX transmitter has its own unique frequency hopping sequence calculated according to the GUID. The sequence uses 23 channels in the 2.4 GHz band [20]. 2.2.4. Automatic Frequency Hopping Digital System—AFHDS AFHDS allows two or more transmitters to operate at the same time without interfering with each other. As the name implies, it uses FHSS to spread the spectrum. The secondgeneration ADFHS 2A enables duplex communication and telemetry transmission [ 21 ]. This protocol supports up to 14 channels. The latest generation of the protocol is ADFHS 3, which allows frequency hopping in the range from 2.402 GHz to 2.481 GHz. Each time the system is switched on, the frequency hopping algorithm and the frequency used change [22]. 2.2.5. Futaba Advanced Spread Spectrum Technology (FASST) FASST is a protocol created by Futaba. This protocol is also used for products from other manufacturers, such as DJI Phantom 2. It uses the 2.4 to 2.485 GHz band with a minimum channel width of 1.1 MHz and sidebands up to 2 MHz. FASST uses FHSS, Gaussian phase keying and sometimes a combination with DSSS to increase resistance to interferences and jamming. It also has the option of using various modes with a choice of 7, 8 or 14 broadcast channels. The modern version of this protocol (FASSTEST) also enables duplex communication [23]. 3. Jamming and Spoofing of UAVs UAV jamming is a technique for neutralizing these devices. Jamming is one class of UAV neutralization techniques. Other examples of UAV neutralization techniques are weapons with directional energy or laser weapons, which also use electromagnetic energy. Furthermore, we can include under these techniques physical attacks on the target such Electronics 2022,11, 3025 8 of 32 as nets, concentrated fire or even trained birds (usable only for small UAVs). The use of the mentioned neutralization in most cases results in the destruction of the drone. If the goal is to “catch” the drone (forcing it to land) or even take control of it and manipulate it, it seems most appropriate to use various types of jamming. The most basic divisions of jamming are noise jamming and response jamming. Both types have their uses and different subcategories, which are discussed in more detail later in this section. It is important to note that we always jam the receiver, as we need lower jamming power to ensure a sufficient J/S ratio (jamming to signal ratio). This statement is based on the beacon, or radar equations [24]. 3.1. Noise Jamming If we talk about jamming in general, noise jamming is usually meant, as in connection with the response jamming, the terms deception or spoofing are rather used. Noise jamming is also known as “brute force jamming”. The principle of this type of jamming is to transmit noise of the required shape, power and bandwidth, which is used for overlapping the jammed signal and thus preventing transmission between receiver and transmitter. As a result, the level of interference on the receiver side is increased, reducing the SNR (signal to noise ratio). This type of jamming is widely used against communication and non-communication signals, and in this article, we focus on jamming of communication signals [ 1 ]. Non-communication signals are not addressed here, as they are usually used in the field of active radiolocation (detection of a given device based on its radar crosssection—RCS). If the attacker’s goal is jamming or to take over a certain device, we are always in the communication signal area. The choice of the type of jamming depends on the type of communication signal used. For example, DSSS can theoretically be decoded below the noise level; thus, some types of jamming are ineffective. The individual types and their effects are discussed below. In general, the construction of noise jammers is simple compared to the response jammer (e.g., jammer for spoofing). 3.1.1. Narrowband Noise This type of bandwidth is given by the frequency spectrum of the jammed signal (Figure 7a). Due to the fact that the spread spectrum signals are currently widely used for communication purposes, this signal is usually unsuitable for UAV interference. This type can be used for so-called follower jamming to affect FHSS signals. In this case, the jammer tries to find a new frequency jump in the spectrum, and thus find the communication signal. For this type, however, it is necessary to add measuring circuits to the jammer, which measures energy losses and gains in the spectrum. These changes indicate that a FHSS signal jump has taken place. However, the construction principle of such a jammer is not so simple (more in [24,25]). 3.1.2. Ultra-Wideband (UWB) Noise This is type of noise jamming covers the full bandwidth of the communication signal (Figure 7b). This type can be used against DSSS and FHSS systems; however, as mentioned above, its disadvantage is the need for a high power level to ensure a sufficient J/S ratio for effective jamming. As a result, UWB noise reduces the system’s channel capacity. This results in a reduction in the SNR on the receiver side and an increase in the number of transmission errors. DSSS and FHSS are most susceptible to jamming at the time of synchronization (so called “hand shake”) [1,24,25]. 3.1.3. Swept Noise The principle of this type of jamming is to quickly sweep a relatively narrowband signal over the entire band of interest. The jamming signal can be noise or a pulse signal. Only one frequency is jammed at a time. Due to the principle of jamming, this type is unsuitable against FHSS. Although the whole spectrum of frequency hopping is covered, we do not have to hit those jumps. However, this type of jamming is effective against a Electronics 2022,11, 3025 9 of 32 DSSS signal with a stationary spectrum. Swept jamming is often used against GNSS. Due to the weak GPS signal power, there is also saving of the required power of the jamming signal to achieve the required J/S ratio. Since most UAVs have some autopilot feature (such as the “go home” feature mentioned above), GPS jamming is one way to neutralize drones without destroying them. If we jam GPS, and thus disable the “go home” function, some types of drones could land at the current position [1,26,27]. Electronics 2022, 11, x FOR PEER REVIEW 9 of 34 (a) (b) Figure 7. (a) Spectrum of narrowband noise jamming. (b) Spectrum of UWB noise jamming. 3.1.2. Ultra-Wideband (UWB) Noise This is type of noise jamming covers the full bandwidth of the communication signal (Figure 7b). This type can be used against DSSS and FHSS systems; however, as mentioned above, its disadvantage is the need for a high power level to ensure a sufficient J/S ratio for effective jamming. As a result, UWB noise reduces the system’s channel capacity. This results in a reduction in the SNR on the receiver side and an increase in the number of transmission errors. DSSS and FHSS are most susceptible to jamming at the time of synchronization (so called “hand shake”) [1,24,25]. 3.1.3. Swept Noise The principle of this type of jamming is to quickly sweep a relatively narrowband signal over the entire band of interest. The jamming signal can be noise or a pulse signal. Only one frequency is jammed at a time. Due to the principle of jamming, this type is unsuitable against FHSS. Although the whole spectrum of frequency hopping is covered, we do not have to hit those jumps. However, this type of jamming is effective against a DSSS signal with a stationary spectrum. Swept jamming is often used against GNSS. Due to the weak GPS signal power, there is also saving of the required power of the jamming signal to achieve the required J/S ratio. Since most UAVs have some autopilot feature (such as the “go home” feature mentioned above), GPS jamming is one way to neutralize drones without destroying them. If we jam GPS, and thus disable the “go home” function, some types of drones could land at the current position [1,26,27]. 3.1.4. Intelligent Noise With this type of jamming, only the necessary signals in the spectrum are affected to prevent communication between the receiver and the transmitter. However, prior knowledge of the signal type of being jammed is required. Analysis of the above-men- tioned protocols, used by various UAV manufacturers, is required for this type of jamming. From the analysis of the protocols and the incoming signal, it is possible to identify critical points that can be affected. It is then possible to produce a signal with similar parameters in terms of frequency hopping (FHSS) or PN code (DSSS). This type of jamming is the most energy efficient and effective, but logically, it is the most technologically demanding type. Although this class of jamming is called intelligent noise (noise pulses), the principle and the generation of the interfering signal are similar to the principle of response jamming or spoofing [1,24,28]. Figure 7. (a) Spectrum of narrowband noise jamming. (b) Spectrum of UWB noise jamming. 3.1.4. Intelligent Noise With this type of jamming, only the necessary signals in the spectrum are affected to prevent communication between the receiver and the transmitter. However, prior knowledge of the signal type of being jammed is required. Analysis of the above-mentioned protocols, used by various UAV manufacturers, is required for this type of jamming. From the analysis of the protocols and the incoming signal, it is possible to identify critical points that can be affected. It is then possible to produce a signal with similar parameters in terms of frequency hopping (FHSS) or PN code (DSSS). This type of jamming is the most energy efficient and effective, but logically, it is the most technologically demanding type. Although this class of jamming is called intelligent noise (noise pulses), the principle and the generation of the interfering signal are similar to the principle of response jamming or spoofing [1,24,28]. 3.2. Response Jamming Response jamming is also referred to as spoofing. Unlike noise jamming, it does not aim to interfere with a certain part of the spectrum and thus prevent transmission. Its purpose is to create and send a signal similar to the original signal. Such a signal with a higher power level than the legitimate transmitter is then used to deceive the receiver (in this case, the UAV). This can have various consequences, such as confusing the GPS or taking over the drone. As the described principle implies, the construction of such a jammer is more complicated compared to a noise jammer. For the noise jammers, we only need to use a simple receiver to find the signal of interest in the spectrum. In the case of response jamming or spoofing, it is necessary to receive the original signal, modify it and send a new false signal with enough power so that, for example, the UAV “believes” that it is a legitimate control signal. The decoding of the original signal itself or its protocol is complex and requires reverse engineering to understand its structure. In addition, environmental influences must be considered here (e.g., for GPS, the satellite position and the weather need to be taken into Electronics 2022,11, 3025 16 of 32 and thus to find g(). The test data are used to measure the accuracy of the model, thus the described optimization θ .It is therefore necessary for SL to have a sufficient set of training data Xfor which the correct Youtputs are known. These outputs are provided by the “teacher” (the expert creating the algorithm). Therefore, this category is called supervised learning [7,8,35]. 4.2.2. Unsupervised Learning—UL There is no “teacher” in unsupervised learning and there are no correct outputs available. Only input data are available, and the goal is to find a pattern in the input data. In the input set, certain patterns appear more often than others, and we want to know what is happening in general and what is not. In statistics, this problem is called the probability density function [7,35] One of the methods for determining the probability density function is the so-called clustering. Here, we attempt to find different groups with similar parameters in the input data. An example of clustering is image compression. In this case, the input data are pixels with RGB values. The clustering algorithm groups pixels with similar colors into the same group. The groups created in this way correspond to the colors that often appear in the image. In this way, it is possible to significantly reduce the number of colors used (or the number of bits assigned to one color) and thus achieve the required compression [7,35]. 4.2.3. Semi-Supervised Learning—SSL SSL is a combination of the two above-mentioned types, where training data are available with and without known outputs [ 7 ]. Basically, we have a set of the unlabeled data, and for a part of them, we have an additional information (a small number of labeled data). SSL has a high practical value, because in many cases, only some of the data are labeled and obtaining the rest of the labels could be highly difficult (e.g., need for special devices or expensive and slow experiments). In general, there are two tasks which are solved by SSL. The first one is prediction of the labels for the testing data. The other one is the labeling of the unlabeled data in the training set. The former is called inductive SSL and the latter is described as transductive SSL [38]. 4.2.4. Reinforcement Learning—RL In RL, problems are solved by using a sequence of actions that use trial and error rules. One action is not important—it is important that the whole sequence arrives at the right result. This is the main difference from the previous categories, which were based on the use of historical data, whereas RL algorithms are trained on previous attempts to solve a given network problem [7,35]. Figure 12 shows the five basic elements needed for RL [8]: •Agent: an entity that can perform an action Atand receive a reward Rt; •Environment: representation of the real world in which the agent operates; •Reward Rt: feedback to the agent regarding the performed action At; •Strategy: overview of each state of Stwith respect to the performed action At; and • Value of the function: represents how good the state S t is; it is actually the expected reward Rtin the future with respect to the achieved state St. The aim of the RL is therefore to decide on a strategy (performing certain actions A t ) that maximizes the predefined reward function. An algorithm for playing chess can be used as an example of RL. One move is not important—the sequence of moves leading to victory is important. Games as such are often used in AI/ML research as they are easy to describe and have fixed rules, but playing such games is difficult (e.g., chess has few rules but is complex due to the large number of moves). Another example of the use of RL can be the optimization of wireless networks [7,35]. As previous paragraphs indicate, machine learning methods have a wide range of applications in various fields. Table 3provides examples of publications in the field of machine learning and UAV support. Electronics 2022,11, 3025 17 of 32 Electronics 2022, 11, x FOR PEER REVIEW 17 of 34 is the labeling of the unlabeled data in the training set. The former is called inductive SSL and the latter is described as transductive SSL [38]. 4.2.4. Reinforcement Learning—RL In RL, problems are solved by using a sequence of actions that use trial and error rules. One action is not important—it is important that the whole sequence arrives at the right result. This is the main difference from the previous categories, which were based on the use of historical data, whereas RL algorithms are trained on previous attempts to solve a given network problem [7,35]. Figure 12 shows the five basic elements needed for RL [8]: • Agent: an entity that can perform an action A t and receive a reward R t ; • Environment: representation of the real world in which the agent operates; • Reward R t : feedback to the agent regarding the performed action A t ; • Strategy: overview of each state of S t with respect to the performed action A t ; and • Value of the function: represents how good the state S t is; it is actually the expected reward R t in the future with respect to the achieved state S t . The aim of the RL is therefore to decide on a strategy (performing certain actions A t ) that maximizes the predefined reward function. Figure 12. Reinforcement learning. An algorithm for playing chess can be used as an example of RL. One move is not important—the sequence of moves leading to victory is important. Games as such are often used in AI/ML research as they are easy to describe and have fixed rules, but playing such games is difficult (e.g., chess has few rules but is complex due to the large number of moves). Another example of the use of RL can be the optimization of wireless networks [7,35]. As previous paragraphs indicate, machine learning methods have a wide range of applications in various fields. Table 3 provides examples of publications in the field of machine learning and UAV support. Table 3. Application of ML methods in UAV-related applications. Reference Short Description Bithas et al. [7] Review article focused on the use of ML in the field of UAV communication. Presents overview of various ML-based solutions for channel modeling, resource management, positioning and security. Lahmeri et al. [8] Survey on UAV-enabled wireless networks. Explores potential use of various ML models for UAV-based networks. Wang et al. [9] Explores area of identification of malicious or non-authorized transmitters via radio frequency fingerprinting. Testing various machine learning models for the task of protection against spoofing. Figure 12. Reinforcement learning. Table 3. Application of ML methods in UAV-related applications. Reference Short Description Bithas et al. [7] Review article focused on the use of ML in the field of UAV communication. Presents overview of various ML-based solutions for channel modeling, resource management, positioning and security. Lahmeri et al. [8]Survey on UAV-enabled wireless networks. Explores potential use of various ML models for UAV-based networks. Wang et al. [9]Explores area of identification of malicious or non-authorized transmitters via radio frequency fingerprinting. Testing various machine learning models for the task of protection against spoofing. Min et al. [39] Proposes RL-based defense framework against malicious UAVs. RL-based framework chooses the defense policy (jamming, hacking, laser shooting). Ezuma et al. [40] Investigates the problem of detection and classification of UAVs in the presence of interference signals. Use of passive RF surveillance system. Application of Markov models for detection and ML techniques for classification. Xiao et al. [41]Jamming game between UAV and smart jammer, where RL is employed. RL model serves for the decision on which type of attack should be used (jamming, spoofing, eavesdropping). Shafique et al. [42]Analysis of several ML algorithms from the perspective of detecting the spoofing attacks against UAV. Employing support vector machine (SVM) for protection in navigational channel. Tursunboev et al. [43]Application of federated learning (FL) in UAV networks. Comparison of base FL models with proposed hierarchical FL model. Kouhdaragh et al. [44]Survey on the application of ML techniques for UAV-based 5G radio access networks. Focuses mainly on SL and RL Talaei Khoei et al. [45] Use of various ML-based classifiers. Comparison of such classifiers regarding the detection of GPS spoofing attacks on UAV. Dubosarskii and Primak [ 46 ] Describes anti-jamming game between two UAVs and jammer. Employs RL as part of the task. Atli et al. [47]Presents application for communication system based on UAVs. Describing the design of Q-learning based UAV placement strategy with a focus on long-term wireless connectivity. Li et al. [48]Describes possible use of software-defined network against smart jamming attacks via software-defined radio. Employs reinforcement learning. Khan et al. [49]Exploring use of UAVs for network coverage. Employs SVM for real-time autonomous and distributed monitoring of UAV service. 5. Deep Learning—DL Another specific class of ML is deep learning (DL), where multiple layers are used to create an artificial neural network that should be able to make “smart” decisions without any human intervention. The principle of DL algorithms’ operation is the extraction of information from raw data through several layers of nonlinear processing units (individual layers of the artificial neural network) in order to predict or perform an action with respect to a target goal. These activities are implemented without being explicitly programmed. The basic models of DL used for these purposes are the already-mentioned neural networks. However, only networks with a sufficient number of hidden layers (usually more than one) can be referred to as DL models. The main advantage of DL over classic ML is the automatic extraction of patterns [11]. As can be seen from previous descriptions, DL is a type of ML that mimics biological neural networks. DL allows computers to create complex concepts from simple ones. Figure 13 shows how it is possible to express a photo of a person using a combination of Electronics 2022,11, 3025 18 of 32 simple concepts (corners, contours, edges, parts of the image) [ 50 ]. Ongoing operations within a neural network are usually defined as a combination of a specific group of units with a nonlinear activation function. This combination is subject to weighting. Such operations, together with the output units, form so-called layers [11]. Electronics 2022, 11, x FOR PEER REVIEW 19 of 34 Figure 13. Basic principle of DL. The learning principle of a neural network is shown in Figure 14 as an example of five-layer convolutional neural network (CNN). Figure 14 shows a total of five layers (input red, output green and three hidden blue). As described by the forward propagation equation, the input x (e.g., image—pixels) is processed by the first layer using a convolution operation. The output of the first layer is h 1 , w 1 is the convolution filter and σ() is the activation function. The output h i forms the input for the next layer. The output of the next layer is then h i+1 . This is how the process takes place throughout CNN. The result is then the output y (e.g., the probability vector for the different shapes recognized in the video input). The weights of the model w i can be obtained by minimizing the loss function L(w) using the descending gradient method [11,51]. Figure 14. Learning principle of a neural network (based on [11]). 5.1. Deep Learning Models Section 4 presented the basic division of machine learning (ML) into supervised learning (SL), unsupervised learning (UL), semi-supervised learning (SSL) or reinforcement learning (RL). DL architecture can be used in all these areas. Some DL models are described in the following paragraphs. 5.1.1. Multilayer Perceptron—MLP MLP is basically a mathematical function that assigns output values to a set of input values. The complex function consists of many simple functions. MLP is the first design of the artificial neural network consisting of at least three layers (one input, one hidden and one output). The neurons in each layer are densely connected. This results in a large Figure 13. Basic principle of DL. The learning principle of a neural network is shown in Figure 14 as an example of five-layer convolutional neural network (CNN). Figure 14 shows a total of five layers (input red, output green and three hidden blue). As described by the forward propagation equation, the input x(e.g., image—pixels) is processed by the first layer using a convolution operation. The output of the first layer is h 1 ,w 1 is the convolution filter and σ () is the activation function. The output h i forms the input for the next layer. The output of the next layer is then h i+1 . This is how the process takes place throughout CNN. The result is then the output y(e.g., the probability vector for the different shapes recognized in the video input). The weights of the model w i can be obtained by minimizing the loss function L(w) using the descending gradient method [11,51]. Electronics 2022, 11, x FOR PEER REVIEW 19 of 34 Figure 13. Basic principle of DL. The learning principle of a neural network is shown in Figure 14 as an example of five-layer convolutional neural network (CNN). Figure 14 shows a total of five layers (input red, output green and three hidden blue). As described by the forward propagation equation, the input x (e.g., image—pixels) is processed by the first layer using a convolution operation. The output of the first layer is h 1 , w 1 is the convolution filter and σ() is the activation function. The output h i forms the input for the next layer. The output of the next layer is then h i+1 . This is how the process takes place throughout CNN. The result is then the output y (e.g., the probability vector for the different shapes recognized in the video input). The weights of the model w i can be obtained by minimizing the loss function L(w) using the descending gradient method [11,51]. Figure 14. Learning principle of a neural network (based on [11]). 5.1. Deep Learning Models Section 4 presented the basic division of machine learning (ML) into supervised learning (SL), unsupervised learning (UL), semi-supervised learning (SSL) or reinforcement learning (RL). DL architecture can be used in all these areas. Some DL models are described in the following paragraphs. 5.1.1. Multilayer Perceptron—MLP MLP is basically a mathematical function that assigns output values to a set of input values. The complex function consists of many simple functions. MLP is the first design of the artificial neural network consisting of at least three layers (one input, one hidden and one output). The neurons in each layer are densely connected. This results in a large Figure 14. Learning principle of a neural network (based on [11]). 5.1. Deep Learning Models Section 4presented the basic division of machine learning (ML) into supervised learning (SL), unsupervised learning (UL), semi-supervised learning (SSL) or reinforcement learning (RL). DL architecture can be used in all these areas. Some DL models are described in the following paragraphs. 5.1.1. Multilayer Perceptron—MLP MLP is basically a mathematical function that assigns output values to a set of input values. The complex function consists of many simple functions. MLP is the first design of the artificial neural network consisting of at least three layers (one input, one hidden Electronics 2022,11, 3025 19 of 32 and one output). The neurons in each layer are densely connected. This results in a large number of configuration weights [ 52 ]. Figure 15a is an example of an MLP with two hidden layers. MLPs used to be widely used, but nowadays, their popularity is declining due to their complexity and average performance. Currently, MLPs are usually used as a building block for more complex algorithms (e.g., CNN output layer for classification) [11,50]. Electronics 2022, 11, x FOR PEER REVIEW 20 of 34 number of configuration weights [52]. Figure 15a is an example of an MLP with two hidden layers. MLPs used to be widely used, but nowadays, their popularity is declining due to their complexity and average performance. Currently, MLPs are usually used as a building block for more complex algorithms (e.g., CNN output layer for classification) [11,50]. 5.1.2. Restricted Boltzmann Machine—RBM RBMs were originally designed for UL purposes. An example of an RBM is shown in Figure 15b. It consists of visible and hidden layers. The difference from MLP is that neurons from layer v can affect neurons from hidden layer h, and this also works the other way around. In MLP, the input vector affects hidden elements, but the opposite process is not possible. The disadvantage of RBM is the complexity of the learning process. RBM- based models are usually used to initialize neural network weights [11,50]. RBMs can also be stacked on each other to create deeper models called the Deep Belief Network (see [53]). (a) (b) Figure 15. (a) Multilayer perceptron. (b) Restricted Boltzmann machine (based on [11]). 5.1.3. Auto-Encoder—AE AEs are designed for UL purposes. An AE tries to copy input to output. They are often used to obtain compact data representations. Their application is therefore in the field of dimension reduction (algorithms for dimension reduction are one of the typical techniques in ML). Inside the AEs, there is a hidden layer that describes the code representing the input data. The AE is designed so that it does not copy the input exactly, but only approximates it. This can lead to finding useful patterns in the data stages, as the AE is forced to prioritize certain aspects to make a copy. Extended versions of this algorithm are also used to initialize the weights of more complex architectures [8,11,50]. They can also be used for network security issues. Research has been conducted to confirm their effectiveness in detecting anomalies under various conditions (see [54]). An example of AE is shown in Figure 16a. Figure 15. (a) Multilayer perceptron. (b) Restricted Boltzmann machine (based on [11]). 5.1.2. Restricted Boltzmann Machine—RBM RBMs were originally designed for UL purposes. An example of an RBM is shown in Figure 15b. It consists of visible and hidden layers. The difference from MLP is that neurons from layer vcan affect neurons from hidden layer h, and this also works the other way around. In MLP, the input vector affects hidden elements, but the opposite process is not possible. The disadvantage of RBM is the complexity of the learning process. RBM-based models are usually used to initialize neural network weights [ 11 , 50 ]. RBMs can also be stacked on each other to create deeper models called the Deep Belief Network (see [53]). 5.1.3. Auto-Encoder—AE AEs are designed for UL purposes. An AE tries to copy input to output. They are often used to obtain compact data representations. Their application is therefore in the field of dimension reduction (algorithms for dimension reduction are one of the typical techniques in ML). Inside the AEs, there is a hidden layer that describes the code representing the input data. The AE is designed so that it does not copy the input exactly, but only approximates it. This can lead to finding useful patterns in the data stages, as the AE is forced to prioritize certain aspects to make a copy. Extended versions of this algorithm are also used to initialize the weights of more complex architectures [ 8 , 11 , 50 ]. They can also be used for network security issues. Research has been conducted to confirm their effectiveness in detecting anomalies under various conditions (see [ 54 ]). An example of AE is shown in Figure 16a. Electronics 2022, 11, x FOR PEER REVIEW 21 of 34 (a) (b) Figure 16. (a) Auto-encoder. (b) Convolutional neural network (based on [11]). 5.1.4. Convolutional Neural Networks—CNN CNNs are specialized types of artificial neural networks that are used to process data that have a known grid-like topology (such as 1D time-sampled data or 2D image pixel grid) [50]. They were originally designed for machine vision. Unlike MLPs, they do not use full interconnection between layers. Instead, they use a set of locally linked filters to capture correlations between different data sectors. A so-called convolution layer is created here, which “scans” the input and produces the output using the mentioned filters [8,11]. CNN improves basic MLP in three important areas [50]: • Sparse interaction; • Parameter sharing; and • Equivariant representation (symmetry of a function between two spaces). These properties significantly reduce the number of model parameters and maintain affine invariance of the model. The convolution core (layer) is smaller than the input layer due to thinner interactions. Parameter sharing is achieved by using the same convolution kernel for “scanning” the entire input space. This also reduces the risk of over-fitting (the model copies past data almost perfectly, which could decrease the prediction efficiency). Equivariant representations mean that convolution operations are invariant with respect to translation, scale and shape. This is useful, for example, in image recognition [11,50]. An example is the recognition of traffic signs in autonomous vehicles, where the traffic sign may be located at different places in the image captured by the camera. The principle of CNN is shown in Figure 16b. 5.1.5. Generative Adversarial Network—GAN GAN is based on game theory, where a generative network must compete against other one. GAN is therefore an architecture that uses two models (two neural networks). The generative model G serves for the approximation of the required input data. The division model D is trying to determine whether the input data sample comes from the actual training data or from the output of the generative model G. At the same time, both neural networks are trained. Algorithm G is trained to maximize the error of D. With this system, both networks improve each other. GAN is therefore used to generate new synthetic data, which resemble real data. They are widely used in the field of image, video and audio generation. The principle described above is shown in Figure 17a [8,11,50]. 5.1.6. Recurrent Neural Network—RNN RNN is used when the data have a sequential character (there is a sequential relationship between the samples, e.g., data in a table as a function of time). They are widely used in natural language processing or speech recognition. Their architecture is similar to other types of neural networks. The main difference is that RNN contains a loop for Figure 16. (a) Auto-encoder. (b) Convolutional neural network (based on [11]). Electronics 2022,11, 3025 20 of 32 5.1.4. Convolutional Neural Networks—CNN CNNs are specialized types of artificial neural networks that are used to process data that have a known grid-like topology (such as 1D time-sampled data or 2D image pixel grid) [ 50 ]. They were originally designed for machine vision. Unlike MLPs, they do not use full interconnection between layers. Instead, they use a set of locally linked filters to capture correlations between different data sectors. A so-called convolution layer is created here, which “scans” the input and produces the output using the mentioned filters [ 8 , 11 ]. CNN improves basic MLP in three important areas [50]: •Sparse interaction; •Parameter sharing; and •Equivariant representation (symmetry of a function between two spaces). These properties significantly reduce the number of model parameters and maintain affine invariance of the model. The convolution core (layer) is smaller than the input layer due to thinner interactions. Parameter sharing is achieved by using the same convolution kernel for “scanning” the entire input space. This also reduces the risk of over-fitting (the model copies past data almost perfectly, which could decrease the prediction efficiency). Equivariant representations mean that convolution operations are invariant with respect to translation, scale and shape. This is useful, for example, in image recognition [ 11 , 50 ]. An example is the recognition of traffic signs in autonomous vehicles, where the traffic sign may be located at different places in the image captured by the camera. The principle of CNN is shown in Figure 16b. 5.1.5. Generative Adversarial Network—GAN GAN is based on game theory, where a generative network must compete against other one. GAN is therefore an architecture that uses two models (two neural networks). The generative model Gserves for the approximation of the required input data. The division model Dis trying to determine whether the input data sample comes from the actual training data or from the output of the generative model G. At the same time, both neural networks are trained. Algorithm Gis trained to maximize the error of D. With this system, both networks improve each other. GAN is therefore used to generate new synthetic data, which resemble real data. They are widely used in the field of image, video and audio generation. The principle described above is shown in Figure 17a [8,11,50]. Electronics 2022, 11, x FOR PEER REVIEW 22 of 34 memorizing and transmitting results from previous neurons (layers). In each step, these networks produce outputs through recurrent connections between hidden units. Its principle is shown in Figure 17b [8,11]. (a) (b) Figure 17. (a) Generative adversarial network. (b) Recurrent neural network (based on 11]). Deep learning methods, like basic machine learning techniques, are widely used in the field of communication technologies and UAV-related applications in general. Examples of publications in these areas are provided in Table 4. Various models are used in UAV applications. As mentioned before, the environment in which UAVs operate is complex. The issues that need to be addressed are diverse. Currently, the more complex DL models are mostly used for UAV applications. The early MLP and RBM models serve rather as building blocks for more complex models. From the literature in Table 4, it is evident that CNN and its variants [16,55,56] in particular have been popular, but for many specific tasks, other models such as RNN, GAN and AE [57–59] are also used. It always depends on the specific task, as there is no universal model that is suitable for all the tasks to be solved. Therefore, all the models mentioned above are just variants of the aforementioned narrow AI. Table 4. Applications of DL algorithms in signal processing and UAV-related applications. Reference Short Description Zhang et al. [10] A survey on various applications of DL techniques in mobile and wireless networking. Carrio et al. [11] A review focusing on applications of DL techniques in various UAV-related applications. Wang et al. [15] Replacement of the traditional OFDM receiver by Densenet neural network structure. Application of the image classification neural network model to the wireless communication system. Zhao et al. [16] Use of deep complex-valued convolutional network (DCCN) as a substitution for DFT/IDFT in OFDM systems. Luong et al. [17] One o f the first attempts in the signal detection o f OFDM with index modulation based on DL. Employs deep neural network with fully connected layers. Zhang D. et al. [55] Addresses the automatic modulation classification problem in the field of communication. Proposes a heterogenous deep model fusion (HDMF) as a solution, which consists of CNN and LSTM (long short-term memory). Amiruddin et al. [56] Describes quadcopter system identification. Comparison of various DL techniques (LSTM, CNN-LSTM, GRU) for system identification of complex quadcopter model. Erpek et al. [57] Use of DL for combat game between jammer and transmitter. Competition between transmitter’s pre-trained classifier (for prediction of channel status) and GAN-based jammer. Ramadan et al. [58] Investigates UAV intrusion detection threats. Introducing a real-time data analytics framework based on DL. Framework consists of RNN and LSTM. Figure 17. (a) Generative adversarial network. (b) Recurrent neural network (based on [11]). 5.1.6. Recurrent Neural Network—RNN RNN is used when the data have a sequential character (there is a sequential relationship between the samples, e.g., data in a table as a function of time). They are widely used in natural language processing or speech recognition. Their architecture is similar to other types of neural networks. The main difference is that RNN contains a loop for memorizing and transmitting results from previous neurons (layers). In each step, these networks Electronics 2022,11, 3025 21 of 32 produce outputs through recurrent connections between hidden units. Its principle is shown in Figure 17b [8,11]. Deep learning methods, like basic machine learning techniques, are widely used in the field of communication technologies and UAV-related applications in general. Examples of publications in these areas are provided in Table 4. Various models are used in UAV applications. As mentioned before, the environment in which UAVs operate is complex. The issues that need to be addressed are diverse. Currently, the more complex DL models are mostly used for UAV applications. The early MLP and RBM models serve rather as building blocks for more complex models. From the literature in Table 4, it is evident that CNN and its variants [ 16 , 55 , 56 ] in particular have been popular, but for many specific tasks, other models such as RNN, GAN and AE [ 57 – 59 ] are also used. It always depends on the specific task, as there is no universal model that is suitable for all the tasks to be solved. Therefore, all the models mentioned above are just variants of the aforementioned narrow AI. Table 4. Applications of DL algorithms in signal processing and UAV-related applications. Reference Short Description Zhang et al. [10] A survey on various applications of DL techniques in mobile and wireless networking. Carrio et al. [11] A review focusing on applications of DL techniques in various UAV-related applications. Wang et al. [15] Replacement of the traditional OFDM receiver by Densenet neural network structure. Application of the image classification neural network model to the wireless communication system. Zhao et al. [16]Use of deep complex-valued convolutional network (DCCN) as a substitution for DFT/IDFT in OFDM systems. Luong et al. [17]One of the first attempts in the signal detection of OFDM with index modulation based on DL. Employs deep neural network with fully connected layers. Zhang D. et al. [55] Addresses the automatic modulation classification problem in the field of communication. Proposes a heterogenous deep model fusion (HDMF) as a solution, which consists of CNN and LSTM (long short-term memory). Amiruddin et al. [56]Describes quadcopter system identification. Comparison of various DL techniques (LSTM, CNN-LSTM, GRU) for system identification of complex quadcopter model. Erpek et al. [57] Use of DL for combat game between jammer and transmitter. Competition between transmitter’s pre-trained classifier (for prediction of channel status) and GAN-based jammer. Ramadan et al. [58]Investigates UAV intrusion detection threats. Introducing a real-time data analytics framework based on DL. Framework consists of RNN and LSTM. Park et al. [59] Explores fault detection at the UAV’s control component. Proposes new unsupervised based solution (AE) in comparison to the previous types (heuristics-based rules and supervised learning-based models). Xue et al. [60] Use of satellite imagery matching approach to detect GPS spoofing attacks against UAV. Based on DL model comparing historical satellite images of UAV GPS-based position with real-time aerial images from UAV cameras. Pijackova et al. [61] Radio modulation classifier based on various deep learning models such as CNN, CNN + LSTM, GRU (gated recurrent unit), etc. Liu et al. [62]Automatic modulation recognition based on deep learning structure. Combination of deep convolutional network (DCN) and bidirectional LSTM. 5.2. Advantages and Disadvantages of the Use of DL Methods in Wireless Communication It is important to remember that it is not optimal to apply deep learning methods anywhere, simply because they might be functional. In many cases, traditional methods based on other algorithms are more effective. However, in the field of wireless communication, for example, DL methods find wide application (see Table 4). In this area, there is a large amount of heterogeneous data available, where for some tasks, processing them with traditional methods would be difficult. In other cases, the use of traditional methods may be limited and thus other approaches need to be sought. The fact that motivated the writing of this paper is such an example. The application of more sophisticated jamming techniques against UAVs (for the purpose of hijacking) has been an extremely difficult task in the past. As discussed in Sections 2and 3, advances in communications signals (e.g., the use of OFDM for UAV communications) have made this task even more difficult. Here, the limits Electronics 2022,11, 3025 22 of 32 of classical signal processing are confronted, e.g., in a reconnaissance receiver of a jammer that is supposed to demodulate an unknown OFDM-based signal. Therefore, a different approach can be considered here, and recent studies (e.g., [ 15 – 17 ]) show that the use of DL methods could be appropriate in processing such complex signals. In the following paragraphs, some of the pros and cons for the implementation of the DL algorithms into applications aiming at the area of wireless communication and UAVs are discussed. 5.2.1. Advantages of DL Algorithms in the Area of Wireless Communication and UAVs The first important benefit of the DL algorithm applications is feature extraction. These algorithms are able to extract high-level features from data with a complex structure [ 10 , 63 ]. From the point of view of wireless communication, this is one of the most important features of DL algorithms. It is due to the fact that the wireless network environment is highly complex and the signals of interests can propagate at the level of the noise or even below. Such signals are also affected by various factors. Because of this, the demodulation of these signals is a difficult task. This difficulty increases further when the unknown signal analysis (example mentioned in the previous paragraph) is considered. The second advantage comes from the characteristics of the environment (wireless network) in which the use of DL methods is investigated. The wireless network environment produces a large amount of data. The DL algorithms are able to process such volumes of data and can further benefit from them, because larger datasets for training the neural networks can prevent model overfitting [ 64 ] (meaning that the model would fit the training data almost perfectly, but it would not handle new incoming data correctly). Another advantage is handling of the unlabeled data. If the example from the beginning of this subsection is taken into the account, the task is to analyze various unknown signals by the reconnaissance receiver of the jammer. No correct results or labels that the model should achieve are available. DL models consist of various unsupervised models which could exploit unlabeled data and learn useful patterns (e.g., [65]). 5.2.2. Disadvantages of DL Algorithms in the Area of Wireless Communication and UAVs Although the handling of large volumes of data is one of the advantages, it also brings one significant disadvantage: the model reliance on data. For sufficient accuracy of the model, large training datasets are required. As mentioned above, the wireless networks produces a large amount of data, but their collection may be expensive and there could be also privacy issues [ 11 ]. In comparison, other approaches, e.g., blind demodulation [ 66 ], do not require such large volumes of data for proper function. Some of these approaches require only a few samples of the unknown signal which is to be analyzed. Another disadvantage is that the DL models can be computationally demanding. There is a need for advanced parallel computing components (e.g., GPUs, high-performance chips). This is understandable, as these neural networks require complex structures to acquire sufficient accuracy. However, the place limits the use of these models on embedded and mobile devices [11]. Neural networks usually have many hyperparameters that can be set up. However, finding their optimal values is a difficult task to achieve. The number of hyperparameters grows exponentially with the depth of the model [ 11 ]. Without proper setting, the resulting accuracy of the model will not be as high as possible. An example can be seen in the following section, where examples of a simple signal modulation classifier are given. Model designs have typically been based on working models [ 61 , 67 ]. During our experiments, we tried different layer structures or different hyperparameter settings, and it can be seen that the results are satisfactory for such simple classifiers. However, if we compare these results with, e.g., those in [ 61 ], we can see that our hyperparameter settings were probably not as fine-tuned as in [61]. Electronics 2022,11, 3025 23 of 32 6. Signal Modulation Classifier In this section, the design of the signal modulation classifier is described. This classifier is based on deep learning algorithms. In the following paragraphs, the implementation of models for signal modulation classification is described, starting from the preparation of data for training neural networks (from a freely available dataset), through the design of individual deep learning models, to their validation. 6.1. Data Preparation The RML2016.10a dataset, which is freely available on the Internet, was used to train the proposed models. The detailed design and development of this dataset are described in [ 67 ]. This dataset contains a total of 220,000 samples of I/Q data from different signals. It contains a total of 11 modulations (three analog and eight digital). Specifically, the modulations are 8PSK, AM-DSB, AM-SSB, BPSK, CPFSK, GFSK, PAM4, QAM16, QAM64, QPSK and WBFM. The signals were measured at different signal-to-noise ratios (SNRs), ranging from − 20 dB to 18 dB. The data are stored as 2 × 128 I/Q vectors with different SNRs. The available dataset was used to create training, validation and test sets for learning the proposed architectures. The data preparation was conducted based on [ 61 ]. First, the available data were split into the aforementioned sets (see Figure 18). The ratio for the splitting was 0.7:0.15:0.15. Next, these data were normalized to increase the accuracy. Electronics 2022, 11, x FOR PEER REVIEW 25 of 34 Figure 18. Dataset split distribution. 6.2. Proposed Models The different models were developed based on convolutional neural networks (CNN), recurrent neural networks (RNN) and their combination. CNNs and RNNs are commonly used for signal classification purposes (e.g., [55]). The design of some models was based on [61] and [65]. For all architectures, the input is the aforementioned 2×128 I/Q data vector. All models were programmed in the Google Colab environment using the Keras neural network modeling library. 6.2.1. CNN 1D The first proposed model was built with convolutional layers. This design is based on [61]. The proposed architecture consists of convolutional layers, zero padding and maximum pooling layers and fully connected (FC) layers. The zero padding layer is used to surround the input matrix with zeros. Since there is a reduction in dimensions when using the convolutional layer, some of the features that the network could extract may be lost. The addition of this layer can help to increase the overall accuracy of the resulting model. The max pooling layer has the opposite effect of the zero padding layer. This layer reduces the dimension of the input data matrix. This layer reduces the computation time and can help to reduce the possibility of overfitting. FC layers are used here for output classification. A summary of the proposed model is given in Table 5. The input layer is followed by zero padding layer of size 4. Next, it is followed by three convolutional layers. The first two have 64 filters with a convolution kernel of size 8, and their output is led to a max pooling layer with a kernel of size 2. The last convolutional layer has 32 filters with a convolutional kernel of size 4. The Relu function was chosen as the activation function of each convolutional layer. The last convolutional layer is followed by a dropout layer (overfitting protection) with a parameter of 0.6 and a max pooling layer with kernel size 2. The output of this layer is sent to an FC layer of size 64 and then to an output FC layer with a softmax activation function. Table 5. Architecture of CNN 1D. Layer (Type) Output Shape Parameters Input Layer (None, 128, 2) 0 Zero Padding 1D (None, 136,2) 0 Conv1D (None, 129, 64) 1088 Max Pooling 1D (None, 64, 64) 0 Conv1D (None, 57, 64) 32,832 Max Pooling 1D (None, 28, 64) 0 Conv1D (None, 25, 32) 8224 Dropout (None, 25, 32) 0 Max Pooling 1D (None, 12, 32) 0 Figure 18. Dataset split distribution. 6.2. Proposed Models The different models were developed based on convolutional neural networks (CNN), recurrent neural networks (RNN) and their combination. CNNs and RNNs are commonly used for signal classification purposes (e.g., [ 55 ]). The design of some models was based on [ 61 , 65 ]. For all architectures, the input is the aforementioned 2 × 128 I/Q data vector. All models were programmed in the Google Colab environment using the Keras neural network modeling library. 6.2.1. CNN 1D The first proposed model was built with convolutional layers. This design is based on [ 61 ]. The proposed architecture consists of convolutional layers, zero padding and maximum pooling layers and fully connected (FC) layers. The zero padding layer is used to surround the input matrix with zeros. Since there is a reduction in dimensions when using the convolutional layer, some of the features that the network could extract may be lost. The addition of this layer can help to increase the overall accuracy of the resulting model. The max pooling layer has the opposite effect of the zero padding layer. This layer reduces the dimension of the input data matrix. This layer reduces the computation time and can help to reduce the possibility of overfitting. FC layers are used here for output classification. A summary of the proposed model is given in Table 5. The input layer is followed by zero padding layer of size 4. Next, it is followed by three convolutional layers. The first two have 64 filters with a convolution kernel of size 8, and their output is led to a Electronics 2022,11, 3025 24 of 32 max pooling layer with a kernel of size 2. The last convolutional layer has 32 filters with a convolutional kernel of size 4. The Relu function was chosen as the activation function of each convolutional layer. The last convolutional layer is followed by a dropout layer (overfitting protection) with a parameter of 0.6 and a max pooling layer with kernel size 2. The output of this layer is sent to an FC layer of size 64 and then to an output FC layer with a softmax activation function. Table 5. Architecture of CNN 1D. Layer (Type) Output Shape Parameters Input Layer (None, 128, 2) 0 Zero Padding 1D (None, 136,2) 0 Conv1D (None, 129, 64) 1088 Max Pooling 1D (None, 64, 64) 0 Conv1D (None, 57, 64) 32,832 Max Pooling 1D (None, 28, 64) 0 Conv1D (None, 25, 32) 8224 Dropout (None, 25, 32) 0 Max Pooling 1D (None, 12, 32) 0 Flatten (None, 384) 0 Dense (None, 64) 24,640 Dense (None, 11) 715 6.2.2. CNN + LSTM This network was also modeled based on [ 61 ]. This architecture is a combination of two 1D convolutional layers and three LSTM layers (type of RNN), followed by one output FC layer. The initial layers of the model are similar to the previous model. The subsequent LSTM layers have identical parameters. Their size is 64 with a dropout parameter of 0.2. The reccurent_dropout parameter can also be set for these layers to increase the protection against overfitting of the network. However, when using this parameter, there is a significant increase in computation time (the difference in one epoch is up to a 6-fold increase in computation time), so this option was not used. A summary of this model can be seen in Table 6. Table 6. Architecture of CNN 1D + LSTM. Layer (Type) Output Shape Parameters Input Layer (None, 128, 2) 0 Zero Padding 1D (None, 136, 2) 0 Conv1D (None, 129, 64) 1088 Max Pooling 1D (None, 64, 64) 0 Conv1D (None, 57, 64) 32,832 Max Pooling 1D (None, 28, 64) 0 LSTM (None, 28, 64) 33,024 LSTM (None, 28, 64) 33,024 LSTM (None, 28, 64) 33,024 Flatten (None, 1792) 0 Dense (None, 11) 19,723 6.2.3. CNN 2D The design of this model was based on the test architecture of the dataset authors (see [ 67 ]). The structure of this model is similar to the first described model, with the difference being that 2D layers are used here. This poses a problem in terms of the dimensionality requirements of the input dataset. Therefore, the input datasets have been extended with an additional dimension, as can be seen from Table 7in the Output Shape column. The model (Table 7) consists of four convolutional 2D layers and added zero padding, max pooling, dropout and FC layers, similar to the first described model. Electronics 2022,11, 3025 25 of 32 Table 7. Architecture of CNN 2D. Layer (Type) Output Shape Parameters Input Layer (None, 128, 2, 1) 0 Zero Padding 2D (None, 132, 2, 1) 0 Conv2D (None, 129, 2, 256) 1280 Max Pooling 2D (None, 64, 2, 256) 0 Conv2D (None, 61, 2, 128) 131,200 Max Pooling 2D (None, 30, 2, 128) 0 Conv2D (None, 29, 2, 64) 16,448 Dropout (None, 29, 2, 64) 0 Conv2D (None, 28, 2, 64) 8256 Dropout (None, 28, 2, 64) 0 Flatten (None, 3584) 0 Dense (None, 128) 458,880 Dropout (None, 128) 0 Dense (None, 11) 1419 6.2.4. Bidirectional LSTM The last proposed model uses a bidirectional recurrent layer (bidirectional LSTM in this model). The design of this network is based on the findings from [ 68 ]. The utilization of bidirectional recurrent layers is another method that can increase the accuracy of the model in some cases (example of use in [ 62 ]). This model was used here to test its behavior on I/Q samples. The structure of the model can be seen in Table 8. The input layer is followed by the convolutional and max pooling layers. This is followed by three bidirectional LSTM layers of size 32 with a dropout parameter of 0.2. After these layers follows the output FC layer. Table 8. Architecture of biLSTM. Layer (Type) Output Shape Parameters Input Layer (None, 128, 2) 0 Conv1D (None, 121, 64) 1088 Max Pooling 1D (None, 60, 64) 0 Bidirectional LSTM (None, 60, 64) 24,832 Bidirectional LSTM (None, 60, 64) 24,832 Bidirectional LSTM (None, 60, 64) 24,832 Flatten (None, 3840) 0 Dense (None, 11) 42,251 6.3. Results As mentioned above, the Google Colab environment, which works with the Python programming language, was used to program the neural network models. The Keras library was used to create the models; an alternative for this library is the Pytorch library. The Google Colab environment was used because of the possibility of computing on externally available GPUs, which greatly speed up the computation. The split of the input dataset for training, validation and testing was described in the previous subsection. The parameters for training the proposed models are as follows: •Batch_size = 128; •Epochs = 100; •Learning_rate = variable, depending on the type of model; •Learning_rate_reduction_factor = variable, depending on the type of model; and •Early_stopping_callback = 5 epochs. For all models, there was an early stopping of the network learning, as defined by the Early_stopping_callback parameter. This specifies that if there is no improvement in validation loss within five epochs, the network training will stop to prevent overfitting. Table 9shows the resulting parameters related to the learning of each model. Electronics 2022,11, 3025 32 of 32 61. Pijackova, K.; Gotthans, T. Radio Modulation Classification Using Deep Learning Architectures. In Proceedings of the 2021 31st International Conference Radioelektronika (RADIOELEKTRONIKA), Brno, Czech Republic, 19–21 April 2021; pp. 1–5. 62. Liu, K.; Gao, W.; Huang, Q. Automatic Modulation Recognition Based on a DCN-BiLSTM Network. Sensors 2021 ,21, 1577. [CrossRef] [PubMed] 63. Alsheikh, M.A.; Niyato, D.; Lin, S.; Tan, H.-P.; Han, Z. Mobile big data analytics using deep learning and apache spark. IEEE Netw. 2016,30, 22–29. [CrossRef] 64. Watanabe, S.; Yamana, H. Overfitting Measurement of Deep Neural Networks Using No Data. In Proceedings of the 2021 IEEE 8th International Conference on Data Science and Advanced Analytics (DSAA), Porto, Portugal, 6–9 October 2021; pp. 1–10. 65. Le Roux, N.; Bengio, Y. Representational Power of Restricted Boltzmann Machines and Deep Belief Networks. Neural Comput. 2008,20, 1631–1649. [CrossRef] 66. Qiu, Z.; Peng, H.; Li, T. A Blind Despreading and Demodulation Method for QPSK-DSSS Signal With Unknown Carrier Offset Based on Matrix Subspace Analysis. IEEE Access 2019,7, 125700–125710. [CrossRef] 67. O’Shea, T.J.; West, N. Radio Machine Learning Dataset Generation with GNU Radio. Proc. GNU Radio Conf. 2016,1, 1–6. 68. Chollet, F. Deep Learning v Jazyku Python: Knihovny Keras, Tensorflow; Knihovna Programátora (Grada); Grada Publishing: Prague, Czech Republic, 2019; ISBN 978-80-247-3100-1.