PAI: Preserving Amplitude Information in Representation-Based Time-Series Anomaly Detection
Summary
PAI, a new anomaly scoring scheme, addresses a critical limitation in representation-based time-series anomaly detection: their learned embeddings often lose amplitude information, degrading performance on amplitude-related anomalies. PAI introduces a diagnostic module that compares cosine and Euclidean scoring to assess amplitude capture, alongside a final score augmentation function. This function computes point-wise median and MAD deviation scores, plus a local mean-shift score, which are then fused with the base representation score. Evaluated on the TSB-AD-U-Eva and TAB UV datasets, PAI improved all four tested representation-based methods across every metric, yielding average VUS-PR gains of 98.4% and 36.8%. Specifically, PaAno + PAI achieved the best performance, surpassing the previous best method by 15%.
Key takeaway
For Machine Learning Engineers developing time-series anomaly detection systems, if your current representation-based methods struggle with amplitude-related anomalies, consider integrating PAI. This scheme explicitly preserves amplitude information, demonstrably improving VUS-PR gains by up to 98.4% on datasets like TSB-AD-U-Eva. You should evaluate PAI's impact on your specific datasets, especially when amplitude variations are critical for anomaly identification.
Key insights
Representation-based time-series anomaly detection benefits significantly from explicitly preserving amplitude information, which PAI achieves through a novel scoring scheme.
Principles
- Amplitude information is crucial for time-series anomaly detection.
- Representation-based methods often lose amplitude data.
- Fusing multiple deviation scores enhances anomaly detection.
Method
PAI's diagnostic module compares cosine and Euclidean scoring. Its augmentation function computes point-wise median/MAD deviation and local mean-shift scores, fusing them with the representation score.
In practice
- Integrate PAI with existing representation-based methods.
- Evaluate amplitude-related anomaly detection performance.
- Utilize the provided PAI code for implementation.
Topics
- Time-Series Anomaly Detection
- Representation Learning
- Amplitude Preservation
- PAI Scoring Scheme
- Anomaly Scoring
- PaAno
Code references
Best for: Research Scientist, AI Engineer, AI Scientist, Machine Learning Engineer, Data Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.