Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback
By: Yiyuan Yang , Zichuan Liu , Lei Song and more
Potential Business Impact:
Helps computers explain why data is weird.
Time series anomaly detection is critical across various domains, yet current approaches often limit analysis to mere binary anomaly classification without detailed categorization or further explanatory reasoning. To address these limitations, we propose a novel task, Time-series Reasoning for Anomaly (Time-RA) that transforms classical time series anomaly detection from a discriminative into a generative, reasoning-intensive task leveraging Large Language Models (LLMs). Also, we introduce the first real-world multimodal benchmark dataset, RATs40K, explicitly annotated for anomaly reasoning, comprising approximately 40,000 samples across 10 real-world domains. Each sample includes numeric time series data, contextual text information, and visual representations, each annotated with fine-grained categories (14 types for univariate anomalies and 6 for multivariate anomalies) and structured explanatory reasoning. We develop a sophisticated annotation framework utilizing ensemble-generated labels refined through GPT-4-driven feedback, ensuring accuracy and interpretability. Extensive benchmarking of LLMs and multimodal LLMs demonstrates the capabilities and limitations of current models, highlighting the critical role of supervised fine-tuning. Our dataset and task pave the way for significant advancements in interpretable time series anomaly detection and reasoning. The code (https://github.com/yyysjz1997/Time-RA) and dataset (https://huggingface.co/datasets/Time-RA/RATs40K) have been fully open-sourced to support and accelerate future research in this area.
Similar Papers
Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback
Machine Learning (CS)
Helps computers explain why data is strange.
Time-RA: Towards Time Series Reasoning for Anomaly with LLM Feedback
Machine Learning (CS)
Helps computers explain why something is wrong.
LLM-Enhanced Reinforcement Learning for Time Series Anomaly Detection
Machine Learning (CS)
Finds weird patterns in data using smart AI.