Out-of-Distribution Detection in Time-Series Domain: A Novel Seasonal Ratio Scoring Approach

Taha Belkhouja, Yan Yan, Janardhan Rao Doppa
7/9/2022
9 citations
cs.LG

Official code: tahabelkhouja/SRS (6 stars, Python, MIT, last commit 2023-04-12).

Abstract

Safe deployment of time-series classifiers for real-world applications relies on the ability to detect the data which is not generated from the same distribution as training data. This task is referred to as out-of-distribution (OOD) detection.

Show full abstract

We consider the novel problem of OOD detection for the time-series domain. We discuss the unique challenges posed by time-series data and explain why prior methods from the image domain will perform poorly. Motivated by these challenges, this paper proposes a novel {\em Seasonal Ratio Scoring (SRS)} approach. SRS consists of three key algorithmic steps. First, each input is decomposed into class-wise semantic component and remainder. Second, this decomposition is employed to estimate the class-wise conditional likelihoods of the input and remainder using deep generative models. The seasonal ratio score is computed from these estimates. Third, a threshold interval is identified from the in-distribution data to detect OOD examples. Experiments on diverse real-world benchmarks demonstrate that the SRS method is well-suited for time-series OOD detection when compared to baseline methods. Open-source code for SRS method is provided at https://github.com/tahabelkhouja/SRS

View on arXivView PDF

Code Implementations(1)

tahabelkhouja/SRSOfficial100%
MIT

Python Implementation of Seasonal Ratio Score

61PythonJun 19, 20223 years agoMIT

Similar Papers

Cite this paper

@article{belkhouja2022outofdistribution,
  title  = {Out-of-Distribution Detection in Time-Series Domain: A Novel Seasonal Ratio Scoring Approach},
  author = {Taha Belkhouja and Yan Yan and Janardhan Rao Doppa},
  year   = {2022},
  eprint = {2207.04306},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.04306v3}
}

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/2207.04306.svg)](https://codeofpaper.com/paper/2207.04306)

Discussion