Skip to main navigation Skip to search Skip to main content

Revisiting VAE for Unsupervised Time Series Anomaly Detection: A Frequency Perspective

  • Zexin Wang
  • , Changhua Pei
  • , Minghua Ma
  • , Xin Wang
  • , Zhihan Li
  • , Dan Pei
  • , Saravan Rajmohan
  • , Dongmei Zhang
  • , Qingwei Lin
  • , Haiming Zhang
  • , Jianhui Li
  • , Gaogang Xie
  • CAS - Computer Network Information Center
  • University of Chinese Academy of Sciences
  • Microsoft USA
  • Kuaishou
  • Tsinghua University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

101 Scopus citations

Abstract

Time series Anomaly Detection (AD) plays a crucial role for web systems. Various web systems rely on time series data to monitor and identify anomalies in real time, as well as to initiate diagnosis and remediation procedures. Variational Autoencoders (VAEs) have gained popularity in recent decades due to their superior de-noising capabilities, which are useful for anomaly detection. However, our study reveals that VAE-based methods face challenges in capturing long-periodic heterogeneous patterns and detailed short-periodic trends simultaneously. To address these challenges, we propose Frequency-enhanced Conditional Variational Autoencoder (FCVAE), a novel unsupervised AD method for univariate time series. To ensure an accurate AD, FCVAE exploits an innovative approach to concurrently integrate both the global and local frequency features into the condition of Conditional Variational Autoencoder (CVAE) to significantly increase the accuracy of reconstructing the normal data. Together with a carefully designed "target attention"mechanism, our approach allows the model to pick the most useful information from the frequency domain for better short-periodic trend construction. Our FCVAE has been evaluated on public datasets and a large-scale cloud system, and the results demonstrate that it outperforms state-of-the-art methods. This confirms the practical applicability of our approach in addressing the limitations of current VAE-based anomaly detection models.

Original languageEnglish
Title of host publicationWWW 2024 - Proceedings of the ACM Web Conference
PublisherAssociation for Computing Machinery, Inc
Pages3096-3105
Number of pages10
ISBN (Electronic)9798400701719
DOIs
StatePublished - May 13 2024
Event33rd ACM Web Conference, WWW 2024 - Singapore, Singapore
Duration: May 13 2024May 17 2024

Publication series

NameWWW 2024 - Proceedings of the ACM Web Conference

Conference

Conference33rd ACM Web Conference, WWW 2024
Country/TerritorySingapore
CitySingapore
Period05/13/2405/17/24

Keywords

  • anomaly detection
  • conditional variational autoencoder
  • univariate time series

Fingerprint

Dive into the research topics of 'Revisiting VAE for Unsupervised Time Series Anomaly Detection: A Frequency Perspective'. Together they form a unique fingerprint.

Cite this