paper-with-me

홈 › Papers

Can LLMs Serve As Time Series Anomaly Detectors?

2024-08-06 · Manqing Dong, Hao Huang, Longbing Cao

An emerging topic in large language models (LLMs) is their application to time series forecasting, characterizing mainstream and patternable characteristics of time series. A relevant but rarely explored and more challenging question is whether LLMs can detect and explain time series anomalies, a critical task across various real-world applications. In this paper, we investigate the capabilities of LLMs, specifically GPT-4 and LLaMA3, in detecting and explaining anomalies in time series. Our studies reveal that: 1) LLMs cannot be directly used for time series anomaly detection. 2) By designing prompt strategies such as in-context learning and chain-of-thought prompting, GPT-4 can detect time series anomalies with results competitive to baseline methods. 3) We propose a synthesized dataset to automatically generate time series anomalies with corresponding explanations. By applying instruction fine-tuning on this dataset, LLaMA3 demonstrates improved performance in time series anomaly detection tasks. In summary, our exploration shows the promising potential of LLMs as time series anomaly detectors.

📄 PDF Abstract BibTeX arXiv:2408.03475

Code (0)

등록된 구현이 없습니다.

Tasks

Anomaly DetectionIn-Context LearningTime SeriesTime Series Anomaly DetectionTime Series Forecasting

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Refining Time Series Anomaly Detectors using Large Language Models

2025-03-26 · Alan Yang, Yulin Chen, Sean Lee, Venus Montes

Time series anomaly detection (TSAD) is of widespread interest across many industries, including finance, healthcare, and manufacturing. Despite the development of numerous automatic methods for detecting anomalies, huma…

Anomaly DetectionTime SeriesTime Series Anomaly Detection

Adaptive Thresholding Heuristic for KPI Anomaly Detection

2023-08-21 · Ebenezer R. H. P. Isaac, Akshat Sharma

A plethora of outlier detectors have been explored in the time series domain, however, in a business sense, not all outliers are anomalies of interest. Existing anomaly detection solutions are confined to certain outlier…

Anomaly DetectionTime Series

A Review on Self-Supervised Learning for Time Series Anomaly Detection: Recent Advances and Open Challenges

2025-01-25 · Aitor Sánchez-Ferrera, Borja Calvo, Jose A. Lozano

Time series anomaly detection presents various challenges due to the sequential and dynamic nature of time-dependent data. Traditional unsupervised methods frequently encounter difficulties in generalization, often overf…

Anomaly DetectionDiversitySelf-Supervised LearningTime Series+1

Multivariate Time series Anomaly Detection:A Framework of Hidden Markov Models

2025-11-11 · Jinbo Li, Witold Pedrycz, Iqbal Jamal arxiv

In this study, we develop an approach to multivariate time series anomaly detection focused on the transformation of multivariate time series to univariate time series. Several transformation techniques involving Fuzzy C…

Time Series Anomaly Detection

Large language models can be zero-shot anomaly detectors for time series?

2024-05-23 · Sarah Alnegheimish, Linh Nguyen, Laure Berti-Equille, Kalyan Veeramachaneni

Recent studies have shown the ability of large language models to perform a variety of tasks, including time series forecasting. The flexible nature of these models allows them to be used for many applications. In this p…

Anomaly DetectionLanguage ModelingLanguage ModellingLarge Language Model+3