Introduction
In the era of the Internet of Things (IoT) and Edge Computing, massive volumes of streaming data are generated and processed directly at the network edge. Ensuring the quality of this data is critical, as outliers can heavily skew statistical metrics and ruin downstream processing or machine learning tasks. However, most traditional outlier detection methods are "one-shot"—they immediately classify a deviating data point as an anomaly and discard it.
In highly dynamic streaming environments, a sudden deviation might not actually be an error; it could be the beginning of a new valid pattern, a new cluster, or a seasonal shift. Immediate, hard deletion leads to lost information and high false-positive rates. This paper introduces a "soft" outlier detection method for streaming data at the network edge, delaying hard classification to account for emerging data patterns. By combining sliding and landmark windows with non-parametric trend analysis, the system tracks "candidate" outliers over time before confirming them.
Methodology
The authors propose a "soft" temporal management model that introduces the concepts of candidate and confirmed outliers. The process follows several key stages:
- Distance and Magnitude: The system first calculates a data point's distance from the general population. This distance is passed through a sigmoid function to generate a "magnitude" score ($\lambda$) between 0 and 1, representing how anomalous the point is.
- Dynamic Windowing: The system continuously monitors data using a standard sliding window. If a data point's magnitude exceeds a threshold, it is flagged as a candidate outlier. At this point, the system switches to an expanding landmark window, incorporating new incoming data to monitor the candidate over time.
- Non-Parametric Trend Analysis: Instead of making an immediate decision, the system tracks the trend of the candidate's magnitude ($\lambda$) as new data arrives. To do this quickly without a training phase, it uses two lightweight, non-parametric statistical methods: the Mann-Kendall test (MKM) and Sen’s slope (SS).
The final decision is based on the trend analysis: if the magnitude is increasing (the point remains isolated), it is confirmed as an outlier and evicted. If the trend is decreasing (e.g., new data points form a cluster around it), the point is reclassified as normal data.
Experimental Evaluation
The authors evaluated their custom Java-based simulator using two standard real-world multivariate datasets treated as data streams:
- Ionosphere Dataset: 32 numeric dimensions, 351 instances, with 126 outliers (35.9%).
- Wisconsin Prognostic Breast Cancer (WPBC) Dataset: 33 numeric dimensions, 198 instances, with 47 outliers (23.74%).
Results and Discussion
The proposed model achieved near-perfect accuracy ($\epsilon \approx 1.0$) and high ROC AUC scores, clearly outperforming legacy outlier detection methods. For context, on the WPBC dataset, legacy methods typically hit a max F-measure of 0.38–0.44, whereas this proposed model consistently outperformed them.
Beyond accuracy, the non-parametric approach proved incredibly fast, suitable for resource-constrained IoT devices. For a window size of 5, it took an average of 0.097 ms to 0.102 ms to process and confirm outliers. The system is capable of handling roughly 3,484 to 10,309 multivariate data objects per second, making it highly viable for real-time, high-velocity IoT applications.
Conclusion
This "soft" temporal tolerance mechanism prevents the premature eviction of data by waiting to see how subsequent data behaves, gracefully handling concept drift. By relying on MKM and SS for trend analysis, the model requires zero training and is computationally lightweight. Future work will explore integrating Fuzzy Logic and machine learning to adapt to more complex, non-linear trends and hidden connections between data objects.
Summary updated