Delving into Large Language Models for Effective Time-Series Anomaly Detection

Junwoo Park, Kyudan Jung, Dohyun Lee, Hyuck Lee, Daehoon Gwak +3 more
1/1/2025

No official code found. Best implementation: junwoopark92/LLM-TSAD (5 stars, Python, MIT, last commit 2025-12-28).

Abstract

Recent efforts to apply Large Language Models (LLMs) to time-series anomaly detection (TSAD) have yielded limited success, often performing worse than even simple methods. While prior work has focused solely on downstream performance evaluation, the fundamental question— why do LLMs struggle with TSAD? —has remained largely unexplored.

Show full abstract

In this paper, we present an in-depth analysis that identifies two core challenges in understanding complex temporal dynamics and accurately localizing anomalies. To address these challenges, we propose a simple yet effective method that combines statistical decomposition with index-aware prompting. Our method outperforms 21 existing prompting strategies on the AnomLLM benchmark, achieving up to a 66.6% improvement in F1 score. We further compare LLMs with 16 non-LLM baselines on the TSB-AD benchmark, highlighting scenarios where LLMs offer unique advantages via contextual reasoning. Our findings provide empirical insights into how and when LLMs can be effective for TSAD. The code is publicly available at: https://github.com/junwoopark92/LLM-TSAD .

DOISemantic Scholar

Code Implementations(1)

MIT

Official implementation of "Delving into Large Language Models for Effective Time-Series Anomaly Detection" (NeurIPS 2025).

50Python, ShellMay 21, 202511 months agoMIT

Similar Papers

Cite this paper

@article{park2025delving,
  title  = {Delving into Large Language Models for Effective Time-Series Anomaly Detection},
  author = {Junwoo Park and Kyudan Jung and Dohyun Lee and Hyuck Lee and Daehoon Gwak and chaeHun Park and Jaegul Choo and Jaewoong Cho},
  year   = {2025},
  doi    = {10.52202/085713-3444},
  url    = {https://doi.org/10.52202/085713-3444},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/961f2b71c85df46f6860f36addd413b8d9fed1b8.svg)](https://codeofpaper.com/paper/961f2b71c85df46f6860f36addd413b8d9fed1b8)

Discussion