When Model Meets New Normals: Test-time Adaptation for Unsupervised Time-series Anomaly Detection
Dongmin Kim, Sunghyun Park, Jaegul Choo
TL;DR
The paper addresses the challenge of evolving normal behavior in unsupervised time-series anomaly detection by introducing a test-time adaptation framework that combines trend-based input normalization with online model updates to learn new normals during inference. The approach segments into problem formulation, EMA-based trend normalization, and online updates of the detector using a reconstruction-based loss, enabling adaptation without labels. Empirical results on diverse real-world datasets, including AnoShift, show robust improvements in AUROC and AUPRC across distribution shifts, with notable gains on heavily shifted benchmarks. This method enhances reliability of real-time monitoring systems by reducing false positives while maintaining anomaly sensitivity under nonstationary conditions.
Abstract
Time-series anomaly detection deals with the problem of detecting anomalous timesteps by learning normality from the sequence of observations. However, the concept of normality evolves over time, leading to a "new normal problem", where the distribution of normality can be changed due to the distribution shifts between training and test data. This paper highlights the prevalence of the new normal problem in unsupervised time-series anomaly detection studies. To tackle this issue, we propose a simple yet effective test-time adaptation strategy based on trend estimation and a self-supervised approach to learning new normalities during inference. Extensive experiments on real-world benchmarks demonstrate that incorporating the proposed strategy into the anomaly detector consistently improves the model's performance compared to the baselines, leading to robustness to the distribution shifts.
