Time Series Anomaly Detection
AWS Lookout for Metrics Service Enhancement
Project Overview
Enhanced AWS Lookout for Metrics anomaly detection service by improving customer interpretability and evaluating detection accuracy while maintaining real-time, low-latency performance guarantees.
Situation & Context
When my team took over ownership of AWS Lookout for Metrics, an anomaly detection service, we inherited two key challenges: customers struggled to understand our anomaly scores, and the service had some performance gaps. I was tasked with investigating improvement opportunities across both customer experience and detection accuracy, while ensuring we maintained our real-time, low-latency service guarantees.
Business Impact
The score normalizer was successfully launched to production and significantly improved customer satisfaction—customers could now interpret what the anomaly scores meant, which was one of our primary pain points. This directly addressed the interpretability complaints we'd been receiving from enterprise customers using AWS Lookout for Metrics for business-critical monitoring applications.
Technical Details & Contributions
- Algorithm Evaluation: Benchmarked RCF alternatives (dilated 1-D CNNs, Matrix Profile) against latency SLA and internal datasets.
- Evaluation Framework: Implemented Point-Adjusted Precision/Recall metrics for comprehensive point and range anomaly detection evaluation.
- Score Normalizer: Designed novel ensemble-based normalizer using data sketches to transform raw RCF scores into interpretable percentile values.
- Statistical Validation: Validated normalizer robustness through rigorous testing (qualitative and quantitative) for production deployment.
- Change-Point Detection: Developed online detector using ACF and Matrix Profile for enhanced time series shift detection.
- Dataset Expansion: Integrated UCR time series data to strengthen benchmarking capabilities.
Keywords
- Time Series Anomaly Detection
- Matrix Profile
- Change-Point Detection
- AWS Lookout for Metrics