paper

Don't Just Impute, Detect: Task-Aware Diffusion Pipelines for Edge Anomaly Detection

arXiv:2610.40732

Abstract

Industrial Internet of Things (IIoT) edge pipelines routinely lose contiguous blocks of multi-sensor data to network dropouts and hardware faults. The standard remedy is a disjointed "impute-then-detect" pipeline whose imputer is trained only for Mean Squared Error (MSE). Such an imputer fills a missing block with the most probable normal pattern: a partially observed anomaly is smoothed back toward normality, and boundary artifacts on normal data raise false alarms. We call this imputation bias and propose the Task-Aware Diffusion Refiner (TADR), a conditional diffusion refiner trained against the loss landscape of a frozen downstream detector. Because back-propagating through the sampling trajectory is intractable, the task-aware terms act on the one-step clean-window estimate that the noise prediction already yields, so training costs no more than plain diffusion training. Under strict Point-to-Point evaluation over five seeds with paired significance tests, TADR raises F1 by over the unrefined detector on SMD (), and the anomaly enhancement objective alone contributes in ablation. We also characterise when the method helps: the gain tracks the continuous, mutually redundant channels available and the anomaly evidence the outage removes, and it is absent on telemetry datasets dominated by one-hot command channels and on PSM. At ten sampling steps TADR runs in ms per window on a single CPU core, sustaining about concurrent 1 Hz streams from a MB model. Code and per-seed results are available at https://github.com/int-park422/TADR.

arXiv comment11 pages, 6 figures. Accepted at the 33rd IEEE International Conference on High Performance Computing, Data, and Analytics (HiPC 2026)