Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection

About

Time series anomaly detection (TSAD) plays a crucial role in various industries by identifying atypical patterns that deviate from standard trends, thereby maintaining system integrity and enabling prompt response measures. Traditional TSAD models, which often rely on deep learning, require extensive training data and operate as black boxes, lacking interpretability for detected anomalies. To address these challenges, we propose LLMAD, a novel TSAD method that employs Large Language Models (LLMs) to deliver accurate and interpretable TSAD results. LLMAD innovatively applies LLMs for in-context anomaly detection by retrieving both positive and negative similar time series segments, significantly enhancing LLMs' effectiveness. Furthermore, LLMAD employs the Anomaly Detection Chain-of-Thought (AnoCoT) approach to mimic expert logic for its decision-making process. This method further enhances its performance and enables LLMAD to provide explanations for their detections through versatile perspectives, which are particularly important for user decision-making. Experiments on three datasets indicate that our LLMAD achieves detection performance comparable to state-of-the-art deep learning methods while offering remarkable interpretability for detections. To the best of our knowledge, this is the first work that directly employs LLMs for TSAD.

Jun Liu, Chaoyun Zhang, Jiaxu Qian, Minghua Ma, Si Qin, Chetan Bansal, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Time Series Anomaly DetectionKPI
Delayed-F148
25
Time Series Anomaly DetectionTSB-AD U
F1 Score (Standard)0.2291
25
Time Series Anomaly DetectionTODS
F1 Score13.9
24
Time Series Anomaly DetectionWSD
F1 Score0.193
24
Time Series Anomaly DetectionMackey
Precision7.7
18
Anomaly DetectionVisAnomBench
True Positives (TP)349
17
Time Series Anomaly DetectionFlight1
Precision13.8
16
Time Series Anomaly DetectionMustang
Precision6.8
16
Time Series Anomaly DetectionFlight2
Precision17.1
16
Time Series Anomaly DetectionYahoo S5
Point-F176.7
13
Showing 10 of 18 rows

Other info

Follow for update