Out-of-Distribution Detection in Time-Series Domain: A Novel Seasonal Ratio Scoring Approach
Preprint
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. 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/SRSKeywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Generalized Out-of-Distribution Detection: A SurveyInternational Journal of Computer Vision, 2024
- A novel study on deep learning framework to predict and analyze the financial time series informationFuture Generation Computer Systems, 2021
- A Unifying Review of Deep and Shallow Anomaly DetectionProceedings of the IEEE, 2021
- Analyzing Deep Learning for Time-Series Data Through Adversarial Lens in Mobile and IoT ApplicationsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2020
- The UCR time series archiveIEEE/CAA Journal of Automatica Sinica, 2019
- Multi-head CNN–RNN for multi-time series anomaly detection: An industrial case studyNeurocomputing, 2019
- Use of features from RR-time series and EEG signals for automated classification of sleep stages in deep neural network frameworkBiocybernetics and Biomedical Engineering, 2018
- Wide and Deep Convolutional Neural Networks for Electricity-Theft Detection to Secure Smart GridsIEEE Transactions on Industrial Informatics, 2017
- Part decomposing algorithm based on STL solid model used in shape deposition manufacturing processThe International Journal of Advanced Manufacturing Technology, 2010
- Information Retrieval for Music and Motion2007