Table of Contents
Fetching ...

Runtime Anomaly Detection for Drones: An Integrated Rule-Mining and Unsupervised-Learning Approach

Ivan Tan, Wei Minn, Christopher M. Poskitt, Lwin Khin Shar, Lingxiao Jiang

TL;DR

The paper tackles runtime anomaly detection for drones by integrating rule mining with unsupervised learning in a framework called RADD. It mines invariants via Apriori to produce universal, phase-specific, and domain-specific rules and pairs them with an ensemble of five unsupervised detectors, using majority voting and a runtime decision matrix for alerts. On ArduPilot-Gazebo simulations, RADD achieves an average anomaly recall of $93.84\%$ with $2.33\%$ false positives across six fault types and outperforms a state-of-the-art LSTM detector, with higher interpretability and runtime feasibility on edge hardware. This approach enhances generalisability across missions and provides human-readable explanations of anomalies, supporting safer drone operation in diverse environments.

Abstract

UAVs, commonly referred to as drones, have witnessed a remarkable surge in popularity due to their versatile applications. These cyber-physical systems depend on multiple sensor inputs, such as cameras, GPS receivers, accelerometers, and gyroscopes, with faults potentially leading to physical instability and serious safety concerns. To mitigate such risks, anomaly detection has emerged as a crucial safeguarding mechanism, capable of identifying the physical manifestations of emerging issues and allowing operators to take preemptive action at runtime. Recent anomaly detection methods based on LSTM neural networks have shown promising results, but three challenges persist: the need for models that can generalise across the diverse mission profiles of drones; the need for interpretability, enabling operators to understand the nature of detected problems; and the need for capturing domain knowledge that is difficult to infer solely from log data. Motivated by these challenges, this paper introduces RADD, an integrated approach to anomaly detection in drones that combines rule mining and unsupervised learning. In particular, we leverage rules (or invariants) to capture expected relationships between sensors and actuators during missions, and utilise unsupervised learning techniques to cover more subtle relationships that the rules may have missed. We implement this approach using the ArduPilot drone software in the Gazebo simulator, utilising 44 rules derived across the main phases of drone missions, in conjunction with an ensemble of five unsupervised learning models. We find that our integrated approach successfully detects 93.84% of anomalies over six types of faults with a low false positive rate (2.33%), and can be deployed effectively at runtime. Furthermore, RADD outperforms a state-of-the-art LSTM-based method in detecting the different types of faults evaluated in our study.

Runtime Anomaly Detection for Drones: An Integrated Rule-Mining and Unsupervised-Learning Approach

TL;DR

The paper tackles runtime anomaly detection for drones by integrating rule mining with unsupervised learning in a framework called RADD. It mines invariants via Apriori to produce universal, phase-specific, and domain-specific rules and pairs them with an ensemble of five unsupervised detectors, using majority voting and a runtime decision matrix for alerts. On ArduPilot-Gazebo simulations, RADD achieves an average anomaly recall of with false positives across six fault types and outperforms a state-of-the-art LSTM detector, with higher interpretability and runtime feasibility on edge hardware. This approach enhances generalisability across missions and provides human-readable explanations of anomalies, supporting safer drone operation in diverse environments.

Abstract

UAVs, commonly referred to as drones, have witnessed a remarkable surge in popularity due to their versatile applications. These cyber-physical systems depend on multiple sensor inputs, such as cameras, GPS receivers, accelerometers, and gyroscopes, with faults potentially leading to physical instability and serious safety concerns. To mitigate such risks, anomaly detection has emerged as a crucial safeguarding mechanism, capable of identifying the physical manifestations of emerging issues and allowing operators to take preemptive action at runtime. Recent anomaly detection methods based on LSTM neural networks have shown promising results, but three challenges persist: the need for models that can generalise across the diverse mission profiles of drones; the need for interpretability, enabling operators to understand the nature of detected problems; and the need for capturing domain knowledge that is difficult to infer solely from log data. Motivated by these challenges, this paper introduces RADD, an integrated approach to anomaly detection in drones that combines rule mining and unsupervised learning. In particular, we leverage rules (or invariants) to capture expected relationships between sensors and actuators during missions, and utilise unsupervised learning techniques to cover more subtle relationships that the rules may have missed. We implement this approach using the ArduPilot drone software in the Gazebo simulator, utilising 44 rules derived across the main phases of drone missions, in conjunction with an ensemble of five unsupervised learning models. We find that our integrated approach successfully detects 93.84% of anomalies over six types of faults with a low false positive rate (2.33%), and can be deployed effectively at runtime. Furthermore, RADD outperforms a state-of-the-art LSTM-based method in detecting the different types of faults evaluated in our study.
Paper Structure (7 sections, 5 figures, 7 tables)

This paper contains 7 sections, 5 figures, 7 tables.

Figures (5)

  • Figure 1: Overview of a typical drone system
  • Figure 2: Phases in a generic drone mission
  • Figure 3: Comparison between Windy I and Windy II
  • Figure 4: Boxplot of prediction times for unsupervised models
  • Figure 5: Boxplot of Prediction Times for OPTICS on Raspberry Pi