System and Method for Unmanned Aerial Vehicle (UAV) Detection using Hierarchical Reinforcement Learning
The RF receiver circuitry and hierarchical reinforcement learning engine enhance UAV detection by accurately identifying UAV presence, type, and operation mode, addressing the challenges posed by modern UAV designs.
Patent Information
- Application Number
- US19/200351
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-03-14
- Filing Date
- 2025-05-06
- Publication Date
- 2026-12-03
AI Technical Summary
Existing detection methods for unmanned aerial vehicles (UAVs) struggle to accurately identify the presence, model type, and operation mode of modern, stealthy, and agile UAVs due to their evolving designs and noise-reducing technologies, making them difficult to detect using traditional radar, visual surveillance, and RF-based techniques.
A system utilizing a radio frequency (RF) receiver circuitry and a hierarchical reinforcement learning engine with a four-classifier hierarchy to intercept and analyze RF signals from UAVs, determining their presence, model type, and operation mode through a hierarchical reinforcement learning engine.
The system effectively detects and identifies UAVs, their types, and operation modes with enhanced accuracy and adaptability to evolving UAV technologies, improving detection capabilities.
Smart Images

Figure US20260388418A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of priority to provisional application No. 63 / 772,430 [Attorney Docket No. 554294US] filed Mar. 14, 2025, the entire contents of which are incorporated herein by reference.STATEMENT REGARDING PRIOR DISCLOSURE BY THE INVENTORS
[0002] Aspects of this technology are described in an article AlKhonaini, A.; Sheltami, T.; Mahmoud, A.; Imam, M. UAV Detection Using Reinforcement Learning. Sensors 2024, 24, 1870, and is herein incorporated by reference in its entirety.STATEMENT OF ACKNOWLEDGEMENT
[0003] The authors would like to acknowledge the support provided by the Computer Engineering Department at King Fahd University of Petroleum & Minerals (KFUPM), Dhahran, Saudi Arabia, for supporting this work. This work was supported by the interdisciplinary center of smart mobility and logistics at King Fahd University of Petroleum and Minerals (Grant number [INML2300]).BACKGROUNDTechnical Field
[0004] The present disclosure is directed to detection of unmanned aerial vehicles (UAVs), and more particularly to a system and a method for determining a presence of a UAV, a model type of the UAV, and an operation mode of the UAV.Description of Related Art
[0005] The “background” description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent it is described in this background section, as well as aspects of the description which may not otherwise qualify as prior art at the time of filing, are neither expressly or impliedly admitted as prior art against the present invention.
[0006] Unmanned aerial vehicles (UAVs), commonly known as drones, have gained significant attention in recent years due to their rapid technological advancements. The UAVs provide applicability across various domains, ranging from military operations and law enforcement to civilian services and smart cities. UAVs are designed to navigate airspace autonomously or with minimal human intervention, offering diverse capabilities such as aerial surveillance, emergency response, traffic control, search and rescue, disaster management, precision agriculture, and delivery services. UAVs' initial development for military purposes has evolved into an enhancement of civilian applications, contributing to the growth of smart cities, which increasingly rely on UAVs for various functions, including emergency management, surveillance, and transportation of goods or medical supplies. Further, UAVs, by nature, offer a range of advantages, such as cost-effectiveness, flexibility, speed, and precision in carrying out tasks. The UAVs can operate in hazardous environments that would otherwise pose risks to human operators, all while ensuring minimal environmental impact. This is made possible by integrating the UAVs with advanced hardware such as cameras, sensors, and communication systems that enhance the performance and capabilities of UAVs. However, as UAVs become more widespread and sofisticated, they present significant security concerns, particularly regarding their potential misuse. Some of such security risks include unauthorized surveillance, data breaches, and intrusions into private property. Further, the growing threat posed by malicious or unregulated UAV activities has raised concerns about privacy, security, and safety in various sectors.
[0007] To address these privacy, security, and safety concerns, some traditional detection methods and systems have been employed to monitor the presence of UAVs. These traditional methods and systems include, for example, radar systems, visual surveillance systems, radio frequency (RF)-based detection techniques, acoustic sensors, etc. The radar systems use radio waves to detect and track objects in the airspace. In contrast, the visual surveillance systems rely on image processing to identify UAVs based on their airframe and appearance. Further, the RF-based detection techniques analyze communication signals between UAVs and their controllers. Additionally, the acoustic sensors focus on unique sound signatures produced by UAV's motors and propellers.
[0008] Although traditional detection methods and systems have proven effective, several challenges have arisen as UAV technology continues to evolve. Modern UAVs are becoming smaller, more agile, and increasingly autonomous, making them harder to detect using existing techniques. The use of stealth technology, noise-reducing rotors, and modifications in the physical design of UAVs further complicates their detection process. Therefore, there is a need for an innovative detection technique that can adapt to these rapidly evolving features of UAVs.
[0009] Accordingly, it is one object of the present disclosure to provide a method and a system for determining a presence of an unmanned aerial vehicle (UAV). It is a further object to detect, a model type of the UAV, and an operation mode of the UAV.SUMMARY
[0010] In an exemplary embodiment, a system to determine a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV is described. The system includes a radio frequency (RF) receiver circuitry configured to intercept data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication. The RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end. The system includes a hierarchical reinforcement learning engine having a four-classifier hierarchy, including a first classifier configured to detect the presence of the UAV in an environment based on the transmitted data, a second classifier configured to identify the detected UAV by determining whether the model type is one of a plurality of model types, including a first model type or a second model type, a third classifier configured to determine an operation mode of the first model type identified by the second classifier, and a fourth classifier configured to determine an operation mode of the second model type identified by the second classifier. The system includes an output device for outputting one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operation mode of the detected UAV.
[0011] In another exemplary embodiment, a method of determining a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, via a system with a hierarchical reinforcement learning engine having a four-classifier hierarchy. The method includes intercepting, by a radio frequency (RF) receiver circuitry, data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication, wherein the RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end. The method includes detecting, by a first classifier of the hierarchical reinforcement learning engine, the presence of a UAV in an environment based on the transmitted data. The method includes identifying, by a second classifier of the hierarchical reinforcement learning engine, the detected UAV by determining whether the model type is one of a plurality of model types, including a first model type and a second model type. The method includes determining, by a third classifier of the hierarchical reinforcement learning engine, an operation mode of the first model type identified by the second classifier. The method includes determining, by a fourth classifier of the hierarchical reinforcement learning engine, an operation mode of the second model type identified by the second classifier. The method includes outputting, by an output device, one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operation mode of the detected UAV.
[0012] In another exemplary embodiment, a non-transitory computer-readable medium having instructions stored therein that, when executed by one or more processor, cause the one or more processors to perform a method of determining a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, via a system with a hierarchical reinforcement learning engine having a four-classifier hierarchy. The method includes intercepting, by a radio frequency (RF) receiver circuitry, data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication, wherein the RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end. The method includes detecting, by a first classifier of the hierarchical reinforcement learning engine, the presence of a UAV in an environment based on the transmitted data. The method includes identifying, by a second classifier of the hierarchical reinforcement learning engine, the detected UAV by determining whether the model type is one of a plurality of model types, including a first model type and a second model type. The method includes determining, by a third classifier of the hierarchical reinforcement learning engine, an operation mode of the first model type identified by the second classifier. The method includes determining, by a fourth classifier of the hierarchical reinforcement learning engine, an operation mode of the second model type identified by the second classifier. The method includes outputting, by an output device, one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operation mode of the detected UAV.
[0013] The foregoing general description of the illustrative embodiments and the following detailed description thereof are merely exemplary aspects of the teachings of this disclosure and are not restrictive.BRIEF DESCRIPTION OF THE DRAWINGS
[0014] A more complete appreciation of this disclosure and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:
[0015] FIG. 1 is an exemplary diagram depicting a system configured to determine a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, in accordance with an embodiment of the present disclosure.
[0016] FIG. 2A is an exemplary graph representing a number of segments with two distinct classes determined based on a presence or an absence of a UAV in an environment, in accordance with an embodiment of the present disclosure.
[0017] FIG. 2B is an exemplary graph representing a number of segments with three distinct classes determined based on a presence of a UAV in an environment, in accordance with an embodiment of the present disclosure.
[0018] FIG. 3 is an exemplary graph representing a number of segments with ten distinct classes determined based on a presence or an absence of a UAV, a model type, and an operation mode, in accordance with an embodiment of the present disclosure.
[0019] FIG. 4A is an exemplary graph representing normalized activities of a radio frequency (RF) receiver circuitry, indicating no UAV presence, in accordance with an embodiment of the present disclosure.
[0020] FIG. 4B is an exemplary graph representing the normalized activities of an RF receiver circuitry indicating a presence of a UAV, in accordance with an embodiment of the present disclosure.
[0021] FIG. 5A is an exemplary graph representing an average spectrum for a number of segments with two distinct classes, in accordance with an embodiment of the present disclosure.
[0022] FIG. 5B is an exemplary graph representing an average spectrum for a number of segments with four distinct classes, in accordance with an embodiment of the present disclosure.
[0023] FIG. 5C is an exemplary graph representing an average spectrum for a number of segments with ten distinct classes, in accordance with an embodiment of the present disclosure.
[0024] FIG. 6A is an exemplary graph representing distribution of a training dataset for a number of segments with two distinct classes, in accordance with an embodiment of the present disclosure.
[0025] FIG. 6B is an exemplary graph representing distribution of a training dataset for a number of segments with four distinct classes, in accordance with an embodiment of the present disclosure.
[0026] FIG. 6C is an exemplary graph representing distribution of a training dataset for a number of segments with ten distinct classes, in accordance with an embodiment of the present disclosure.
[0027] FIG. 7 is an exemplary architecture of a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0028] FIG. 8 is an exemplary diagram representing a control flow of training a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0029] FIG. 9 is an exemplary diagram illustrating a process flow for determining a presence of a UAV, a model type of the UAV, and an operation mode of the UAV using a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0030] FIG. 10 is an exemplary graph representing learning and adaption capabilities of a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0031] FIG. 11 is an exemplary graph representing a convergence of a cross-entropy loss during a training process of a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0032] FIG. 12 is an exemplary graph representing a convergence of a total policy loss during a training process of a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0033] FIG. 13 is an exemplary graph representing a performance of a hierarchical reinforcement learning engine during a binary classification task, in accordance with an embodiment of the present disclosure.
[0034] FIG. 14 is an exemplary graph representing a performance of a hierarchical reinforcement learning engine in during a multi-class classification task, in accordance with an embodiment of the present disclosure.
[0035] FIG. 15 is an exemplary bar graph representing performance evaluation of a hierarchical reinforcement learning engine in a UAV detection task and a UAV identification task, in accordance with an embodiment of the present disclosure.
[0036] FIG. 16 is an exemplary bar graph representing performance scores obtained using a current approach and existing approaches, in accordance with an embodiment of the present disclosure.
[0037] FIG. 17A is an exemplary graph representing a cross-entropy loss obtained using a hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure.
[0038] FIG. 17B is an exemplary graph representing a cross-entropy loss obtained using a Policy-Recursive Policy Gradient (PRPG) algorithm, in accordance with an embodiment of the present disclosure.
[0039] FIG. 17C is an exemplary graph representing a cross-entropy loss obtained using a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure.
[0040] FIG. 18A is an exemplary graph representing time consumed using a hierarchical reinforcement learning engine and a hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure.
[0041] FIG. 18B is an exemplary graph representing energy consumed using a hierarchical reinforcement learning engine and a hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure.
[0042] FIG. 19 is an exemplary diagram of a method for determining a presence a UAV, a model type of the UAV, and an operation mode of the UAV, according to certain embodiments.
[0043] FIG. 20 is an illustration of a non-limiting example of details of computing hardware used in a computing device, according to certain embodiments.
[0044] FIG. 21 is an exemplary schematic diagram of a data processing system used within the computing device, according to certain embodiments.
[0045] FIG. 22 is an exemplary schematic diagram of a processor used with the computing device, according to certain embodiments.
[0046] FIG. 23 is an illustration of a non-limiting example of distributed components which may share processing with a controller, according to certain embodiments.DETAILED DESCRIPTION
[0047] In the drawings, like reference numerals designate identical or corresponding parts throughout the several views. Further, as used herein, the words “a,”“an” and the like generally carry a meaning of “one or more,” unless stated otherwise.
[0048] Furthermore, the terms “approximately,”“approximate,”“about,” and similar terms generally refer to ranges that include the identified value within a margin of 20%, 10%, or preferably 5%, and any values therebetween.
[0049] Aspects of this disclosure are directed to a system and a method for determining a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, via a system with a hierarchical reinforcement learning engine having a four-classifier hierarchy. To determine the presence of the UAV, the model type, and the operation mode, the method includes intercepting, by a radio frequency (RF) receiver circuitry, data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication. In an embodiment, the RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end. The method further includes detecting, by a first classifier of the hierarchical reinforcement learning engine, the presence of a UAV in an environment based on the transmitted data. Upon detecting the presence of the UAV in the environment, the detected UAV is identified using a second classifier of the hierarchical reinforcement learning engine. In an embodiment, the detected UAV is identified by determining whether the model type is one of a plurality of model types, including a first model type and a second model type. Upon identification of the detected UAV, the method includes determining using a third classifier of the hierarchical reinforcement learning engine, an operation mode of the first model type identified by the second classifier. Further, the method includes determining using a fourth classifier of the hierarchical reinforcement learning engine an operation mode of the second model type identified by the second classifier. Thereafter, the method further includes outputting, by an output device, one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operating mode of the detected UAV.
[0050] Referring now to FIG. 1, the present disclosure provides an exemplary diagram 100 depicting a system configured to determine a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, in accordance with an embodiment of the present disclosure. As depicted in FIG. 1, the system may correspond to a UAV detection system 102. The UAV may correspond to a UAV 104. The UAV 104 may be controlled using a ground-based UAV flight controller 106, which includes a central processing unit (CPU). In an embodiment, the UAV 104, commonly referred to as an unmanned aircraft system (UAS) or a drone, is an aircraft with no human pilot, crew, or passengers onboard. The UAV may be used for tasks, such as surveillance, mapping, or delivery and is remotely controlled or autonomously guided. The UAV flight controller 106 is a physical hardware component used for controlling a flight of the UAV 104 during its operation, e.g., during surveillance. The UAV flight controller 106 receives input commands from a pilot or an autonomous system to control movements, such as altitude, direction, and speed of the UAV 104. In an embodiment, the UAV flight controller 106 serves as a core unit for controlling the UAV 104, designed for specific applications that enable transmission and reception of operational commands, or modes, to the UAV 104 via the RF signals. Each UAV has a unique flight controller application suited to its intended tasks, ensuring proper communication between a corresponding UAV flight controller 106 and the UAV 104.
[0051] In order to determine the presence, the model type, the operation mode of the UAV 104, the UAV detection system 102 includes a radio frequency (RF) receiver circuitry. The RF receiver circuitry is configured to intercept data transmitted by the UAV 104 to the UAV flight controller 106 in the form of an RF signal through wireless communication Although only one UAV is shown, there may be several UAVs 104 in communication with the UAV flight controller 106, and the several UAVs 104 may be in communication with each other through a wireless communication network. Further, the examples of the UAV detection system 102 may include a desktop, a laptop, a tablet, a smartphone, and the like.
[0052] In an embodiment, the RF receiver circuitry of the UAV detection system 102 includes a first component and a second component. The first component is used to record RF signals at a lower end of a spectrum. The second component to capture RF signals at an end of the spectrum that is higher than the lower end. The RF signals act as a link of data exchange between the UAV 104 and the UAV flight controller 106. For example, commands and telemetry data can be conveyed through the link to control flight operations of the UAV 104. The spectrum corresponds to a range of electromagnetic frequencies used for transmitting the RF signals. For example, the range of the electromagnetic frequencies may be 2.4 gigahertz (GHz) to 5.8 GHz. In this example, the lower end of the spectrum may be 2.4 GHz, while the end higher than the lower end may be any value of the electromagnetic frequency above 2.4 GHz up to 5.8 GHz or beyond. Further, the first component corresponds to a low-frequency receiver, e.g., a 2.4 GHz receiver, used for capturing the RF signals at a lower frequency. Further, the second component is a high-frequency receiver, e.g., a 5.8 GHz receiver, used to capture the RF signals at a higher frequency.
[0053] The UAV detection system 102 further includes a hierarchical reinforcement learning engine. The hierarchical reinforcement learning engine includes a four-classifier hierarchy having a first classifier, a second classifier, a third classifier, and a fourth classifier. The first classifier is configured to detect the presence of the UAV 104 in an environment based on the transmitted data. The environment corresponds to a physical space or an area in which the UAV 104 is operating or being detected. Upon detecting the presence of the UAV 104, the second classifier is configured to identify the detected UAV 104, The detected UAV 104 is identified by determining whether the model type of the UAV 104 is one of several model types. The model types includes a first model type (e.g., a Parrot Bebop model) or a second model type (a Parrot Augmented Reality (AR) model). In an embodiment, the plurality of model types may include a third model type (e.g., a ‘Dà-Jiang Innovations (DJI) Phantom’ model). Upon determining the model type of the UAV 104 to be the first model type, the third classifier is configured to determine an operation mode (also referred to as a flight mode) of the UAV 104 having the first model type. Further, upon determining the model type of the UAV to be the second model type, the fourth classifier is configured to determine the operation mode of the second model type. Examples of the operation mode of the UAV 104 may include but are not limited to, an on mode, a hovering mode, a flying mode, and a recording video mode. In some embodiments, the operation mode may also include, a takeoff mode, a landing mode, a waypoint navigation mode, and a surveying mode.
[0054] The UAV detection system 102 further includes an output device. The output device is configured output one of a UAV detected or no UAV detected by the first classifier. In other words, the output device may be configured to display a result, i.e., a UAV is detected, or no UAV is detected based on the processing performed by the first classifier. In an embodiment, when the UAV (e.g., the UAV 104) is detected within the environment, the first classifier generates the UAV detected signal that is rendered using the output device. Further, when the UAV (e.g., the UAV 104) is not detected within the environment, the first classifier generates a no UAV detected signal that is rendered using the output device. In a case, where the UAV 104 is detected within the environment, the model type and the operating mode of the detected UAV 104 is also rendered to the user. In an embodiment, the output device may be in-built within the UAV detection system. In some embodiments, the output device may be an external device that is in communication with the UAV detection system 102. For example, the output device may be an Input / Output device. Examples of the output device may be a display screen, an audio device, a laptop, a desktop, a tablet, a smartphone, and others.
[0055] In an embodiment, the RF receiver circuitry in the UAV detection system 102 plays a key role in identifying a source of the RF signals, helping detect and locate the UAV 104 in the environment. Typically, UAVs incorporate on-board transmitters, which are essential components to enable remote control and operation of the UAVs via the RF signals. These onboard transmitters facilitate communication between a UAV (e.g., the UAV 104) and its flight control unit (e.g., the UAV flight controller 106). Generally, the UAVs operate within a 2.4 GHz Industrial, Scientific, and Medical (ISM) band, a frequency range commonly utilized for various wireless communication systems. This frequency range is considered an unlicensed spectrum, meaning this frequency range can be used without the need for specific licensing or authorization. The UAVs operating within this frequency band can be detected and identified from significant distances, taking into account both the UAV's characteristics and attributes of an RF receiver circuitry in the surrounding environment. For example, Table 1 outlines specifications of an exemplary RF receiver circuitry, e.g., a Universal Software Radio Peripheral (USRP)-2943 40 megahertz (MHz) RF receiver circuitry, which may be employed to collect these RF signals.TABLE 1SpecificationsValuesNumber of channels2Frequency Range[1.2-6]GHzFrequency Step<1kilohertz KHzGain range[0-37.5]decibels (dB)Maximum instantaneous bandwidth40MHzMaximum In-phase and Quadrature200 Mega Samples per(I / Q) sample ratesecond (MS / s)Analog-to-Digital Converter14bits(ADC) resolutionNoise Figure5 dB to 7 dBSpurious-Free Dynamic Range88dB(sFDR)
[0056] For example, a value ‘2’ for a specification ‘number of channels’ means that the USRP-2943 40 MHz RF receiver circuitry can receive and process two RF signals at the same time. Similarly, a specification ‘frequency range’ indicates that the USRP-2943 40 MHz RF receiver circuitry can capture RF signals within a spectrum of 1.2 GHz to 6 GHz.
[0057] FIG. 2A is an exemplary graph 200A representing a number of segments with two distinct classes determined based on a presence or an absence of a UAV in an environment, in accordance with an embodiment of the present disclosure. In order to determine the presence of the UAV, the model type, and the operation mode, the UAV detection system 102 uses a drone RF dataset. The drone RF dataset is a publicly available dataset designed for detection and identification of various intruding UAVs. As discussed in FIG. 1, a model of the UAV detection system 102 used for experiments provides key insights into different UAV models (also referred to as policy models), flight control devices (e.g., the UAV flight controller 106), and RF receiving units (e.g., the RF receiver circuitry). This model serves as a foundation for the UAV detection system 102. Unlike other forms of datasets that rely on simulations or laboratory-controlled scenarios, the drone RF dataset is constructed based on real-world experiments. This makes the drone RF dataset a highly valuable resource for both training and testing of the hierarchical reinforcement learning engine of the UAV detection system 102. Further, in the drone RF dataset, the RF signals are captured, processed, and stored using a personal-computer (PC) or any device running on a latest software version, for example, a LabVIEW software version 5.
[0058] The drone RF dataset encompasses a broad range of RF activities, including both RF background activities (indicating an absence of UAVs) and RF drone activities (corresponding to the presence of the UAVs). Furthermore, the drone RF dataset captures the RF signals emitted by various UAVs operating in different flight modes. Numerous features embedded in these RF signals, such as frequency patterns, modulation techniques, signal strength, and other relevant parameters, can be extracted and utilized as unique identifiers for the UAVs. These features not only allow identification of the UAVs but also support the determination of operation modes including, the on mode, the hovering mode, the flying mode, the recording videos mode, and the like, of the UAVs.
[0059] For example, the drone RF dataset used for training and testing purposes of the hierarchical reinforcement learning engine includes recorded segments in raw format for each class gathered across multiple experiments. The RF background activities are recorded for approximately 10.25 seconds, while RF communications for each UAV operation mode last around 5.25 seconds. To conserve memory, the RF signals are stored in Comma-Separated Values (CSV) file format. A total of 227 segments, each containing 20×10{circumflex over ( )}6 samples, have been categorized into three levels. For example, a level 1 identifies a first policy model depicting the presence or the absence of a UAV (e.g., the UAV 104) in the environment, resulting in two classes, e.g., ‘no UAV’ class, and ‘UAV’ class. Further, a level 2 determines a second policy model indicating the model type of the UAV detected in the level 1. The second policy model includes three classes, i.e., a ‘Parrot Bebop class, a ‘Parrot Augmented Reality (AR)’ class, and a ‘DJI Phantom’ class. Further, a level 3 classifies a third policy model and a fourth policy model depicting the operation mode of the UAV identified at the level 2 using the second policy model. For example, the third policy model depicts the operation mode as an operation mode class adapted to the ‘Parrot Bebop’ class, and the fourth policy model depicts the operation mode as the operation mode class adapted the ‘Parrot AR’ class. In an embodiment, for example, four distinct operation mode classes, i.e., operation mode classes, may be associated with each class, e.g., an ‘on’ mode class, a ‘hovering’ mode class, a ‘flying’ mode class, and a ‘recording video’ mode class.
[0060] In an embodiment, the drone RF dataset contains RF data for different UAV types, including UAVs having the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom’ class, e.g., a ‘DJI Phantom 3’ class. The UAVs within these classes are selected due to their varied specifications, sizes, technologies, and prices, in order to cover different types of applications. A description of each UAV model, along with corresponding specifications and properties is depicted in a Table 2 below.TABLE 2UAV specifications andParrotDJIpropertiesBebopParrot ARPhantom 3Dimensions (centimeters38*33*3.661*61*12.752*49*29(cm))Weight (kilograms (kg))0.40.4201.216Battery capacity120010004480(milliampere-hour (mAH))Maximum Range250501000ConnectivityWiFiWiFiWiFi ([2.4-(2.4 &(2.4 GHz)2.483] GHz)5 GHz)RF ([5.725-5.825] GHz)
[0061] In Table 2, each row of a first column, i.e., ‘UAV specifications and properties’, represents the specifications and properties of each UAV. Further, each row of a second column, a third column, and a fourth column represents values of the specifications and properties of a corresponding UAV belonging to the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom 3’ class, respectively. For example, dimensions (in centimeters (cm)) specification represents that a UAV belonging to the ‘Parrot Bebop’ class measures 38 cm in length, 33 cm in width, and 3.6 cm in height.
[0062] In FIG. 2A, the exemplary bar graph 200A depicts the number of segments having two distinct classes, i.e., the ‘no UAV’ class and the ‘UAV’ class in the level 1 (i.e., the first policy model). In graph 200A, an X-axis represents the two distinct classes, while a Y-axis represents the number of segments corresponding to each of the two distinct classes. For example, in the graph 200A, a vertical bar 202A represents 41 segments for the ‘no UAV’ class. A vertical bar 204A represents 186 segments for the ‘UAV’ class. These segments may correspond to instances when the UAV may be detected within the environment.
[0063] FIG. 2B is an exemplary bar graph 200B representing a number of segments with three distinct classes determined based on the presence the UAV in the environment, in accordance with an embodiment of the present disclosure. FIG. 2B is explained in conjunction with FIG. 2A. In FIG. 2B, the graph 200B depicts the number of segments having three distinct classes, i.e., the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom 3’ class in the level 2 (i.e., the second policy model). In other words, each instance at which the presence of the UAV is detected within the environment and is classified as the ‘UAV’ class, the model type of the UAV for each instance may be determined. For example, in continuation to FIG. 2A where the number of segments for the ‘UAV’ class is 186, the model type of the UAV at each instance will be determined.
[0064] In graph 200B, an X-axis represents the three distinct classes, while a Y-axis represents the number of segments corresponding to each of the three distinct classes. For example, in the graph 200B, a vertical bar 202B (same as the vertical bar 202A) represents the 41 segments for the ‘no UAV’ class. A vertical bar 204B represents 84 segments for the ‘Parrot Bebop’ class. A vertical bar 206B represents 81 segments for the ‘Parrot AR’ class. A vertical bar 208B represents 21 segments for the ‘DJI Phantom 3’ class. These segments may correspond to instances when the UAV of a corresponding model type, i.e., the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom 3’ may be detected within the environment.
[0065] FIG. 3 is an exemplary bar graph 300 representing a number of segments with ten distinct classes determined based on the presence or the absence of the UAV, the model type, and the operation mode, in accordance with an embodiment of the present disclosure. FIG. 3 is explained in conjunction with FIGS. 2A and 2B. In FIG. 3, the graph 300 depicts the number of segments having ten distinct classes. The ten distinct classes include classes within the level 1, the level 2, and the level 3. In particular, each instance of the UAV that is classified within the ‘Parrot Bebop’ class and the ‘Parrot AR’ class is further classified based on the third policy model and the second policy model (i.e., the level 3) depicting the operation mode for instances of the UAV classified within the ‘Parrot Bebop’ class and the ‘Parrot AR’ class. For example, in continuation to FIG. 2B, where the number of segments for the UAV classified within the ‘Parrot Bebop’ class and the ‘Parrot AR’ class is 84 and 81, respectively, the operation mode of the UAV classified within the ‘Parrot Bebop’ class and the ‘Parrot AR’ class at each instance is determined.
[0066] In graph 300, an X-axis represents the ten distinct classes, while a Y-axis represents the number of segments corresponding to each of the ten distinct classes. For example, in the graph 300, a vertical bar 302 (same as the vertical bar 202B) represents the 41 segments for the ‘no UAV’ class. A vertical bar 304 represents 21 segments (i.e., the instances) at which the UAV classified within the ‘Parrot Bebop’ class has the operation mode class as the ‘on’ mode class (depicted as Bebop M1). Similarly, a vertical bar 306, 308, and 310 represent 21 segments each (i.e., the instances) at which the UAV classified within the ‘Parrot Bebop’ class has the operation mode class as the ‘hovering’ mode class (depicted as Bebop M2), the ‘flying’ mode class (depicted as Bebop M3), and the ‘recording videos’ mode class (depicted as Bebop M4), respectively. Further, a vertical bar 312, 314, and 316 represent 21 segments each (i.e., the instances) at which the UAV classified within the ‘Parrot AR’ class has the operation mode class as the ‘on’ mode class (depicted as AR M1), the ‘hovering’ mode class (depicted as AR M2), and the ‘flying’ mode class (depicted as AR M3). In addition, a vertical bar 318 represents 18 segments at which the UAV classified within the ‘Parrot AR’ class has the operation mode class as the ‘recoding videos’ mode class (depicted as AR M4). Further, a vertical bar 320 represents 21 segments at which the UAV detected is classified within the ‘DJI Phantom 3’ class.
[0067] In an embodiment, a hierarchical reinforcement learning approach is employed using the hierarchical reinforcement learning engine to address the detection and identification challenge associated with the UAVs by framing the detection and identification as a multi-class classification problem. The UAV detection system 102 uses the hierarchical reinforcement learning engine, implementing four classifiers (i.e., the four-classifier hierarchy) to determine the presence of the UAV, its model type, and the operation mode.
[0068] FIG. 4A is an exemplary graph 400A representing normalized activities of the RF receiver circuitry, indicating no UAV presence, in accordance with an embodiment of the present disclosure. In an embodiment, to enhance the learning process and improve the performance of the hierarchical reinforcement learning engine, computational complexity was effectively reduced, and detection accuracy was increased by eliminating bias in captured RF signals. The computational complexity and detection accuracy were achieved by removing zero-frequency components and applying the Fast Fourier Transform (FFT) to zero-mean RF signals in MATLAB 2022b.
[0069] In FIG. 4A, the exemplary graph 400A depicts normalized RF signals recorded for a segment using two receivers. The two receivers may be a receiver 1 (e.g., the first component of the RF receiver circuitry) and a receiver 2 (e.g., the second component of the RF receiver circuitry). An X-axis of the graph 400A represents a time (measured in seconds) for the RF signals received using the two receivers. Further, a Y-axis represents an amplitude associated with the RF signals received via the two receivers. In an experimental embodiment, these RF signals are scaled between 1 and −1, providing a standardized range for RF signal amplitudes, which allows for easier comparison of RF signals activity. For example, in the graph 400A, an RF signal received using the receiver 1 and the receiver 2 for segment 1 is displayed. The segment 1 corresponds to a specific portion of recorded data associated with the environment. Further, a line 402A and a line 404A represents an amplitude of the RF signals received via the receiver 1 and the receiver 2, respectively. A pattern represented by the line 402A and the line 404A shows a typical behavior observed when no UAV is present in the environment. In particular, as represented via the line 402A and the line 404A, the RF signals received via the two receivers remain relatively stable, with no significant fluctuations, indicating that no RF activity associated with the UAV has been detected.
[0070] FIG. 4B is an exemplary graph 400B representing the normalized activities of the RF receiver circuitry indicating the presence of the UAV, in accordance with an embodiment of the present disclosure. In FIG. 4B, the exemplary graph 400B depicts normalized RF signals recorded for a segment (e.g., a segment 3) using the two receivers, i.e., the receiver 1 and the receiver 2 of the RF receiver circuitry. The segment 3 may represent a specific time period when an RF activity is captured. An X-axis of the graph 400B represents the time (measured in seconds) for the RF signals received using the two receivers. Further, a Y-axis represents the amplitude associated with the RF signals received via the two receivers. For example, in the graph 400B, the RF signal received using the receiver 1 and the receiver 2 for segment 3 is displayed. The segment 3 corresponds to a specific time period when an RF activity is captured with the environment.
[0071] Further, a line 402B and a line 404B represents an amplitude of the RF signals received via the receiver 1 and the receiver 2, respectively. A pattern represented by the line 402A and the line 404A shows a typical behavior indicating the presence of the UAV that is flying (categorized in the ‘flying’ mode class) having the model type as the Parrot AR model (categorized in the ‘Parrot AR’ class). In particular, based on the pattern formed based on the RF signals received using the two receivers as represented via the line 402B and 404B, the hierarchical reinforcement learning engine is configured to determine the presence of the UAV, the model type, and the operation mode.
[0072] FIG. 5A is an exemplary graph 500A representing an average spectrum for a number of segments with two distinct classes, in accordance with an embodiment of the present disclosure. In particular, the graph 500A represents an average spectrum for a set of segments that have been classified into two distinct classes, i.e., the ‘no UAV’ class (class 1) and the ‘UAV’ class (class 2). In the graph 500A, an X-axis represents a frequency (measured in MHz) for a spectrum. Further, a Y-axis represents a power (measured in dB) of the spectrum at a particular frequency. A pattern depicted via a line 502A is observed when no UAV is detected in the environment, i.e., the ‘no UAV’ class. Further, a pattern depicted via a line 504A is observed when the UAV is detected within the environment, i.e., the ‘UAV’ class.
[0073] FIG. 5B is an exemplary graph 500B representing an average spectrum for a number of segments with four distinct classes, in accordance with an embodiment of the present disclosure. In particular, the graph500B represents an average spectrum for a set of segments that have been classified into four distinct classes, e.g., ‘no UAV’ class (class 1), the ‘Parrot Bebop’ class (class 2), the ‘Parrot AR’ class (class 3), and the ‘DJI Phantom 3’ class (class 4). In the graph 500B, an X-axis represents a frequency (measured in MHz) for a spectrum. Further, a Y-axis represents a power (measured in dB) of the spectrum at a particular frequency. A pattern depicted via a line 502B is observed when no UAV is detected in the environment, i.e., the ‘no UAV’ class. Further, a pattern depicted via a line 504B is observed when the UAV of the model type, i.e., the Parrot Bebop model, is detected within the environment classified as the ‘Parrot Bebop’ class. A pattern depicted via a line 506B is observed when the UAV of the model type, i.e., the Parrot AR model is detected within the environment classified in the ‘Parrot AR’ class. A pattern depicted via a line 508B is observed when the UAV of the model type, i.e., the DJI Phantom 3 model, is detected within the environment classified in the ‘DJI Phantom’ class.
[0074] FIG. 5C is an exemplary graph 500C representing an average spectrum for a number of segments with ten distinct classes, in accordance with an embodiment of the present disclosure. In particular, the graph 500C represents an average spectrum for a set of segments that have been classified into ten distinct classes. The ten distinct classes may be, for example, a class 1, i.e., ‘no UAV’ class, a class 2, i.e., ‘Bebop M1’ class, a class 3, i.e., ‘Bebop M2’ class, a class 4, i.e., ‘Bebop M3’ class, a class 5, i.e., ‘Bebop M4’ class, a class 6, i.e., ‘AR M1’ class, a class 7, i.e., ‘AR M2’ class, a class 8, i.e., ‘AR M3’ class, a class 9, i.e., ‘AR M4’ class, and a class 10, i.e., ‘DJI Phantom 3’ class. In the graph 500C, an X-axis represents a frequency (measured in MHz) for the spectrum. Further, a Y-axis represents a power (measured in dB) of the spectrum at a particular frequency.
[0075] A pattern depicted via a line 502C is observed when no UAV is detected in the environment, i.e., the ‘no UAV’ class (the class 1). In an embodiment, the class 2, i.e., ‘the Bebop M2’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., the on mode, is detected within the environment. Further, a pattern depicted via a line 504C is observed upon determining the class 2, i.e., the ‘Bebop M1’. In an embodiment, the class 3, i.e., ‘the Bebop M2’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., the hovering mode, is detected within the environment. Further, a pattern depicted via a line 506C is observed upon determining the class 3, i.e., the ‘Bebop M2’. The class 3, i.e., ‘the Bebop M3’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., the hovering mode, is detected within the environment. The class 4, i.e., ‘the Bebop M3’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., a flying mode, is detected within the environment. Further, a pattern depicted via a line 508C is observed upon determining the class 4, i.e., the ‘Bebop M3’. The class 4, i.e., ‘the Bebop M3’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., the flying mode, is detected within the environment. The class 5, i.e., ‘the Bebop M4’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., a recording video mode, is detected within the environment. Further, a pattern depicted via a line 510C is observed upon determining the class 5, i.e., the ‘Bebop M4’. The class 5, i.e., ‘the Bebop M4’ is determined when the UAV of the model type, i.e., the Parrot Bebop model having the operation mode, i.e., the recording video mode, is detected within the environment. Similarly, a line 512C represents the class 6, i.e., the ‘AR M1’, a line 514C represents the class 7, i.e., the ‘AR M2’, a line 516C represents the class 8, i.e., the ‘AR M3’, a line 518C represents the class 9, i.e., the ‘AR M4’, and a line 520 represents the class 10, i.e., the ‘DJI Phantom 3’ class.
[0076] FIG. 6A is an exemplary graph 600A representing distribution of a training dataset for a number of segments with two distinct classes, in accordance with an embodiment of the present disclosure. The two distinct classes correspond to the ‘no UAV’ class and the ‘UAV’ class. In an embodiment, the training dataset may correspond to the drone RF dataset. Further, as depicted via the graph 600A, an X-axis of the graph 600A represents each of the two distinct classes labeled as ‘1’ (i.e., the ‘no UAV’ class) and ‘2’ (i.e., the ‘UAV’ class). Further, a Y-axis of the graph 600A represents the power (measured in dB) of the RF signals recorded for each of the two distinct class. Further, each rectangular box (e.g., a rectangular box 602A) is a box-and-whisker plot showing the distribution of the power for the ‘no UAV’ and ‘UAV’ classes. Further, each line (e.g., a line 604A) within each rectangular box represents a median power value for each of the two distinct classes.
[0077] FIG. 6B is an exemplary graph 600B representing distribution of a training dataset for a number of segments with four distinct classes, in accordance with an embodiment of the present disclosure. In an embodiment, the training dataset may correspond to the drone RF dataset. The four distinct classes correspond to the ‘no UAV’ class, the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom 3’ class. Further, as depicted via the graph 600B, an X-axis of the graph 600B represents each of the four distinct classes labeled as ‘1’ (i.e., the ‘no UAV’ class), ‘2’ (i.e., the ‘Parrot Bebop’ class), ‘3’ (i.e., the ‘Parrot AR’ class), and ‘4’ (the ‘DJI Phantom 3’ class). Further, a Y-axis of the graph 600B represents the power (measured in dB) of the RF signals recorded for each of the four distinct classes. Further, each rectangular box (e.g., a rectangular box 602B) is the box-and-whisker plot showing the distribution of the power for each of the four distinct classes. Further, each line (e.g., a line 604B) within each rectangular box represents a median power value for each of the four distinct classes.
[0078] FIG. 6C is an exemplary graph 600C representing distribution of a training dataset for a number of segments with ten distinct classes, in accordance with an embodiment of the present disclosure. In an embodiment, the training dataset may correspond to the drone RF dataset. The ten distinct classes correspond to the ‘no UAV’ class, the Bebop M1’ class, the ‘Bebop M2’ class, the ‘Bebop M3’ class, the ‘Bebop M4’ class, the ‘AR M1’ class, the ‘AR M2’ class, the ‘AR M3’ class, the ‘AR M4’ class, and the ‘DJI Phantom 3’ class. Further, as depicted via the graph 600C, an X-axis of the graph 600C represents each of the ten distinct classes labeled as ‘1’ (i.e., the ‘no UAV’ class), ‘2’ (i.e., the ‘Bebop M1’ class), ‘3’ (i.e., the ‘Bebop M2’ class), 4′ (i.e., the ‘Bebop M3’ class), ‘5’ (i.e., the ‘Bebop M4’ class), ‘6’ (i.e., the ‘AR M1’ class), ‘7’ (i.e., the ‘AR M2’ class), 8′ (i.e., the ‘AR M3’ class), ‘9’ (i.e., the ‘AR M4’ class), and ‘10’ (the ‘DJI Phantom 3’ class). Further, a Y-axis of the graph 600C represents the power (measured in dB) of the RF signals recorded for each of the ten distinct classes. Further, each rectangular box (e.g., a rectangular box 602C) is the box-and-whisker plot showing the distribution of the power for each of the ten distinct classes. Further, each line (e.g., a line 604C) within each rectangular box represents a median power value for each of the ten distinct classes.
[0079] FIG. 7 is an exemplary architecture 700 of a hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure. A problem of intruding UAVs presents a significant security threat on a global scale. The UAVs are capable of flying autonomously while using onboard sensors to gather a wide range of data, including capturing images and sounds via integrated cameras and microphones. Due to these problems, the object of the present disclosure is to provide a solution for detecting and identifying intruding UAVs. The solution involve es applying reinforcement learning techniques to analyze the RF signals transmitted by the UAVs. Further, the implementation of these RL techniques utilizes a version of Python programming language, Python 3 or later, leveraging powerful machine learning libraries such as PyTorch and scikit-learn. The solution provided by the present disclosure is the hierarchical reinforcement learning engine having the four-classifier hierarchy. In other words, in order to determine the presence of the UAV, its model type, and the operation mode, the hierarchical reinforcement learning engine is implemented. The hierarchical reinforcement learning engine may reside within a memory of the UAV detection system 102. Initially, each classifier of the hierarchical reinforcement learning engine is trained to perform a specific classification based on the training dataset (e.g., the drone RF dataset).
[0080] The hierarchical reinforcement learning engine uses a hierarchical reinforcement learning approach that aims to detect and identify UAVs by leveraging a policy gradient algorithm based on a REINFORCE method with entropy regularization. In particular, the hierarchical reinforcement learning approach is a method that decomposes complex tasks into a series of subtasks organized in a hierarchical structure. The hierarchical reinforcement learning approach combines strengths of reinforcement learning techniques and unique characteristics of the RF signals to learn optimal decision-making policy models within both binary and multi-class classification contexts. Initially, a model and the training dataset will be defined for the UAV detection system. Once the training set is defined, filtering and smoothing techniques are applied to the training dataset to enhance quality of input features. Subsequently, the hierarchical reinforcement learning approach is used to address multi-class classification problems using the four-classifier hierarchy, with a UAV agent, i.e., the agent 702, utilizing multiple policy models to efficiently determine classification outcomes.
[0081] The training dataset (i.e., the drone RF dataset) consists of raw RF data collected through onboard sensing units, which, despite prior noise reduction efforts, still require additional pre-processing before for the training of the hierarchical reinforcement learning engine. A pre-processing stage includes a filtering process (e.g., a low-pass filtering, a bandpass filtering, and other filtering processes) to reduce noise and interference from the training dataset. Additionally, various techniques (i.e., signal normalization technique, features extraction, dimensionality reduction techniques, etc.) are employed to improve the quality of the training dataset and extract meaningful features from the training dataset. In particular, the pre-processing stage incorporates two key components, i.e., data engineering and feature engineering. Both of these key components play a crucial role in shaping and refining the training dataset for additional analysis. The data engineering focuses on converting raw RF data into a suitable format using techniques such as signal processing and encoding categorical variables. Data engineering involves collecting, cleaning, and integrating data from diverse sources. On the other hand, feature engineering involves refining an output data generated after the data engineering to create desired features for the training process. As part of the pre-processing pipeline, a filtering stage is introduced to smooth the training data and reduce noise. This filtering stage utilizes a uniform filter with a predefined window size, which applies an averaging technique (e.g., moving average). While applying the averaging technique, adjacent samples within a defined window are summed and divided by a window size to compute an average value. This process efficiently reduces high-frequency noise and enhances data quality, resulting in smoothed input samples. Further, the smoothed data samples and the desired features are utilized for training the hierarchical reinforcement learning engine, improving decision-making accuracy and enhancing the ability to classify and identify the UAVs effectively.
[0082] As depicted in FIG. 7 the architecture 700 of the hierarchical reinforcement learning engine incorporates an agent 702. The agent 702 is configured to learn distinct policy models, i.e., policy models at each hierarchical level through training. The policy models, for example, may be ‘P1’, ‘P2’, ‘P3’, and ‘P4’. In an embodiment, each of the plurality of policy models may be trained for a designated classifier. The designated classifier may correspond to the first classifier, the second classifier, the third classifier, and the fourth classifier. Further, higher-level policy models (e.g., ‘P1’ and ‘P2’) focus on planning and coordination, controlling the selection and execution of lower-level policy models (e.g., ‘P3’ and ‘P4’). Further, the hierarchical reinforcement learning approach streamlines a learning process and enhances a decision-making of the hierarchical reinforcement learning engine, as each policy operates within its defined domain of expertise, making informed decisions.
[0083] By adopting the hierarchical reinforcement learning approach, the complexity of the learning process is reduced, and the dimensionality of an action space is minimized, enabling the agent 702 to generalize effectively to unseen data. Further, breaking each task (associated with the identification of the UAV) into smaller subtasks accelerates the learning process, facilitating efficient knowledge acquisition and transfer. For example, the task for determining the presence of the UAV, the model type, and the operation mode may be broken into smaller subtasks. Additionally, the hierarchical reinforcement learning approach offers robustness and flexibility in response to changes in task specifications, allowing any specific policy model to be modified without requiring alterations to the entire architecture of the hierarchical reinforcement learning engine. Each policy model within the agent can be trained with a smaller number of samples compared to non-hierarchical methods. Ultimately, by breaking down the task into subtasks, the hierarchical reinforcement learning engine 700 enables the agent to develop a deeper understanding of the task, resulting in more effective and efficient learning.
[0084] Further, the architecture of the hierarchical learning engine includes an environment 704. The environment 704, for example, includes 10 conceptual channels, where each channel represents an individual unit within a medium. A state 706 of change of the environment 704 is defined by a single RF data sample held within each channel present within the environment 704. The agent 702 operates with the policy models, with each policy model being trained for the designated classifier. The agent 702 is configured to systematically scan through multiple channels (e.g., the 10 conceptual channels) to inspect an RF activity in each channel. Further, the agent 702 determines an appropriate action (e.g., an action 710) as a class prediction based on a class determined by the first classifier, the second classifier, the third classifier, and the fourth classifier. The class, for example may be, the ‘no UAV’ class, the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, the ‘DJI Phantom 3’ class, the ‘Bebop M1’ class, and the like. In other words, the agent 702 systematically scans through all channels, examining the RF activity in each channel, and determines the appropriate action as the class prediction based on each classifier in the four-classifier hierarchy.
[0085] The architecture700 further includes a reward evaluator circuitry configured to forward a reward 708 back to the agent 702 depending on the appropriated action that is determined by the agent 702. Further, the reward evaluator circuitry will forward a positive reward for correct prediction of a classification. For example, when a UAV is not present in the environment 704, and the classifier within the agent 702 incorrectly classifies this event within the ‘UAV’ class, then a negative reward will be sent to the agent 702 for incorrect classification. However, if the classifiers within the agent 702 correctly classify this event within the ‘no UAV’ class, then the positive reward will be sent to the agent 702 using the reward evaluator circuitry for correct classification. In other words, the agent 702 receives rewards based on actions it takes, with the positive reward granted for correct predictions. In on-policy algorithms, such as the REINFORCE algorithm, the policy models of the agent 702 learns and improves through direct interaction with the environment 704. As the agent 702 interacts with the environment 704, the agent 702 collects experience, which is then used to iteratively update parameters of each of the policy models. A Table 3 provides a detailed description of various components within the architecture, along with their contribution to an overall process of the classification.TABLE 3ElementsDescriptionEnvironment10 conceptual channels for RF signal analysisStateSingle channel holding a single data sampleAgentSingle agent for each classifier of the four-classifier hierarchyActionClass number determined by probabilitydistributionRewardPositive reward for correct classifications,0 otherwise
[0086] In the Table 3, each column of a first row, ‘element’ provides a name of each element present within the architecture 700 of the hierarchical reinforcement learning engine. Further, each row of a second column ‘description’ provides details of each element within the architecture 700.
[0087] The hierarchical reinforcement learning approach proposed in the present disclosure trains the agent 702 with the policy models using the policy gradient method, specifically based on the REINFORCE algorithm, to tackle the problem of detecting and identifying the UAVs. In the hierarchical reinforcement learning approach, the REINFORCE algorithm is used, which applies Monte Carlo sampling to estimate a policy gradient. The REINFORCE algorithm is directly derived from a policy gradient theorem, a well-established method in reinforcement learning that focuses on maximizing a reward signal. By formulating the problem of the UAVs detection and identification as a hierarchical task, each distinct policy model is effectively trained to differentiate between UAV and non-UAV entities, classify various UAV models, i.e., the model type, and determine their operation modes (also referred to as flight modes).
[0088] After preprocessing the raw RF data using a pre-processing circuitry by employing above-discussed techniques, the hierarchical reinforcement learning approach trains each policy model independently, ensuring that each policy model learns to make decisions relevant to its corresponding classifier. A soft-max function is employed to convert an output of each policy model into a probability distribution over the available actions. This soft-max function assigns a probability to each action, representing a likelihood of selecting that action based on given input features. Further, actions with higher probabilities are more likely to be selected. However, an action selection process is uncertain due to an inherent stochastic nature.
[0089] The training process of the hierarchical reinforcement learning engine using the hierarchical reinforcement learning approach is detailed in algorithm 1. The algorithm 1 illustrates core steps of the hierarchical reinforcement learning engine, emphasizing the use of the REINFORCE algorithm with entropy regularization. The training process begins at step 4 of the algorithm 1, where several episodes are initiated. In each episode, the agent 702 applies the policy function ‘π(s|θ)’ to select an action based on a current state (e.g., the state 706) of the environment 704. The selected action, along with the current state ‘S’ and a corresponding reward ‘R’, is stored as part of a trajectory. At the conclusion of each episode, these stored trajectories (as seen in step 5) are used to update a policy parameter ‘θt’, guiding the learning process of the agent 702 in future episodes using the principles of the REINFORCE algorithm.Algorithm 1Step 1 - Input α learning rate, γ discounted factorStep 2 - Initialize environment EStep 3 - Initialize policy parameters θStep 4 - for episode in 1 ... N doStep 5 - Use π(s | θ) to collect |E| trajectories: S0, A0, R0, ... , RTStep 6 - G = 0Step 7 - for t = T − 1 ... 0 doStep 8 - G = Rt + γGStep 9-Compute entropy regularization ERt=-∑απ(At❘St)logπ(At❘St)Step 10 - = γtGlog π(At | St, θt) − ERtStep 11 - θt+1 = θt + α∇Step 12 - end forStep 13 - end for
[0090] In an embodiment, for each trajectory ‘t’ in a list of trajectories, a cumulative return ‘G’ as shown in step 8 is calculated using an equation 1.G=Rt+γG (1)
[0091] In the equation 1, ‘G’ represents the cumulative return over a series of time steps, capturing the future expected sum of rewards. In each iteration, an immediate reward ‘Rt’ is added to a product of a discount factor ‘γ’ and a previous cumulative return, which results in ‘γG’, i.e., a discounted value of expected future reward. The immediate reward ‘Rt’ is added to guide each policy model of the agent 702 during the learning and decision-making process. The use of discounted rewards helps address the high variance issue that may arise in the REINFORCE algorithm by balancing future rewards. This approach, consistent with the Monte Carlo method, ensures that future rewards are considered while updating each policy model of the agent 702.
[0092] Further, an entropy regularization term ‘ERt’ is introduced to the policy gradient method to improve the training efficiency and encourage greater exploration, as depicted in step 9 of the algorithm 1. The step 9 includes an equation 2.ERt=−Σαπ(At|St)log π(At|St) (2)
[0093] In the equation 2, ‘ERt’ represents an entropy regularization at time ‘t’. ‘π(At|St)’ is a probability of taking an action ‘At’ given a state ‘St’. ‘α’ is a coefficient that controls an impact of the entropy regularization term. By adding this entropy regularization term, the generalization of each policy model is improved, allowing each policy to perform well on previously unseen data by promoting exploration of different actions during training.
[0094] Subsequently, an objective function ‘’ for a policy gradient is computed using step 10, as depicted via an equation 3.=γtG log π(At|St,θt)−ERt (3)
[0095] In the equation 3, ‘’ is the objective function for a policy model at a time ‘t’, where ‘θt’ represents policy model parameters. ‘γtG’ is a discounted cumulative return, and π(Δt|St)’ is the probability of selecting the action ‘At’ given the state ‘St’ and the policy model parameters ‘θt’. The goal of the objective function ‘’ is to find an optimal policy model parameters ‘θt’ that maximize a long-term reward, while the entropy regularization term ‘ERt’ penalizes overly deterministic policy models, encouraging the agent 702 to explore a broader set of actions.
[0096] Finally, the policy model parameters ‘θt’ are updated based on observed rewards and the policy gradients of the objective function ‘’, as shown in step 11 based on an equation 4.θt+1=θt+α∇ (4)
[0097] In the equation 4, ‘θt+1’ is updated policy model parameters. ‘α□’ represents a stochastic estimate that captures the probabilistic nature of the gradient approximation where ‘α’ is the learning rate of the policy model. ‘α∇’ is used to measure the performance considering its argument ‘θt’. This process of training the policy model using the algorithm 1 in a hierarchical manner, allows the agent 702 to make more informed decisions and achieve higher performance in detecting and identifying UAVs.
[0098] FIG. 8 is an exemplary diagram representing a control flow of training the hierarchical reinforcement learning engine using the REINFORCE algorithm, in accordance with an embodiment of the present disclosure. In an embodiment, the hierarchical reinforcement learning engine is trained using the REINFORCE algorithm. As depicted in FIG. 8, an agent, i.e., a policy network 802 is configured to analyze a current state 804 of an environment (same as the environment 704). The agent may correspond to the agent 702. In this scenario, initially, the first policy model, e.g., ‘P1’ of the policy network 802 detects the presence or the absence of a UAV in the environment based on the current state 804 of the environment. Further, based on the detection, the first policy model is configured to determine a probability distribution 806 for taking the appropriate action, the appropriate action may be the action selected to perform classification within the ‘no UAV’ class or the ‘UAV’ class. Further, based on the action, i.e., a best action 808, selected by the first policy model, a reward evaluator circuitry 810 is configured to analyze the best action 808 to generate one of the positive reward or the negative reward for the correct prediction or the incorrect prediction, respectively. Further, a reward 812, i.e., one of the positive reward or the negative reward will be saved along with the best action 808 and the current state 804 for future predictions as depicted via step 814.
[0099] Further, at step 816, a check may be performed to determine if an episode is complete or not. The episode may correspond a complete cycle or a sequence of interactions between the agent 702 and the environment 704, starting from an initial state, i.e., the current state 804, progressing through various states, and ultimately ending when the environment reaches a terminal state. For example, suppose the presence of the UAV is detected by the first policy model, then the episode may be determined as not complete (i.e., ‘No’) as depicted via step 818. Thereafter, a next state 820 of the environment 704 is analyzed by the policy network 802 using the second policy model, e.g., ‘P2’. The next state 820 is analyzed to perform the classification based the model type of the detected UAV. Further, steps 806 to 816 will be re-executed until the episode is complete, i.e., when the presence of the UAV, its model type, and its operation mode are determined.
[0100] Further, based on the check performed at step 816, once the episode is complete as depicted via step 822, at step 824, the objective function ‘’ is computed. The objective function ‘’ is computed to find the optimal policy model parameters ‘θt’ that maximize the long-term reward for the agent 702. Additionally, the cumulative return, the entropy, and the policy gradient based on the trajectory, i.e., the action (e.g., the best action 808), the reward (i.e., the reward 810), and the state (i.e., the current state 804). Once the objective function ‘’ is computed, at step 826, each of the plurality of policy models of the agent 702 will be updated.
[0101] FIG. 9 is an exemplary diagram illustrating a process flow 900 for determining the presence of the UAV, the model type of the UAV, and the operation mode of the UAV using the hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure. Initially, at step 902, dataset may be constructed for training and testing of the hierarchical reinforcement learning engine. The dataset may correspond the drone RF dataset. The drone RF dataset is constructed using three experiment levels, each with a varying number of classes. Once the dataset is constructed, at step 904, the pre-processing of the dataset may be performed. In an embodiment, the preprocessing may be performed using the preprocessing circuitry. The preprocessing circuitry may be configured to perform the preprocessing of the dataset by performing the filtering of the dataset to smooth and reduce noise in the dataset (also referred to as the intercepted data). Further, at step 906 and step 908, a training dataset and a testing dataset may be prepared from the dataset. In an embodiment, the training dataset may include 70% data of the dataset. While the testing dataset may include 30% data of the dataset.
[0102] At step 910, the learning process for the hierarchical reinforcement learning engine may be performed using the hierarchical reinforcement learning approach. The hierarchical reinforcement learning engine includes the four-classifier hierarchy, i.e., a first classifier, ‘classifier 1’, a second classifier, ‘classifier 2’, a third classifier, ‘classifier 3’, and a fourth classifier ‘classifier 4’. Each classifier is configured to perform a pre-defined classification. For example, at step 912, the classifier 1 may be trained to perform two-class classification, i.e., the ‘no UAV’ class and the ‘UAV’ class. In other words, the classifier 1 is configured determine the presence or the absence of the UAV in the environment and accordingly perform the classification of the event as the ‘UAV’ class or the ‘no UAV’ class, respectively. The ‘no UAV’ class may correspond to the class 1 represented as ‘C1’.
[0103] Further, upon detecting the ‘UAV’ class, at step 914, the classifier 2 may be trained to perform three-class classification, i.e., the ‘Parrot Bebop’ class, the ‘Parrot AR class’, and the ‘DJI phantom 3’ class. In other words, the classifier 2 may be trained to determine the model type of the UAV detected in the environment. Upon detecting the ‘Parrot Bebop’ class, at step 916, the classifier 3 may be trained to determine the operation mode (also referred to as the flight mode) of the UAV detected that is classified in the ‘Parrot Bebop’ class. The operation mode may be one of the ‘on’ mode (M1), the ‘hovering’ mode (M2), the ‘flying’ mode (M3), and the recording mode (M4). Further, based on the detection of the operation mode performed by the classifier 3, the classifier 3 is configured to classify the detected UAV in the ‘Parrot Bebop M1’, i.e., the class 2 (C2), the ‘Parrot Bebop M2’, i.e., the class 3 (C3), the ‘Parrot Bebop M3’, i.e., the class 4 (C4), and the ‘Parrot Bebop M4’, i.e., the class 5 (C5).
[0104] Upon detecting the ‘Parrot AR’ class, at step 918, the classifier 4 may be trained to determine the operation mode (also referred to as the flight mode) of the detected UAV that is classified in the ‘Parrot AR’ class. The operation mode may be one of the ‘on’ mode (M1), the ‘hovering’ mode (M2), the ‘flying’ mode (M3), and the recording mode (M4). Further, based on the detection of the operation mode performed by the classifier 4, the classifier 4 is configured to classify the detected UAV in the ‘AR M1’ class, i.e., the class 6 (C6), the ‘AR M2’ class, i.e., the class 7 (C7), the ‘AR M3’ class, i.e., the class 8 (C8), and the ‘AR M4’ class, i.e., the class 9 (C9). In an embodiment, when the classifier 2 detect the model type of the detected UAV as the DJI phantom 3, the classifier 2 classifies the detected UAV in the class 10 (C10), i.e., the ‘DJI phantom 3’ class.
[0105] Further, based on operations performed by the classifier 1, the classifier 2, the classifier 3, and the classifier 4, at step 920, an output is generated. The output may include the presence (i.e., the UAV detected) or the absence (i.e., no UAV detected) of the UAV in the environment. Further, in a case where the output is the UAV detected, the output may also include the model type and the operation mode of the detected UAV.
[0106] For example, the process flow begins when the classifier 1 (i.e., binary classifier) receives a smoothed and filtered RF signal sample. Based on an output of the classifier 1, the hierarchical reinforcement learning engine determines whether the UAV is present in the environment or not. In one embodiment, if no UAV is detected, the process flow ends, and the output is the class 1, ‘C1’ (i.e., the ‘no’ UAV class). In another embodiment, if the UAV is detected, the RF signal sample is passed to the classifier 2 to identify the model type (i.e., the Parrot Bebop model, the Parrot AR model, or the DJI Phantom 3 model). Further, if the model type of the detected UAV is the DJI Phantom 3 model, the process flow terminates with the output as the class 10 ‘C10’ (i.e., the ‘DJI Phantom 3’ class). Further, if the model type of the UAV is identified as either the Parrot Bebop model or the Parrot AR model, the RF signal sample is passed to a corresponding flight mode classifier, i.e., the classifier 3 or the classifier 4. The classifier 3 is used for the Parrot Bebop model, and its operation mode is classified as ‘C1’, i.e., ‘on’ mode, ‘C3’, i.e., the ‘hovering’ mode, ‘C4’, i.e., the ‘flying’ mode, and ‘C5’, i.e., the ‘recording videos’ mode. Similarly, the classifier 4 is used for the Parrot AR model, with the operation mode classes as, ‘C6’, i.e., ‘on’ mode, ‘C7’, i.e., the ‘hovering’ mode, ‘C8’, i.e., the ‘flying’ mode, and ‘C9’, i.e., the ‘recording videos’ mode.
[0107] An algorithm 2 below provides a step-by-step description of the UAV detection and identification process performed by the hierarchical reinforcement learning engine.Algorithm 2Step 1: Load droneRF datasetStep 2: Define input features and target variablesStep 3: Apply filtering and smoothing techniquesStep 4: Encode the target with respect to the input featuresStep 5: Split the dataset into training (70%) and testing (30%) sets (trainSet, testSet)Step 6: Create an instance from the environment class (Env)Step 7: Create an instance from the Agent class (agent: Policy 1, Policy 2, Policy 3, Policy 4)Step 8: Train each policy on trainset using Hierarchical RL procedureStep 9: Test each policy on testSet and evaluate the systemStep 10: procedure Hierarchical_RL(dataset, agent):Step 11: for episode in 1. . . N doStep 12: Reset Env variable to its original stateStep 13: for channel in 1. . . 10 doStep 14: Sample will pass ‘Classifier 1’ to determine the presence of UAV (2 classes: 0-NoUAV, 1-UAV)Step 15: Generate action using Policy 1 of the agent.Step 16: if action == 0 thenStep 17: End and save the predicted value (predClass = C1)Step 18: elseStep 19: Sample will pass ‘Classifier 2’ to determine the UAV model (3 classes: 0-Bebop, 1-AR,2-Phantom3)Step 20: Generate action using Policy 2 of the agent.Step 21: if action == 2 thenStep 22: End and save predicted value: Phantom3 UAV (predClass = C10)Step 23: else if action == 0 thenStep 24: Sample will pass ‘Classifier 3’ to determine the mode of the Parrot Bebop (4 classes: 0-ON (C2), 1-Hovering (C3), 2-Flying (C4), 3-Recording (C5))Step 25: Generate action using Policy 3 of the agent.Step 26: if action == 0 thenStep 27: End and save predicted value: Bebop, ON mode (predClass = C2)Step 28: else if action == 1 thenStep 29: End and save predicted value: Bebop, Hovering mode (predClass = C3)Step 30: else if action == 2 thenStep 31: End and save predicted value: Bebop, Flying mode (predClass = C4)Step 32: elseStep 33: End and save predicted value: Bebop, Recording mode (predClass = C5)Step 34: end ifStep 35: else if action == 1 thenStep 36: Sample will pass ‘Classifier 4’ to determine the mode of the Parrot AR (4 classes: 0-ON(C6), 1-Hovering (C7), 2-Flying (C8), 3-Recording (C9))Step 37: Generate action using Policy 4 of the agent.Step 38: if action == 0 thenStep 39: End and save predicted value: AR, ON mode (predClass = C6)Step 40: else if action == 1 thenStep 41: End and save predicted value: AR, Hovering mode (predClass = C7)Step 42: else if action == 2 thenStep 43: End and save predicted value: AR, Flying mode (predClass = C8)Step 44: elseStep 45: End and save predicted value: AR, Recording mode (predClass = C9)Step 46: end ifStep 47: end ifStep 48: end ifStep 49: if action == true_label thenStep 50: reward = 1Step 51: end ifStep 52: Save |E| trajectory: (state S, action A, reward R)Step 53: end forStep 54: Apply REINFORCE to update the policies of the agent using |E| trajectoriesStep 55: end forStep 56: end procedure
[0108] FIG. 10 is an exemplary graph 1000 representing the learning and adaption capabilities of a hierarchical reinforcement learning engine in accordance with an embodiment of the present disclosure. In the graph 1000, an X-axis represents a number of episodes. Further, a Y-axis represents a number of rewards per episode (i.e., the cumulative return). Further, a curve line 1002 represents a learning progress of the hierarchical reinforcement learning engine over time. Specifically, the curve line 1002 shows how the cumulative return (rewards per episode) evolves as an agent (e.g., the agent 702) progresses through a series of episodes. A higher value of the curve line 1002 indicates better performance in terms of achieving a desired goal in the environment. In other words, the graph 1000 offers a clear visual representation of the agent's performance and the effectiveness of the learned policy models. At the start of the training process, the cumulative return begins at a relatively low value. However, as the agent gains experience and refines its policy models, the cumulative return progressively increases. The curve line 10002 demonstrates a consistent upward trajectory with no significant declines, reflecting the agent's continuous improvement. This sustained increase in return highlights the agent's ability to enhance its performance over time, showcasing its learning and adaptation capabilities. In an embodiment, the cumulative return represents the sum of all rewards received by the agent 702 over a single episode of interaction with the environment 704. The cumulative return serves as an indicator of the agent's overall performance, reflecting its success in maximizing long-term rewards. A higher cumulative return suggests improved decision-making by the agent 702, with the policy model becoming more effective in future episodes as the agent 702 earns more rewards.
[0109] FIG. 11 is an exemplary graph 1100 representing a convergence of a cross-entropy loss during the training process of the hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure. In FIG. 11, an X-axis represents the number of episodes. Further, a Y-axis represents the cross-entropy loss. Further, a curve line 1102 represents convergence of the cross-entropy loss during the training process of the hierarchical reinforcement learning engine. As training progresses, the cross-entropy loss typically decreases, as indicated via the curve line 1102, indicating that predictions by the agents are becoming more accurate and its policy model is improving. Further, the curve line 1102 reflects how the cross entropy loss reduces over time as the agent learns, signaling better alignment between predicted and actual outputs. The graph 1100 quantifies the uncertainty in the agent's action distribution. As depicted via the curve line 1100, initially, the cross-entropy loss starts at a value of 0.7, indicating a high level of uncertainty in the agent's decision-making. As the training progresses, the cross-entropy loss rapidly decreases and stabilizes near zero, reflecting a reduction in the randomness or uncertainty of the agent's actions over time. This graph 1100 provides valuable insight into the exploration-exploitation trade-off, showing the agent's transition from exploratory behavior to a more deterministic and exploitative strategy as it refines its policy models.
[0110] The cross-entropy loss is a metric that measures the divergence between the agent's predicted probability distribution and the target distribution. Minimizing the cross-entropy loss is crucial for improving the accuracy of action probabilities. Reducing the cross-entropy loss refines the agent's decision-making process, leading to enhanced performance and more reliable predictions.
[0111] FIG. 12 is an exemplary graph 1200 representing a convergence of a total policy loss during the training process of the hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure. In the graph 1200, an X-axis represents the number of episodes included in the training process. Further, a Y-axis represents the total policy loss during the training process. A curve line 1202 in the graph 1200 represents the convergence of the total policy loss during the training process of the hierarchical reinforcement learning engine. As the number of episodes increases, the total policy loss generally decreases, indicating that the agent's policy is improving and converging toward an optimal solution. This reduction in policy loss as depicted via the curve line 1202 demonstrates the agent's ability to refine its decision-making and better align with the task objectives over time.
[0112] In particular, the graph 1200 illustrates the total loss of the policy, which combines both the policy loss and the cross-entropy loss. The total loss plays a crucial role in updating the policy models and refining the agent's decisions during training. As depicted via the curve line 1202, at the start of the learning process, the overall loss is around 4, indicating that each policy model is actively updating action weights to optimize performance and reduce the total loss. Over time, the total loss decreases and approaches near-zero values, signifying that the policy models have become more refined and aligned with the desired objectives, ultimately reaching a more optimal state.
[0113] The policy loss is a loss function that is designed to guide the training of the agent 702. The policy loss assigns higher weights to actions that result in positive rewards while reducing the weights for actions yielding negative outcomes. This iterative adjustment of weights helps improve the agent's decision-making ability. By optimizing this policy loss function, an optimal policy is converged that maximizes cumulative rewards over time.
[0114] FIG. 13 is an exemplary graph 1300 representing the performance of the hierarchical reinforcement learning engine during a binary classification task, in accordance with an embodiment of the present disclosure. In an embodiment, the binary classification task corresponds to classification done based on the detection of the presence or the absence of the UAV. In graph 1300, an X-axis represents the number of episodes performed during the binary classification task. Further, a Y-axis represents the number of rewards per episode (i.e., the cumulative return) during the binary classification task. Further, a line 1302 in the graph 1300 represents the performance of the hierarchical reinforcement learning engine during the binary classification task. As the number of episodes increases, the line 1302 shows how the cumulative return (rewards per episode) evolves, indicating the agent's improvement in detecting the UAV presence with higher accuracy and greater reward accumulation over time.
[0115] In particular, the line 1302 in the graph 1300 shows the average return per episode, reflecting the agent's performance in the UAV detection task in terms of the cumulative return achieved across multiple episodes. As depicted via the line 1302, the maximum possible return per episode is 10. The agent achieved an average return of 9.97, demonstrating its strong performance and high level of success in the binary classification task.
[0116] FIG. 14 is an exemplary graph 1400 representing the performance of the hierarchical reinforcement learning engine during a multi-class classification task, in accordance with an embodiment of the present disclosure. In an embodiment, the multi-class classification task corresponds to classification done in one of ten classes based on the detection of the presence of the UAV, its model type, and its operation mode. In graph 1300, an X-axis represents the number of episodes performed during the multi-class classification task. Further, a Y-axis represents the number of rewards per episode (i.e., the cumulative return) during the multi-class classification task. Further, a line 1402 represents the performance of the hierarchical reinforcement learning engine during the multi-class classification task, which involves classifying the UAV's presence, the model type, and the operation mode across ten possible classes. As the number of episodes increases, the line 1402 shows an evolution of the cumulative return (rewards per episode), indicating how the agent improves its ability to correctly classify the UAV, the model type, and the operation mode, resulting in higher rewards over time. In particular, the graph 1400 represents the average reward per episode for the UAV identification task. In this task, the agent achieved an average return of 7.3, demonstrating its ability to consistently achieve successful outcomes.
[0117] FIG. 15 is an exemplary bar graph 1500 representing the performance evaluation of the hierarchical reinforcement learning engine in the UAV detection task and the UAV identification task, in accordance with an embodiment of the present disclosure. In an embodiment, to address the impact of imbalanced data in the dataset and provide a more comprehensive evaluation of the agent's performance, several testing metrics are employed to ensure that various aspects of the agent's performance are assessed. The testing metrices including an accuracy, a precision, a recall, and a F1 score. The bar graph 1500 represents a summary of these testing metrics for both the UAV detection task and the UAV identification task.
[0118] In the bar graph 1500, an X-axis represents a name of each of the testing metrices, i.e., the accuracy, the precision, the recall, and the F1 score. A Y-axis represents a performance evaluation value of each of these testing metrices during the UAV detection task and the UAV identification task. In the bar graph 1500, each of a left vertical bar (e.g., a vertical bar 1502) represents the performance evaluation values obtained for each of the testing metrices during the UAV detection task. Further, each of a right vertical bar (e.g., a vertical bar 1504) represents the performance evaluation values obtained for each of the testing metrices during the UAV identification task. A Table 4 below represents the performance evaluation values obtained for each of the testing metrices during the UAV detection task and the UAV identification task.TABLE 4Testing metrics nameTask NameAccuracyPrecisionRecallF1-scoreUAV detection task99.799.799.899.8UAV identification task73.373.673.473.3
[0119] In the Table 4 above, each row of a first column ‘task name’ represents a name of a task, i.e., the UAV detection task and the UAV identification task. Further, each row of a second column ‘testing metrics name’ represents a name of a testing metric and its corresponding performance evaluation value obtained for a corresponding task. For example, for the UAV detection task, the agent achieved the accuracy of 99.7%, while in the UAV identification task, the accuracy was 73.4%. The precision for the UAV detection task is 99.7%, with the UAV identification task achieving 73.6%. The recall (true positive rate) is calculated to be 99.8% for the UAV detection task and 73.4% for the UAV identification task, reflecting a proportion of actual positive instances correctly classified by the agent. The F1 score, which combines precision and recall, is observed as 99.8% for the UAV detection task and 73.3% for the UAV identification task. As depicted via the Table 4, the agent demonstrates strong performance in both tasks with highly accurate and precise classifications.
[0120] The accuracy is a ratio of correctly classified samples to the total number of samples. The accuracy provides a general measure of how well the model performs across all classes. The accuracy is calculated as depicted via an equation 5.Accuracy=number of correct predictiontotal number of predictions(5)
[0121] The precision calculates a ratio of true positive samples to the total number of samples predicted as positive. This precision is particularly important when the cost of false positives is high, as it evaluates how accurate the positive predictions are. The precision is calculated as depicted via an equation 6.Precision=True Positive (TP)True Positive (TP)+False Positive (FP)(6)
[0122] The recall, also known as sensitivity or a true positive rate, measures a ratio of correctly classified positive samples to the total number of actual positive samples. This recall metric is critical in UAV detection systems where the cost of false negatives is high, as it quantifies the ability to correctly identify positive instances. The recall is calculated as depicted via an equation 7.Recall=True Positive ( TP)True Positive (TP)+False Negative (FN)(7)
[0123] The F1-Score is a harmonic mean of precision and recall, providing a balanced measure of the model's performance in both positive predictions and the avoidance of missed positive instances. This F1-score metric integrates both precision and recall into a single value, offering a more comprehensive view of the model's effectiveness. The F1-score is calculated as depicted via an equation 8.F1score=2(Precision*RecallPrecision+Recall)(8)
[0124] FIG. 16 is an exemplary bar graph 1600 representing performance scores obtained using a disclosed approach and existing approaches, in accordance with an embodiment of the present disclosure. In an embodiment, the disclosed approach may correspond to the hierarchical machine-learning engine implementing the hierarchical learning approach having the four-classifier hierarchy. Further, the existing approaches may include a hierarchical machine-learning approach and a Stacked Denoising Autoencoder-Local Outlier Factor (SDAE-LOF) approach. The hierarchical machine-learning approach incorporates preprocessing and feature extraction stages on RF signals and uses the same drone RF dataset. Further, the SDAE-LOF uses a hierarchical classification model to detect intruding UAVs amidst other signals such as Wi-Fi and Bluetooth, using the Card RF dataset. Furthermore, the SDAE-LOF employ a Policy-Recursive Policy Gradient (PRPG) algorithm, which leverages deep reinforcement learning and policy gradients to enhance three dimensional object detection based on the RF signals by reducing cross-entropy loss.
[0125] In the bar graph 1600, an X-axis represents a name of an approach used for performing the UAV detection and identification tasks. Further, a Y-axis represents a performance value obtained based on usage of these approaches. In the bar graph 1600, each of a left vertical bar (e.g., a vertical bar 1602) represents the performance values obtained for the testing metrices, the accuracy, the recall, and the precision using the hierarchical machine-learning approach. Further, each of a middle vertical bar (e.g., a vertical bar 1604) represents the performance values obtained for the testing metrices, the accuracy, the recall, and the precision using the SDAE-LOF. Further, each of a left vertical bar (e.g., a vertical bar 1604) represents the performance values obtained for the testing metrices, the accuracy, the recall, and the precision using the current approach. A Table 5 below represents the performance values obtained for these testing metrices using the current approach and the existing approaches.TABLE 5Testing metrics nameApproach NameAccuracyRecallF1-scoreCurrent Approach99.799.899.8Hierarchical machine-learning approach99.299.199.1SDAE-LOF89.586.386.2
[0126] In the Table 5, each row of a first column ‘approach name’ represents a name of an approach, i.e., the disclosed approach and the existing approaches. Further, each row of a second column ‘testing metrics name’ represents a name of a testing metric and its corresponding performance value obtained for a corresponding approach.
[0127] In particular, the Table 5 represents a comparative analysis between the disclosed approach and the existing approaches. As depicted via the Table 5, the disclosed approach provides outstanding results across all metrics, with an accuracy of 99.7%, a recall of 99.8%, and an F1-score of 99.8%. In contrast, the hierarchical machine-learning approach provides an accuracy of 99.2%, a recall of 99.1%, and an F1-score of 99.1%. Further, the SDAE-LOF provides an accuracy of 89.5%, a recall of 86.3%, and an F1-score of 86.2%. The disclosed approach presents significant advantages over the existing approaches by capturing intricate relationships and decision-making processes in the UAV detection and identification tasks by integrating the RF signals with reinforcement learning techniques, enhancing both the performance and robustness of UAV detection systems.
[0128] FIG. 17A is an exemplary graph 1700A representing a cross-entropy loss obtained using the hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure. The cross-entropy loss is a crucial metric for assessing the alignment between the agent's predictions and the ground truth, with lower values indicating greater confidence in the agent's decision-making. In the graph 1700A, an X-axis represents a number of episodes performed using the hierarchical machine-learning approach. Further, a Y-axis represents the cross-entropy loss observed in response to the usage of the hierarchical machine-learning approach. Further, a line 1702A represents the cross-entropy loss observed over the course of training using the hierarchical machine-learning approach. As the number of episodes increases along the X-axis, the Y-axis shows how the cross-entropy loss fluctuates, indicating the uncertainty in predictions at each point during the training process using the hierarchical machine-learning approach. The fluctuations in the line 1702A suggest variability in the decision-making confidence.
[0129] In particular, a plot represented by the line 1702A in the graph 1700A, shows a fluctuating cross-entropy loss ranging between near-zero and 3. In an embodiment, lower cross-entropy values correspond to greater confidence in predictions, but the fluctuations suggest that the predictions may be inconsistent and less reliable in certain instances, attributing to the complexity of the problem or limitations and resulting in less stable performance over time.
[0130] FIG. 17B is an exemplary graph 1700B representing a cross-entropy loss obtained by using the PRPG algorithm, in accordance with an embodiment of the present disclosure. The PRPG algorithm uses the deep reinforcement learning and the policy gradients algorithm. In the graph 1700B, an X-axis represents a number of episodes performed using the PRPG algorithm. Further, a Y-axis represents the cross-entropy loss observed in response to the usage of the PRPG algorithm. Further, a curve line 1702B in the graph 1700B depicts the cross-entropy loss observed during training using the PRPG algorithm. As depicted via the curve line 1702B, initially, the cross-entropy loss is high but gradually decreases over the course of 10,000 episodes, reflecting the PRPG algorithm's learning process and improved decision-making as training progresses. In particular, the cross-entropy loss starts at a relatively high value of 12.5. However, as the training progresses over the 10,000 episodes, the cross-entropy loss gradually decreases towards near-zero values. While the reduction in the cross-entropy loss indicates the effectiveness of the PRPG algorithm, the extended training duration raises concerns about its practicality in real-world scenarios, where computational resources and time are limited. Achieving this outcome requires many episodes, which may not be optimal for time-sensitive applications.
[0131] FIG. 17C is an exemplary graph 1700C representing a cross-entropy loss obtained by using the hierarchical reinforcement learning engine, in accordance with an embodiment of the present disclosure. The hierarchical reinforcement learning engine corresponds to the current approach that employs the hierarchical reinforcement learning approach having the four-classifier hierarchy. In the graph 1700C, an X-axis represents a number of episodes performed using the hierarchical reinforcement learning engine. Further, a Y-axis represents the cross-entropy loss observed in response to the usage of the hierarchical reinforcement learning engine. Further, a curve line 1702C represents the cross-entropy loss observed during the training process using the hierarchical reinforcement learning engine. As depicted in the graph 1700C, as the number of episodes increases along the X-axis, the Y-axis shows the reduction in the cross-entropy loss, indicating the agent's improving accuracy and confidence in its predictions over time, as it learns and adapts to the UAV detection and identification tasks. In particular, as depicted via the curve line 1702C, an initial cross-entropy loss of 0.7 is observed, which quickly converges to near-zero values within around 200 episodes. This rapid convergence highlights the ability of the hierarchical reinforcement learning engine to significantly reduce action uncertainty in a short training period.
[0132] FIG. 18A is an exemplary bar graph 1800A representing time consumed using the hierarchical reinforcement learning engine and the hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure. In the bar graph 1800A, an X-axis represents a name of an approach, i.e., the hierarchical reinforcement learning engine (depicted as proposed HRL) and the hierarchical machine-learning approach (depicted as hierarchical ML). Further, a Y-axis represents a time (measured in seconds) consumed using the hierarchical reinforcement learning engine and the hierarchical machine-learning approach. In the graph 1800A, a vertical bar 1802A represents the time consumed using the hierarchical reinforcement learning engine. Further, a vertical bar 1804A represents the time consumed using the hierarchical machine-learning approach.
[0133] As depicted via the graph 1800A, the hierarchical reinforcement learning engine exhibits a notable acceleration in performance, achieving a processing time of 10.57 seconds. This is substantially faster than the hierarchical machine-learning approach, which has an execution time of 19.85 seconds. This results in a 46.74% reduction in processing time using the hierarchical reinforcement learning engine, i.e., the current approach, primarily due to the efficient decision-making process inherent to the hierarchical machine-learning approach. The faster processing time leads to an expedited UAV detection and identification process, offering a clear advantage in time-sensitive applications.
[0134] FIG. 18B is an exemplary bar graph 1800B representing energy consumed using the hierarchical reinforcement learning engine and the hierarchical machine-learning approach, in accordance with an embodiment of the present disclosure. In the bar graph 1800B, an X-axis represents a name of an approach, i.e., the hierarchical reinforcement learning engine (depicted as proposed HRL) and the hierarchical machine-learning approach (depicted as hierarchical ML). Further, a Y-axis represents energy (measured in joules) consumed using the hierarchical reinforcement learning engine (depicted as the proposed HRL) and the hierarchical machine-learning approach (depicted as the hierarchical ML). In the bar graph 1800B, a vertical bar 1802B represents the energy consumed using the hierarchical reinforcement learning engine. Further, a vertical bar 1804B represents the energy consumed using the hierarchical machine-learning approach.
[0135] As depicted via the bar graph 1800B, the hierarchical reinforcement learning engine demonstrates significant efficiency, utilizing only 2.1 joules (equivalent to 583.33 micro-watt-hours (μWH)). In contrast, the hierarchical machine-learning approach consumes more than twice amount of the energy, i.e., 5.85 joules (1625.0 μWH). The hierarchical reinforcement learning engine superior energy efficiency is particularly valuable in scenarios where energy conservation is essential, such as in extended operations or when longer battery life is critical. By optimizing energy usage, the hierarchical reinforcement learning engine contributes to more sustainable and cost-effective UAV detection and identification processes.
[0136] FIG. 19 is an exemplary flow diagram of a method 1900 for determining the presence of the UAV, the model type of the UAV, and the operation mode of the UAV, according to certain embodiments. In an embodiment, each step of the method 1900 may be performed via the UAV detection system 102. The UAV detection system 102 may implement the hierarchical reinforcement learning engine having an agent (e.g., the agent 702) including the four-classifier hierarchy. Further, the four-classifier hierarchy includes the first classifier, the second classifier, the third classifier, and the fourth classifier.
[0137] In order to determine the presence of the UAV, its model type, and its operation mode (also referred to as the flight mode), initially, at step 1902, data transmitted by the UAV to a UAV flight controller is intercepted. The UAV controller may correspond to the UAV flight controller 106. In an embodiment, the UAV is commonly referred to as the UAS or the drone which is the aircraft with no human pilot, crew, or passengers onboard. The UAV is commonly used for tasks, such as surveillance, mapping, or delivery and is remotely controlled or autonomously guided.
[0138] Further, the data may be transmitted in the form of the RF signal through wireless communication. The data transmitted by the UAV includes commands and telemetry data conveyed through a communication link to control UAV's flight operations. In an embodiment, the data may be intercepted using the RF receiver circuitry. The RF receiver circuitry includes the first component and the second component. The first component is used to record the RF signals at the lower end of the spectrum. The second component is used to capture the RF signals at the end of the spectrum that is higher than the lower end. The spectrum corresponds to the range of electromagnetic frequencies used for transmitting the RF signals. In an embodiment, the model type of the UAV may be, for example, the ‘Parrot Bebop’ model, the ‘Parrot AR’ model, and the ‘DJI Phantom 3’ model. Further, the operational mode classes depicting the operation mode may be, for example, the ‘on’ mode class, the ‘hovering’ mode class, the ‘flying’ mode class, and the ‘recording videos’ mode class. In an embodiment, the intercepted data may be smoothened, and noise reduction may be done during the filtering stage, before using the data for further processing.
[0139] Further, upon intercepting the data, at step 1904, the presence of the UAV in an environment (e.g., the environment 704) is detected based on the transmitted data using the first classifier. In other words, the first classifier is configured to generate either the ‘no UAV’ class or the ‘UAV’ class as the output, based on the processing of the data upon determining the absence or the presence of the UAV, respectively. Upon determining the presence of the UAV, at step 1906, the detected UAV may be identified using the second classifier. In particular, the model type of the detected UAV is determined to be one of the model types, including the first model type (i.e., the ‘Parrot Bebop’ model) and the second model type (i.e., the ‘Parrot AR’ model). In addition, the second classifier is also configured to determine the third model type, i.e., the ‘DJI Phantom 3’ model.
[0140] Once the model type of the detected UAV is determined, at step 1908, the operation mode (also referred to as the flight mode) of the first model type identified by the second classifier is determined using the third classifier. In other words, the third classifier is configured to determine the operation mode upon determining the model type of the detected UAV to be the first model type, i.e., the Parrot Bebop model. Further, at step 1910, an operation mode (i.e., the flight mode) of the second model type identified by the second classifier is determined using the fourth classifier. In other words, the fourth classifier is configured to determine the operation mode upon determining the model type of the detected UAV to be the second model type, i.e., the ‘Parrot AR’ model. Further, at step 1912, one of the UAV detected or the no UAV detected by the first classifier may be provided as the output. In a case where the UAV is detected, the model type and the operation mode of the detected UAV may also be provided as the output.
[0141] In an embodiment, each policy model within the agent is trained for its corresponding designated classifier. For example, a policy model, e.g., ‘P1’ associated with the first classifier may be trained to detect the presence or the absence of the UAC and accordingly generate the classification, i.e., the UAV class or the ‘no UAV’ class. In other words, each policy model, e.g., P1. P2, P3, and P4) within agent 702 is trained for its corresponding designated classifier, i.e., the first classifier, the second classifier, the third classifier, and the fourth classifier, respectively. In an embodiment, the first policy model is configured to determine the ‘no-UAV’ class and the ‘UAV’ class. The second policy model is configured to determine the ‘Parrot Bebop’ class, the ‘Parrot AR’ class, and the ‘DJI Phantom’ class. The third policy model is configured to determine the plurality of operational mode classes adapted to the “Parrot Bebop” class. Further, the fourth policy model is configured to determine the plurality of operational mode classes adapted to the “Parrot AR” class.
[0142] In an embodiment, the hierarchical reinforcement learning engine includes the agent (e.g., the agent 702) having the policy models. Further, each policy model is trained for the designated classifier. Further, multiple channels (e.g., the 10 conceptual channels) in the agent are systematically scanned to inspect the RF activity in each channel. Further, based on the scanning, the appropriate action as the class prediction may be determined. The appropriate action may be determined based on the class determined by the first classifier, the second classifier, the third classifier, and the fourth classifier. The class may be one of the ten classes. The ten classes, for example may be the ‘no UAV’ class, the ‘Bebop M1’ class, ‘the ‘Bebop M2’ class, the ‘Bebop M3’ class, the ‘Bebop M4’ class, the ‘AR M1’ class, the ‘AR M2’ class, the ‘AR M3’ class, ‘the ‘AR M4’ class, and ‘the ‘DJI Phantom 3’ class.
[0143] In an embodiment, the reward may be forwarded back to the agent depending on the appropriate action determined by the agent. The positive reward may be forwarded for correctly predicting the classification. Further, the negative reward may be forwarded for incorrect prediction of the classification. In an embodiment, the training dataset having the plurality of episodes may be received to train the hierarchical reinforcement learning engine. Further, for each respective policy model, the policy function may be applied to each episode of the training dataset. The policy function is applied to determine the trajectory having the state, the action, and the reward. After applying the policy function, the cumulative return, the entropy, and the policy gradient may be calculated based on the trajectory. Thereafter, policy parameters for each respective policy model may be updated based on the policy gradient. This process of performing the training is already explained in detail in conjunction with FIG. 7 and FIG. 8.
[0144] In an embodiment, the disclosure presents a method and a system for determining the presence of the UAV, the model type of the UAV, and the operation mode of the UAV using the hierarchical reinforcement learning engine having the four-classifier hierarchy. The present disclosure offers several significant advantages in the detection and identification of intruding UAVs, particularly in context of RF-based detection methods. One of the key strengths of the present disclosure lies in the use of the hierarchical reinforcement learning engine which improves the UAV detection accuracy and decision-making efficiency. By employing a single UAV agent (i.e., an agent) with multiple policies organized in a hierarchy of four classifiers, the present disclosure addresses the issue of low accuracy that non-hierarchical techniques often face. This four-classifier hierarchical structure allows for a more focused and effective learning process, leading to better overall detection performance.
[0145] Further, an integration of an entropy regularization term (i.e., an entropy) in the disclosed hierarchical reinforcement learning engine is another notable advantage. This adjustment helps the agent reduce entropy, promoting more focused decision-making and improving the overall performance in the UAV detection tasks. By encouraging the agent to make more confident decisions, the present disclosure results in higher detection accuracy, as demonstrated by an impressive 99.7% detection rate for intruding UAVs. Further, the use of the soft-max function across all policy models enhances the probability distribution over actions, leading to more optimal decision-making in the UAV detection and identification tasks. This approach ensures that the agent can prioritize the most relevant actions, thereby increasing the efficiency and reliability of the disclosed hierarchical reinforcement learning engine.
[0146] Additionally, the performance evaluation provided by the present disclosure during both the training and testing process has shown substantial improvements in multiple areas, including reduced total policy loss, higher cumulative returns, and the ability to assess performance using several critical measures such as loss, average return per episode, accuracy, time, and energy consumption. Further, the disclosed hierarchical reinforcement learning engine is highly accurate and efficient in real-world applications, which is crucial for practical deployment.
[0147] Next, further details of the hardware description of the computing environment according to exemplary embodiments is described with reference to FIG. 20. In FIG. 20, a controller 2000 is described as representative of the UAV detection system in which the controller 2000 is a computing device which includes a Central Processing Unit (CPU) 2001 which performs the processes described above / below. The process data and instructions may be stored in a memory 2002. These processes and instructions may also be stored on a storage medium disk 2004 such as a Hard Disk Drive (HDD) or a portable storage medium or may be stored remotely.
[0148] Further, the disclosed is not limited by the form of the computer-readable media on which the instructions of the inventive process are stored. For example, the instructions may be stored on Compact Disks (CDs), Digital Versatile Discs (DVDs), in a Flash memory, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a hard disk or any other information processing device with which the computing device communicates, such as a server or a computer.
[0149] Further, the disclosure may be provided as a utility application, background daemon, or component of an operating system, or combination thereof, executing in conjunction with the CPU 2001, a CPU 2003 and an operating system such as a Microsoft Windows 7, a Microsoft Windows 10, a UNIX, a Solaris, a LINUX, an Apple MAC-OS and other systems known to those skilled in the art.
[0150] The hardware elements in order to achieve the computing device may be realized by various circuitry elements, known to those skilled in the art. For example, the CPU 2001 or the CPU 2003 may be a Xenon or a Core processor from Intel of America or an Opteron processor from Advanced Micro Devices (AMD) of America, or may be other processor types that would be recognized by one of ordinary skill in the art. Alternatively, the CPU 2001, the CPU 2003 may be implemented on a Field-Programmable Gate Array (FPGA), an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD) or using discrete logic circuits, as one of ordinary skill in the art would recognize. Further, the CPU 2001, the CPU 2003 may be implemented as multiple processors cooperatively working in parallel to perform the instructions of the inventive processes described above.
[0151] The computing device in FIG. 20 also includes a network controller 2006, such as an Intel Ethernet Professional (PRO) network interface card from an Intel Corporation of America, for interfacing with a network 2060. As can be appreciated, the network 2060 can be a public network, such as the Internet, or a private network such as a Local Area Network (LAN) or a Wide Area Network (WAN), or any combination thereof and can also include a Public Switched Telephone Network (PSTN) or an Integrated Services Digital Network (ISDN) sub-networks. The network 2060 can also be wired, such as an Ethernet network, or can be wireless such as a cellular network including EDGE, Third Generation (3G) and Fourth Generation (4G) wireless cellular systems. The wireless network can also be a WiFi, a Bluetooth, or any other wireless form of communication that is known.
[0152] The computing device further includes a display controller 2008, such as a NVIDIA GeForce Giga Texel Shader eXtreme (GTX) or a Quadro graphics adaptor from a NVIDIA Corporation of America for interfacing with a display 2010, such as a Hewlett Packard HPL2445w Liquid Crystal Display (LCD) monitor. A general purpose I / O interface 2012 interfaces with a keyboard and / or mouse 2014 as well as a touch screen panel 2016 on or separate from display 2010. The general purpose I / O interface 2012 also connects to a variety of peripherals 2018 including printers and scanners, such as an OfficeJet or DeskJet from HP.
[0153] A sound controller 2020 is also provided in the computing device such as a Sound Blaster X-Fi Titanium from Creative, to interface with speakers / microphone 2022 thereby providing sounds and / or music.
[0154] A general-purpose storage controller 2024 connects the storage medium disk 2004 with a communication bus 2026, which may be an Industry Standard Architecture (ISA), an Extended Industry Standard Architecture (EISA), a Video Electronics Standards Association (VESA), a Peripheral Component Interconnect (PCI), or similar, for interconnecting all of the components of the computing device. A description of the general features and functionality of the display 2010, keyboard and / or mouse 2014, as well as the display controller 2008, the general-purpose storage controller 2024, the network controller 2006, the sound controller 2020, and the general purpose I / O interface 2012 is omitted herein for brevity as these features are known.
[0155] The exemplary circuit elements described in the context of the present disclosure may be replaced with other elements and structured differently than the examples provided herein. Moreover, circuitry configured to perform features described herein may be implemented in multiple circuit units (e.g., chips), or the features may be combined in circuitry on a single chipset, as shown on FIG. 21.
[0156] FIG. 21 shows a schematic diagram of a data processing system 2100, according to certain embodiments, for performing the functions of the exemplary embodiments. The data processing system 2100 is an example of a computer in which code or instructions implementing the processes of the illustrative embodiments may be located.
[0157] In FIG. 21, the data processing system 2100 employs a hub architecture including a North Bridge and a Memory Controller Hub (NB / MCH) 2125 and a south bridge and an Input / Output (I / O) Controller Hub (SB / ICH) 2120. The CPU 2130 is connected to the NB / MCH 2125. The NB / MCH 2125 also connects to a memory 2145 via a memory bus and connects to a graphics processor 2150 via an Accelerated Graphics Port (AGP). The NB / MCH 2125 also connects to the SB / ICH 2120 via an internal bus (e.g., a unified media interface or a direct media interface). The CPU 2130 may contain one or more processors and may even be implemented using one or more heterogeneous processor systems.
[0158] For example, FIG. 22 shows one implementation of the CPU 2230. In one implementation, an instruction register 2238 retrieves instructions from a fast memory 2240. At least part of these instructions is fetched from the instruction register 2238 by a control logic 2236 and interpreted according to the instruction set architecture of the CPU 2230. Part of the instructions can also be directed to a register 2232. In one implementation, the instructions are decoded according to a hardwired method, and in another implementation, the instructions are decoded according to a microprogram that translates instructions into sets of CPU configuration signals that are applied sequentially over multiple clock pulses. After fetching and decoding the instructions, the instructions are executed using an Arithmetic Logic Unit (ALU) 2234 that loads values from the register 2232 and performs logical and mathematical operations on the loaded values according to the instructions. The results from these operations can be feedback into the register 2232 and / or stored in the fast memory 2240. According to certain implementations, the instruction set architecture of the CPU 2230 can use a reduced instruction set architecture, a complex instruction set architecture, a vector processor architecture, a very large instruction word architecture. Furthermore, the CPU 2230 can be based on a Von Neuman model or a Harvard model. The CPU 2230 can be a digital signal processor, a Field-Programmable Gate Array (FPGA), an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Array (PLA), a Programmable Logic Device (PLD), or a Complex Programmable Logic Device (CPLD). Further, the CPU 2230 can be an x86 processor by the Intel or by the AMD; an Advanced Reduced Instruction Set Computing (RISC) Machine (ARM) processor, a power architecture processor by, e.g., an International Business Machines Corporation (IBM); a Scalable Processor Architecture (SPARC) processor by Sun Microsystems or by Oracle; or other known CPU architecture.
[0159] Referring again to FIG. 21, the data processing system 2100 can include that the SB / ICH 2120 is coupled through a system bus to an I / O Bus, a ROM 2156, a Universal Serial Bus (USB) port 2164, a flash Binary Input / Output System (BIOS) 2168, and a graphics controller 2158. Peripheral Component Interconnect / Peripheral Component Interconnect Express (PCI / PCIe) devices can also be coupled to SB / ICH 888 through a PCI bus 2162.
[0160] The PCI devices may include, for example, Ethernet adapters, add-in cards, and Personal Computer (PC) cards for notebook computers. The HDD 2160 and an optical drive 2166 (e.g., CD-ROM) can use, for example, an Integrated Drive Electronics (IDE) or a Serial Advanced Technology Attachment (SATA) interface. In one implementation, an I / O bus can include a super I / O (SIO) device.
[0161] Further, the HDD 2160 and the optical drive 2166 can also be coupled to the SB / ICH 2120 through a system bus. In one implementation, a keyboard 2170, a mouse 2172, a serial port 2176, and a parallel port 2178 can be connected to the system bus through the I / O bus. Other peripherals and devices that can be connected to the SB / ICH 2120 using a mass storage controller such as the SATA or a Parallel Advanced Technology Attachment (PATA), an Ethernet port, an ISA bus, a Low Pin Count (LPC) bridge, a System Management (SM) bus, a Direct Memory Access (DMA) controller, and an Audio Compressor / Decompressor (Codec).
[0162] Moreover, the present disclosure is not limited to the specific circuit elements described herein, nor is the present disclosure limited to the specific sizing and classification of these elements. For example, the skilled artisan will appreciate that the circuitry described herein may be adapted based on changes in battery sizing and chemistry or on the requirements of the intended back-up load to be powered.
[0163] The functions and features described herein may also be executed by various distributed components of a system. For example, one or more processors may execute these system functions, wherein the processors are distributed across multiple components communicating in a network. The distributed components may include one or more client and server machines, which may share processing, as shown by FIG. 23, in addition to various human interface and communication devices (e.g., display monitors, smart phones, tablets, personal digital assistants (PDAs)). More specifically, FIG. 23 illustrates client devices including a smart phone 2311, a tablet 2312, a mobile device terminal 2314 and fixed terminals 2316. These client devices may be commutatively coupled with a mobile network service 2320 via a base station 2356, an access point 2354, a satellite 2352 or via an internet connection. The mobile network service 2320 may comprise central processors 2322, a server 2324 and a database 2326. The fixed terminals 2316 and the mobile network service 2320 may be commutatively coupled via an internet connection to functions in cloud 2330 that may comprise a security gateway 2332, a data center 2334, a cloud controller 2336, a data storage 2338 and a provisioning tool 2340. The network may be a private network, such as the LAN or the WAN, or may be the public network, such as the Internet. Input to the system may be received via direct user input and received remotely either in real-time or as a batch process. Additionally, some implementations may be performed on modules or hardware not identical to those described. Accordingly, other implementations are within the scope that may be disclosed.
[0164] The above-described hardware description is a non-limiting example of corresponding structure for performing the functionality described herein.
[0165] Numerous modifications and variations of the present disclosure are possible in light of the above teachings. It is therefore to be understood that the invention may be practiced otherwise than as specifically described herein.
Claims
1. A system to determine a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, the system comprising:a radio frequency (RF) receiver circuitry configured to intercept data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication, wherein the RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end;a hierarchical reinforcement learning engine having a four-classifier hierarchy, includinga first classifier configured to detect the presence of the UAV in an environment based on the transmitted data,a second classifier configured to identify the detected UAV by determining whether the model type is one of a plurality of model types, including a first model type or a second model type,a third classifier configured to determine an operation mode of the first model type identified by the second classifier,a fourth classifier configured to determine an operation mode of the second model type identified by the second classifier; andan output device for outputting one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operation mode of the detected UAV.
2. The system of claim 1, wherein the hierarchical reinforcement learning engine comprises an agent having a plurality of policy models, and wherein each policy model is trained for a designated classifier.
3. The system of claim 2, wherein the agent is configured to systematically scan through multiple channels to inspect an RF activity in each channel, and determine an appropriate action as a class prediction based on a class determined by the first classifier, the second classifier, the third classifier, and the fourth classifier.
4. The system of claim 3, further comprising a reward evaluator circuitry configured to forward a reward back to the agent depending on the appropriated action that is determined by the agent.
5. The system of claim 4, wherein the reward evaluator circuitry will forward a positive reward for correct prediction of a classification.
6. The system of claim 1, wherein the data transmitted by the UAV includes commands and telemetry data conveyed through a communication link to control UAV's flight operations.
7. The system of claim 2, further comprising a training circuitry configured to train each policy model for its corresponding designated classifier.
8. The system of claim 1, further comprising a preprocessing circuitry configured with a filtering stage to smooth and reduce noise in the intercepted data.
9. The system of claim 7, further comprising a preprocessing circuitry is configured toreceive a training dataset having a plurality of episodes,wherein the preprocessing circuitry is further configured to, for each respective policy model,apply a policy function on each episode of the plurality of episodes of the training dataset to determine a trajectory having a state, an action, and a reward,calculate a cumulative return, an entropy, and a policy gradient based on the trajectory, andupdate policy parameters for each respective policy model based on the policy gradient.
10. The system of claim 2, wherein a first policy model of the plurality of policy models includes a “no-UAV” class and a “UAV” class,wherein a second policy model includes a “Parrot Bebop” class, a “Parrot Augmented Reality (AR)” class, and a “Dà-Jiang Innovations (DJI) Phantom” class, andwherein a third policy model includes a plurality of operational mode classes adapted to the “Parrot Bebop” class, andwherein a fourth policy model includes the plurality of operational mode classes adapted to the “Parrot AR” class.
11. A method of determining a presence of an unmanned aerial vehicle (UAV), a model type of the UAV, and an operation mode of the UAV, via a system with a hierarchical reinforcement learning engine having a four-classifier hierarchy, the method comprising:intercepting, by a radio frequency (RF) receiver circuitry, data transmitted by the UAV to a UAV flight controller in a form of an RF signal through wireless communication, wherein the RF receiver circuitry includes a first component to record RF signals at a lower end of a spectrum, and a second component to capture RF signals at an end of the spectrum that is higher than the lower end;detecting, by a first classifier of the hierarchical reinforcement learning engine, the presence of a UAV in an environment based on the transmitted data;identifying, by a second classifier of the hierarchical reinforcement learning engine, the detected UAV by determining whether the model type is one of a plurality of model types, including a first model type and a second model type;determining, by a third classifier of the hierarchical reinforcement learning engine, an operation mode of the first model type identified by the second classifier;determining, by a fourth classifier of the hierarchical reinforcement learning engine, an operation mode of the second model type identified by the second classifier; andoutputting, by an output device, one of UAV detected or no UAV detected by the first classifier, and in a case that the UAV is detected, outputting the model type and the operation mode of the detected UAV.
12. The method of claim 11, wherein the hierarchical reinforcement learning engine comprises an agent having a plurality of policy models, the method further comprises training each policy model for a designated classifier.
13. The method of claim 12, further comprising:systematically scanning, in the agent through multiple channels to inspect an RF activity in each channel; anddetermining an appropriate action as a class prediction based on the class determined by the first classifier, the second classifier, the third classifier, and the fourth classifier.
14. The method of claim 13, further comprising forwarding, by a reward evaluator circuitry, a reward back to the agent depending on the appropriate action that is determined by the agent.
15. The method of claim 14, further comprising forwarding, by the reward evaluator circuitry, a positive reward for correctly predicting the classification.
16. The method of claim 11, wherein the data transmitted by the UAV includes commands and telemetry data conveyed through a communication link to control UAV's flight operations.
17. The method of claim 12, further comprising training, by a training circuitry, each policy model for its corresponding designated classifier.
18. The method of claim 11, further comprising smoothing and reducing noise, by a preprocessing circuitry configured with a filtering stage, in the intercepted data.
19. The method of claim 17, further comprising receiving, by a preprocessing circuitry, a training dataset having a plurality of episodes;for each respective policy model, by the training circuitry,applying a policy function on each episode of the plurality of episodes of the training dataset to determine a trajectory having a state, an action, and a reward;calculating a cumulative return, an entropy, and a policy gradient based on the trajectory; andupdating policy parameters for each respective policy model based on the policy gradient.
20. The method of claim 12, further comprising determining, by a first policy model of the plurality of policy models, a “no-UAV” class and a “UAV” class;by a second policy model, a “Parrot Bebop” class, a “Parrot Augmented Reality (AR)” class, and a “Dà-Jiang Innovations (DJI) Phantom” class;by a third policy model, a plurality of operational mode classes adapted to the “Parrot Bebop” class, andby a fourth policy model, the plurality of operational mode classes adapted to the “Parrot AR” class.
