CODiT: Conformal Out-of-Distribution Detection in Time-Series Data

Ramneet Kaur, Kaustubh Sridhar, Sangdon Park, Susmit Jha, Anirban Roy +2 more
7/24/2022
cs.LG

Official code: kaustubhsridhar/time-series-OOD (16 stars, Python, last commit 2024-11-15).

Abstract

Machine learning models are prone to making incorrect predictions on inputs that are far from the training distribution. This hinders their deployment in safety-critical applications such as autonomous vehicles and healthcare.

Show full abstract

The detection of a shift from the training distribution of individual datapoints has gained attention. A number of techniques have been proposed for such out-of-distribution (OOD) detection. But in many applications, the inputs to a machine learning model form a temporal sequence. Existing techniques for OOD detection in time-series data either do not exploit temporal relationships in the sequence or do not provide any guarantees on detection. We propose using deviation from the in-distribution temporal equivariance as the non-conformity measure in conformal anomaly detection framework for OOD detection in time-series data.Computing independent predictions from multiple conformal detectors based on the proposed measure and combining these predictions by Fisher's method leads to the proposed detector CODiT with guarantees on false detection in time-series data. We illustrate the efficacy of CODiT by achieving state-of-the-art results on computer vision datasets in autonomous driving. We also show that CODiT can be used for OOD detection in non-vision datasets by performing experiments on the physiological GAIT sensory dataset. Code, data, and trained models are available at https://github.com/kaustubhsridhar/time-series-OOD.

View on arXivView PDF

Code Implementations(1)

Official Code for the ICCPS 2023 conference paper (nominated for best paper award) and ICML 2022 PODS workshop paper.

163Python, ShellNov 24, 20212 years ago

Similar Papers

Cite this paper

@article{kaur2022codit,
  title  = {CODiT: Conformal Out-of-Distribution Detection in Time-Series Data},
  author = {Ramneet Kaur and Kaustubh Sridhar and Sangdon Park and Susmit Jha and Anirban Roy and Oleg Sokolsky and Insup Lee},
  year   = {2022},
  eprint = {2207.11769},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.11769}
}

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

Discussion