PAI: Preserving Amplitude Information in Representation-Based Time-Series Anomaly Detection

· Source: Machine Learning · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, quick

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

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

Topics

Code references

Best for: Research Scientist, AI Engineer, AI Scientist, Machine Learning Engineer, Data Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.