MSADv2 is a research-focused repository dedicated to improving model selection strategies for anomaly detection in time series data. By introducing and experimenting with weighted average approaches, MSADv2 aims to enhance the robustness and accuracy of anomaly detection, especially in real-world, noisy, and diverse temporal datasets.
This repository extends boniolp/MSAD, which accompanies the following paper:
- Choose wisely: An extensive evaluation of model selection for anomaly detection in time series
Proceedings of the VLDB Endowment, 2023MSADv2 pushes further with weighted averaging techniques and new comparative experiments.@article{sylligardos2023choose, title={Choose wisely: An extensive evaluation of model selection for anomaly detection in time series}, author={Sylligardos, Emmanouil and Boniol, Paul and Paparrizos, John and Trahanias, Panos and Palpanas, Themis}, journal={Proceedings of the VLDB Endowment}, volume={16}, number={11}, pages={3418--3432}, year={2023}, publisher={VLDB Endowment} }
This repository implemenents the ideas introduced in "MSAD: A deep dive into model selection for time series anomaly detection", published in The VLDB Journal (2025).
- Emmanouil Sylligardos
- John Paparrizos
- Themis Palpanas
- Pierre Senellart
- Paul Boniol
- Weighted Model Selection: Implements advanced strategies for selecting the best anomaly detection models using weighted averages.
- Comparative Experiments: Facilitates comparison between weighted average selection and traditional model selection methods.
- Jupyter Notebooks: Interactive notebooks allow for easy experimentation, visualization, and reproducibility of results.
- Time Series Focus: Algorithms and utilities are tailored for time series anomaly detection across various domains.
- Extensible Framework: Designed to be easily extended for additional models, datasets, and evaluation metrics.
notebooks/— Main Jupyter Notebooks for experiments, analysis, and visualization.src/— Source code implementing model selection, anomaly detection logic, and supporting utilities.data/— Example datasets (or scripts to download datasets) for experiments.docs/— Documentation and TeX files for academic writing, reports, or papers.results/— Saved experiment outputs and metrics.
MSADv2 relies primarily on Python and Jupyter Notebook. To get started:
git clone https://github.com/sylligardos/MSADv2.git
cd MSADv2
pip install -r requirements.txtNote: Ensure you have Jupyter Notebook installed (
pip install notebook). For time series analysis, the repository may use libraries such asnumpy,pandas,scikit-learn, and visualization tools.
-
Start Jupyter Notebook:
jupyter notebook
-
Open a Notebook: Navigate to the
notebooks/directory and open any available notebook to run experiments or visualize results. -
Experiment with Weighted Model Selection: Follow the instructions in the notebooks to explore different anomaly detection models and use weighted selection strategies.
This repository accompanies the following publication:
- MSAD: A deep dive into model selection for time series anomaly detection
The VLDB Journal, 2025
If you use MSADv2 for academic work, please cite both papers:
@article{sylligardos2025msad,
title={MSAD: A deep dive into model selection for time series anomaly detection},
author={Sylligardos, Emmanouil and Paparrizos, John and Palpanas, Themis and Senellart, Pierre and Boniol, Paul},
journal={The VLDB Journal},
volume={34},
number={6},
pages={1--25},
year={2025},
publisher={Springer}
}
@article{sylligardos2023choose,
title={Choose wisely: An extensive evaluation of model selection for anomaly detection in time series},
author={Sylligardos, Emmanouil and Boniol, Paul and Paparrizos, John and Trahanias, Panos and Palpanas, Themis},
journal={Proceedings of the VLDB Endowment},
volume={16},
number={11},
pages={3418--3432},
year={2023},
publisher={VLDB Endowment}
}
Contributions of new models, notebooks, or improvements to the weighted averaging methodology are welcome!
- Fork the repository
- Create your feature branch (
git checkout -b feature/MyFeature) - Commit your changes
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Supports and builds on prior work in anomaly detection, time series analysis, and model selection. Special thanks to the open-source community for providing foundational libraries and resources.