# MOSPAT: AutoML based Model Selection and Parameter Tuning for Time Series Anomaly Detection

arXiv: https://arxiv.org/abs/2205.11755 · HTML: https://mlsanity.com/paper/2205.11755/

## Key facts

- Cited by 6 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 43 references that are in the map.
- First posted on arXiv 24 May 2022.

## Builds on (most cited first, 13 of 13)

- [Time-Series Anomaly Detection Service at Microsoft](https://mlsanity.com/paper/1906.03821/) (2019)
- [Evaluating Real-time Anomaly Detection Algorithms - the Numenta Anomaly Benchmark](https://mlsanity.com/paper/1510.03336/) (2015)
- [An Evaluation of Change Point Detection Algorithms](https://mlsanity.com/paper/2003.06222/) (2020)
- [Anomaly Detection in Univariate Time-series: A Survey on the State-of-the-Art](https://mlsanity.com/paper/2004.00433/) (2020)
- [TODS: An Automated Time Series Outlier Detection System](https://mlsanity.com/paper/2009.09822/) (2020)
- [Merlion: A Machine Learning Library for Time Series](https://mlsanity.com/paper/2109.09265/) (2021)
- [Doubly Robust Bayesian Inference for Non-Stationary Streaming Data with β-Divergences](https://mlsanity.com/paper/1806.02261/) (2018)
- [PyODDS: An End-to-end Outlier Detection System with Automated Machine Learning](https://mlsanity.com/paper/2003.05602/) (2020)
- [Changepoint Detection in the Presence of Outliers](https://mlsanity.com/paper/1609.07363/) (2016)
- [cleanTS: Automated (AutoML) Tool to Clean Univariate Time Series at Microscales](https://mlsanity.com/paper/2110.11815/) (2021)
- [On the Runtime-Efficacy Trade-off of Anomaly Detection Techniques for Real-Time Streaming Data](https://mlsanity.com/paper/1710.04735/) (2017)
- [Building an Automated and Self-Aware Anomaly Detection System](https://mlsanity.com/paper/2011.05047/) (2020)
- [Self-supervised learning for fast and scalable time series hyper-parameter tuning](https://mlsanity.com/paper/2102.05740/) (2021)

## Built on by (most cited first, 6 of 6)

- [mTSBench: Benchmarking Multivariate Time Series Anomaly Detection and Model Selection at Scale](https://mlsanity.com/paper/2506.21550/) (2025)
- [Adaptive Thresholding Heuristic for KPI Anomaly Detection](https://mlsanity.com/paper/2308.10504/) (2023)
- [An Automated Machine Learning Approach for Detecting Anomalous Peak Patterns in Time Series Data from a Research Watershed in the Northeastern United States Critical Zone](https://mlsanity.com/paper/2309.07992/) (2023)
- [Unravel Anomalies: An End-to-end Seasonal-Trend Decomposition Approach for Time Series Anomaly Detection](https://mlsanity.com/paper/2310.00268/) (2023)
- [Refining the Optimization Target for Automatic Univariate Time Series Anomaly Detection in Monitoring Services](https://mlsanity.com/paper/2307.10653/) (2023)
- [Retrieval Over Training: Similarity search-based Model Selection for Time Series Anomaly Detection](https://mlsanity.com/paper/2610.20243/) (2026)

## Abstract (arXiv)

Organizations leverage anomaly and changepoint detection algorithms to detect changes in user behavior or service availability and performance. Many off-the-shelf detection algorithms, though effective, cannot readily be used in large organizations where thousands of users monitor millions of use cases and metrics with varied time series characteristics and anomaly patterns. The selection of algorithm and parameters needs to be precise for each use case: manual tuning does not scale, and automated tuning requires ground truth, which is rarely available. In this paper, we explore MOSPAT, an end-to-end automated machine learning based approach for model and parameter selection, combined with a generative model to produce labeled data. Our scalable end-to-end system allows individual users in large organizations to tailor time-series monitoring to their specific use case and data characteristics, without expert knowledge of anomaly detection algorithms or laborious manual labeling. Our extensive experiments on real and synthetic data demonstrate that this method consistently outperforms using any single algorithm.
