Abstract
Wireless Sensor Networks (WSNs) deployed in remote environments often generate noisy data, making it difficult to distinguish between sensor malfunctions and significant environmental events. This paper introduces the SOUE-Detector, a hybrid system that combines statistical trend analysis via Dynamic Time Warping (DTW) with Semantic Web ontologies. By leveraging the Correlation of Environmental Sensor Properties (CESP) ontology, the system validates suspicious data segments against known environmental relationships. Experimental results using data from the Springbrook WSN show that the SOUE-Detector achieves high recall and precision in identifying both erroneous outliers and genuine unusual events.
Introduction
Wireless Sensor Networks (WSNs) are critical for environmental monitoring, yet they are prone to data quality issues due to hardware degradation, power constraints, and harsh deployment conditions. A major challenge in WSN data management is the differentiation between "erroneous outliers" (data faults) and "unusual events" (genuine environmental phenomena like flash floods). Traditional outlier detection methods often fail this distinction, flagging any deviation as an error. This research addresses the gap by incorporating semantic context—specifically the relationships between different environmental variables—to provide a more robust detection mechanism.
The SOUE-Detector Framework
The proposed SOUE-Detector operates through a multi-layered process that evaluates data segments rather than individual points, enhancing robustness against transient noise.
1. Spatial Analysis with Dynamic Time Warping (DTW)
The system first identifies "suspicious" segments by comparing a sensor's data stream with its spatial neighbors. Using Dynamic Time Warping (DTW), the system calculates similarity scores that account for potential temporal shifts in data streams across different locations. If a sensor's pattern deviates significantly from its neighbors, it is flagged for further investigation.
2. Semantic Context with CESP Ontology
To determine if a suspicious segment is a fault or an event, the system employs the Correlation of Environmental Sensor Properties (CESP) ontology. This ontology extends the standard Semantic Sensor Network (SSN) framework by encoding expert knowledge regarding how different environmental variables interact.
As shown in the figure above, the ontology defines various correlation types (e.g., Strength, Direction, Shape) and links them to specific environmental properties like air temperature and relative humidity. For instance, a known meteorological rule might state that as air temperature increases, relative humidity typically decreases. This structured knowledge allows the system to perform automated reasoning over the sensor data.
3. Detection Logic
The final classification follows a specific logic:
- Semantic Check: When a sensor is flagged as suspicious, the system queries an RDF triple store to identify correlated properties. It then checks the status of those correlated sensors at the same location.
- Unusual Event: If the correlated sensors (e.g., humidity sensors corresponding to a suspicious temperature spike) also show anomalous patterns consistent with expert rules, the segment is labeled a genuine event.
- Erroneous Outlier: If the anomaly is isolated to a single sensor type and contradicts known correlations or neighbor patterns, it is classified as a sensor error.
Experimental Evaluation
The system was tested using 2.5 years of historical data (2010–2012) from the Springbrook Wireless Sensor Network in Australia. To evaluate performance, the researchers created synthetic datasets by injecting known errors and events into a "clean" baseline of real-world observations. These injections included random erroneous segments and events modeled after "Strong" and "Positive" correlation rules defined in the CESP ontology.
Results and Discussion
The SOUE-Detector demonstrated high reliability across various similarity thresholds ($\beta$):
- Error Detection: The system achieved a recall rate between 87.59% and 100% for erroneous outliers when the threshold was set above 81%.
- Event Detection: For genuine unusual events, the recall remained high (85.6% to 100%) at thresholds above 85%.
- Optimal Threshold: A similarity threshold of 88–90% was identified as the "sweet spot," providing the best balance for accurately distinguishing between sensor faults and real environmental changes.
Conclusion
The SOUE-Detector represents a significant step toward more intelligent WSN monitoring by moving beyond simple point-based outlier detection. By integrating spatial context (DTW) with semantic reasoning (CESP ontology), the system provides a transparent and adjustable method for validating environmental data. Future work will focus on optimizing the system's computational complexity for larger scales and transitioning the framework into a real-time gateway system for immediate alerting.
Summary updated