Real-time anomaly detection in seasonal time series with conditional variational autoencoder

Porcelli, Lorenzo, Trovati, Marcello orcid iconORCID: 0000-0001-6607-422X and Palmieri, Francesco (2025) Real-time anomaly detection in seasonal time series with conditional variational autoencoder. Applied Soft Computing, 184 (Part A). p. 113761. ISSN 1568-4946

[thumbnail of VOR]
Preview
PDF (VOR) - Published Version
Available under License Creative Commons Attribution.

4MB

Official URL: https://doi.org/10.1016/j.asoc.2025.113761

Abstract

Real-time anomaly detection in high-frequency seasonal time series is commonly addressed using prediction-based methods, which require waiting for new values to perform subsequent predictions and demand continuous processing over time. This work introduces a novel framework for real-time anomaly detection in seasonal time series, with a practical implementation using Conditional Variational Autoencoders based on Multilayer Perceptrons. Our approach eliminates the need for historical time series data at inference time, instead generating a one-shot long-term expected time series that enables immediate evaluation of streaming data with minimal computational resources. Empirical evaluations on real-world seasonal time series demonstrate that the proposed approach achieves state-of-the-art performance compared in both semi-supervised and unsupervised settings. The framework provides computational efficiency and low energy consumption, making it suitable for deployment in commodity hardware and offline environments.


Repository Staff Only: item control page