LLMs Improve Time-Series Anomaly Detection with Frequency Data

Jungwook Seo, Sangwon Son, Minjeong Kim, Seungmin Han, Seojin Yoo, Sungyong Baik· August 26, 2026 View original

Key takeaways

  • Time-series anomalies can be better detected by LLMs using frequency-domain data.
  • Fast Fourier Transform (FFT) helps capture periodic and oscillatory changes.
  • Both global and local frequency evidence improve detection accuracy.
  • This approach enhances zero-shot LLM-based anomaly detection.

Who benefits

ManufacturingFinanceIoTCybersecurityUtilities

Summary

This paper proposes an enhanced zero-shot time-series anomaly detection framework for LLMs that incorporates explicit frequency-domain evidence, computed via Fast Fourier Transform, alongside traditional time-domain inputs. Experiments show that this structured frequency data significantly improves LLM-based anomaly detection performance.

Existing large language model (LLM) approaches for time-series anomaly detection (TSAD) primarily rely on time-domain data, such as indexed values or de-seasonalized representations. However, anomalies can manifest as subtle changes in recurring patterns or oscillatory fluctuations, which are better captured in the frequency domain. This research introduces a novel framework that augments LLM-based TSAD with explicit frequency-domain evidence. The proposed method uses the Fast Fourier Transform (FFT) to generate both global (sequence-level) and local (time-localized) frequency-domain insights. These spectral features are then provided to LLMs alongside the conventional time-domain inputs. Evaluations with various LLMs on a benchmark dataset demonstrate that this addition of structured frequency-domain evidence leads to clear improvements in anomaly detection accuracy, suggesting a more comprehensive approach to identifying complex time-series deviations.

Why it matters

For professionals managing operational systems, financial data, or IoT networks, more accurate and robust anomaly detection can prevent failures, identify fraud, and optimize performance, leading to significant operational and cost benefits.

How to implement this in your domain

  1. 1Pre-process time-series data to extract both global and local frequency-domain features using FFT.
  2. 2Integrate these frequency-domain features as additional input evidence for LLM-based anomaly detection models.
  3. 3Experiment with different LLMs (e.g., InternVL2-LLaMA3, Qwen2.5-VL, GPT-4o) to find the optimal combination for specific datasets.
  4. 4Evaluate the enhanced system's performance against existing baselines on relevant time-series anomaly detection tasks.

Original post by Jungwook Seo, Sangwon Son, Minjeong Kim, Seungmin Han, Seojin Yoo, Sungyong Baik

"arXiv:2608.24113v1 Announce Type: new Abstract: Time-series anomalies can appear not only as pointwise deviations but also as changes in recurring temporal structure, such as shifted periodicity or localized oscillatory fluctuations. However, existing LLM-based time-series anomal…"

View on X

Originally posted by Jungwook Seo, Sangwon Son, Minjeong Kim, Seungmin Han, Seojin Yoo, Sungyong Baik on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses