Diffuse to Detect: A Generalizable Framework for Anomaly Detection with Diffusion Models Applications to UAVs and Beyond
Mingze Gong, Juan Du, Jianbang You
TL;DR
Diffuse to Detect (DTD) tackles anomaly detection in high-dimensional, multimodal UAV data by using a single-step diffusion-based noise predictor tied to the data score function. It combines dynamic sensor graphs, a two-branch scoring system (parametric DM-P with an Energy-Based Model and nonparametric DM-NP), and EVT-based labeling to achieve fast, interpretable, and accurate detection across time series, graphs, and images. Empirical results on ALFA, BASiC, SMD, and CIFAR-10 show superior performance over strong baselines, with real-time inference enabled by the one-step diffusion strategy. The work broadens diffusion-model applications to safety-critical, multimodal anomaly detection and suggests wide applicability in industrial monitoring and beyond.
Abstract
Anomaly detection in complex, high-dimensional data, such as UAV sensor readings, is essential for operational safety but challenging for existing methods due to their limited sensitivity, scalability, and inability to capture intricate dependencies. We propose the Diffuse to Detect (DTD) framework, a novel approach that innovatively adapts diffusion models for anomaly detection, diverging from their conventional use in generative tasks with high inference time. By comparison, DTD employs a single-step diffusion process to predict noise patterns, enabling rapid and precise identification of anomalies without reconstruction errors. This approach is grounded in robust theoretical foundations that link noise prediction to the data distribution's score function, ensuring reliable deviation detection. By integrating Graph Neural Networks to model sensor relationships as dynamic graphs, DTD effectively captures spatial (inter-sensor) and temporal anomalies. Its two-branch architecture, with parametric neural network-based energy scoring for scalability and nonparametric statistical methods for interpretability, provides flexible trade-offs between computational efficiency and transparency. Extensive evaluations on UAV sensor data, multivariate time series, and images demonstrate DTD's superior performance over existing methods, underscoring its generality across diverse data modalities. This versatility, combined with its adaptability, positions DTD as a transformative solution for safety-critical applications, including industrial monitoring and beyond.
