QUADFormer: Learning-based Detection of Cyber Attacks in Quadrotor UAVs
Pengyu Wang, Zhaohua Yang, Nachuan Yang, Zikai Wang, Jialu Li, Fan Zhang, Chaoqun Wang, Jiankun Wang, Max Q. -H. Meng, Ling Shi
TL;DR
The paper addresses cyber-attack resilience in quadrotor UAVs by combining EKF-derived residuals with a transformer-based detector, QUADFormer, to capture high-order dynamics and non-Gaussian noise. The method introduces Temporal Proximity Concentration (TPC) and Dynamic Context Mapping (DCM) within a semi-supervised transformer framework and optimizes detection with a Temporal-Contextual Disparity (TCD) loss alongside reconstruction and classification objectives. A resilient state estimation module ensures safe operation by adaptively fusing reliable sensors when attacks are detected. Through extensive simulations and real-world GPS spoofing experiments, QUADFormer demonstrates superior detection performance compared with traditional statistics-based detectors and other learning-based approaches, enabling robust UAV mission execution. The work provides practical implications for secure UAV operation and offers publicly releasable code to foster further research.
Abstract
Safety-critical intelligent cyber-physical systems, such as quadrotor unmanned aerial vehicles (UAVs), are vulnerable to different types of cyber attacks, and the absence of timely and accurate attack detection can lead to severe consequences. When UAVs are engaged in large outdoor maneuvering flights, their system constitutes highly nonlinear dynamics that include non-Gaussian noises. Therefore, the commonly employed traditional statistics-based and emerging learning-based attack detection methods do not yield satisfactory results. In response to the above challenges, we propose QUADFormer, a novel Quadrotor UAV Attack Detection framework with transFormer-based architecture. This framework includes a residue generator designed to generate a residue sequence sensitive to anomalies. Subsequently, this sequence is fed into a transformer structure with disparity in correlation to specifically learn its statistical characteristics for the purpose of classification and attack detection. Finally, we design an alert module to ensure the safe execution of tasks by UAVs under attack conditions. We conduct extensive simulations and real-world experiments, and the results show that our method has achieved superior detection performance compared with many state-of-the-art methods.
