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

Jeongsu Park, Taehyeon Yun, Geonwoo Kim, Yuji Lim, Moohong Min

arXiv:2610.40732 · 2026-11-02 공개 · arXiv · PDF

low-latency-inference task-aware-diffusion edge-anomaly-detection iiot diffusion-refiner imputation-bias smd-dataset anomaly-enhancement

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 $0.338$ over the unrefined detector on SMD ($p = 0.0015$), and the anomaly enhancement objective alone contributes $0.463$ 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 $41.4$ ms per window on a single CPU core, sustaining about $24$ concurrent 1 Hz streams from a $4.03$ MB model. Code and per-seed results are available at https://github.com/int-park422/TADR.

한국어 요약

한 줄 요약

TADR은 IIoT 환경에서의 누락 데이터를 보완하면서 이상 탐지를 개선하는 태스크 인식 확산 방식의 파이프라인을 제안한다.

핵심 기여도

핵심 아이디어

기존 imputation 방법은 MSE 최소화를 목표로 하여, 누락된 데이터를 정상 패턴으로 채우는 경향이 있다. 이는 부분적으로 관측된 이상이 정상으로 매끄럽게 변형되거나, 정상 데이터의 경계에서 가짜 이상이 발생하게 만든다. 이를 "imputation bias"라고 명명하고, 이를 해결하기 위해 TADR이라는 조건부 확산 리파이너를 제안한다. TADR은 downstream 이상 탐지기의 loss landscape를 고려해 훈련되며, 확산 과정에서의 노이즈 예측을 기반으로 one-step clean-window 추정치에 태스크 인식 조건을 적용한다. 이는 back-propagation을 sampling trajectory 전체에 걸쳐 수행하는 것을 피하면서도, 훈련 비용은 기존 확산 모델과 동일하게 유지된다.

기술적 접근법

주요 결과

의의 및 한계

TADR은 IIoT 환경에서의 누락 데이터 처리와 이상 탐지를 통합적으로 개선하는 새로운 접근법을 제시한다. 특히, 기존 imputation-then-detection 파이프라인의 한계를 극복하고, 태스크 인식적인 확산 기반 리파인을 통해 정확도를 향상시킨다. 그러나, one-hot 명령어 채널이 많은 데이터셋에서는 효과가 나타나지 않아, 특정 데이터 구조에 대한 제약이 존재한다. 또한, 모델의 성능은 연속적이고 상호 보완적인 채널이 있는 데이터셋에서 가장 두드러진다.

실용적 활용

TADR은 IIoT 엣지 장비에서 실시간 이상 탐지를 수행하는 데 적합하며, 특히 네트워크 불안정이나 하드웨어 결함으로 인한 데이터 누락이 빈번한 환경에서 유용하다. 4.03MB의 작은 모델 크기와 CPU 기반의 빠른 추론 속도는 리소스 제약이 있는 엣지 디바이스에서도 적용 가능하다.