[Paper Review] Interpretable, Multidimensional, Multimodal Anomaly Detection with Negative Sampling for Detection of Device Failure
This paper proposes a scalable, unsupervised anomaly detection method for IoT devices using negative sampling with random forest or neural network classifiers to detect multidimensional, multimodal anomalies in real-time. It achieves state-of-the-art AUC performance and enables interpretable anomaly attribution via Integrated Gradients, successfully deployed across 15,000+ devices in 145 office buildings.
Complex devices are connected daily and eagerly generate vast streams of multidimensional state measurements. These devices often operate in distinct modes based on external conditions (day/night, occupied/vacant, etc.), and to prevent complete or partial system outage, we would like to recognize as early as possible when these devices begin to operate outside the normal modes. Unfortunately, it is often impractical or impossible to predict failures using rules or supervised machine learning, because failure modes are too complex, devices are too new to adequately characterize in a specific environment, or environmental change puts the device into an unpredictable condition. We propose an unsupervised anomaly detection method that creates a negative sample from the positive, observed sample, and trains a classifier to distinguish between positive and negative samples. Using the Contraction Principle, we explain why such a classifier ought to establish suitable decision boundaries between normal and anomalous regions, and show how Integrated Gradients can attribute the anomaly to specific variables within the anomalous state vector. We have demonstrated that negative sampling with random forest or neural network classifiers yield significantly higher AUC scores than Isolation Forest, One Class SVM, and Deep SVDD, against (a) a synthetic dataset with dimensionality ranging between 2 and 128, with 1, 2, and 3 modes, and with and without noise dimensions; (b) four standard benchmark datasets; and (c) a multidimensional, multimodal dataset from real climate control devices. Finally, we describe how negative sampling with neural network classifiers have been successfully deployed at large scale to predict failures in real time in over 15,000 climate-control and power meter devices in 145 Google office buildings.
Motivation & Objective
- Address the challenge of detecting subtle, multidimensional anomalies in high-dimensional, multimodal IoT telemetry from complex devices like climate controls and power meters.
- Overcome limitations of traditional one-class or supervised methods due to lack of labeled failure data and dynamic operating modes (e.g., occupancy vs. eco-mode).
- Develop a scalable, zero-configuration anomaly detection system that adapts to seasonal and environmental changes without manual reconfiguration.
- Enable interpretable diagnostics by attributing anomaly scores to specific feature dimensions using Integrated Gradients.
- Deploy the method at scale in real-world smart buildings to reduce false alarms and proactively detect device failures before system outages.
Proposed method
- Generate negative samples by perturbing observed normal data points using random noise or interpolation, creating synthetic anomalous examples for training.
- Train a binary classifier (random forest or neural network) to distinguish between real normal samples and synthetic negative samples.
- Leverage the Concentration Phenomenon to justify that the classifier learns effective decision boundaries between normal and anomalous regions in high-dimensional space.
- Apply Integrated Gradients to compute feature attributions, assigning proportional blame to individual dimensions in the anomalous state vector for interpretability.
- Use sliding windows over historical data to retrain models periodically, enabling adaptation to seasonal and environmental changes.
- Cluster devices into homogeneous cohorts based on type and behavior, assigning each cohort an independent anomaly detection instance for scalable deployment.
Experimental results
Research questions
- RQ1Can negative sampling with binary classifiers outperform state-of-the-art one-class anomaly detection methods on multidimensional, multimodal IoT datasets?
- RQ2How effective is the Concentration Phenomenon in justifying the decision boundary learning of the anomaly detector in high-dimensional feature spaces?
- RQ3Can Integrated Gradients provide meaningful, actionable interpretations of anomalies by attributing blame to specific sensor dimensions?
- RQ4Can this approach be deployed at scale in real-world environments with heterogeneous, evolving device types and operating modes?
- RQ5Does the method reduce false positive rates compared to rule-based or supervised fault detection in real smart building deployments?
Key findings
- Negative sampling with random forest or neural network classifiers achieved equivalent or higher AUC scores than Isolation Forest, One-Class SVM, Deep SVDD, and Extended Isolation Forest on four out of five standard benchmark datasets.
- On a real-world, multidimensional, multimodal dataset from climate control devices, the method outperformed state-of-the-art approaches in anomaly detection performance.
- The NS-NN (Negative Sampling with Neural Networks) model was successfully deployed at scale to monitor over 15,000 devices across 145 office buildings in the California Bay Area.
- More than 44% of detected device-level anomalies led to technician support, indicating high practical relevance and actionable insight from the system.
- Integrated Gradients enabled effective interpretation by attributing anomalies to specific sensor dimensions, such as stuck dampers or failing sensors, aiding diagnosis.
- The system required no manual configuration for new devices and adapted to seasonal changes through periodic retraining on sliding historical windows.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.