Measurement Science and Technology

A contrastive dual-task variational autoencoder for UAV flight anomaly detection

Wenzong Wang, Jianyu Wang, Jie Zhong, Qiang Miao

Key points

From the paper's conclusion
  • These results demonstrate the effectiveness of CD-VAE across different UAV platforms and anomaly types.

Abstract

Reliable anomaly detection is essential for ensuring the operational safety of unmanned aerial vehicles (UAVs). However, UAV flight data are characterized by nonlinear coupling, complex spatiotemporal dependencies, and variations caused by operating conditions and environmental disturbances. Existing reconstruction-based methods may over-generalize anomalous samples, whereas prediction-based methods mainly characterize local temporal evolution and may insufficiently capture global flight-state structure. Although hybrid methods combine reconstruction and prediction, task fusion alone does not explicitly constrain the learned representation to remain robust to sensor perturbations. To address these limitations, this paper proposes an unsupervised contrastive dual-task variational autoencoder (CD-VAE), which is trained exclusively on nominal flight data. CD-VAE constructs a shared probabilistic latent representation through variational encoding and uses this representation in both a structural reconstruction decoder and a temporal predictor, thereby jointly capturing global structural characteristics and local transition dynamics. In addition, a triplet-based contrastive learning mechanism with dual-intensity Gaussian augmentation is introduced to promote consistency between augmented views of the same flight window while maintaining discrimination among different temporal windows. Experiments on the Air Lab Fault and Anomaly (ALFA) and Thor Flight datasets demonstrate that CD-VAE achieves the highest F1-score among six representative baseline methods across all four ALFA failure categories, as well as the highest average F1-score across the drift and bias anomaly scenarios on Thor Flight. These results demonstrate the effectiveness of CD-VAE across different UAV platforms and anomaly types.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers