Our new X account is live! Follow @wizwand_team for updates
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 DetectionIOPS
Precision60.1
12
Time Series Anomaly DetectionTODS
Precision42.8
12
Time Series Anomaly DetectionYahoo
Precision0.261
12
Time Series Anomaly DetectionWSD
Precision0.265
12
Time Series Anomaly DetectionVisualTimeAnomaly Range 1.0 (test)
Precision (%)28.1
10
Time Series Anomaly DetectionVisualTimeAnomaly Irr-Range 1.0 (test)
Precision27.8
10
Time Series Anomaly DetectionVisualTimeAnomaly Irr-Point 1.0 (test)
Precision13.6
10
Time Series Anomaly DetectionVisualTimeAnomaly Point 1.0 (test)
Precision15.3
10
Showing 8 of 8 rows

Other info

Follow for update