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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Jun, Zhang, Chaoyun, Qian, Jiaxu, Ma, Minghua, Qin, Si, Bansal, Chetan, Lin, Qingwei, Rajmohan, Saravan, Zhang, Dongmei
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913361383391232
author Liu, Jun
Zhang, Chaoyun
Qian, Jiaxu
Ma, Minghua
Qin, Si
Bansal, Chetan
Lin, Qingwei
Rajmohan, Saravan
Zhang, Dongmei
author_facet Liu, Jun
Zhang, Chaoyun
Qian, Jiaxu
Ma, Minghua
Qin, Si
Bansal, Chetan
Lin, Qingwei
Rajmohan, Saravan
Zhang, Dongmei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_15370
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection
Liu, Jun
Zhang, Chaoyun
Qian, Jiaxu
Ma, Minghua
Qin, Si
Bansal, Chetan
Lin, Qingwei
Rajmohan, Saravan
Zhang, Dongmei
Computation and Language
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.
title Large Language Models can Deliver Accurate and Interpretable Time Series Anomaly Detection
topic Computation and Language
url https://arxiv.org/abs/2405.15370