Can LLMs Understand Time Series Anomalies?
Large Language Models (LLMs) have gained popularity in time series forecasting, but their potential for anomaly detection remains largely unexplored. Our study investigates whether LLMs can understand and detect anomalies in time series data, focusing on zero-shot and few-shot scenarios. Inspired by conjectures about LLMs' behavior from time series forecasting research, we formulate key hypotheses about LLMs' capabilities in time series anomaly detection. We design and conduct principled experiments to test each of these hypotheses. Our investigation reveals several surprising findings about LLMs for time series: 1. LLMs understand time series better as images rather than as text 2. LLMs did not demonstrate enhanced performance when prompted to engage in explicit reasoning about time series analysis 3. Contrary to common beliefs, LLM's understanding of time series do not stem from their repetition biases or arithmetic abilities 4. LLMs' behaviors and performance in time series analysis vary significantly across different model architectures This study provides the first comprehensive analysis of contemporary LLM capabilities in time series anomaly detection. Our results suggest that while LLMs can understand time series anomalies, many common conjectures based on their reasoning capabilities do not hold. Our code and data are available at https://github.com/Rose-STL-Lab/AnomLLM/.
Code (1)
Tasks
Anomaly DetectionTime SeriesTime Series AnalysisTime Series Anomaly DetectionTime Series ForecastingSimilar Papers 제목 키워드 기반
Can LLMs Serve As Time Series Anomaly Detectors?
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 challen…
Anomaly DetectionIn-Context LearningTime SeriesTime Series Anomaly Detection+1Can Multimodal LLMs Perform Time Series Anomaly Detection?
Large language models (LLMs) have been increasingly used in time series analysis. However, the potential of multimodal LLMs (MLLMs), particularly vision-language models, for time series remains largely under-explored. On…
Anomaly DetectionIrregular Time SeriesTime SeriesTime Series Analysis+1SPEAR: Soft Prompt Enhanced Anomaly Recognition for Time Series Data
Time series anomaly detection plays a crucial role in a wide range of fields, such as healthcare and internet traffic monitoring. The emergence of large language models (LLMs) offers new opportunities for detecting anoma…
Time Series Anomaly DetectionRefining Time Series Anomaly Detectors using Large Language Models
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 DetectionAnoViz: A Visual Inspection Tool of Anomalies in Multivariate Time Series
This paper presents AnoViz, a novel visualization tool of anomalies in multivariate time series, to support domain experts and data scientists in understanding anomalous instances in their systems. AnoViz provides an ove…
Time Series