skip to main content
10.1145/3589334.3645556acmconferencesArticle/Chapter ViewAbstractPublication PagesthewebconfConference Proceedingsconference-collections
research-article
Open access

Breaking the Time-Frequency Granularity Discrepancy in Time-Series Anomaly Detection

Published: 13 May 2024 Publication History

Abstract

In light of the remarkable advancements made in time-series anomaly detection(TSAD), recent emphasis has been placed on exploiting the frequency domain as well as the time domain to address the difficulties in precisely detecting pattern-wise anomalies. However, in terms of anomaly scores, the window granularity of the frequency domain is inherently distinct from the data-point granularity of the time domain. Owing to this discrepancy, the anomaly information in the frequency domain has not been utilized to its full potential for TSAD. In this paper, we propose a TSAD framework, Dual-TF, that simultaneously uses both the time and frequency domains while breaking the time-frequency granularity discrepancy. To this end, our framework employs nested-sliding windows, with the outer and inner windows responsible for the time and frequency domains, respectively, and aligns the anomaly scores of the two domains. As a result of the high resolution of the aligned scores, the boundaries of pattern-wise anomalies can be identified more precisely. In six benchmark datasets, our framework outperforms state-of-the-art methods by 12.0--147%, as demonstrated by experimental results.

Supplemental Material

MP4 File
Supplemental video

References

[1]
Ahmed Abdulaal, Zhuanghua Liu, and Tomer Lancewicki. 2021a. Practical Approach to Asynchronous Multivariate Time Series Anomaly Detection and Localization. In KDD. 2485--2494.
[2]
Ahmed Abdulaal, Zhuanghua Liu, and Tomer Lancewicki. 2021b. Practical Approach to Asynchronous Multivariate Time Series Anomaly Detection and Localization. In KDD. 2485--2494.
[3]
Charu C Aggarwal and Charu C Aggarwal. 2013. Outlier Analysis. Springer, Chapter Applications of Outlier Analysis, 373--400.
[4]
Julien Audibert, Pietro Michiardi, Frédéric Guyard, Sébastien Marti, and Maria A Zuluaga. 2022. Do Deep Neural Networks Contribute to Multivariate Time Series Anomaly Detection? Pattern Recognition, Vol. 132 (2022), 108945.
[5]
Ane Blázquez-Garc'ia, Angel Conde, Usue Mori, and Jose A Lozano. 2021. A Review on Outlier/Anomaly Detection in Time Series Data. CSUR, Vol. 54, 3 (2021), 1--33.
[6]
Boualem Boashash. 2015. Time-Frequency Signal Analysis and Processing: A Comprehensive Reference. Academic press.
[7]
Mohammad Braei and Sebastian Wagner. 2020. Anomaly Detection in Univariate Time-Series: A Survey on the State-Of-The-Art. arXiv:2004.00433 (2020).
[8]
Markus M Breunig, Hans-Peter Kriegel, Raymond T Ng, and Jörg Sander. 2000. LOF: Identifying Density-Based Local Outliers. In SIGMOD. 93--104.
[9]
Donald T Campbell. 1975. “Degrees of Freedom” and the Case Study. Comparative Political Studies, Vol. 8, 2 (1975), 178--193.
[10]
Varun Chandola. 2009. Anomaly Detection for Symbolic Sequences and Time Series Data. University of Minnesota.
[11]
Leon Cohen. 1995. Time-Frequency Analysis. Vol. 778. Prentice hall New Jersey.
[12]
Andrew A Cook, Göksel Misirli, and Zhong Fan. 2019. Anomaly Detection for IoT Time-Series Data: A Survey. IEEE Internet of Things Journal, Vol. 7, 7 (2019), 6481--6494.
[13]
Zahra Zamanzadeh Darban, Geoffrey I Webb, Shirui Pan, Charu C Aggarwal, and Mahsa Salehi. 2022. Deep Learning for Time Series Anomaly Detection: A Survey. arXiv:2211.05244 (2022).
[14]
Ailin Deng and Bryan Hooi. 2021. Graph Neural Network-based Anomaly Detection in Multivariate Time Series. In AAAI. 4027--4035.
[15]
Martin Ester, Hans-Peter Kriegel, Jörg Sander, Xiaowei Xu, et al. 1996. A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise. In KDD. 226--231.
[16]
Wei Fan, Shun Zheng, Xiaohan Yi, Wei Cao, Yanjie Fu, Jiang Bian, and Tie-Yan Liu. 2022. DEPTS: Deep Expansion Learning for Periodic Time Series Forecasting. In ICLR.
[17]
Astha Garg, Wenyu Zhang, Jules Samaran, Ramasamy Savitha, and Chuan-Sheng Foo. 2022. An Evaluation of Anomaly Detection and Diagnosis in Multivariate Time Series. IEEE Transactions on Neural Networks and Learning Systems (TNNLS), Vol. 33, 6 (2022), 2508--2517.
[18]
Karlheinz Gröchenig. 2001. Foundations of Time-Frequency Analysis. Springer Science & Business Media.
[19]
Karlheinz Gröchenig. 2003. Uncertainty Principles for Time-Frequency Representations. Advances in Gabor analysis (2003), 11--30.
[20]
Yifan Guo, Weixian Liao, Qianlong Wang, Lixing Yu, Tianxi Ji, and Pan Li. 2018. Multidimensional time series anomaly detection: A GRU-based Gaussian mixture variational autoencoder approach. In Asian Conference on Machine Learning. 97--112.
[21]
Matt Hall. 2006. Resolution and Uncertainty in Spectral Decomposition. First Break, Vol. 24, 12 (2006).
[22]
SS Kelkar, LL Grigsby, and J Langsner. 1983. An Extension of Parseval's Theorem and Its Use in Calculating Transient Energy in the Frequency Domain. IEEE Transactions on Industrial Electronics, Vol. IE-30, 1 (1983), 42--45.
[23]
Eamonn Keogh, Jessica Lin, and Ada Fu. 2005. Hot SAX: Efficiently Finding the Most Unusual Time Series Subsequence. In ICDM.
[24]
Tung Kieu, Bin Yang, Chenjuan Guo, and Christian S Jensen. 2019. Outlier Detection for Time Series with Recurrent Autoencoder Ensembles. In IJCAI. 2725--2732.
[25]
Siwon Kim, Kukjin Choi, Hyun-Soo Choi, Byunghan Lee, and Sungroh Yoon. 2022. Towards a Rigorous Evaluation of Time-Series Anomaly Detection. In AAAI, Vol. 36. 7194--7201.
[26]
Kwei-Herng Lai, Daochen Zha, Junjie Xu, Yue Zhao, Guanchu Wang, and Xia Hu. 2021. Revisiting Time Series Outlier Detection: Definitions and Benchmarks. In NeurIPS, Datasets and Benchmarks Track.
[27]
Gen Li and Jason J Jung. 2022. Deep Learning for Anomaly Detection in Multivariate Time Series: Approaches, Applications, and Challenges. Information Fusion (2022).
[28]
Zhihan Li, Youjian Zhao, Jiaqi Han, Ya Su, Rui Jiao, Xidao Wen, and Dan Pei. 2021. Multivariate Time Series Anomaly Detection and Interpretation using Hierarchical Inter-Metric and Temporal Embedding. In KDD. 3220--3230.
[29]
Fei Tony Liu, Kai Ming Ting, and Zhi-Hua Zhou. 2008. Isolation Forest. In ICDM.
[30]
Youngeun Nam, Patara Trirat, Taeyoon Kim, Youngseop Lee, and Jae-Gil Lee. 2023. Context-aware deep time-series decomposition for anomaly detection in businesses. In ECML-PKDD. Springer, 330--345.
[31]
Henri J Nussbaumer. 1981. The Fast Fourier Fransform. Springer.
[32]
Guansong Pang, Chunhua Shen, Longbing Cao, and Anton Van Den Hengel. 2021. Deep Learning for Anomaly Detection: A Review. CSUR, Vol. 54, 2 (2021), 1--38.
[33]
John Paparrizos, Paul Boniol, Themis Palpanas, Ruey S Tsay, Aaron Elmore, and Michael J Franklin. 2022a. Volume Under the Surface: A New Accuracy Evaluation Measure for Time-Series Anomaly Detection. Proceedings of the VLDB Endowment, Vol. 15, 11 (2022), 2774--2787.
[34]
John Paparrizos, Yuhao Kang, Paul Boniol, Ruey S Tsay, Themis Palpanas, and Michael J Franklin. 2022b. TSB-UAD: An End-to-End Benchmark Suite for Univariate Time-Series Anomaly Detection. PVLDB, Vol. 15, 8 (2022), 1697--1711.
[35]
Yong-chan Park, Jun-Gi Jang, and U Kang. 2021. Fast and Accurate Partial Fourier Transform for Time Series Data. In KDD. 1309--1318.
[36]
Hansheng Ren, Bixiong Xu, Yujing Wang, Chao Yi, Congrui Huang, Xiaoyu Kou, Tony Xing, Mao Yang, Jie Tong, and Qi Zhang. 2019. Time-Series Anomaly Detection Service at Microsoft. In KDD. 3009--3017.
[37]
Bernhard Schölkopf, Robert C Williamson, Alexander J Smola, John Shawe-Taylor, John C Platt, et al. 1999. Support Vector Method for Novelty Detection. In NeurIPS. 582--588.
[38]
Yooju Shin, Susik Yoon, Sundong Kim, Hwanjun Song, Jae-Gil Lee, and Byung Suk Lee. 2021. Coherence-Based Label Propagation over Time Series for Accelerated Active Learning. In ICLR.
[39]
Yooju Shin, Susik Yoon, Hwanjun Song, Dongmin Park, Byunghyun Kim, Jae-Gil Lee, and Byung Suk Lee. 2023. Context consistency regularization for label sparsity in time series. In ICML. 31579--31595.
[40]
IBM Research Editorial Staff. 2023. “Simple” Threshold Algorithm Earns G" odel Prize. https://www.ibm.com/blogs/research/2014/05/simple-threshold-algorithm-earns-godel-prize/. Accessed: 2023-04--30.
[41]
Ya Su, Youjian Zhao, Chenhao Niu, Rong Liu, Wei Sun, and Dan Pei. 2019. Robust Anomaly Detection for Multivariate Time Series through Stochastic Recurrent Neural Network. In KDD. 2828----2837.
[42]
Patara Trirat, Youngeun Nam, Taeyoon Kim, and Jae-Gil Lee. 2023. ANOVIZ: A Visual Inspection Tool of Anomalies in Multivariate Time Series. In AAAI. Association for the Advancement of Artificial Intelligence.
[43]
Shreshth Tuli, Giuliano Casale, and Nicholas R Jennings. 2022. TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data. PVLDB, Vol. 15, 6 (2022), 1201--1214.
[44]
Qingsong Wen, Tian Zhou, Chaoli Zhang, Weiqi Chen, Ziqing Ma, Junchi Yan, and Liang Sun. 2022. Transformers in Time Series: A Survey. arXiv:2202.07125 (2022).
[45]
Haowen Xu, Wenxiao Chen, Nengwen Zhao, Zeyan Li, Jiahao Bu, Zhihan Li, Ying Liu, Youjian Zhao, Dan Pei, Yang Feng, et al. 2018. Unsupervised Anomaly Detection via Variational Auto-Encoder for Seasonal KPIs in Web Applications. In WWW. 187--196.
[46]
Jiehui Xu, Haixu Wu, Jianmin Wang, and Mingsheng Long. 2022. Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy. In ICLR.
[47]
Ling Yang and Shenda Hong. 2022. Unsupervised Time-Series Representation Learning with Iterative Bilinear Temporal-Spectral Fusion. In ICML. 25038--25054.
[48]
Kun Yi, Qi Zhang, Shoujin Wang, Hui He, Guodong Long, and Zhendong Niu. 2023. Neural Time Series Analysis with Fourier Transform: A Survey. arXiv:2302.02173 (2023).
[49]
Chuxu Zhang, Dongjin Song, Yuncong Chen, Xinyang Feng, Cristian Lumezanu, Wei Cheng, Jingchao Ni, Bo Zong, Haifeng Chen, and Nitesh V Chawla. 2019. A Deep Neural Network for Unsupervised Anomaly Detection and Diagnosis in Multivariate Time Series Data. In AAAI. 1409--1416.
[50]
Chaoli Zhang, Tian Zhou, Qingsong Wen, and Liang Sun. 2022b. TFAD: A Decomposition Time Series Anomaly Detection Architecture with Time-Frequency Analysis. In CIKM. 2497--2507.
[51]
Xiang Zhang, Ziyuan Zhao, Theodoros Tsiligkaridis, and Marinka Zitnik. 2022a. Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency. In NeurIPS.
[52]
Hang Zhao, Yujing Wang, Juanyong Duan, Congrui Huang, Defu Cao, Yunhai Tong, Bixiong Xu, Jing Bai, Jie Tong, and Qi Zhang. 2020a. Multivariate Time-Series Anomaly Detection via Graph Attention Network. In ICDM. 841--850.
[53]
Hang Zhao, Yujing Wang, Juanyong Duan, Congrui Huang, Defu Cao, Yunhai Tong, Bixiong Xu, Jing Bai, Jie Tong, and Qi Zhang. 2020b. Multivariate Time-Series Anomaly Detection via Graph Attention Network. In ICDM. 841--850.
[54]
Bin Zhou, Shenghua Liu, Bryan Hooi, Xueqi Cheng, and Jing Ye. 2019. BeatGAN: Anomalous Rhythm Detection using Adversarially Generated Time Series. In IJCAI. 4433--4439.
[55]
Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. 2022. FEDFormer: Frequency Enhanced Decomposed Transformer for Long-Term Series Forecasting. In ICML. 27268--27286.

Cited By

View all
  • (2025)A Survey of Deep Anomaly Detection in Multivariate Time Series: Taxonomy, Applications, and DirectionsSensors10.3390/s2501019025:1(190)Online publication date: 1-Jan-2025
  • (2025)TADST: reconstruction with spatio-temporal feature fusion for deviation-based time series anomaly detectionApplied Intelligence10.1007/s10489-025-06310-x55:6Online publication date: 1-Apr-2025
  • (2024)Deep Learning for Time Series Anomaly Detection: A SurveyACM Computing Surveys10.1145/3691338Online publication date: 30-Aug-2024

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
WWW '24: Proceedings of the ACM Web Conference 2024
May 2024
4826 pages
ISBN:9798400701719
DOI:10.1145/3589334
This work is licensed under a Creative Commons Attribution International 4.0 License.

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 13 May 2024

Check for updates

Badges

Author Tags

  1. anomaly
  2. frequency/spectral domain
  3. granularity discrepancy

Qualifiers

  • Research-article

Conference

WWW '24
Sponsor:
WWW '24: The ACM Web Conference 2024
May 13 - 17, 2024
Singapore, Singapore

Acceptance Rates

Overall Acceptance Rate 1,899 of 8,196 submissions, 23%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1,450
  • Downloads (Last 6 weeks)251
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)A Survey of Deep Anomaly Detection in Multivariate Time Series: Taxonomy, Applications, and DirectionsSensors10.3390/s2501019025:1(190)Online publication date: 1-Jan-2025
  • (2025)TADST: reconstruction with spatio-temporal feature fusion for deviation-based time series anomaly detectionApplied Intelligence10.1007/s10489-025-06310-x55:6Online publication date: 1-Apr-2025
  • (2024)Deep Learning for Time Series Anomaly Detection: A SurveyACM Computing Surveys10.1145/3691338Online publication date: 30-Aug-2024

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media