🤖 AI Summary
This work addresses the critical challenge of out-of-distribution (OOD) detection in multivariate time series. We systematically evaluate the generalization of existing modality-agnostic OOD methods on temporal data, conducting extensive experiments across multiple benchmark datasets using mainstream architectures—including LSTM, TCN, and Transformer—augmented with time-series-aware enhancements and tailored loss designs. Our empirical analysis reveals that conventional output-layer-based approaches consistently fail, whereas modeling deep intermediate features yields significantly higher discriminative power. We propose and empirically validate, for the first time, a “middle-layer feature-based paradigm” for time-series OOD detection: leveraging intermediate representations without modifying the base model architecture substantially improves detection accuracy and robustness. This work establishes a reproducible evaluation framework and provides practical, architecture-agnostic methodological guidance for time-series OOD detection.
📝 Abstract
Detecting out-of-distribution (OOD) data is a fundamental challenge in the deployment of machine learning models. From a security standpoint, this is particularly important because OOD test data can result in misleadingly confident yet erroneous predictions, which undermine the reliability of the deployed model. Although numerous models for OOD detection have been developed in computer vision and language, their adaptability to the time-series data domain remains limited and under-explored. Yet, time-series data is ubiquitous across manufacturing and security applications for which OOD is essential. This paper seeks to address this research gap by conducting a comprehensive analysis of modality-agnostic OOD detection algorithms. We evaluate over several multivariate time-series datasets, deep learning architectures, time-series specific data augmentations, and loss functions. Our results demonstrate that: 1) the majority of state-of-the-art OOD methods exhibit limited performance on time-series data, and 2) OOD methods based on deep feature modeling may offer greater advantages for time-series OOD detection, highlighting a promising direction for future time-series OOD detection algorithm development.