Detecting Pattern Anomalies in Hydrological Time Series with Weighted Probabilistic Suffix Trees

Yufeng Yu, Dingsheng Wan, Qun Zhao, Huan LiuWater 2020 · DOI

TL;DR

This paper introduces TFSAX_wPST, a novel method for detecting "pattern anomalies" in hydrological time series data. By combining a symbolic representation technique (TFSAX) with an enhanced probabilistic suffix tree (wPST), the approach effectively identifies unusual sequences of events, offering valuable insights for water resource management and disaster prediction.

What Problem Does This Paper Address?

Hydrological systems generate vast amounts of time series data, but this data is often plagued by "anomalies." While point anomalies (individual unusual data points) have received attention, "pattern anomalies" – sequences of events that deviate significantly from normal behavior – are more complex and crucial for understanding extreme hydrological events like floods and droughts. These pattern anomalies can bias decision-making in water resource design and management. Existing methods often struggle to effectively capture these complex temporal patterns in hydrological data, necessitating a more robust and specialized approach.

Methods

The proposed TFSAX_wPST method consists of four main stages:

  1. TFSAX Representation: This step transforms raw time series data into a symbolic representation. Unlike simpler methods like SAX, TFSAX captures both the mean and trend features of segments of the time series, providing a richer description.
  2. wPST Construction: A weighted Probabilistic Suffix Tree (wPST) is built from the symbolic sequences. This is an enhancement of the standard Probabilistic Suffix Tree (PST), incorporating frequency weights to better distinguish between similar sequences. This structure efficiently models the probabilistic relationships between symbols in the time series.
  3. Candidate Anomalies Generation: During wPST construction, sequences that fall below certain occurrence thresholds (defined by Prmin and MinCt) are identified as candidate anomalies. Instead of discarding these, they are stored in a candidate set, preventing potential loss of important information.
  4. Anomaly Verification: The candidate anomalies are then filtered, merged, expanded, and verified to produce the final set of detected pattern anomalies. This stage ensures that the identified anomalies are indeed significant and relevant.

Datasets

The authors evaluated their method using two real-world hydrological datasets:

  • NWIS Dataset: Hourly water level, discharge, and rainfall data from the Echeconnee Creek station in Georgia, USA, spanning from November 2010 to November 2013.
  • Poyang Lake Dataset: Monthly mean water level data from the Xingzi gauging station in China, covering January 1953 to December 2009.

These datasets represent different hydrological contexts and data granularities, demonstrating the generalizability of the proposed approach.

Key Insights and Ideas

  • Beyond Point Anomalies: The paper strongly emphasizes the importance of detecting pattern anomalies, which represent more complex and potentially impactful events than individual outliers.
  • Richer Symbolic Representation: TFSAX's ability to capture both mean and trend features provides a more nuanced representation of hydrological time series compared to methods relying solely on mean values.
  • Weighted Probabilistic Suffix Trees: The wPST's incorporation of frequency weights allows for more accurate modeling of sequence probabilities, leading to better anomaly detection.
  • Candidate Set for Robustness: Storing pruned sequences in a candidate set rather than discarding them is a clever strategy to avoid missing subtle but important anomalies.
  • Data-Driven Thresholding: While thresholds (Prmin, MinCt) are used, the method's ability to analyze these candidates post-pruning makes it more robust than methods that might discard anomalies too early.

Key Results

  • Improved Accuracy: The TFSAX_wPST algorithm demonstrated superior performance across various metrics (Accuracy, Precision, Recall, F1-score, AUC) compared to several established algorithms (PST-based, HMM-based, OCSVM, FP_SAX-based, Distance-based) on the Poyang Lake dataset. For instance, it achieved an AUC of 0.971, outperforming others.
  • Reduced False Alarms: On the Poyang Lake dataset, the wPST-based approach achieved a False Positive Rate (FPR) of 3.8% with a good tradeoff between FPR and True Positive Rate (TPR), significantly lower than the PST-based approach (21.9%).
  • Efficiency: The TFSAX_wPST method showed a notable speedup compared to FP_SAX-based and Distance-based methods, particularly as sequence lengths increased. The authors attribute this to avoiding computationally expensive distance calculations between patterns.
  • Effective Anomaly Detection: The method successfully identified known anomalous events in both the NWIS (e.g., a sharp rise in water level due to heavy rainfall) and Poyang Lake datasets, with the detected patterns correlating with documented flood and drought events.

Limitations and Future Work

The authors acknowledge several areas for future improvement:

  • Threshold Optimization: The current thresholds (Prmin, MinCt) are determined through empirical experience. Future work could focus on developing a more scientific method for optimizing these parameters.
  • Variable-Length Segmentation: TFSAX currently uses fixed-length segmentation. Exploring variable-length segmentation could lead to more meaningful hydrological feature extraction.
  • Multivariate Time Series: The current approach is designed for univariate time series. Extending it to detect anomalies in multivariate hydrological time series (e.g., considering rainfall, temperature, and water level simultaneously) is a significant area for future research.

Summary updated

Abstract

Anomalous patterns are common phenomena in time series datasets. The presence of anomalous patterns in hydrological data may represent some anomalous hydrometeorological events that are significantly different from others and induce a bias in the decision-making process related to design, operation and management of water resources. Hence, it is necessary to extract those “anomalous” knowledge that can provide valuable and useful information for future hydrological analysis and forecasting from hydrological data. This paper focuses on the problem of detecting anomalous patterns from hydrological time series data, and proposes an effective and accurate anomalous pattern detection approach, TFSAX_wPST, which combines the advantages of the Trend Feature Symbolic Aggregate approximation (TFSAX) and weighted Probabilistic Suffix Tree (wPST). Experiments with different hydrological real-world time series are reported, and the results indicate that the proposed methods are fast and can correctly detect anomalous patterns for hydrological time series analysis, and thus promote the deep analysis and continuous utilization of hydrological time series data.
BibTeX
@inproceedings{yu2020detecting,
  author = {Yufeng Yu and Dingsheng Wan and Qun Zhao and Huan Liu},
  title = {{Detecting Pattern Anomalies in Hydrological Time Series with Weighted Probabilistic Suffix Trees}},
  booktitle = {Water},
  year = {2020},
  doi = {10.3390/w12051464},
}
Figure