Fast and Accurate Partial Fourier Transform for Time Series Data
Yong-chan Park, Jun-Gi Jang, U Kang
Abstract
Given a time-series vector, how can we efficiently detect anomalies? A widely used method is to use Fast Fourier transform (FFT) to compute Fourier coefficients, take first few coefficients while discarding the remaining small coefficients, and reconstruct the original time series to find points with large errors. Despite the pervasive use, the method requires to compute all of the Fourier coefficients which can be cumbersome if the input length is large or when we need to perform many FFT operations.
In this paper, we propose Partial Fourier Transform (PFT), an efficient and accurate algorithm for computing only a part of Fourier coefficients. PFT approximates a part of twiddle factors (trigonometric constants) using polynomials, thereby reducing the computational complexity due to the mixture of many twiddle factors. We derive the asymptotic time complexity of PFT with respect to input and output sizes, and tolerance. We also show that PFT provides an option to set an arbitrary approximation error bound, which is useful especially when the fast evaluation is of utmost importance. Experimental results show that PFT outperforms the current state-of-the-art algorithms, with an order of magnitude of speedup for sufficiently small output sizes without sacrificing accuracy. In addition, we demonstrate the accuracy and efficacy of PFT on real-world anomaly detection, with interpretations of anomalies in stock price data.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Fast and Accurate Online Coupled Matrix-Tensor Factorization via Frequency Regularization cites Fast Multidimensional Partial Fourier Transform with Automatic Hyperparameter Selection
- Fast and Accurate Online Coupled Matrix-Tensor Factorization via Frequency Regularization cites PuzzleTensor: A Method-Agnostic Data Transformation for Compact Tensor Factorization
- PuzzleTensor: A Method-Agnostic Data Transformation for Compact Tensor Factorization cites Fast Multidimensional Partial Fourier Transform with Automatic Hyperparameter Selection
- CATCH: Channel-Aware Multivariate Time Series Anomaly Detection via Frequency Patching cites Breaking the Time-Frequency Granularity Discrepancy in Time-Series Anomaly Detection
Cited by top-tier papers6
- Breaking the Time-Frequency Granularity Discrepancy in Time-Series Anomaly DetectionYoungeun Nam, Susik Yoon, Yooju Shin, Minyoung Bae et al.WWW 2024 · 51 citations
- Fast Multidimensional Partial Fourier Transform with Automatic Hyperparameter SelectionYong-chan Park, Jongjin Kim, U KangKDD 2024 · 6 citations
- PuzzleTensor: A Method-Agnostic Data Transformation for Compact Tensor FactorizationYong-chan Park, Kisoo Kim, U KangKDD 2025 · 4 citations
- Fast and Accurate Online Coupled Matrix-Tensor Factorization via Frequency RegularizationYong-chan Park, Seungjoo Lee, U KangKDD 2026 · 1 citation
- CATCH: Channel-Aware Multivariate Time Series Anomaly Detection via Frequency PatchingXingjian Wu, Xiangfei Qiu, Zhengyu Li, Yihang Wang et al.ICLR 2025
Builds on2
- An Efficient Neighborhood-based Interaction Model for Recommendation on Heterogeneous GraphJiarui Jin, Jiarui Qin, Yuchen Fang, Kounianhua Du et al.KDD 2020 · 115 citations
- Fast RobustSTL: Efficient and Robust Seasonal-Trend Decomposition for Time Series with Complex PatternsQingsong Wen, Zhe Zhang, Yan Li, Liang SunKDD 2020 · 91 citations
Related papers
- FITS: Modeling Time Series with 10k ParametersZhijian Xu, Ailing Zeng, Qiang XuICLR 2024 · 259 citations
- Traversing the FFT Computation Tree for Dimension-Independent Sparse Fourier TransformsKarl Bringmann, Michael Kapralov, Mikhail Makarov, Vasileios Nakos et al.SODA 2023 · 1 citation
- OneShotSTL: One-Shot Seasonal-Trend Decomposition For Online Time Series Anomaly Detection And ForecastingXiao He, Ye Li, Jian Tan, Bin Wu et al.VLDB 2023 · 40 citations
- Partial Sums Meet FFT: Improved Attack on 6-Round AESOrr Dunkelman, Shibam Ghosh, Nathan Keller, Gaëtan Leurent et al.EUROCRYPT 2024 · 10 citations
- Faster Walsh-Hadamard and Discrete Fourier Transforms from Matrix Non-rigidityJosh Alman, Kevin RaoSTOC 2023 · 1 citation
