Merlion: A Machine Learning Library for Time Series

Aadyot Bhatnagar, Paul Kassianik, Chenghao Liu, Tian Lan, Wenzhuo Yang +18 more
9/20/2021
46 citations
cs.LGcs.MSstat.ML

Official code: salesforce/Merlion (4,489 stars, Python, BSD-3-Clause, last commit 2026-03-11).

Abstract

We introduce Merlion, an open-source machine learning library for time series. It features a unified interface for many commonly used models and datasets for anomaly detection and forecasting on both univariate and multivariate time series, along with standard pre/post-processing layers.

Show full abstract

It has several modules to improve ease-of-use, including visualization, anomaly score calibration to improve interpetability, AutoML for hyperparameter tuning and model selection, and model ensembling. Merlion also provides a unique evaluation framework that simulates the live deployment and re-training of a model in production. This library aims to provide engineers and researchers a one-stop solution to rapidly develop models for their specific time series needs and benchmark them across multiple time series datasets. In this technical report, we highlight Merlion's architecture and major functionalities, and we report benchmark numbers across different baseline models and ensembles.

View on arXivView PDF

Code Implementations(1)

salesforce/MerlionOfficial100%
BSD-3-Clause

Merlion: A Machine Learning Framework for Time Series Intelligence

4,489357Python, CSSJul 28, 20218 months agoBSD-3-Clause
anomaly-detectionautomlbenchmarkingensemble-learningforecasting+2 more

Similar Papers

Cite this paper

@article{bhatnagar2021merlion,
  title  = {Merlion: A Machine Learning Library for Time Series},
  author = {Aadyot Bhatnagar and Paul Kassianik and Chenghao Liu and Tian Lan and Wenzhuo Yang and Rowan Cassius and Doyen Sahoo and Devansh Arpit and Sri Subramanian and Gerald Woo and Amrita Saha and Arun Kumar Jagota and Gokulakrishnan Gopalakrishnan and Manpreet Singh and K C Krithika and Sukumar Maddineni and Daeki Cho and Bo Zong and Yingbo Zhou and Caiming Xiong and Silvio Savarese and Steven Hoi and Huan Wang},
  year   = {2021},
  eprint = {2109.09265},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.09265}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.09265.svg)](https://codeofpaper.com/paper/2109.09265)

Discussion