English

Neural Contextual Anomaly Detection for Time Series

Machine Learning 2021-07-19 v1 Artificial Intelligence

Abstract

We introduce Neural Contextual Anomaly Detection (NCAD), a framework for anomaly detection on time series that scales seamlessly from the unsupervised to supervised setting, and is applicable to both univariate and multivariate time series. This is achieved by effectively combining recent developments in representation learning for multivariate time series, with techniques for deep anomaly detection originally developed for computer vision that we tailor to the time series setting. Our window-based approach facilitates learning the boundary between normal and anomalous classes by injecting generic synthetic anomalies into the available data. Moreover, our method can effectively take advantage of all the available information, be it as domain knowledge, or as training labels in the semi-supervised setting. We demonstrate empirically on standard benchmark datasets that our approach obtains a state-of-the-art performance in these settings.

Keywords

Cite

@article{arxiv.2107.07702,
  title  = {Neural Contextual Anomaly Detection for Time Series},
  author = {Chris U. Carmona and François-Xavier Aubet and Valentin Flunkert and Jan Gasthaus},
  journal= {arXiv preprint arXiv:2107.07702},
  year   = {2021}
}

Comments

Chris and Fran\c{c}ois-Xavier contributed equally

R2 v1 2026-06-24T04:15:06.421Z